xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/cw221x_battery.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBinding for CW221X Battery
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Should contain one of the following:
5*4882a593Smuzhiyun    * "cw221x"
6*4882a593Smuzhiyun- reg: integer, smbus address of the device.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun- cellwise,battery-profile: battery curve information;
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOptional properties:
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExample:
14*4882a593Smuzhiyun	cw221x@64 {
15*4882a593Smuzhiyun		status = "okay";
16*4882a593Smuzhiyun		compatible = "cellwise,cw221X";
17*4882a593Smuzhiyun		reg = <0x64>;
18*4882a593Smuzhiyun		cellwise,battery-profile = /bits/ 8
19*4882a593Smuzhiyun			<0x15 0xA8 0x5D 0x5D 0x59 0x55 0x57 0x50
20*4882a593Smuzhiyun			 0x4B 0x4F 0x55 0x53 0x43 0x37 0x2F 0x28
21*4882a593Smuzhiyun			 0x21 0x18 0x15 0x17 0x27 0x43 0x57 0x4F
22*4882a593Smuzhiyun			 0x13 0x5E 0x0A 0xE1 0x19 0x31 0x3C 0x46
23*4882a593Smuzhiyun			 0x4C 0x52 0x50 0x54 0x44 0x1E 0x7E 0x4C
24*4882a593Smuzhiyun			 0x1C 0x4A 0x52 0x87 0x8F 0x91 0x94 0x52
25*4882a593Smuzhiyun			 0x82 0x8C 0x92 0x96 0x00 0xAD 0xFB 0xCB
26*4882a593Smuzhiyun			 0x2F 0x7D 0x72 0xA5 0xB5 0xC1 0x1C 0x09>;
27*4882a593Smuzhiyun	};
28