From patchwork Tue May 20 09:11:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 4208361 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id ECF8A9F23C for ; Tue, 20 May 2014 09:20:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1832C20375 for ; Tue, 20 May 2014 09:20:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 05D7220373 for ; Tue, 20 May 2014 09:20:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753191AbaETJUb (ORCPT ); Tue, 20 May 2014 05:20:31 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:36082 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753010AbaETJSd (ORCPT ); Tue, 20 May 2014 05:18:33 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s4K9ID4a026129; Tue, 20 May 2014 04:18:13 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4K9IDWI018536; Tue, 20 May 2014 04:18:13 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Tue, 20 May 2014 04:18:13 -0500 Received: from ula0393675.apr.dhcp.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 s4K9I1bP001816; Tue, 20 May 2014 04:18:09 -0500 From: Keerthy To: CC: , , , , , , , , , , , Keerthy Subject: [PATCH v2 1/4] MFD: DT bindings for the TPS65917 family MFD Date: Tue, 20 May 2014 14:41:36 +0530 Message-ID: <1400577099-8743-2-git-send-email-j-keerthy@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1400577099-8743-1-git-send-email-j-keerthy@ti.com> References: <1400577099-8743-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=-7.5 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 the various binding files for the TPS65917 family of chips. There is a top level MFD binding then a seperate binding for regulators IP blocks on chips. Signed-off-by: Keerthy --- Documentation/devicetree/bindings/mfd/tps65917.txt | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/tps65917.txt diff --git a/Documentation/devicetree/bindings/mfd/tps65917.txt b/Documentation/devicetree/bindings/mfd/tps65917.txt new file mode 100644 index 0000000..287a713 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/tps65917.txt @@ -0,0 +1,35 @@ +* TPS65917 device tree bindings + +The TI TPS65917 family of PMICs. + +Required properties: +- compatible : Should be from the list + ti,tps65917 +- interrupt-controller : TPS65917 has its own internal IRQs +- #interrupt-cells : should be set to 2 for IRQ number and flags + The first cell is the IRQ number. + The second cell is the flags, encoded as the trigger masks from + Documentation/devicetree/bindings/interrupts.txt +- interrupt-parent : The parent interrupt controller. + +Optional properties: + ti,mux-padX : set the pad register X (1-2) to the correct muxing for the + hardware, if not set will use muxing in OTP. + +Example: + +tps65917 { + compatible = "ti,tps65917"; + reg = <0x58> + interrupt-parent = <&intc>; + interrupt-controller; + #interrupt-cells = <2>; + + #address-cells = <1>; + #size-cells = <0>; + + pmic { + compatible = "ti,tps65917-pmic"; + .... + }; +}