xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/ibm,cffps1.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDevice-tree bindings for IBM Common Form Factor Power Supply Versions 1 and 2
2*c66ec88fSEmmanuel Vadot-----------------------------------------------------------------------------
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot - compatible				: Must be one of the following:
6*c66ec88fSEmmanuel Vadot						"ibm,cffps1"
7*c66ec88fSEmmanuel Vadot						"ibm,cffps2"
8*c66ec88fSEmmanuel Vadot						or "ibm,cffps" if the system
9*c66ec88fSEmmanuel Vadot						must support any version of the
10*c66ec88fSEmmanuel Vadot						power supply
11*c66ec88fSEmmanuel Vadot - reg = < I2C bus address >;		: Address of the power supply on the
12*c66ec88fSEmmanuel Vadot					  I2C bus.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot    i2c-bus@100 {
17*c66ec88fSEmmanuel Vadot        #address-cells = <1>;
18*c66ec88fSEmmanuel Vadot        #size-cells = <0>;
19*c66ec88fSEmmanuel Vadot        #interrupt-cells = <1>;
20*c66ec88fSEmmanuel Vadot        < more properties >
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot        power-supply@68 {
23*c66ec88fSEmmanuel Vadot            compatible = "ibm,cffps1";
24*c66ec88fSEmmanuel Vadot            reg = <0x68>;
25*c66ec88fSEmmanuel Vadot        };
26*c66ec88fSEmmanuel Vadot    };
27