Lines Matching +full:device +full:- +full:state +full:- +full:gpios
30 .Nd GPIO I2C bit-banging device driver
35 .Bd -ragged -offset indent
36 .Cd "device gpio"
37 .Cd "device gpioiic"
38 .Cd "device iicbb"
39 .Cd "device iicbus"
45 .Bd -literal -offset indent
51 driver provides an IIC bit-banging interface using two GPIO pins for the
59 They are driven to '0' or switched to input mode (Hi-Z/tri-state), and
60 an external pullup resistor pulls the line to the 1 state unless some
61 other device on the bus is driving it to 0.
64 .Xr device.hints 5
67 .Bl -tag -width ".Va hint.gpioiic.%d.atXXX"
77 bit-banging bus.
81 (any other bits - i.e., pins - will be ignored).
103 conforms to the standard bindings document i2c/i2c-gpio.yaml.
104 The device node typically appears at the root of the device tree.
107 node with one slave device
109 .Bd -literal
112 compatible = "i2c-gpio";
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_gpioiic0>;
115 scl-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
116 sda-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
119 /* One slave device on the i2c bus. */
130 .Bl -tag -width ".Va compatible"
132 Should be set to "i2c-gpio".
134 .It Va scl-gpios Va sda-gpios
136 and data on the GPIO IIC bit-banging bus.
138 .It Va pinctrl-names pinctrl-0
140 pins, unless the pins default to that state on your system.