]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: uniphier: add GPIO hog definition
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 18 Oct 2017 04:24:36 +0000 (13:24 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 23 Oct 2017 17:09:01 +0000 (02:09 +0900)
Interrupt lines from on-board devices are connected to the GPIO
controller.  Add GPIO hogging so that the corresponding GPIO line
is automatically requested.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/boot/dts/uniphier-ld4-ref.dts
arch/arm/boot/dts/uniphier-ld6b-ref.dts
arch/arm/boot/dts/uniphier-pro4-ref.dts
arch/arm/boot/dts/uniphier-sld8-ref.dts

index 148e7bb0cccbf6889e3cb0b9d1829af3b2dc3533..0056852c4fb0a20a6396a7de2d1b45db1776c72c 100644 (file)
        status = "okay";
 };
 
+&gpio {
+       xirq1 {
+               gpio-hog;
+               gpios = <121 0>;
+               input;
+       };
+};
+
 &i2c0 {
        status = "okay";
 };
index ec2a09844b9673a2389dbf8a946ddaa99ea8f4e1..0e510a725976e38cf928d2edba5b46ac7a937fff 100644 (file)
        status = "okay";
 };
 
+&gpio {
+       xirq4 {
+               gpio-hog;
+               gpios = <124 0>;
+               input;
+       };
+};
+
 &i2c0 {
        status = "okay";
 };
index 7316cc6faf95144f3f843249655ce80fe83f0997..be99467ac6bb9b0cc4e39f1bbb32d79d046cf5f5 100644 (file)
        status = "okay";
 };
 
+&gpio {
+       xirq2 {
+               gpio-hog;
+               gpios = <122 0>;
+               input;
+       };
+};
+
 &i2c0 {
        status = "okay";
 };
index 4ec48a131b6ec24c8bcc023e4e25a358c0665900..1c0e7077a5609920323b356712b59cd6e51c75fb 100644 (file)
        status = "okay";
 };
 
+&gpio {
+       xirq0 {
+               gpio-hog;
+               gpios = <120 0>;
+               input;
+       };
+};
+
 &i2c0 {
        status = "okay";
 };