From bd6187491976cdfb97bcddbeaddf7f8c35f8e391 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Sun, 19 Nov 2017 21:19:10 -0600 Subject: board/lego/ev3: update to 4.14 kernel and 2017.11 U-Boot This updates the LEGO MINDSTORMS EV3 board to Linux kernel 4.14 and U-Boot 2017.11. * Kernel patches are dropped because they are in mainline now. * This caused the kernel image to be >3M so some adjustments to the image sizes/layout needed to be made in U-Boot. * Updated U-Boot version bumped since we are touching this config anyway Signed-off-by: David Lechner Signed-off-by: Thomas Petazzoni --- .../patches/linux/0001-adc-device-tree-node.patch | 56 ---------------------- 1 file changed, 56 deletions(-) delete mode 100644 board/lego/ev3/patches/linux/0001-adc-device-tree-node.patch (limited to 'board/lego/ev3/patches/linux/0001-adc-device-tree-node.patch') diff --git a/board/lego/ev3/patches/linux/0001-adc-device-tree-node.patch b/board/lego/ev3/patches/linux/0001-adc-device-tree-node.patch deleted file mode 100644 index dabda1e962..0000000000 --- a/board/lego/ev3/patches/linux/0001-adc-device-tree-node.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 8a81ff173c5c9a0ab1df84fab17971dbcce8490a Mon Sep 17 00:00:00 2001 -From: David Lechner -Date: Tue, 7 Feb 2017 13:22:07 -0600 -Subject: ARM: da850-lego-ev3: Add device tree node for A/DC - -This adds a node for the TI ADS7957 analog/digital converter on LEGO -MINDSTORMS EV3 as well as a regulator node that is used by the A/DC node. - -Signed-off-by: David Lechner -Signed-off-by: Sekhar Nori ---- - arch/arm/boot/dts/da850-lego-ev3.dts | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -diff --git a/arch/arm/boot/dts/da850-lego-ev3.dts b/arch/arm/boot/dts/da850-lego-ev3.dts -index 112ec92..0309537 100644 ---- a/arch/arm/boot/dts/da850-lego-ev3.dts -+++ b/arch/arm/boot/dts/da850-lego-ev3.dts -@@ -139,6 +139,19 @@ - enable-active-high; - regulator-boot-on; - }; -+ -+ /* -+ * This is a simple voltage divider on VCC5V to provide a 2.5V -+ * reference signal to the ADC. -+ */ -+ adc_ref: regulator2 { -+ compatible = "regulator-fixed"; -+ regulator-name = "adc ref"; -+ regulator-min-microvolt = <2500000>; -+ regulator-max-microvolt = <2500000>; -+ regulator-boot-on; -+ vin-supply = <&vcc5v>; -+ }; - }; - - &pmx_core { -@@ -293,6 +306,14 @@ - }; - }; - }; -+ -+ adc: adc@3 { -+ compatible = "ti,ads7957"; -+ reg = <3>; -+ #io-channel-cells = <1>; -+ spi-max-frequency = <10000000>; -+ vref-supply = <&adc_ref>; -+ }; - }; - - &gpio { --- -cgit v1.1 - -- cgit v1.2.3