Commit | Line | Data |
---|---|---|
2e57d567 HZ |
1 | * Marvell 88PM860x Power Management IC |
2 | ||
3 | Required parent device properties: | |
4 | - compatible : "marvell,88pm860x" | |
5 | - reg : the I2C slave address for the 88pm860x chip | |
6 | - interrupts : IRQ line for the 88pm860x chip | |
7 | - interrupt-controller: describes the 88pm860x as an interrupt controller (has its own domain) | |
8 | - #interrupt-cells : should be 1. | |
9 | - The cell is the 88pm860x local IRQ number | |
10 | ||
11 | Optional parent device properties: | |
12 | - marvell,88pm860x-irq-read-clr: inicates whether interrupt status is cleared by read | |
13 | - marvell,88pm860x-slave-addr: 88pm860x are two chips solution. <reg> stores the I2C address | |
14 | of one chip, and this property stores the I2C address of | |
15 | another chip. | |
16 | ||
17 | 88pm860x consists of a large and varied group of sub-devices: | |
18 | ||
19 | Device Supply Names Description | |
20 | ------ ------------ ----------- | |
21 | 88pm860x-onkey : : On key | |
22 | 88pm860x-rtc : : RTC | |
23 | 88pm8607 : : Regulators | |
24 | 88pm860x-backlight : : Backlight | |
25 | 88pm860x-led : : Led | |
26 | 88pm860x-touch : : Touchscreen | |
27 | ||
28 | Example: | |
29 | ||
30 | pmic: 88pm860x@34 { | |
31 | compatible = "marvell,88pm860x"; | |
32 | reg = <0x34>; | |
33 | interrupts = <4>; | |
34 | interrupt-parent = <&intc>; | |
35 | interrupt-controller; | |
36 | #interrupt-cells = <1>; | |
37 | ||
38 | marvell,88pm860x-irq-read-clr; | |
39 | marvell,88pm860x-slave-addr = <0x11>; | |
40 | ||
41 | regulators { | |
42 | BUCK1 { | |
43 | regulator-min-microvolt = <1000000>; | |
44 | regulator-max-microvolt = <1500000>; | |
45 | regulator-boot-on; | |
46 | regulator-always-on; | |
47 | }; | |
48 | LDO1 { | |
49 | regulator-min-microvolt = <1200000>; | |
50 | regulator-max-microvolt = <2800000>; | |
51 | regulator-boot-on; | |
52 | regulator-always-on; | |
53 | }; | |
54 | }; | |
55 | rtc { | |
56 | marvell,88pm860x-vrtc = <1>; | |
57 | }; | |
58 | touch { | |
59 | marvell,88pm860x-gpadc-prebias = <1>; | |
60 | marvell,88pm860x-gpadc-slot-cycle = <1>; | |
61 | marvell,88pm860x-tsi-prebias = <6>; | |
62 | marvell,88pm860x-pen-prebias = <16>; | |
63 | marvell,88pm860x-pen-prechg = <2>; | |
64 | marvell,88pm860x-resistor-X = <300>; | |
65 | }; | |
66 | backlights { | |
67 | backlight-0 { | |
68 | marvell,88pm860x-iset = <4>; | |
69 | marvell,88pm860x-pwm = <3>; | |
70 | }; | |
71 | backlight-2 { | |
72 | }; | |
73 | }; | |
74 | leds { | |
75 | led0-red { | |
76 | marvell,88pm860x-iset = <12>; | |
77 | }; | |
78 | led0-green { | |
79 | marvell,88pm860x-iset = <12>; | |
80 | }; | |
81 | led0-blue { | |
82 | marvell,88pm860x-iset = <12>; | |
83 | }; | |
84 | }; | |
85 | }; |