From patchwork Tue Dec 3 06:43:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 3273831 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E4236C0D4A for ; Tue, 3 Dec 2013 06:44:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D20FF20255 for ; Tue, 3 Dec 2013 06:44:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7E32420263 for ; Tue, 3 Dec 2013 06:44:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752641Ab3LCGoQ (ORCPT ); Tue, 3 Dec 2013 01:44:16 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:35528 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751711Ab3LCGoB (ORCPT ); Tue, 3 Dec 2013 01:44:01 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id rB36hjrs006929; Tue, 3 Dec 2013 00:43:45 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id rB36hjTg005550; Tue, 3 Dec 2013 00:43:45 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Tue, 3 Dec 2013 00:43:45 -0600 Received: from ula0393675.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id rB36hYIf027224; Tue, 3 Dec 2013 00:43:40 -0600 From: Keerthy To: , , , , , , , , , , CC: , , , , Subject: [PATCH 1/4] mfd: DT bindings for TPS65218 PMIC Date: Tue, 3 Dec 2013 12:13:22 +0530 Message-ID: <1386053006-6480-2-git-send-email-j-keerthy@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1386053006-6480-1-git-send-email-j-keerthy@ti.com> References: <1386053006-6480-1-git-send-email-j-keerthy@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Add DT bindings for TPS65218 PMIC. Signed-off-by: Keerthy --- Documentation/devicetree/bindings/mfd/tps65218.txt | 27 ++++++++++++++++++++ .../devicetree/bindings/regulator/tps65218.txt | 22 ++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/tps65218.txt create mode 100644 Documentation/devicetree/bindings/regulator/tps65218.txt diff --git a/Documentation/devicetree/bindings/mfd/tps65218.txt b/Documentation/devicetree/bindings/mfd/tps65218.txt new file mode 100644 index 0000000..87cb7a8 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/tps65218.txt @@ -0,0 +1,27 @@ +The TPS65218 Integrated Power Management Chips. +These chips are connected to an i2c bus. + +Required properties: +- compatible : Must be "ti,tps65218"; +- interrupts : This i2c device has an IRQ line connected to the main SoC +- interrupt-controller : Since the tps65218 support several interrupts + internally, it is considered as an interrupt controller cascaded to the SoC. +- #interrupt-cells = <2>; +- interrupt-parent : The parent interrupt controller. + +Optional node: +- Child nodes contain in the tps65218. + It supports a number of features. + The children nodes will thus depend of the capability of the variant. + +Example: +/* + * Integrated Power Management Chip + */ +tps@24 { + compatible = "ti,tps65218"; + reg = <0x24>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; +}; diff --git a/Documentation/devicetree/bindings/regulator/tps65218.txt b/Documentation/devicetree/bindings/regulator/tps65218.txt new file mode 100644 index 0000000..1ccf170 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/tps65218.txt @@ -0,0 +1,22 @@ +TPS65218 family of regulators + +Required properties: +For tps65218 regulators/LDOs +- compatible: + - "ti,tps65218-dcdc1" for DCDC1 + - "ti,tps65218-dcdc2" for DCDC2 + - "ti,tps65218-dcdc3" for DCDC3 + - "ti,tps65218-dcdc4" for DCDC4 + - "ti,tps65218-dcdc5" for DCDC5 + - "ti,tps65218-dcdc6" for DCDC6 + - "ti,tps65218-ldo1" for LDO1 LDO + +Optional properties: +- Any optional property defined in bindings/regulator/regulator.txt + +Example: + xyz: regulator@0 { + compatible = "ti,tps65218-dcdc1"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <3000000>; + };