diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2014-09-21 16:25:45 +0000 |
---|---|---|
committer | Zoltan Herpai <wigyori@uid0.hu> | 2014-09-21 16:25:45 +0000 |
commit | e6d53c13662bb717b36f274df8a65397b18cf42f (patch) | |
tree | f1b9b0d517092323791ca530ff90301641691205 /target/linux/sunxi/patches-3.14/283-dt-sun7i-add-ir-to-cb2-cbt.patch | |
parent | e02dd2f19c3d99e20fc3ed063f706d023004f3cf (diff) | |
download | mtk-20170518-e6d53c13662bb717b36f274df8a65397b18cf42f.zip mtk-20170518-e6d53c13662bb717b36f274df8a65397b18cf42f.tar.gz mtk-20170518-e6d53c13662bb717b36f274df8a65397b18cf42f.tar.bz2 |
sunxi: add support for infra receiver on A20, along with IR-related backports from 3.15
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42630
Diffstat (limited to 'target/linux/sunxi/patches-3.14/283-dt-sun7i-add-ir-to-cb2-cbt.patch')
-rw-r--r-- | target/linux/sunxi/patches-3.14/283-dt-sun7i-add-ir-to-cb2-cbt.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.14/283-dt-sun7i-add-ir-to-cb2-cbt.patch b/target/linux/sunxi/patches-3.14/283-dt-sun7i-add-ir-to-cb2-cbt.patch new file mode 100644 index 0000000..290b990 --- /dev/null +++ b/target/linux/sunxi/patches-3.14/283-dt-sun7i-add-ir-to-cb2-cbt.patch @@ -0,0 +1,51 @@ +From 05cffcda932b0914d78a08891c13e61593a6ce02 Mon Sep 17 00:00:00 2001 +From: Alexander Bersenev <bay@hackerdom.ru> +Date: Mon, 9 Jun 2014 00:08:13 +0600 +Subject: [PATCH] ARM: sunxi: Enable IR controller on cubieboard 2 and + cubietruck in dts + +This patch enables two IR devices in dts: +- One IR device physically found on Cubieboard 2 +- One IR device physically found on Cubietruck + +Signed-off-by: Alexander Bersenev <bay@hackerdom.ru> +Signed-off-by: Alexsey Shestacov <wingrime@linux-sunxi.org> +--- + arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 6 ++++++ + arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 6 ++++++ + 2 files changed, 12 insertions(+) + +diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts +index 97bcb2a..81bf3df 100644 +--- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts ++++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts +@@ -66,6 +66,12 @@ + }; + }; + ++ ir0: ir@01c21800 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&ir0_pins_a>; ++ status = "okay"; ++ }; ++ + uart0: serial@01c28000 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins_a>; +diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +index 624e0a5..3931986 100644 +--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts ++++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +@@ -114,6 +114,12 @@ + status = "okay"; + }; + ++ ir0: ir@01c21800 { ++ pinctrl-names = "default"; ++ pinctrl-0 = <&ir0_pins_a>; ++ status = "okay"; ++ }; ++ + uart0: serial@01c28000 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins_a>; |