Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

devicetree: power/mfd: max77693: Document new bindings for charger

Document new device tree bindings for Maxim 77693 charger driver.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Sebastian Reichel
97d15966 e0291285

+45
+45
Documentation/devicetree/bindings/mfd/max77693.txt
··· 41 41 To get more informations, please refer to documentaion. 42 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 79 Example: 45 80 max77693@66 { 46 81 compatible = "maxim,max77693"; ··· 107 72 haptic-supply = <&haptic_supply>; 108 73 pwms = <&pwm 0 40000 0>; 109 74 pwm-names = "haptic"; 75 + }; 76 + 77 + charger { 78 + compatible = "maxim,max77693-charger"; 79 + 80 + maxim,constant-microvolt = <4200000>; 81 + maxim,min-system-microvolt = <3600000>; 82 + maxim,thermal-regulation-celsius = <75>; 83 + maxim,battery-overcurrent-microamp = <3000000>; 84 + maxim,charge-input-threshold-microvolt = <4300000>; 110 85 }; 111 86 };