[PATCH] ARM: dts: sun6i: hummingbird: Enable IR receiver

Chen-Yu Tsai wens at csie.org
Mon Mar 2 19:52:01 PST 2015


The A31 Hummingbird has an IR receiver.

Signed-off-by: Chen-Yu Tsai <wens at csie.org>
---

Tested with an NEC protocol remote for an Android based set-top box.

---
 arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
index 8b61b1b342e0..65ddaf4c72d2 100644
--- a/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
+++ b/arch/arm/boot/dts/sun6i-a31-hummingbird.dts
@@ -106,6 +106,12 @@
 	};
 };
 
+&ir {
+	pinctrl-names = "default";
+	pinctrl-0 = <&ir_pins_a>;
+	status = "okay";
+};
+
 &mmc0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_hummingbird>;
-- 
2.1.4




More information about the linux-arm-kernel mailing list