Add snapshot of device tree bindings from keystone common kernel, branch "android-mainline-keystone-qcom-release" at c4c12103f9c0 ("Snap for 9228065 from e32903b9a63bb558df8b803b076619c53c16baad to android-mainline-keystone-qcom-release"). Change-Id: I7682079615cbd9f29340a5c1f2a1d84ec441a1f1 Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
26 lines
587 B
Plaintext
26 lines
587 B
Plaintext
Generic devicetree bindings for onewire (w1) busses
|
|
===================================================
|
|
|
|
Onewire busses are described through nodes of their master bus controller.
|
|
Slave devices are listed as sub-nodes of such master devices. For now, only
|
|
one slave is allowed per bus master.
|
|
|
|
|
|
Example:
|
|
|
|
charger: charger {
|
|
compatible = "gpio-charger";
|
|
charger-type = "mains";
|
|
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
onewire {
|
|
compatible = "w1-gpio";
|
|
gpios = <&gpio 100 0>, <&gpio 101 0>;
|
|
|
|
battery {
|
|
compatible = "maxim,ds2760";
|
|
power-supplies = <&charger>;
|
|
};
|
|
};
|