Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 0c8efd610b58cb23cefdfa12015799079aef94ae authored by Linus Torvalds on 12 March 2018, 00:25:09 UTC
Linux 4.16-rc5
Tip revision: 0c8efd6
i2c-cbus-gpio.txt
Device tree bindings for i2c-cbus-gpio driver

Required properties:
	- compatible = "i2c-cbus-gpio";
	- gpios: clk, dat, sel
	- #address-cells = <1>;
	- #size-cells = <0>;

Optional properties:
	- child nodes conforming to i2c bus binding

Example:

i2c@0 {
	compatible = "i2c-cbus-gpio";
	gpios = <&gpio 66 0 /* clk */
		 &gpio 65 0 /* dat */
		 &gpio 64 0 /* sel */
		>;
	#address-cells = <1>;
	#size-cells = <0>;

	retu: retu@1 {
		compatible = "nokia,retu";
		reg = <0x1>;
	};
};
back to top