diff options
author | Lukasz Majewski <lukma@denx.de> | 2021-06-07 14:26:34 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-23 07:13:25 -0400 |
commit | 2132fce7e1a56d81d5e5bdbd39b8f6500655c815 (patch) | |
tree | a03884f7c6623ea1a44b2e6a0d1c64089fa0df8c /cmd | |
parent | 0119c910521cd6b089e5c3ec623902caf75b4915 (diff) | |
download | u-boot-2132fce7e1a56d81d5e5bdbd39b8f6500655c815.tar.gz u-boot-2132fce7e1a56d81d5e5bdbd39b8f6500655c815.tar.bz2 u-boot-2132fce7e1a56d81d5e5bdbd39b8f6500655c815.zip |
i2c: pcf8575: Add support for 8 bit I2C IO expanders (like pca8574)
This patch add support for using NXP's pca8574 I2C IO expander, which
has only 8 IO lines.
After this change the .data member's information from struct udevice_id
are used to either sent one or two bytes.
Moreover, the '_le16' suffix from pcf8575_i2c_{write|read}_le16()
functions have been removed as now we also sent 8 bit data.
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions