mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
Kconfig: i2c: fix help message related to dm i2c
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
2984e7a102
commit
705fcf4de4
1 changed files with 7 additions and 10 deletions
|
@ -2,16 +2,13 @@ config DM_I2C
|
||||||
bool "Enable Driver Model for I2C drivers"
|
bool "Enable Driver Model for I2C drivers"
|
||||||
depends on DM
|
depends on DM
|
||||||
help
|
help
|
||||||
Enable driver model for I2C. This SPI flash interface
|
Enable driver model for I2C. The I2C uclass interface: probe, read,
|
||||||
(spi_flash_probe(), spi_flash_write(), etc.) is then
|
write and speed, is implemented with the bus drivers operations,
|
||||||
implemented by the SPI flash uclass. There is one standard
|
which provide methods for bus setting and data transfer. Each chip
|
||||||
SPI flash driver which knows how to probe most chips
|
device (bus child) info is kept as parent platdata. The interface
|
||||||
supported by U-Boot. The uclass interface is defined in
|
is defined in include/i2c.h. When i2c bus driver supports the i2c
|
||||||
include/spi_flash.h, but is currently fully compatible
|
uclass, but the device drivers not, then DM_I2C_COMPAT config can
|
||||||
with the old interface to avoid confusion and duplication
|
be used as compatibility layer.
|
||||||
during the transition parent. SPI and SPI flash must be
|
|
||||||
enabled together (it is not possible to use driver model
|
|
||||||
for one and not the other).
|
|
||||||
|
|
||||||
config DM_I2C_COMPAT
|
config DM_I2C_COMPAT
|
||||||
bool "Enable I2C compatibility layer"
|
bool "Enable I2C compatibility layer"
|
||||||
|
|
Loading…
Add table
Reference in a new issue