Heiner Kallweit 8786b095df i2c: gpio: support write-only sda/scl w/o pull-up
There are slave devices that understand I2C but have read-only SDA and
SCL. Examples are FD650 7-segment LED controller and its derivatives.
Typical board designs don't even have a pull-up for both pins.
Handle the new attributes for write-only SDA and missing pull-up on
SDA/SCL.

For either pin the open-drain and has-no-pullup properties are
mutually-exclusive, what is documented in the DT property documentation.
We don't add an extra warning here because the open-drain properties
are marked deprecated anyway.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
[wsa: switched to device properties]
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2023-01-23 23:18:54 +01:00
..
2020-09-27 15:14:16 +02:00
2021-08-19 19:18:17 +02:00
2022-09-16 20:27:30 +01:00
2022-07-22 18:46:41 +02:00
2021-04-17 22:00:58 +02:00
2022-01-14 18:50:52 -05:00
2021-11-23 10:00:12 +01:00