88pm860x.txt 2.1 KB

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