PageRenderTime 15ms CodeModel.GetById 13ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/Documentation/devicetree/bindings/power/smb137c-charger.txt

https://gitlab.com/webhaikal/SenseiFerrari
Plain Text | 86 lines | 81 code | 5 blank | 0 comment | 0 complexity | c69980d773dc85585ce3f499cb7d9e42 MD5 | raw file
 1Summit SMB137C Battery Charger
 2
 3The SMB137C is controlled via an I2C bus.  Its 7-bit I2C slave address is
 4programmed during manufacturing.
 5
 6Required properties:
 7- compatible:		Must be "summit,smb137c".
 8- reg:			The device's 7-bit I2C address.
 9
10Optional properties:
11- summit,chg-current-ma		Maximum battery charging current in milliamps.
12				Supported values are: 500, 650, 750, 850, 950,
13				1100, 1300, and 1500.
14- summit,term-current-ma	Charging terminaton current in milliamps.
15				Supported values are: 0, 35, 50, 100, and 150.
16				A value of 0 means no termination current is
17				used.
18- summit,pre-chg-current-ma	Maximum battery pre-charging current in
19				milliamps.  This current limit is applied while
20				the battery voltage is below the pre-charge /
21				fast-charge threshold.  Supported values are:
22				50, 100, 150, and 200.
23- summit,float-voltage-mv	Battery voltage threshold in millivolts at which
24				point charging switches from constant current to
25				constant voltage.  Supported values are: 3460 up
26				through 4730 in 10 mV steps.
27- summit,thresh-voltage-mv	Threshold voltage in millivolts which is used to
28				switch between pre-charge and fast-charge
29				current limits.  Supported values are: 2400 up
30				to 3100 in 100 mV steps.
31- summit,recharge-thresh-mv	Specifies the minimum voltage drop in millivolts
32				below the float voltage that is required in
33				order to initiate a new charging cycle.
34				Supported values are: 75 and 120.
35- summit,system-voltage-mv	Regulated voltage output on the VOUTL pin in
36				millivolts.  Supported values are 4250 and 4460.
37- summit,charging-timeout	Maximum duration in minutes that a single charge
38				cycle may last.  Supported values are: 0, 382,
39				764, and 1527.  A value of 0 means that no
40				charge cycle timeout is used and charging can
41				continue indefinitely.
42- summit,pre-charge-timeout	Maximum time in minutes spent in the pre-charge
43				state in any given charge cycle.  Supports
44				values are: 0, 48, 95, and 191.  A value of 0
45				means that there is no limit to the amount of
46				time that may be spent in the pre-charge state.
47- summit,therm-current-ua	Thermistor current in microamps to be used for
48				battery temperature monitoring.  Supported
49				values are 10, 20, 40, and 100.  These values
50				correspond to 100, 50, 25, and 10 kohm NTC
51				thermistors respectively.
52- summit,temperature-min	Specifies the minimum temperature at which
53				charging is allowed.  Supported values are
54				0 to 7.  These values correspond to -20 C to
55				+15 C in 5 C increments for an NTC thermistor
56				with beta = 4400.
57- summit,temperature-max	Specifies the maximum temperature at which
58				charging is allowed.  Supported values are
59				0 to 7.  These values correspond to +30 C to
60				+65 C in 5 C increments for an NTC thermistor
61				with beta = 4400.
62
63Note: If an optional property is not specified, then the hardware default value
64will be used.
65
66Example:
67/ {
68	i2c@f9925000 {
69		charger@57 {
70			compatible = "summit,smb137c";
71			reg = <0x57>;
72			summit,chg-current-ma = <1500>;
73			summit,term-current-ma = <50>;
74			summit,pre-chg-current-ma = <100>;
75			summit,float-voltage-mv = <4200>;
76			summit,thresh-voltage-mv = <3000>;
77			summit,recharge-thresh-mv = <75>;
78			summit,system-voltage-mv = <4250>;
79			summit,charging-timeout = <382>;
80			summit,pre-charge-timeout = <48>;
81			summit,therm-current-ua = <10>;
82			summit,temperature-min = <4>; /*  0 C */
83			summit,temperature-max = <3>; /* 45 C */
84		};
85	};
86};