Thread (13 messages) 13 messages, 5 authors, 2017-12-18

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

flat view

From: Chen-Yu Tsai <hidden>
Date: 2017-12-18 03:30:51
Also in: linux-devicetree, linux-media, lkml

On Mon, Dec 18, 2017 at 6:45 AM, Philipp Rossak [off-list ref] wrote:
The Bananapi M3 has an onboard IR receiver.
This enables the onboard IR receiver subnode.
Other than the other IR receivers this one needs a base clock frequency
Unlike the other...
quoted hunk ↗ jump to hunk
of 3000000 Hz (3 MHz), to be able to work.

Signed-off-by: Philipp Rossak <redacted>
---
 arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 7 +++++++
 1 file changed, 7 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..2bf25ca64133 100644
--- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
+++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
@@ -100,6 +100,13 @@
        status = "okay";
 };

+&ir {
See my other reply about the name.

Otherwise,

Acked-by: Chen-Yu Tsai <redacted>
+       pinctrl-names = "default";
+       pinctrl-0 = <&ir_pins_a>;
+       clock-frequency = <3000000>;
+       status = "okay";
+};
+
 &mdio {
        rgmii_phy: ethernet-phy at 1 {
                compatible = "ethernet-phy-ieee802.3-c22";
--
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