7a80409e7e
Also enables touchscreen with downstream PMIC driver.
56 lines
1.7 KiB
Diff
56 lines
1.7 KiB
Diff
From 15786525bbad9763a1ddff188d75e5a4c534fa9e Mon Sep 17 00:00:00 2001
|
|
From: Yi Zhang <yizhang@marvell.com>
|
|
Date: Fri, 12 Jun 2015 16:43:20 +0800
|
|
Subject: [PATCH] mfd: add Marvell 88pm88x description
|
|
|
|
88pm880 and 88pm886 are two combo PMIC chips, most of the function and the
|
|
register mapping are the same
|
|
|
|
Signed-off-by: Yi Zhang <yizhang@marvell.com>
|
|
---
|
|
.../devicetree/bindings/mfd/88pm88x.txt | 33 +++++++++++++++++++
|
|
1 file changed, 33 insertions(+)
|
|
create mode 100644 Documentation/devicetree/bindings/mfd/88pm88x.txt
|
|
|
|
diff --git a/Documentation/devicetree/bindings/mfd/88pm88x.txt b/Documentation/devicetree/bindings/mfd/88pm88x.txt
|
|
new file mode 100644
|
|
index 000000000000..72e741cf3ebf
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/mfd/88pm88x.txt
|
|
@@ -0,0 +1,33 @@
|
|
+Marvell 88pm88x combo PMIC chip
|
|
+
|
|
+This series of chip integrates regulator, rtc, onkey, switch charger,
|
|
+fuelgauge, gpadc and a range of I/O pins.
|
|
+
|
|
+88pm886 and 88pm880 are two very similar chips, most of the registers mapping
|
|
+and functions are the same, the main difference is the latter has a separate
|
|
+i2c slave address to cover BUCK related setting
|
|
+
|
|
+Required properties:
|
|
+- compatible: one of the strings for a specific chip:
|
|
+ "marvell,88pm886"
|
|
+ "marvell,88pm880"
|
|
+- reg: the i2c address
|
|
+- interrupt-controller: it works as an interrupt controller managing its irqs
|
|
+- interrupt-cells: this value is 1
|
|
+
|
|
+Optional properties:
|
|
+- marvell,88pm88x-irq-write-clear: the interrupt ack method
|
|
+
|
|
+
|
|
+Example:
|
|
+
|
|
+ pmic: 88pm886@30 {
|
|
+ compatible = "marvell,88pm886";
|
|
+ reg = <0x30>;
|
|
+ interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-parent = <&gic>;
|
|
+ interrupt-controller;
|
|
+ #interrupt-cells = <1>;
|
|
+
|
|
+ marvell,88pm88x-irq-write-clear;
|
|
+ };
|
|
--
|
|
2.42.0
|
|
|