aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2021-06-07 14:26:34 +0200
committerTom Rini <trini@konsulko.com>2021-07-23 07:13:25 -0400
commit2132fce7e1a56d81d5e5bdbd39b8f6500655c815 (patch)
treea03884f7c6623ea1a44b2e6a0d1c64089fa0df8c /cmd
parent0119c910521cd6b089e5c3ec623902caf75b4915 (diff)
downloadu-boot-2132fce7e1a56d81d5e5bdbd39b8f6500655c815.zip
u-boot-2132fce7e1a56d81d5e5bdbd39b8f6500655c815.tar.gz
u-boot-2132fce7e1a56d81d5e5bdbd39b8f6500655c815.tar.bz2
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