Thread (5 messages) flat view 5 messages, 2 authors, 2021-06-19
STALE1896d LANDED

Landed in mainline as 4fab8e3655e4 on 2021-06-19.

[PATCH 2/4] arm64: dts: rockchip: add infrared receiver node to RK3399 Firefly

From: Peter Robinson <hidden>
Date: 2021-06-13 21:55:37
Also in: linux-rockchip
Subsystem: the rest · Maintainer: Linus Torvalds

This adds the RK3399 Firefly’s infrared receiver to its dts.

Signed-off-by: Peter Robinson <redacted>
---
 arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
index 6bbf79a370df..a5c2cdaa7798 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
@@ -94,6 +94,13 @@ power {
 		};
 	};
 
+        ir-receiver {
+                compatible = "gpio-ir-receiver";
+                gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
+                pinctrl-0 = <&ir_int>;
+                pinctrl-names = "default";
+        };
+
 	leds {
 		compatible = "gpio-leds";
 		pinctrl-names = "default";
@@ -595,6 +602,12 @@ pwrbtn: pwrbtn {
 		};
 	};
 
+        ir {
+                ir_int: ir-int {
+                        rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
+                };
+        };
+
 	lcd-panel {
 		lcd_panel_reset: lcd-panel-reset {
 			rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>;
-- 
2.31.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help