Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753173AbbFHMz6 (ORCPT ); Mon, 8 Jun 2015 08:55:58 -0400 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:63874 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752986AbbFHMzu (ORCPT ); Mon, 8 Jun 2015 08:55:50 -0400 From: Yi Zhang To: , CC: , , , Subject: [PATCH 1/2] mfd: add Marvell 88pm88x description Date: Mon, 8 Jun 2015 20:55:05 +0800 Message-ID: <1433768106-8212-1-git-send-email-yizhang@marvell.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-06-08_07:2015-06-08,2015-06-08,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1506080217 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1802 Lines: 56 88pm880 and 88pm886 are two combo PMIC chips, most of the function and the register mapping are the same Signed-off-by: Yi Zhang --- Documentation/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 0000000..72e741c --- /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; + }; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/