dm: i2c: dts: Add gpios and pinctrl device tree propertiesThe commit describe usage of gpios and pinctrl device treeproperties in order to enable gpio-based software deblocking.Signed-off-by: Al
dm: i2c: dts: Add gpios and pinctrl device tree propertiesThe commit describe usage of gpios and pinctrl device treeproperties in order to enable gpio-based software deblocking.Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
show more ...
i2c: add i2c driver for stm32Add i2c driver which can be used on both STM32F7 and STM32H7.This I2C block supports the following features: _ Slave and master modes _ Multimaster capability _ Sta
i2c: add i2c driver for stm32Add i2c driver which can be used on both STM32F7 and STM32H7.This I2C block supports the following features: _ Slave and master modes _ Multimaster capability _ Standard-mode (up to 100 kHz) _ Fast-mode (up to 400 kHz) _ Fast-mode Plus (up to 1 MHz) _ 7-bit and 10-bit addressing mode _ Multiple 7-bit slave addresses (2 addresses, 1 with configurable mask) _ All 7-bit addresses acknowledge mode _ General call _ Programmable setup and hold times _ Easy to use event management _ Optional clock stretching _ Software resetSigned-off-by: Christophe Kerello <christophe.kerello@st.com>Signed-off-by: Patrice Chotard <patrice.chotard@st.com>Reviewed-by: Simon Glass <sjg@chromium.org>
i2c: atmel: DT binding for i2c driverDT binding documentation for atmel i2c driver.Signed-off-by: Songjun Wu <songjun.wu@atmel.com>Reviewed-by: Heiko Schocher <hs@denx.de>Acked-by: Heiko Schoch
i2c: atmel: DT binding for i2c driverDT binding documentation for atmel i2c driver.Signed-off-by: Songjun Wu <songjun.wu@atmel.com>Reviewed-by: Heiko Schocher <hs@denx.de>Acked-by: Heiko Schocher <hs@denx.de>
dt-bindings: add Tegra186 BPMP I2C bindingIn Tegra186, the BPMP (Boot and Power Management Processor) owns certainHW devices, such as the I2C controller for the power management I2C bus.Software
dt-bindings: add Tegra186 BPMP I2C bindingIn Tegra186, the BPMP (Boot and Power Management Processor) owns certainHW devices, such as the I2C controller for the power management I2C bus.Software running on other CPUs must perform IPC to the BPMP in order toexecute transactions on that I2C bus. This binding describes an I2C busthat is accessed in such a fashion.Signed-off-by: Stephen Warren <swarren@nvidia.com>Reviewed-by: Simon Glass <sjg@chromium.org>Signed-off-by: Tom Warren <twarren@nvidia.com>
i2c: Describe Cadence I2C devicetree bindingsSigned-off-by: Moritz Fischer <moritz.fischer@ettus.com>Reviewed-by: Heiko Schocher <hs@denx.de>Signed-off-by: Michal Simek <michal.simek@xilinx.com>
dm: i2c: Add support for multiplexed I2C busesAdd a new I2C_MUX uclass. Devices in this class can multiplex betweenseveral I2C buses, selecting them one at a time for use by the system.The multip
dm: i2c: Add support for multiplexed I2C busesAdd a new I2C_MUX uclass. Devices in this class can multiplex betweenseveral I2C buses, selecting them one at a time for use by the system.The multiplexing mechanism is left to the driver to decide - it may becontrolled by GPIOs, for example.The uclass supports only two methods: select() and deselect().The current mux state is expected to be stored in the mux itself sinceit is the only thing that knows how to make things work. The mux canrecord the current state and then avoid switching unless it is necessary.So select() can be skipped if the mux is already in the correct state.Also deselect() can be made a nop if required.Signed-off-by: Simon Glass <sjg@chromium.org>
dm: i2c: add i2c-gpio driverThis commit adds driver model support to software emulated i2c bus driver.This driver supports kernel-style device tree bindings. Fdt properties in use:- compatible -
dm: i2c: add i2c-gpio driverThis commit adds driver model support to software emulated i2c bus driver.This driver supports kernel-style device tree bindings. Fdt properties in use:- compatible - "i2c-gpio"- gpios - data and clock GPIO pin phandles- delay-us - micro seconds delay between GPIOs toggle operations, which is 1/4 of I2C speed clock period.Added:- Config: CONFIG_DM_I2C_GPIO- File: drivers/i2c/i2c-gpio.c- File: doc/device-tree-bindings/i2c/i2c-gpio.txtDriver base code is taken from: drivers/i2c/soft-i2c.c, changes:- use "i2c-gpio" naming- update comments style- move preprocesor macros into functions- add device tree support- add driver model i2c support- code cleanup,- add Kconfig entrySigned-off-by: Przemyslaw Marczak <p.marczak@samsung.com>Acked-by: Simon Glass <sjg@chromium.org>Added braces in i2c_gpio_xfer() to fix style nit:Signed-off-by: Simon Glass <sjg@chromium.org>
dm: i2c: dts: Support an offset-len device tree propertySince U-Boot can support different offset lengths (0-4 bytes), add a devicetree property to specify this. This avoids hard-coding it in the
dm: i2c: dts: Support an offset-len device tree propertySince U-Boot can support different offset lengths (0-4 bytes), add a devicetree property to specify this. This avoids hard-coding it in the driver.Signed-off-by: Simon Glass <sjg@chromium.org>
Prepare v2012.04-rc2; minor Coding Style cleanupSigned-off-by: Wolfgang Denk <wd@denx.de>
tegra: fdt: i2c: Add extra I2C bindings for U-BootAdd U-Boot's peripheral clock information to the Tegra20 device tree file.Signed-off-by: Simon Glass <sjg@chromium.org>Acked-by: Stephen Warren
tegra: fdt: i2c: Add extra I2C bindings for U-BootAdd U-Boot's peripheral clock information to the Tegra20 device tree file.Signed-off-by: Simon Glass <sjg@chromium.org>Acked-by: Stephen Warren <swarren@wwwdotorg.org>Signed-off-by: Tom Warren <twarren@nvidia.com>