xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/ec_battery.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBinding for EC Battery
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Should contain one of the following:
5*4882a593Smuzhiyun    * "rockchip,ec-battery"
6*4882a593Smuzhiyun- reg: integer, smbus address of the device.
7*4882a593Smuzhiyun- tvirtual_power: integer, test power, if battery is not exist;
8*4882a593Smuzhiyun- monitor_sec: integer, delay time of queue_delayed_work (s);
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOptional properties:
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExample:
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunec_battery: ec_battery09 {
16*4882a593Smuzhiyun	compatible = "rockchip,ec-battery";
17*4882a593Smuzhiyun	reg = <0x76>;
18*4882a593Smuzhiyun	virtual_power = <0>;
19*4882a593Smuzhiyun	monitor_sec = <5>;
20*4882a593Smuzhiyun};
21