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

Documentation: Add docs for max8925 dt

add docs for dt of max8925-mfd, max8925-backlight, and
max8925-battery

Signed-off-by: Qing Xu <qingx@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Qing Xu and committed by
Samuel Ortiz
ba3980df 58f1193e

+92
+64
Documentation/devicetree/bindings/mfd/max8925.txt
··· 1 + * Maxim max8925 Power Management IC 2 + 3 + Required parent device properties: 4 + - compatible : "maxim,max8925" 5 + - reg : the I2C slave address for the max8925 chip 6 + - interrupts : IRQ line for the max8925 chip 7 + - interrupt-controller: describes the max8925 as an interrupt 8 + controller (has its own domain) 9 + - #interrupt-cells : should be 1. 10 + - The cell is the max8925 local IRQ number 11 + 12 + Optional parent device properties: 13 + - maxim,tsc-irq: there are 2 IRQ lines for max8925, one is indicated in 14 + interrupts property, the other is indicated here. 15 + 16 + max8925 consists of a large and varied group of sub-devices: 17 + 18 + Device Supply Names Description 19 + ------ ------------ ----------- 20 + max8925-onkey : : On key 21 + max8925-rtc : : RTC 22 + max8925-regulator : : Regulators 23 + max8925-backlight : : Backlight 24 + max8925-touch : : Touchscreen 25 + max8925-power : : Charger 26 + 27 + Example: 28 + 29 + pmic: max8925@3c { 30 + compatible = "maxim,max8925"; 31 + reg = <0x3c>; 32 + interrupts = <1>; 33 + interrupt-parent = <&intcmux4>; 34 + interrupt-controller; 35 + #interrupt-cells = <1>; 36 + maxim,tsc-irq = <0>; 37 + 38 + regulators { 39 + SDV1 { 40 + regulator-min-microvolt = <637500>; 41 + regulator-max-microvolt = <1425000>; 42 + regulator-boot-on; 43 + regulator-always-on; 44 + }; 45 + 46 + LDO1 { 47 + regulator-min-microvolt = <750000>; 48 + regulator-max-microvolt = <3900000>; 49 + regulator-boot-on; 50 + regulator-always-on; 51 + }; 52 + 53 + }; 54 + backlight { 55 + maxim,max8925-dual-string = <0>; 56 + }; 57 + charger { 58 + batt-detect = <0>; 59 + topoff-threshold = <1>; 60 + fast-charge = <7>; 61 + no-temp-support = <0>; 62 + no-insert-detect = <0>; 63 + }; 64 + };
+18
Documentation/devicetree/bindings/power_supply/max8925_batter.txt
··· 1 + max8925-battery bindings 2 + ~~~~~~~~~~~~~~~~ 3 + 4 + Optional properties : 5 + - batt-detect: whether support battery detect 6 + - topoff-threshold: set charging current in topoff mode 7 + - fast-charge: set charging current in fast mode 8 + - no-temp-support: whether support temperature protection detect 9 + - no-insert-detect: whether support insert detect 10 + 11 + Example: 12 + charger { 13 + batt-detect = <0>; 14 + topoff-threshold = <1>; 15 + fast-charge = <7>; 16 + no-temp-support = <0>; 17 + no-insert-detect = <0>; 18 + };
+10
Documentation/devicetree/bindings/video/backlight/max8925-backlight.txt
··· 1 + 88pm860x-backlight bindings 2 + 3 + Optional properties: 4 + - maxim,max8925-dual-string: whether support dual string 5 + 6 + Example: 7 + 8 + backlights { 9 + maxim,max8925-dual-string = <0>; 10 + };