diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 11:39:19 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-11 11:39:19 -0500 |
commit | 13c071907b237058b38ac85b35742a543e522059 (patch) | |
tree | f3c09fd1fe1617140e521ae3448e3698002f85b3 /Documentation/devicetree/bindings/mfd | |
parent | c5ce28df0e7c01a1de23c36ebdefcd803f2b6cbb (diff) | |
parent | 24727b45b484e8937dcde53fa8d1aa70ac30ec0c (diff) |
Merge tag 'for-v3.20' of git://git.infradead.org/battery-2.6
Pull power supply and reset changes from Sebastian Reichel:
"New drivers:
- charger driver for Maxim 77693
- battery gauge driver for LTC 2941/2943
- battery gauge driver for RT5033
- reset driver for R-Mobile platforms
Convert drivers to restart handler framework:
- arm-versatile
- at91
- st-poweroff
Misc:
- remove deprecated sun6i reboot driver
- use alarmtimer instead of rtc in charger-manager
- misc fixes"
* tag 'for-v3.20' of git://git.infradead.org/battery-2.6: (48 commits)
power_supply: 88pm860x: Fix leaked power supply on probe fail
power/reset: restart-poweroff: Remove arm dependencies
power/reset: st-poweroff: Fix misleading Kconfig description
power/reset: st-poweroff: Register with kernel restart handler
power/reset: Remove sun6i reboot driver
power/reset: at91: Register with kernel restart handler
power/reset: arm-versatile: Register with kernel restart handler
power: test_power: Use enum as index for array of supplies
Add devicetree binding documentation for the LTC2941/LTC2943 driver
Add LTC2941/LTC2943 Battery Gauge Driver
power/reset: brcmstb: Add support for old 65nm chips
power/reset: brcmstb: Use the DT "compatible" string to indicate bit positions
power/reset: brcmstb: Make the driver buildable on MIPS
power: charger-manager: Use alarmtimer for battery monitoring in suspend.
power/reset: at91-poweroff: Fix error handling and other compiler warnings
bq27x00_battery: Call power_supply_changed only when capacity changed
bq27x00_battery: fix register offset for bq27425
power: max14577: Remove SYSFS dependency from Kconfig
power: bq24190_charger: suppress build warning
power: reset: Add reset driver for R-Mobile platforms
...
Diffstat (limited to 'Documentation/devicetree/bindings/mfd')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/max77693.txt | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/max77693.txt b/Documentation/devicetree/bindings/mfd/max77693.txt index 01e9f30fe678..38e64405e98d 100644 --- a/Documentation/devicetree/bindings/mfd/max77693.txt +++ b/Documentation/devicetree/bindings/mfd/max77693.txt | |||
@@ -41,6 +41,41 @@ Optional properties: | |||
41 | To get more informations, please refer to documentaion. | 41 | To get more informations, please refer to documentaion. |
42 | [*] refer Documentation/devicetree/bindings/pwm/pwm.txt | 42 | [*] refer Documentation/devicetree/bindings/pwm/pwm.txt |
43 | 43 | ||
44 | - charger : Node configuring the charger driver. | ||
45 | If present, required properties: | ||
46 | - compatible : Must be "maxim,max77693-charger". | ||
47 | |||
48 | Optional properties (if not set, defaults will be used): | ||
49 | - maxim,constant-microvolt : Battery constant voltage in uV. The charger | ||
50 | will operate in fast charge constant current mode till battery voltage | ||
51 | reaches this level. Then the charger will switch to fast charge constant | ||
52 | voltage mode. Also vsys (system voltage) will be set to this value when | ||
53 | DC power is supplied but charger is not enabled. | ||
54 | Valid values: 3650000 - 4400000, step by 25000 (rounded down) | ||
55 | Default: 4200000 | ||
56 | |||
57 | - maxim,min-system-microvolt : Minimal system voltage in uV. | ||
58 | Valid values: 3000000 - 3700000, step by 100000 (rounded down) | ||
59 | Default: 3600000 | ||
60 | |||
61 | - maxim,thermal-regulation-celsius : Temperature in Celsius for entering | ||
62 | high temperature charging mode. If die temperature exceeds this value | ||
63 | the charging current will be reduced by 105 mA/Celsius. | ||
64 | Valid values: 70, 85, 100, 115 | ||
65 | Default: 100 | ||
66 | |||
67 | - maxim,battery-overcurrent-microamp : Overcurrent protection threshold | ||
68 | in uA (current from battery to system). | ||
69 | Valid values: 2000000 - 3500000, step by 250000 (rounded down) | ||
70 | Default: 3500000 | ||
71 | |||
72 | - maxim,charge-input-threshold-microvolt : Threshold voltage in uV for | ||
73 | triggering input voltage regulation loop. If input voltage decreases | ||
74 | below this value, the input current will be reduced to reach the | ||
75 | threshold voltage. | ||
76 | Valid values: 4300000, 4700000, 4800000, 4900000 | ||
77 | Default: 4300000 | ||
78 | |||
44 | Example: | 79 | Example: |
45 | max77693@66 { | 80 | max77693@66 { |
46 | compatible = "maxim,max77693"; | 81 | compatible = "maxim,max77693"; |
@@ -73,4 +108,14 @@ Example: | |||
73 | pwms = <&pwm 0 40000 0>; | 108 | pwms = <&pwm 0 40000 0>; |
74 | pwm-names = "haptic"; | 109 | pwm-names = "haptic"; |
75 | }; | 110 | }; |
111 | |||
112 | charger { | ||
113 | compatible = "maxim,max77693-charger"; | ||
114 | |||
115 | maxim,constant-microvolt = <4200000>; | ||
116 | maxim,min-system-microvolt = <3600000>; | ||
117 | maxim,thermal-regulation-celsius = <75>; | ||
118 | maxim,battery-overcurrent-microamp = <3000000>; | ||
119 | maxim,charge-input-threshold-microvolt = <4300000>; | ||
120 | }; | ||
76 | }; | 121 | }; |