From: Zoltan Herpai Date: Tue, 4 Nov 2014 21:06:04 +0000 (+0000) Subject: sunxi: move IR patch for bananapi X-Git-Tag: reboot~5424 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1ac401f4312485dfb19fcbfde3198ba21b45ea00;p=openwrt%2Fstaging%2Fchunkeey.git sunxi: move IR patch for bananapi Signed-off-by: Zoltan HERPAI SVN-Revision: 43182 --- diff --git a/target/linux/sunxi/patches-3.14/285-dt-sun7i-add-ir-to-bananapi.patch b/target/linux/sunxi/patches-3.14/285-dt-sun7i-add-ir-to-bananapi.patch deleted file mode 100644 index b075799aa3..0000000000 --- a/target/linux/sunxi/patches-3.14/285-dt-sun7i-add-ir-to-bananapi.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 05cffcda932b0914d78a08891c13e61593a6ce02 Mon Sep 17 00:00:00 2001 -From: Alexander Bersenev -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 -Signed-off-by: Alexsey Shestacov ---- - arch/arm/boot/dts/sun7i-a20-bananapi.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-bananapi.dts b/arch/arm/boot/dts/sun7i-a20-bananapi.dts -index 97bcb2a..81bf3df 100644 ---- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts -+++ b/arch/arm/boot/dts/sun7i-a20-bananapi.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/target/linux/sunxi/patches-3.14/309-dt-sun7i-add-ir-to-bananapi.patch b/target/linux/sunxi/patches-3.14/309-dt-sun7i-add-ir-to-bananapi.patch new file mode 100644 index 0000000000..b075799aa3 --- /dev/null +++ b/target/linux/sunxi/patches-3.14/309-dt-sun7i-add-ir-to-bananapi.patch @@ -0,0 +1,34 @@ +From 05cffcda932b0914d78a08891c13e61593a6ce02 Mon Sep 17 00:00:00 2001 +From: Alexander Bersenev +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 +Signed-off-by: Alexsey Shestacov +--- + arch/arm/boot/dts/sun7i-a20-bananapi.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-bananapi.dts b/arch/arm/boot/dts/sun7i-a20-bananapi.dts +index 97bcb2a..81bf3df 100644 +--- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts ++++ b/arch/arm/boot/dts/sun7i-a20-bananapi.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>;