From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Reichel Subject: [RFCv4 07/11] Documentation: DT: nokia-cmt binding documentation Date: Mon, 16 Dec 2013 00:28:00 +0100 Message-ID: <1387150085-23173-8-git-send-email-sre@debian.org> References: <1387150085-23173-1-git-send-email-sre@debian.org> Return-path: In-Reply-To: <1387150085-23173-1-git-send-email-sre@debian.org> Sender: linux-omap-owner@vger.kernel.org To: Sebastian Reichel , Linus Walleij , Shubhrajyoti Datta , Carlos Chinea Cc: Tony Lindgren , Grant Likely , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Rob Landley , =?UTF-8?q?=27Beno=C3=AEt=20Cousson=27?= , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= , =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=B9=D0=BB=D0=BE=20=D0=94=D0=B8=D0=BC=D0=B8=D1=82=D1=80=D0=BE=D0=B2?= , Joni Lapilainen , Aaro Koskinen , Sebastian Reichel List-Id: devicetree@vger.kernel.org Create device tree binding documentation for Nokia cellular modem GPIO handling. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/misc/nokia-cmt.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/nokia-cmt.txt diff --git a/Documentation/devicetree/bindings/misc/nokia-cmt.txt b/Documentation/devicetree/bindings/misc/nokia-cmt.txt new file mode 100644 index 0000000..1c87793 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/nokia-cmt.txt @@ -0,0 +1,28 @@ +Nokia Cellular Modem (CMT) bindings + +Required properties: +- compatible: Should include "nokia,cmt". +- interrupts: Interrupt specifier for the cmt reset irq. +- gpio-names: Contains the values "cmt_apeslpx", "cmt_rst_rq", + "cmt_en", "cmt_rst" and "cmt_bsi". +- gpios: Contains gpio information for each entry in gpio-names. + +Example for Nokia N900: + +cmt: nokia-cmt { + compatible = "nokia,cmt"; + + interrupt-parent = <&gpio3>; + interrupts = <8 IRQ_TYPE_EDGE_FALLING>; /* gpio line 72 */ + + gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>, /* 70 */ + <&gpio3 9 GPIO_ACTIVE_HIGH>, /* 73 */ + <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */ + <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */ + <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */ + gpio-names = "cmt_apeslpx", + "cmt_rst_rq", + "cmt_en", + "cmt_rst", + "cmt_bsi"; +}; -- 1.8.5.1