From patchwork Wed Jul 8 12:26:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 6746691 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9BC69C05AC for ; Wed, 8 Jul 2015 12:32:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BF71320698 for ; Wed, 8 Jul 2015 12:32:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 412ED20691 for ; Wed, 8 Jul 2015 12:32:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCoUo-00012s-Uo; Wed, 08 Jul 2015 12:30:38 +0000 Received: from mail-pd0-f180.google.com ([209.85.192.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCoUc-0008Ha-Gn for linux-arm-kernel@lists.infradead.org; Wed, 08 Jul 2015 12:30:27 +0000 Received: by pddu5 with SMTP id u5so57658794pdd.3 for ; Wed, 08 Jul 2015 05:30:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9iOXkhcXLPwhArTsEOY3Y2vgabdvsnbEtE0DNyty3ng=; b=QU1O6Dn16QxxvH7xK/HpnDTpuCxLLCWiXVbHNKMmv4JkE3GfEdp576V14ls3JfSYWs Wa48BLAMFoQjQCEuLe8Cdu/MWZADwqUD+27HtXEmBTK8/B+euIGssfD2xwErf9MVT0gX PQkV9H9W7OT/R52EqxGjUPuhzLk+iOoh/yARmy+1wgAmxIhZ3GmUrBQwCS+lcuGxkjOc J3NiloDzbSPrzw5uJayFqwHLqcyjVx3cvZsLH4d1gkxhDKpR6Ib21k15EUcmrjWjU1Md g/XdvS7s2CawyMg92eQ5oGBf8pE6MDMrRFDUOfUyGgUnjoY/LhrZ9j47iizwLiXYl55S 2/hQ== X-Gm-Message-State: ALoCoQk+icX6YHhY90stS8esrm7+v7LSMbjcDvv51uSFcC56jHThURC1AcHvkhwdQiQYi14kZjsG X-Received: by 10.66.144.40 with SMTP id sj8mr19759478pab.55.1436358605764; Wed, 08 Jul 2015 05:30:05 -0700 (PDT) Received: from localhost.localdomain ([202.62.93.138]) by smtp.gmail.com with ESMTPSA id db1sm2415741pdb.50.2015.07.08.05.29.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Jul 2015 05:30:04 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Subject: [PATCH-v6 6/6] mfd: devicetree: bindings: Add new 88pm800 mfd binding Date: Wed, 8 Jul 2015 17:56:32 +0530 Message-Id: <1436358392-15449-7-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436358392-15449-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1436358392-15449-1-git-send-email-vaibhav.hiremath@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150708_053026_595922_D1A44521 X-CRM114-Status: GOOD ( 15.72 ) X-Spam-Score: 0.7 (/) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Krzysztof Kozlowski , Pawel Moll , Ian Campbell , Vaibhav Hiremath , open list , Rob Herring , Kumar Gala , Lee Jones MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SBL_CSS, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP With addition of DT support to 88pm800 mfd driver, this patch adds new DT binding documentation along with respective properties. Signed-off-by: Vaibhav Hiremath Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring Acked-by: Lee Jones --- Documentation/devicetree/bindings/mfd/88pm800.txt | 53 +++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/88pm800.txt diff --git a/Documentation/devicetree/bindings/mfd/88pm800.txt b/Documentation/devicetree/bindings/mfd/88pm800.txt new file mode 100644 index 0000000..dec842f --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/88pm800.txt @@ -0,0 +1,53 @@ +* Marvell 88PM80x Power Management IC + +Required parent device properties: +- compatible : "marvell,88pm800", "marvell,88pm805", "marvell,88pm860" +- reg : the I2C slave address for the 88pm80x family chip +- interrupts : IRQ line for the 88pm80x family chip +- interrupt-controller : describes the 88pm80x family chip as an interrupt + controller +- #interrupt-cells : should be 1. + The cell is the 88pm80x local IRQ number + +88pm80x family of devices consists of varied group of sub-devices: + +Device Supply Names Description +------ ------------ ----------- +88pm80x-onkey : : On key +88pm80x-rtc : : RTC +88pm80x-regulator : : Regulators + +Example: + + pmic: 88pm800@30 { + compatible = "marvell,88pm800"; + reg = <0x30>; + interrupts = ; + interrupt-parent = <&gic>; + interrupt-controller; + #interrupt-cells = <1>; + + regulators { + compatible = "marvell,88pm80x-regulator"; + + buck1a: BUCK1A { + regulator-name = "BUCK1A"; + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1: LDO1 { + regulator-name = "LDO1"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + }; + + rtc { + compatible = "marvell,88pm80x-rtc"; + }; + };