2020-11-12 17:14:43

by Srinivas Neeli

[permalink] [raw]
Subject: [LINUX PATCH V3 2/9] dt-bindings: gpio: gpio-xilinx: Add clk support to xilinx soft gpio IP

Specify clock property in binding.

Signed-off-by: Srinivas Neeli <[email protected]>
---
Changes in V3:
-Created new patch for dt-bindings.
---
Documentation/devicetree/bindings/gpio/gpio-xilinx.txt | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-xilinx.txt b/Documentation/devicetree/bindings/gpio/gpio-xilinx.txt
index 08eed2335db0..e506f30e1a95 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-xilinx.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-xilinx.txt
@@ -13,6 +13,7 @@ Required properties:
- gpio-controller : Marks the device node as a GPIO controller.

Optional properties:
+- clocks : Input clock specifier. Refer to common clock bindings.
- interrupts : Interrupt mapping for GPIO IRQ.
- xlnx,all-inputs : if n-th bit is setup, GPIO-n is input
- xlnx,dout-default : if n-th bit is 1, GPIO-n default value is 1
@@ -29,6 +30,7 @@ Example:
gpio: gpio@40000000 {
#gpio-cells = <2>;
compatible = "xlnx,xps-gpio-1.00.a";
+ clocks = <&clkc25>;
gpio-controller ;
interrupt-parent = <&microblaze_0_intc>;
interrupts = < 6 2 >;
--
2.7.4


2020-11-18 00:01:40

by Linus Walleij

[permalink] [raw]
Subject: Re: [LINUX PATCH V3 2/9] dt-bindings: gpio: gpio-xilinx: Add clk support to xilinx soft gpio IP

On Thu, Nov 12, 2020 at 6:12 PM Srinivas Neeli
<[email protected]> wrote:

> Specify clock property in binding.
>
> Signed-off-by: Srinivas Neeli <[email protected]>

Patch applied, consider rewriting this binding in YAML.

Yours,
Linus Walleij