Back to home page

OSCL-LXR

 
 

    


0001 * Marvell 88PM860x Power Management IC
0002 
0003 Required parent device properties:
0004 - compatible : "marvell,88pm860x"
0005 - reg : the I2C slave address for the 88pm860x chip
0006 - interrupts : IRQ line for the 88pm860x chip
0007 - interrupt-controller: describes the 88pm860x as an interrupt controller (has its own domain)
0008 - #interrupt-cells : should be 1.
0009                 - The cell is the 88pm860x local IRQ number
0010 
0011 Optional parent device properties:
0012 - marvell,88pm860x-irq-read-clr: inicates whether interrupt status is cleared by read
0013 - marvell,88pm860x-slave-addr: 88pm860x are two chips solution. <reg> stores the I2C address
0014                                 of one chip, and this property stores the I2C address of
0015                                 another chip.
0016 
0017 88pm860x consists of a large and varied group of sub-devices:
0018 
0019 Device                   Supply Names    Description
0020 ------                   ------------    -----------
0021 88pm860x-onkey          :               : On key
0022 88pm860x-rtc            :               : RTC
0023 88pm8607                :               : Regulators
0024 88pm860x-backlight      :               : Backlight
0025 88pm860x-led            :               : Led
0026 88pm860x-touch          :               : Touchscreen
0027 
0028 Example:
0029 
0030         pmic: 88pm860x@34 {
0031                 compatible = "marvell,88pm860x";
0032                 reg = <0x34>;
0033                 interrupts = <4>;
0034                 interrupt-parent = <&intc>;
0035                 interrupt-controller;
0036                 #interrupt-cells = <1>;
0037 
0038                 marvell,88pm860x-irq-read-clr;
0039                 marvell,88pm860x-slave-addr = <0x11>;
0040 
0041                 regulators {
0042                         BUCK1 {
0043                                 regulator-min-microvolt = <1000000>;
0044                                 regulator-max-microvolt = <1500000>;
0045                                 regulator-boot-on;
0046                                 regulator-always-on;
0047                         };
0048                         LDO1 {
0049                                 regulator-min-microvolt = <1200000>;
0050                                 regulator-max-microvolt = <2800000>;
0051                                 regulator-boot-on;
0052                                 regulator-always-on;
0053                         };
0054                 };
0055                 rtc {
0056                         marvell,88pm860x-vrtc = <1>;
0057                 };
0058                 touch {
0059                         marvell,88pm860x-gpadc-prebias = <1>;
0060                         marvell,88pm860x-gpadc-slot-cycle = <1>;
0061                         marvell,88pm860x-tsi-prebias = <6>;
0062                         marvell,88pm860x-pen-prebias = <16>;
0063                         marvell,88pm860x-pen-prechg = <2>;
0064                         marvell,88pm860x-resistor-X = <300>;
0065                 };
0066                 backlights {
0067                         backlight-0 {
0068                                 marvell,88pm860x-iset = <4>;
0069                                 marvell,88pm860x-pwm = <3>;
0070                         };
0071                         backlight-2 {
0072                         };
0073                 };
0074                 leds {
0075                         led0-red {
0076                                 marvell,88pm860x-iset = <12>;
0077                         };
0078                         led0-green {
0079                                 marvell,88pm860x-iset = <12>;
0080                         };
0081                         led0-blue {
0082                                 marvell,88pm860x-iset = <12>;
0083                         };
0084                 };
0085         };