1Generic devicetree bindings for onewire (w1) busses 2=================================================== 3 4Onewire busses are described through nodes of their master bus controller. 5Slave devices are listed as sub-nodes of such master devices. For now, only 6one slave is allowed per bus master. 7 8 9Example: 10 11 charger: charger { 12 compatible = "gpio-charger"; 13 charger-type = "mains"; 14 gpios = <&gpio 1 GPIO_ACTIVE_LOW>; 15 }; 16 17 onewire { 18 compatible = "w1-gpio"; 19 gpios = <&gpio 100 0>, <&gpio 101 0>; 20 21 battery { 22 compatible = "maxim,ds2760"; 23 power-supplies = <&charger>; 24 }; 25 }; 26