Lines Matching +full:i2c +full:- +full:gpio
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: GPIO bitbanged I2C
10 - Wolfram Sang <wsa@kernel.org>
13 - $ref: /schemas/i2c/i2c-controller.yaml#
18 - const: i2c-gpio
20 sda-gpios:
22 gpio used for the sda signal, this should be flagged as
24 from <dt-bindings/gpio/gpio.h> since the signal is by definition
28 scl-gpios:
30 gpio used for the scl signal, this should be flagged as
32 from <dt-bindings/gpio/gpio.h> since the signal is by definition
36 i2c-gpio,sda-output-only:
40 i2c-gpio,scl-output-only:
44 i2c-gpio,delay-us:
45 description: delay between GPIO operations (may depend on each platform)
47 i2c-gpio,timeout-ms:
54 description: sda and scl gpio, alternative for {sda,scl}-gpios
56 i2c-gpio,sda-open-drain:
60 the GPIO line used for SDA into open drain mode, and that something is
61 not the GPIO chip. It is essentially an inconsistency flag.
63 i2c-gpio,scl-open-drain:
67 GPIO line used for SCL into open drain mode, and that something is not
68 the GPIO chip. It is essentially an inconsistency flag.
70 i2c-gpio,sda-has-no-pullup:
72 description: sda is used in a non-compliant way and has no pull-up.
73 Therefore disable open-drain. This property is mutually-exclusive
74 with i2c-gpio,sda-open-drain.
76 i2c-gpio,scl-has-no-pullup:
78 description: scl is used in a non-compliant way and has no pull-up.
79 Therefore disable open-drain. This property is mutually-exclusive
80 with i2c-gpio,scl-open-drain.
83 i2c-gpio,sda-has-no-pullup:
86 - i2c-gpio,sda-open-drain
87 i2c-gpio,scl-has-no-pullup:
90 - i2c-gpio,scl-open-drain
93 - compatible
94 - sda-gpios
95 - scl-gpios