diff mbox series

[RFC,RESEND,v2,1/4] dt-bindings: gpio: davinci: Add k3 am654 compatible

Message ID 20190606095620.6211-2-j-keerthy@ti.com
State New
Headers show
Series arm64: dts: ti: am6: Add gpio nodes | expand

Commit Message

Keerthy June 6, 2019, 9:56 a.m. UTC
The patch adds k3 am654 compatible, specific properties and
an example.

Signed-off-by: Keerthy <j-keerthy@ti.com>
---
 .../devicetree/bindings/gpio/gpio-davinci.txt  | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Linus Walleij June 7, 2019, 10:39 p.m. UTC | #1
On Thu, Jun 6, 2019 at 11:55 AM Keerthy <j-keerthy@ti.com> wrote:

> The patch adds k3 am654 compatible, specific properties and
> an example.
>
> Signed-off-by: Keerthy <j-keerthy@ti.com>

Patch applied with the three others, so now all
GPIO changes are in tree.

Please funnel all the DTS changes through ARM SoC.

Yours,
Linus Walleij
Keerthy June 8, 2019, 3:51 a.m. UTC | #2
On 6/8/2019 4:09 AM, Linus Walleij wrote:
> On Thu, Jun 6, 2019 at 11:55 AM Keerthy <j-keerthy@ti.com> wrote:
> 
>> The patch adds k3 am654 compatible, specific properties and
>> an example.
>>
>> Signed-off-by: Keerthy <j-keerthy@ti.com>
> 
> Patch applied with the three others, so now all
> GPIO changes are in tree.
> 
> Please funnel all the DTS changes through ARM SoC.

Thank you Linus!

Tero,

Could you pull the dts changes on top of intr dts patches.

Regards,
Keerthy
> 
> Yours,
> Linus Walleij
>
Tero Kristo June 17, 2019, 2:27 p.m. UTC | #3
On 08/06/2019 06:51, keerthy wrote:
> 
> 
> On 6/8/2019 4:09 AM, Linus Walleij wrote:
>> On Thu, Jun 6, 2019 at 11:55 AM Keerthy <j-keerthy@ti.com> wrote:
>>
>>> The patch adds k3 am654 compatible, specific properties and
>>> an example.
>>>
>>> Signed-off-by: Keerthy <j-keerthy@ti.com>
>>
>> Patch applied with the three others, so now all
>> GPIO changes are in tree.
>>
>> Please funnel all the DTS changes through ARM SoC.
> 
> Thank you Linus!
> 
> Tero,
> 
> Could you pull the dts changes on top of intr dts patches.

Queued patches #2...#4 towards 5.3, thanks.

-Tero

> 
> Regards,
> Keerthy
>>
>> Yours,
>> Linus Walleij
>>

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/gpio/gpio-davinci.txt b/Documentation/devicetree/bindings/gpio/gpio-davinci.txt
index 553b92a7e87b..bc6b4b62df83 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-davinci.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-davinci.txt
@@ -5,6 +5,7 @@  Required Properties:
 			"ti,keystone-gpio": for Keystone 2 66AK2H/K, 66AK2L,
 						66AK2E SoCs
 			"ti,k2g-gpio", "ti,keystone-gpio": for 66AK2G
+			"ti,am654-gpio", "ti,keystone-gpio": for TI K3 AM654
 
 - reg: Physical base address of the controller and the size of memory mapped
        registers.
@@ -145,3 +146,20 @@  gpio0: gpio@260bf00 {
 	ti,ngpio = <32>;
 	ti,davinci-gpio-unbanked = <32>;
 };
+
+Example for K3 AM654:
+
+wkup_gpio0: wkup_gpio0@42110000 {
+	compatible = "ti,am654-gpio", "ti,keystone-gpio";
+	reg = <0x42110000 0x100>;
+	gpio-controller;
+	#gpio-cells = <2>;
+	interrupt-parent = <&intr_wkup_gpio>;
+	interrupts = <59 128>, <59 129>, <59 130>, <59 131>;
+	interrupt-controller;
+	#interrupt-cells = <2>;
+	ti,ngpio = <56>;
+	ti,davinci-gpio-unbanked = <0>;
+	clocks = <&k3_clks 59 0>;
+	clock-names = "gpio";
+};