Thread (9 messages) 9 messages, 2 authors, 2018-02-13
STALE3040d REVIEWED: 1 (0M)
Revisions (2)
  1. v5 current
  2. v5 [diff vs current]

[PATCH v5 5/6] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller

From: Philipp Rossak <hidden>
Date: 2018-01-30 17:47:39
Also in: linux-devicetree, linux-media, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

The Bananapi M3 has an onboard IR receiver.
This enables the onboard IR receiver subnode.
Unlike the other IR receivers this one needs a base clock frequency
of 3000000 Hz (3 MHz), to be able to work.

Signed-off-by: Philipp Rossak <redacted>
Acked-by: Chen-Yu Tsai <redacted>
---
 arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
index 6550bf0e594b..26c015fd4f4d 100644
--- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
+++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
@@ -145,6 +145,11 @@
 	status = "okay";
 };
 
+&r_cir {
+	clock-frequency = <3000000>;
+	status = "okay";
+};
+
 &r_rsb {
 	status = "okay";
 
-- 
2.11.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help