summaryrefslogtreecommitdiff
path: root/target/linux/sunxi/patches-3.18/113-dt-sun7i-add-lradc.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-12 17:52:20 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-12 17:52:20 +0200
commitbe83f982a71eb76288d011d6681739059d9a6ead (patch)
tree910ee25687f09cd9abc43202a1aad703f0092645 /target/linux/sunxi/patches-3.18/113-dt-sun7i-add-lradc.patch
parent930195737a0916d80ad2f7fe8b0f8fe4e4691762 (diff)
downloadmtk-20170518-be83f982a71eb76288d011d6681739059d9a6ead.zip
mtk-20170518-be83f982a71eb76288d011d6681739059d9a6ead.tar.gz
mtk-20170518-be83f982a71eb76288d011d6681739059d9a6ead.tar.bz2
sunxi: delete old kernel versions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/sunxi/patches-3.18/113-dt-sun7i-add-lradc.patch')
-rw-r--r--target/linux/sunxi/patches-3.18/113-dt-sun7i-add-lradc.patch102
1 files changed, 0 insertions, 102 deletions
diff --git a/target/linux/sunxi/patches-3.18/113-dt-sun7i-add-lradc.patch b/target/linux/sunxi/patches-3.18/113-dt-sun7i-add-lradc.patch
deleted file mode 100644
index ae2c383..0000000
--- a/target/linux/sunxi/patches-3.18/113-dt-sun7i-add-lradc.patch
+++ /dev/null
@@ -1,102 +0,0 @@
-From a735a9b354ebc1a17b648ef8c3482c71fdbf40da Mon Sep 17 00:00:00 2001
-From: Hans de Goede <hdegoede@redhat.com>
-Date: Wed, 1 Jan 2014 20:26:21 +0100
-Subject: [PATCH] ARM: dts: sun7i: Add lradc node
-
-Signed-off-by: Hans de Goede <hdegoede@redhat.com>
----
- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 59 ++++++++++++++++++++++++-
- arch/arm/boot/dts/sun7i-a20.dtsi | 7 +++
- 2 files changed, 64 insertions(+), 2 deletions(-)
-
---- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
-+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
-@@ -12,8 +12,9 @@
- */
-
- /dts-v1/;
--/include/ "sun7i-a20.dtsi"
--/include/ "sunxi-common-regulators.dtsi"
-+#include "sun7i-a20.dtsi"
-+#include "sunxi-common-regulators.dtsi"
-+#include <dt-bindings/input/input.h>
-
- / {
- model = "Olimex A20-Olinuxino Micro";
-@@ -100,6 +101,60 @@
- };
- };
-
-+ lradc: lradc@01c22800 {
-+ vref-supply = <&reg_vcc3v0>;
-+ status = "okay";
-+
-+ button@191 {
-+ label = "Volume Up";
-+ linux,code = <KEY_VOLUMEUP>;
-+ channel = <0>;
-+ voltage = <191274>;
-+ };
-+
-+ button@392 {
-+ label = "Volume Down";
-+ linux,code = <KEY_VOLUMEDOWN>;
-+ channel = <0>;
-+ voltage = <392644>;
-+ };
-+
-+ button@601 {
-+ label = "Menu";
-+ linux,code = <KEY_MENU>;
-+ channel = <0>;
-+ voltage = <601151>;
-+ };
-+
-+ button@795 {
-+ label = "Search";
-+ linux,code = <KEY_SEARCH>;
-+ channel = <0>;
-+ voltage = <795090>;
-+ };
-+
-+ button@987 {
-+ label = "Home";
-+ linux,code = <KEY_HOMEPAGE>;
-+ channel = <0>;
-+ voltage = <987387>;
-+ };
-+
-+ button@1184 {
-+ label = "Esc";
-+ linux,code = <KEY_ESC>;
-+ channel = <0>;
-+ voltage = <1184678>;
-+ };
-+
-+ button@1398 {
-+ label = "Enter";
-+ linux,code = <KEY_ENTER>;
-+ channel = <0>;
-+ voltage = <1398804>;
-+ };
-+ };
-+
- uart0: serial@01c28000 {
- pinctrl-names = "default";
- pinctrl-0 = <&uart0_pins_a>;
---- a/arch/arm/boot/dts/sun7i-a20.dtsi
-+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
-@@ -911,6 +911,13 @@
- status = "disabled";
- };
-
-+ lradc: lradc@01c22800 {
-+ compatible = "allwinner,sun4i-a10-lradc-keys";
-+ reg = <0x01c22800 0x100>;
-+ interrupts = <0 31 4>;
-+ status = "disabled";
-+ };
-+
- sid: eeprom@01c23800 {
- compatible = "allwinner,sun7i-a20-sid";
- reg = <0x01c23800 0x200>;