From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: linus.walleij@linaro.org, robh+dt@kernel.org, afaerber@suse.de Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, andy.shevchenko@gmail.com, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH v2 1/5] dt-bindings: pinctrl: Add gpio bindings for Actions S900 SoC Date: Sun, 20 May 2018 10:47:32 +0530 [thread overview] Message-ID: <20180520051736.4842-2-manivannan.sadhasivam@linaro.org> (raw) In-Reply-To: <20180520051736.4842-1-manivannan.sadhasivam@linaro.org> Add gpio bindings for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- .../devicetree/bindings/pinctrl/actions,s900-pinctrl.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt index fb87c7d74f2e..8fb5a53775e8 100644 --- a/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt @@ -8,6 +8,17 @@ Required Properties: - reg: Should contain the register base address and size of the pin controller. - clocks: phandle of the clock feeding the pin controller +- gpio-controller: Marks the device node as a GPIO controller. +- gpio-ranges: Specifies the mapping between gpio controller and + pin-controller pins. +- #gpio-cells: Should be two. The first cell is the gpio pin number + and the second cell is used for optional parameters. +- interrupt-controller: Marks the device node as an interrupt controller. +- #interrupt-cells: Specifies the number of cells needed to encode an + interrupt. Shall be set to 2. The first cell + defines the interrupt number, the second encodes + the trigger flags described in + bindings/interrupt-controller/interrupts.txt Please refer to pinctrl-bindings.txt in this directory for details of the common pinctrl bindings used by client devices, including the meaning of the @@ -164,6 +175,11 @@ Example: compatible = "actions,s900-pinctrl"; reg = <0x0 0xe01b0000 0x0 0x1000>; clocks = <&cmu CLK_GPIO>; + gpio-controller; + gpio-ranges = <&pinctrl 0 0 146>; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; uart2-default: uart2-default { pinmux { -- 2.14.1
WARNING: multiple messages have this Message-ID (diff)
From: manivannan.sadhasivam@linaro.org (Manivannan Sadhasivam) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/5] dt-bindings: pinctrl: Add gpio bindings for Actions S900 SoC Date: Sun, 20 May 2018 10:47:32 +0530 [thread overview] Message-ID: <20180520051736.4842-2-manivannan.sadhasivam@linaro.org> (raw) In-Reply-To: <20180520051736.4842-1-manivannan.sadhasivam@linaro.org> Add gpio bindings for Actions Semi S900 SoC. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- .../devicetree/bindings/pinctrl/actions,s900-pinctrl.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt index fb87c7d74f2e..8fb5a53775e8 100644 --- a/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt @@ -8,6 +8,17 @@ Required Properties: - reg: Should contain the register base address and size of the pin controller. - clocks: phandle of the clock feeding the pin controller +- gpio-controller: Marks the device node as a GPIO controller. +- gpio-ranges: Specifies the mapping between gpio controller and + pin-controller pins. +- #gpio-cells: Should be two. The first cell is the gpio pin number + and the second cell is used for optional parameters. +- interrupt-controller: Marks the device node as an interrupt controller. +- #interrupt-cells: Specifies the number of cells needed to encode an + interrupt. Shall be set to 2. The first cell + defines the interrupt number, the second encodes + the trigger flags described in + bindings/interrupt-controller/interrupts.txt Please refer to pinctrl-bindings.txt in this directory for details of the common pinctrl bindings used by client devices, including the meaning of the @@ -164,6 +175,11 @@ Example: compatible = "actions,s900-pinctrl"; reg = <0x0 0xe01b0000 0x0 0x1000>; clocks = <&cmu CLK_GPIO>; + gpio-controller; + gpio-ranges = <&pinctrl 0 0 146>; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; uart2-default: uart2-default { pinmux { -- 2.14.1
next prev parent reply other threads:[~2018-05-20 5:17 UTC|newest] Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-05-20 5:17 [PATCH v2 0/5] Add gpio support for Action Semi S900 SoC Manivannan Sadhasivam 2018-05-20 5:17 ` Manivannan Sadhasivam 2018-05-20 5:17 ` Manivannan Sadhasivam [this message] 2018-05-20 5:17 ` [PATCH v2 1/5] dt-bindings: pinctrl: Add gpio bindings for Actions " Manivannan Sadhasivam 2018-05-22 19:33 ` Rob Herring 2018-05-22 19:33 ` Rob Herring 2018-05-23 8:33 ` Linus Walleij 2018-05-23 8:33 ` Linus Walleij 2018-05-20 5:17 ` [PATCH v2 2/5] arm64: dts: actions: Add gpio properties to pinctrl node for S900 Manivannan Sadhasivam 2018-05-20 5:17 ` Manivannan Sadhasivam 2018-05-23 8:34 ` Linus Walleij 2018-05-23 8:34 ` Linus Walleij 2018-05-20 5:17 ` [PATCH v2 3/5] arm64: dts: actions: Add gpio line names to Bubblegum-96 board Manivannan Sadhasivam 2018-05-20 5:17 ` Manivannan Sadhasivam 2018-05-23 8:34 ` Linus Walleij 2018-05-23 8:34 ` Linus Walleij 2018-05-20 5:17 ` [PATCH v2 4/5] pinctrl: actions: Add gpio support for Actions S900 SoC Manivannan Sadhasivam 2018-05-20 5:17 ` Manivannan Sadhasivam 2018-05-23 8:36 ` Linus Walleij 2018-05-23 8:36 ` Linus Walleij 2018-05-20 5:17 ` [PATCH v2 5/5] MAINTAINERS: Add Actions Semi S900 pinctrl entries Manivannan Sadhasivam 2018-05-20 5:17 ` Manivannan Sadhasivam 2018-05-23 8:40 ` Linus Walleij 2018-05-23 8:40 ` Linus Walleij 2018-05-25 4:12 ` Andreas Färber 2018-05-25 4:12 ` Andreas Färber 2018-05-25 5:01 ` Manivannan Sadhasivam 2018-05-25 5:01 ` Manivannan Sadhasivam 2018-05-25 12:12 ` Linus Walleij 2018-05-25 12:12 ` Linus Walleij 2018-05-25 14:23 ` Manivannan Sadhasivam 2018-05-25 14:23 ` Manivannan Sadhasivam 2018-05-25 12:01 ` Linus Walleij 2018-05-25 12:01 ` Linus Walleij
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180520051736.4842-2-manivannan.sadhasivam@linaro.org \ --to=manivannan.sadhasivam@linaro.org \ --cc=96boards@ucrobotics.com \ --cc=afaerber@suse.de \ --cc=amit.kucheria@linaro.org \ --cc=andy.shevchenko@gmail.com \ --cc=bdong@ucrobotics.com \ --cc=daniel.thompson@linaro.org \ --cc=devicetree@vger.kernel.org \ --cc=hzhang@ucrobotics.com \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-gpio@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=liuwei@actions-semi.com \ --cc=manivannanece23@gmail.com \ --cc=mp-cs@actions-semi.com \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.