mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
core/linux-armv7 to 4.9.0-1
This commit is contained in:
parent
04cb2b66b8
commit
9c91e0c83b
15 changed files with 259 additions and 1103 deletions
|
@ -1,7 +1,7 @@
|
|||
From 3a71f920fb71aaf3c8a74a73d5bba925752e8390 Mon Sep 17 00:00:00 2001
|
||||
From 001565916ddb8589ec7920b0d3c0d007225c79c4 Mon Sep 17 00:00:00 2001
|
||||
From: Willy Tarreau <w@xxxxxx>
|
||||
Date: Sun, 2 Dec 2012 19:59:28 +0100
|
||||
Subject: [PATCH 01/13] ARM: atags: add support for Marvell's u-boot
|
||||
Subject: [PATCH 1/8] ARM: atags: add support for Marvell's u-boot
|
||||
|
||||
Marvell uses a specific atag in its u-boot which includes among other
|
||||
information the MAC addresses for up to 4 network interfaces.
|
||||
|
@ -47,5 +47,5 @@ index 979ff40..d1d0c19 100644
|
|||
};
|
||||
|
||||
--
|
||||
2.10.2
|
||||
2.10.0
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
From f414d34637b5ffb6cf3e3b9849cd5cc584ef8f19 Mon Sep 17 00:00:00 2001
|
||||
From c25c95072f199e0d0a56cbd4db701ab5b36a9f0c Mon Sep 17 00:00:00 2001
|
||||
From: Willy Tarreau <w@xxxxxx>
|
||||
Date: Sun, 2 Dec 2012 19:56:58 +0100
|
||||
Subject: [PATCH 02/13] ARM: atags/fdt: retrieve MAC addresses from Marvell
|
||||
boot loader
|
||||
Subject: [PATCH 2/8] ARM: atags/fdt: retrieve MAC addresses from Marvell boot
|
||||
loader
|
||||
|
||||
The atags are parsed and if a Marvell atag is found, up to 4 MAC
|
||||
addresses are extracted there and assigned to node aliases eth0..3
|
||||
|
@ -43,5 +43,5 @@ index 9448aa0..ac7b6ae 100644
|
|||
}
|
||||
|
||||
--
|
||||
2.10.2
|
||||
2.10.0
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From 922440581e2bf77e75230b926ad5fe746327209a Mon Sep 17 00:00:00 2001
|
||||
From 3822d03ac84e6581583c3e533eb0e015334242bd Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
Date: Fri, 5 Sep 2014 15:41:19 -0600
|
||||
Subject: [PATCH 03/13] SMILE Plug device tree file
|
||||
Subject: [PATCH 3/8] SMILE Plug device tree file
|
||||
|
||||
This adds a dts file for the SMILE Plug, which only differs from the Mirabox
|
||||
dts with the LED definitions.
|
||||
|
@ -14,10 +14,10 @@ Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
|
|||
create mode 100644 arch/arm/boot/dts/armada-370-smileplug.dts
|
||||
|
||||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
||||
index faacd52..b41e5b0 100644
|
||||
index befcd26..2be4c48 100644
|
||||
--- a/arch/arm/boot/dts/Makefile
|
||||
+++ b/arch/arm/boot/dts/Makefile
|
||||
@@ -871,6 +871,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) += \
|
||||
@@ -906,6 +906,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) += \
|
||||
armada-370-db.dtb \
|
||||
armada-370-dlink-dns327l.dtb \
|
||||
armada-370-mirabox.dtb \
|
||||
|
@ -205,5 +205,5 @@ index 0000000..d01308a
|
|||
+ };
|
||||
+};
|
||||
--
|
||||
2.10.2
|
||||
2.10.0
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From edb8d8e73417db6941473734b9cfb673c7089f72 Mon Sep 17 00:00:00 2001
|
||||
From 51597a7978cb561ba33d2fe4f9fb3aa07f448cc4 Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
Date: Fri, 5 Sep 2014 15:43:56 -0600
|
||||
Subject: [PATCH 04/13] fix mvsdio eMMC timing
|
||||
Subject: [PATCH 4/8] fix mvsdio eMMC timing
|
||||
|
||||
These changes from Globalscale change the MMC timing to allow the eMMC versions
|
||||
of the Mirabox and SMILE Plug to work.
|
||||
|
@ -34,5 +34,5 @@ index 42296e5..e5ce6d2 100644
|
|||
host->clock = ios->clock;
|
||||
host->ns_per_clk = 1000000000 / (host->base_clock / (m+1));
|
||||
--
|
||||
2.10.2
|
||||
2.10.0
|
||||
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
From a6b9bd0029d9453d4f59bc367f9a33e1a3285709 Mon Sep 17 00:00:00 2001
|
||||
From f0e29c8c8744317cfe946faf4f4ebae76f2c4eb1 Mon Sep 17 00:00:00 2001
|
||||
From: popcornmix <popcornmix@gmail.com>
|
||||
Date: Tue, 18 Feb 2014 01:43:50 -0300
|
||||
Subject: [PATCH 05/13] net/smsc95xx: Allow mac address to be set as a
|
||||
parameter
|
||||
Subject: [PATCH 5/8] net/smsc95xx: Allow mac address to be set as a parameter
|
||||
|
||||
---
|
||||
drivers/net/usb/smsc95xx.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++
|
||||
1 file changed, 56 insertions(+)
|
||||
|
||||
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c
|
||||
index dc989a8..912be75 100644
|
||||
index 831aa33..0362554 100644
|
||||
--- a/drivers/net/usb/smsc95xx.c
|
||||
+++ b/drivers/net/usb/smsc95xx.c
|
||||
@@ -60,6 +60,7 @@
|
||||
|
@ -20,7 +19,7 @@ index dc989a8..912be75 100644
|
|||
|
||||
#define CARRIER_CHECK_DELAY (2 * HZ)
|
||||
|
||||
@@ -80,6 +81,10 @@ static bool turbo_mode = true;
|
||||
@@ -82,6 +83,10 @@ static bool turbo_mode = true;
|
||||
module_param(turbo_mode, bool, 0644);
|
||||
MODULE_PARM_DESC(turbo_mode, "Enable multiple frames per Rx transaction");
|
||||
|
||||
|
@ -31,7 +30,7 @@ index dc989a8..912be75 100644
|
|||
static int __must_check __smsc95xx_read_reg(struct usbnet *dev, u32 index,
|
||||
u32 *data, int in_pm)
|
||||
{
|
||||
@@ -809,8 +814,59 @@ static int smsc95xx_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd)
|
||||
@@ -910,8 +915,59 @@ static int smsc95xx_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd)
|
||||
return generic_mii_ioctl(&dev->mii, if_mii(rq), cmd, NULL);
|
||||
}
|
||||
|
||||
|
@ -92,5 +91,5 @@ index dc989a8..912be75 100644
|
|||
|
||||
/* maybe the boot loader passed the MAC address in devicetree */
|
||||
--
|
||||
2.10.2
|
||||
2.10.0
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From 927b66f6154db0cf7eb5a6d016a1e53d742a8098 Mon Sep 17 00:00:00 2001
|
||||
From 200fab4de6f535e626095b9782b56e0ed101409c Mon Sep 17 00:00:00 2001
|
||||
From: dobatog <dobatog@gmail.com>
|
||||
Date: Thu, 26 Feb 2015 12:32:27 +0100
|
||||
Subject: [PATCH 06/13] ARM: TLV320AIC23 SoC Audio Codec: Fix errors reported
|
||||
Subject: [PATCH 6/8] ARM: TLV320AIC23 SoC Audio Codec: Fix errors reported
|
||||
related to input routing signals.
|
||||
|
||||
The following patch, based on stable v3.19, corrects the errors that are reported in the boot trace in reference to the Input Signals of the audio codec TLV320AIC23:
|
||||
|
@ -27,7 +27,7 @@ Tested-by: Max Filippov <jcmvbkbc@gmail.com>
|
|||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c
|
||||
index cd8c02b..95e6b11 100644
|
||||
index 410cae0..0bb8e26 100644
|
||||
--- a/sound/soc/codecs/tlv320aic23.c
|
||||
+++ b/sound/soc/codecs/tlv320aic23.c
|
||||
@@ -174,10 +174,10 @@ static const struct snd_soc_dapm_route tlv320aic23_intercon[] = {
|
||||
|
@ -45,5 +45,5 @@ index cd8c02b..95e6b11 100644
|
|||
/* input mux */
|
||||
{"Capture Source", "Line", "Line Input"},
|
||||
--
|
||||
2.10.2
|
||||
2.10.0
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
From 42885038fd78080edabbce377800994337fbc644 Mon Sep 17 00:00:00 2001
|
||||
From 011f5e6c9ef7350ac6e7bbd486318b1b96d78652 Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
Date: Sat, 14 Feb 2015 12:32:27 +0100
|
||||
Subject: [PATCH 07/13] set default cubietruck led triggers
|
||||
Subject: [PATCH 7/8] set default cubietruck led triggers
|
||||
|
||||
Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
---
|
||||
|
@ -29,5 +29,5 @@ index 83f39b0..15e9626 100644
|
|||
};
|
||||
|
||||
--
|
||||
2.10.2
|
||||
2.10.0
|
||||
|
||||
|
|
|
@ -1,681 +0,0 @@
|
|||
From e603d79db1ce38be15a8b7d1514301a67d88f920 Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
Date: Sat, 7 Feb 2015 12:32:27 +0100
|
||||
Subject: [PATCH 08/13] USB armory support
|
||||
|
||||
---
|
||||
arch/arm/boot/dts/Makefile | 5 +
|
||||
arch/arm/boot/dts/imx53-usbarmory-common.dtsi | 286 ++++++++++++++++++++++++++
|
||||
arch/arm/boot/dts/imx53-usbarmory-gpio.dts | 62 ++++++
|
||||
arch/arm/boot/dts/imx53-usbarmory-host.dts | 54 +++++
|
||||
arch/arm/boot/dts/imx53-usbarmory-i2c.dts | 68 ++++++
|
||||
arch/arm/boot/dts/imx53-usbarmory-spi.dts | 81 ++++++++
|
||||
arch/arm/boot/dts/imx53-usbarmory.dts | 54 +++++
|
||||
7 files changed, 610 insertions(+)
|
||||
create mode 100644 arch/arm/boot/dts/imx53-usbarmory-common.dtsi
|
||||
create mode 100644 arch/arm/boot/dts/imx53-usbarmory-gpio.dts
|
||||
create mode 100644 arch/arm/boot/dts/imx53-usbarmory-host.dts
|
||||
create mode 100644 arch/arm/boot/dts/imx53-usbarmory-i2c.dts
|
||||
create mode 100644 arch/arm/boot/dts/imx53-usbarmory-spi.dts
|
||||
create mode 100644 arch/arm/boot/dts/imx53-usbarmory.dts
|
||||
|
||||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
||||
index b41e5b0..3ce4c32 100644
|
||||
--- a/arch/arm/boot/dts/Makefile
|
||||
+++ b/arch/arm/boot/dts/Makefile
|
||||
@@ -315,6 +315,11 @@ dtb-$(CONFIG_SOC_IMX53) += \
|
||||
imx53-smd.dtb \
|
||||
imx53-tx53-x03x.dtb \
|
||||
imx53-tx53-x13x.dtb \
|
||||
+ imx53-usbarmory.dtb \
|
||||
+ imx53-usbarmory-gpio.dtb \
|
||||
+ imx53-usbarmory-host.dtb \
|
||||
+ imx53-usbarmory-i2c.dtb \
|
||||
+ imx53-usbarmory-spi.dtb \
|
||||
imx53-voipac-bsb.dtb
|
||||
dtb-$(CONFIG_SOC_IMX6Q) += \
|
||||
imx6dl-apf6dev.dtb \
|
||||
diff --git a/arch/arm/boot/dts/imx53-usbarmory-common.dtsi b/arch/arm/boot/dts/imx53-usbarmory-common.dtsi
|
||||
new file mode 100644
|
||||
index 0000000..ab5d00a
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx53-usbarmory-common.dtsi
|
||||
@@ -0,0 +1,286 @@
|
||||
+/*
|
||||
+ * USB armory MkI device tree include file
|
||||
+ * https://inversepath.com/usbarmory
|
||||
+ *
|
||||
+ * Copyright (C) 2015, Inverse Path
|
||||
+ * Andrej Rosano <andrej@inversepath.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPL or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This file is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License as
|
||||
+ * published by the Free Software Foundation; either version 2 of the
|
||||
+ * License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This file is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+#include "imx53.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "Inverse Path USB armory";
|
||||
+ compatible = "inversepath,imx53-usbarmory", "fsl,imx53";
|
||||
+};
|
||||
+
|
||||
+/ {
|
||||
+ chosen {
|
||||
+ stdout-path = &uart1;
|
||||
+ };
|
||||
+
|
||||
+ memory {
|
||||
+ reg = <0x70000000 0x20000000>;
|
||||
+ };
|
||||
+
|
||||
+ leds {
|
||||
+ compatible = "gpio-leds";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&led_pin_gpio4_27>;
|
||||
+
|
||||
+ user {
|
||||
+ label = "LED";
|
||||
+ gpios = <&gpio4 27 GPIO_ACTIVE_LOW>;
|
||||
+ linux,default-trigger = "heartbeat";
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ soc {
|
||||
+ aips@60000000 {
|
||||
+ scc2: scc2@63fb4000 {
|
||||
+ compatible = "fsl,imx53-scc2";
|
||||
+ reg = <0x63fb4000 0x4000>,
|
||||
+ <0x07000000 0x4000>;
|
||||
+ interrupts = <21 23>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&cpu0 {
|
||||
+ device_type = "cpu";
|
||||
+ compatible = "arm,cortex-a8";
|
||||
+ reg = <0x0>;
|
||||
+ clocks = <&clks IMX5_CLK_ARM>;
|
||||
+ clock-latency = <61036>;
|
||||
+ voltage-tolerance = <5>;
|
||||
+ operating-points = <
|
||||
+ /* kHz */
|
||||
+ 166666 850000
|
||||
+ 400000 900000
|
||||
+ 800000 1050000
|
||||
+ >;
|
||||
+};
|
||||
+
|
||||
+&esdhc1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_esdhc1>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&iomuxc {
|
||||
+ pinctrl-names = "default";
|
||||
+
|
||||
+ imx53-usbarmory {
|
||||
+ led_pin_gpio4_27: led_gpio4_27@0 {
|
||||
+ fsl,pins = <
|
||||
+ MX53_PAD_DISP0_DAT6__GPIO4_27 0x0
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_esdhc1: esdhc1grp {
|
||||
+ fsl,pins = <
|
||||
+ MX53_PAD_SD1_DATA0__ESDHC1_DAT0 0x1d5
|
||||
+ MX53_PAD_SD1_DATA1__ESDHC1_DAT1 0x1d5
|
||||
+ MX53_PAD_SD1_DATA2__ESDHC1_DAT2 0x1d5
|
||||
+ MX53_PAD_SD1_DATA3__ESDHC1_DAT3 0x1d5
|
||||
+ MX53_PAD_SD1_CMD__ESDHC1_CMD 0x1d5
|
||||
+ MX53_PAD_SD1_CLK__ESDHC1_CLK 0x1d5
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ pinctrl_i2c1_pmic: i2c1grp_pmic {
|
||||
+ fsl,pins = <
|
||||
+ MX53_PAD_EIM_D21__I2C1_SCL 0x0
|
||||
+ MX53_PAD_EIM_D28__I2C1_SDA 0x0
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ /*
|
||||
+ UART mode pin header configration:
|
||||
+ pin number: 1 2 3 4 5 6 7
|
||||
+ function: GND 5V ? ? TX RX ?
|
||||
+ */
|
||||
+ pinctrl_uart1: uart1grp {
|
||||
+ fsl,pins = <
|
||||
+ MX53_PAD_CSI0_DAT10__UART1_TXD_MUX 0x1e4
|
||||
+ MX53_PAD_CSI0_DAT11__UART1_RXD_MUX 0x1e4
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ /*
|
||||
+ GPIO mode pin header configuration:
|
||||
+ 1 2 3 4 5 6 7
|
||||
+ GND 5V GPIO5[26] GPIO5[27] GPIO5[28] GPIO5[29] GPIO5[30]
|
||||
+ */
|
||||
+ pinctrl_gpio5: gpio5grp {
|
||||
+ fsl,pins = <
|
||||
+ MX53_PAD_CSI0_DAT8__GPIO5_26 0xc0
|
||||
+ MX53_PAD_CSI0_DAT9__GPIO5_27 0xc0
|
||||
+ MX53_PAD_CSI0_DAT10__GPIO5_28 0xc0
|
||||
+ MX53_PAD_CSI0_DAT11__GPIO5_29 0xc0
|
||||
+ MX53_PAD_CSI0_DAT12__GPIO5_30 0xc0
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ /*
|
||||
+ SPI mode pin header configuration:
|
||||
+ 1 2 3 4 5 6 7
|
||||
+ GND 5V SCLK MOSI MISO /SS0 /SS1
|
||||
+ */
|
||||
+ pinctrl_ecspi2: ecspi2grp {
|
||||
+ fsl,pins = <
|
||||
+ MX53_PAD_CSI0_DAT8__ECSPI2_SCLK 0x0
|
||||
+ MX53_PAD_CSI0_DAT9__ECSPI2_MOSI 0x0
|
||||
+ MX53_PAD_CSI0_DAT10__ECSPI2_MISO 0x0
|
||||
+ MX53_PAD_CSI0_DAT11__GPIO5_29 0x0
|
||||
+ MX53_PAD_CSI0_DAT12__GPIO5_30 0x0
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ /*
|
||||
+ WILC1000 wifi module pin header configuration:
|
||||
+ 1 2 3 4 5 6 7
|
||||
+ GND 5V SCLK MOSI MISO /SS0 GPIO_IRQ
|
||||
+ */
|
||||
+ pinctrl_wilc1000: wilc1000grp {
|
||||
+ fsl,pins = <
|
||||
+ MX53_PAD_CSI0_DAT8__ECSPI2_SCLK 0x0
|
||||
+ MX53_PAD_CSI0_DAT9__ECSPI2_MOSI 0x0
|
||||
+ MX53_PAD_CSI0_DAT10__ECSPI2_MISO 0x0
|
||||
+ MX53_PAD_CSI0_DAT11__GPIO5_29 0x0
|
||||
+ MX53_PAD_CSI0_DAT12__GPIO5_30 0xc0
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
+ /*
|
||||
+ I2C mode pin header configuration:
|
||||
+ 1 2 3 4 5 6 7
|
||||
+ GND 5V SDA SCL GPIO5[28] GPIO5[29] GPIO5[30]
|
||||
+ */
|
||||
+ pinctrl_i2c1_pinheader: i2c1grp_pinheader {
|
||||
+ fsl,pins = <
|
||||
+ MX53_PAD_CSI0_DAT8__I2C1_SDA 0x0
|
||||
+ MX53_PAD_CSI0_DAT9__I2C1_SCL 0x0
|
||||
+ MX53_PAD_CSI0_DAT10__GPIO5_28 0xc0
|
||||
+ MX53_PAD_CSI0_DAT11__GPIO5_29 0xc0
|
||||
+ MX53_PAD_CSI0_DAT12__GPIO5_30 0xc0
|
||||
+ >;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&uart1 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_uart1>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&i2c1 {
|
||||
+ pinctrl-0 = <&pinctrl_i2c1_pmic>;
|
||||
+ status = "okay";
|
||||
+ ltc3589: pmic@34 {
|
||||
+ compatible = "lltc,ltc3589-2";
|
||||
+ reg = <0x34>;
|
||||
+ regulators {
|
||||
+ sw1_reg: sw1 {
|
||||
+ regulator-min-microvolt = <591930>;
|
||||
+ regulator-max-microvolt = <1224671>;
|
||||
+ lltc,fb-voltage-divider = <100000 158000>;
|
||||
+ regulator-ramp-delay = <7000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ sw2_reg: sw2 {
|
||||
+ regulator-min-microvolt = <704123>;
|
||||
+ regulator-max-microvolt = <1456803>;
|
||||
+ lltc,fb-voltage-divider = <180000 191000>;
|
||||
+ regulator-ramp-delay = <7000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ sw3_reg: sw3 {
|
||||
+ regulator-min-microvolt = <1341250>;
|
||||
+ regulator-max-microvolt = <2775000>;
|
||||
+ lltc,fb-voltage-divider = <270000 100000>;
|
||||
+ regulator-ramp-delay = <7000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ bb_out_reg: bb-out {
|
||||
+ regulator-min-microvolt = <3387341>;
|
||||
+ regulator-max-microvolt = <3387341>;
|
||||
+ lltc,fb-voltage-divider = <511000 158000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+ ldo1_reg: ldo1 {
|
||||
+ regulator-min-microvolt = <1306329>;
|
||||
+ regulator-max-microvolt = <1306329>;
|
||||
+ lltc,fb-voltage-divider = <100000 158000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ ldo2_reg: ldo2 {
|
||||
+ regulator-min-microvolt = <704123>;
|
||||
+ regulator-max-microvolt = <1456806>;
|
||||
+ lltc,fb-voltage-divider = <180000 191000>;
|
||||
+ regulator-ramp-delay = <7000>;
|
||||
+ regulator-boot-on;
|
||||
+ regulator-always-on;
|
||||
+ };
|
||||
+
|
||||
+ ldo3_reg: ldo3 {
|
||||
+ regulator-min-microvolt = <2800000>;
|
||||
+ regulator-max-microvolt = <2800000>;
|
||||
+ regulator-boot-on;
|
||||
+ };
|
||||
+
|
||||
+ ldo4_reg: ldo4 {
|
||||
+ regulator-min-microvolt = <1200000>;
|
||||
+ regulator-max-microvolt = <3200000>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
diff --git a/arch/arm/boot/dts/imx53-usbarmory-gpio.dts b/arch/arm/boot/dts/imx53-usbarmory-gpio.dts
|
||||
new file mode 100644
|
||||
index 0000000..8d54dd2
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx53-usbarmory-gpio.dts
|
||||
@@ -0,0 +1,62 @@
|
||||
+/*
|
||||
+ * USB armory MkI device tree file
|
||||
+ * https://inversepath.com/usbarmory
|
||||
+ *
|
||||
+ * Copyright (C) 2015, Inverse Path
|
||||
+ * Andrej Rosano <andrej@inversepath.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPL or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This file is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License as
|
||||
+ * published by the Free Software Foundation; either version 2 of the
|
||||
+ * License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This file is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "imx53-usbarmory-common.dtsi"
|
||||
+
|
||||
+&usbotg {
|
||||
+ dr_mode = "peripheral";
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&iomuxc {
|
||||
+ pinctrl-0 = <&pinctrl_gpio5>;
|
||||
+};
|
||||
+
|
||||
+&uart1 {
|
||||
+ status = "disabled";
|
||||
+};
|
||||
diff --git a/arch/arm/boot/dts/imx53-usbarmory-host.dts b/arch/arm/boot/dts/imx53-usbarmory-host.dts
|
||||
new file mode 100644
|
||||
index 0000000..d4e3b4c
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx53-usbarmory-host.dts
|
||||
@@ -0,0 +1,54 @@
|
||||
+/*
|
||||
+ * USB armory MkI device tree file
|
||||
+ * https://inversepath.com/usbarmory
|
||||
+ *
|
||||
+ * Copyright (C) 2015, Inverse Path
|
||||
+ * Andrej Rosano <andrej@inversepath.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPL or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This file is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License as
|
||||
+ * published by the Free Software Foundation; either version 2 of the
|
||||
+ * License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This file is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "imx53-usbarmory-common.dtsi"
|
||||
+
|
||||
+&usbotg {
|
||||
+ dr_mode = "host";
|
||||
+ status = "okay";
|
||||
+};
|
||||
diff --git a/arch/arm/boot/dts/imx53-usbarmory-i2c.dts b/arch/arm/boot/dts/imx53-usbarmory-i2c.dts
|
||||
new file mode 100644
|
||||
index 0000000..158fbac
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx53-usbarmory-i2c.dts
|
||||
@@ -0,0 +1,68 @@
|
||||
+/*
|
||||
+ * USB armory MkI device tree file
|
||||
+ * https://inversepath.com/usbarmory
|
||||
+ *
|
||||
+ * Copyright (C) 2015, Inverse Path
|
||||
+ * Andrej Rosano <andrej@inversepath.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPL or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This file is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License as
|
||||
+ * published by the Free Software Foundation; either version 2 of the
|
||||
+ * License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This file is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "imx53-usbarmory-common.dtsi"
|
||||
+
|
||||
+&usbotg {
|
||||
+ dr_mode = "peripheral";
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&uart1 {
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&iomuxc {
|
||||
+ pinctrl-0 = <&pinctrl_i2c1_pinheader>;
|
||||
+};
|
||||
+
|
||||
+&i2c1 {
|
||||
+ ltc3589: pmic@34 {
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+};
|
||||
diff --git a/arch/arm/boot/dts/imx53-usbarmory-spi.dts b/arch/arm/boot/dts/imx53-usbarmory-spi.dts
|
||||
new file mode 100644
|
||||
index 0000000..f26f7ec
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx53-usbarmory-spi.dts
|
||||
@@ -0,0 +1,81 @@
|
||||
+/*
|
||||
+ * USB armory MkI device tree file
|
||||
+ * https://inversepath.com/usbarmory
|
||||
+ *
|
||||
+ * Copyright (C) 2015, Inverse Path
|
||||
+ * Andrej Rosano <andrej@inversepath.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPL or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This file is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License as
|
||||
+ * published by the Free Software Foundation; either version 2 of the
|
||||
+ * License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This file is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "imx53-usbarmory-common.dtsi"
|
||||
+
|
||||
+&usbotg {
|
||||
+ dr_mode = "peripheral";
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&uart1 {
|
||||
+ status = "disabled";
|
||||
+};
|
||||
+
|
||||
+&iomuxc {
|
||||
+ pinctrl-0 = <&pinctrl_ecspi2>;
|
||||
+};
|
||||
+
|
||||
+&ecspi2 {
|
||||
+ fsl,spi-num-chipselects = <2>;
|
||||
+ cs-gpios = <&gpio5 29 0>, <&gpio5 30 0>;
|
||||
+ status = "okay";
|
||||
+
|
||||
+ flash: m25p40@0 {
|
||||
+ #address-cells = <1>;
|
||||
+ #size-cells = <1>;
|
||||
+ compatible = "st,m25p40", "st,m25p";
|
||||
+ spi-max-frequency = <20000000>;
|
||||
+ reg = <0>;
|
||||
+
|
||||
+ partition@0 {
|
||||
+ label = "test-partition";
|
||||
+ reg = <0x0 0x80000>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
diff --git a/arch/arm/boot/dts/imx53-usbarmory.dts b/arch/arm/boot/dts/imx53-usbarmory.dts
|
||||
new file mode 100644
|
||||
index 0000000..33719f7
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/imx53-usbarmory.dts
|
||||
@@ -0,0 +1,54 @@
|
||||
+/*
|
||||
+ * USB armory MkI device tree file
|
||||
+ * https://inversepath.com/usbarmory
|
||||
+ *
|
||||
+ * Copyright (C) 2015, Inverse Path
|
||||
+ * Andrej Rosano <andrej@inversepath.com>
|
||||
+ *
|
||||
+ * This file is dual-licensed: you can use it either under the terms
|
||||
+ * of the GPL or the X11 license, at your option. Note that this dual
|
||||
+ * licensing only applies to this file, and not this project as a
|
||||
+ * whole.
|
||||
+ *
|
||||
+ * a) This file is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU General Public License as
|
||||
+ * published by the Free Software Foundation; either version 2 of the
|
||||
+ * License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This file is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ * GNU General Public License for more details.
|
||||
+ *
|
||||
+ * Or, alternatively,
|
||||
+ *
|
||||
+ * b) Permission is hereby granted, free of charge, to any person
|
||||
+ * obtaining a copy of this software and associated documentation
|
||||
+ * files (the "Software"), to deal in the Software without
|
||||
+ * restriction, including without limitation the rights to use,
|
||||
+ * copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
+ * sell copies of the Software, and to permit persons to whom the
|
||||
+ * Software is furnished to do so, subject to the following
|
||||
+ * conditions:
|
||||
+ *
|
||||
+ * The above copyright notice and this permission notice shall be
|
||||
+ * included in all copies or substantial portions of the Software.
|
||||
+ *
|
||||
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
||||
+ */
|
||||
+
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "imx53-usbarmory-common.dtsi"
|
||||
+
|
||||
+&usbotg {
|
||||
+ dr_mode = "peripheral";
|
||||
+ status = "okay";
|
||||
+};
|
||||
--
|
||||
2.10.2
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
From bbaf3b78f27ea3557ce35e4267398e215091b68a Mon Sep 17 00:00:00 2001
|
||||
From 21fd4defb20c41ae93e86c4a5e6adcb1afd36be9 Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
Date: Thu, 11 Aug 2016 00:42:37 -0600
|
||||
Subject: [PATCH 10/13] exynos4412-odroid: set higher minimum buck2 regulator
|
||||
Subject: [PATCH 8/8] exynos4412-odroid: set higher minimum buck2 regulator
|
||||
voltage
|
||||
|
||||
Set a higher minimum voltage to help reboot issue.
|
||||
|
@ -13,7 +13,7 @@ Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
|
|||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
|
||||
index 58ad48e7..f7c5571 100644
|
||||
index 8aa19ba..8e2d94e 100644
|
||||
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
|
||||
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
|
||||
@@ -423,7 +423,7 @@
|
||||
|
@ -26,5 +26,5 @@ index 58ad48e7..f7c5571 100644
|
|||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
--
|
||||
2.10.2
|
||||
2.10.0
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
From aff9e86fd148f61a7c70333cf02b70189790df26 Mon Sep 17 00:00:00 2001
|
||||
From: Vanessa Maegima <vanessa.maegima@nxp.com>
|
||||
Date: Mon, 1 Aug 2016 09:54:14 -0300
|
||||
Subject: [PATCH 09/13] ARM: dts: imx6ul-pico-hobbit: Add Wifi support
|
||||
|
||||
imx6ul-pico-hobbit has a bcm4339 wifi chip connected to usdhc2 port.
|
||||
|
||||
Add support for the WL_REG_ON regulator, so that Wifi can be functional
|
||||
on this board.
|
||||
|
||||
Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
|
||||
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
|
||||
---
|
||||
arch/arm/boot/dts/imx6ul-pico-hobbit.dts | 20 ++++++++++++++++++++
|
||||
1 file changed, 20 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
|
||||
index 86f68fa..d3dfa5f 100644
|
||||
--- a/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
|
||||
+++ b/arch/arm/boot/dts/imx6ul-pico-hobbit.dts
|
||||
@@ -100,6 +100,18 @@
|
||||
gpio = <&gpio1 6 0>;
|
||||
};
|
||||
|
||||
+ reg_brcm: brcm-reg {
|
||||
+ compatible = "regulator-fixed";
|
||||
+ enable-active-high;
|
||||
+ gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>;
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&pinctrl_brcm_reg>;
|
||||
+ regulator-name = "brcm_reg";
|
||||
+ regulator-min-microvolt = <3300000>;
|
||||
+ regulator-max-microvolt = <3300000>;
|
||||
+ startup-delay-us = <200000>;
|
||||
+ };
|
||||
+
|
||||
sound {
|
||||
compatible = "fsl,imx-audio-sgtl5000";
|
||||
model = "imx6ul-sgtl5000";
|
||||
@@ -325,12 +337,20 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usdhc2>;
|
||||
no-1-8-v;
|
||||
+ non-removable;
|
||||
keep-power-in-suspend;
|
||||
wakeup-source;
|
||||
+ vmmc-supply = <®_brcm>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&iomuxc {
|
||||
+ pinctrl_brcm_reg: brcmreggrp {
|
||||
+ fsl,pins = <
|
||||
+ MX6UL_PAD_NAND_DATA06__GPIO4_IO08 0x10b0 /* WL_REG_ON */
|
||||
+ >;
|
||||
+ };
|
||||
+
|
||||
pinctrl_enet2: enet2grp {
|
||||
fsl,pins = <
|
||||
MX6UL_PAD_ENET1_TX_DATA1__ENET2_MDIO 0x1b0b0
|
||||
--
|
||||
2.10.2
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
From 7b64f74c06cacdba5eab9275f57df212540cad2e Mon Sep 17 00:00:00 2001
|
||||
From: Tony Lindgren <tony@atomide.com>
|
||||
Date: Fri, 30 Sep 2016 11:10:10 -0700
|
||||
Subject: [PATCH 11/13] usb: musb: Call pm_runtime from musb_gadget_queue
|
||||
|
||||
If we're booting pandaboard using NFSroot over built-in g_ether, we
|
||||
can get the following after booting once and doing a warm reset:
|
||||
|
||||
g_ether gadget: ecm_open
|
||||
g_ether gadget: notify connect true
|
||||
...
|
||||
WARNING: CPU: 0 PID: 1 at drivers/bus/omap_l3_noc.c:147
|
||||
l3_interrupt_handler+0x220/0x34c
|
||||
44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4CFG (Read):
|
||||
Data Access in User mode du ring Functional access
|
||||
...
|
||||
|
||||
Fix the issue by calling pm_runtime functions from
|
||||
musb_gadget_queue.
|
||||
|
||||
Note that in the long run we should be able to queue the pending
|
||||
transfers if pm_runtime is not active, and flush the queue from
|
||||
pm_runtime_resume.
|
||||
|
||||
Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
||||
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
||||
Signed-off-by: Tony Lindgren <tony@atomide.com>
|
||||
---
|
||||
drivers/usb/musb/musb_gadget.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
|
||||
index 6d1e975..8ccc1b1 100644
|
||||
--- a/drivers/usb/musb/musb_gadget.c
|
||||
+++ b/drivers/usb/musb/musb_gadget.c
|
||||
@@ -1255,6 +1255,7 @@ static int musb_gadget_queue(struct usb_ep *ep, struct usb_request *req,
|
||||
|
||||
map_dma_buffer(request, musb, musb_ep);
|
||||
|
||||
+ pm_runtime_get_sync(musb->controller);
|
||||
spin_lock_irqsave(&musb->lock, lockflags);
|
||||
|
||||
/* don't queue if the ep is down */
|
||||
@@ -1275,6 +1276,9 @@ static int musb_gadget_queue(struct usb_ep *ep, struct usb_request *req,
|
||||
|
||||
unlock:
|
||||
spin_unlock_irqrestore(&musb->lock, lockflags);
|
||||
+ pm_runtime_mark_last_busy(musb->controller);
|
||||
+ pm_runtime_put_autosuspend(musb->controller);
|
||||
+
|
||||
return status;
|
||||
}
|
||||
|
||||
--
|
||||
2.10.2
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
From 842bdf96a2e7a63ece87458ad7ecf1ded6a40a12 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Kemnade <andreas@kemnade.info>
|
||||
Date: Mon, 22 Aug 2016 21:24:22 +0200
|
||||
Subject: [PATCH 12/13] phy-twl4030-usb: better handle musb_mailbox() failure
|
||||
|
||||
setting twl->linkstat = MUSB_UNKNOWN upon error in musb_mailbox as
|
||||
introduced in
|
||||
commit 12b7db2bf8b8 ("usb: musb: Return error value from musb_mailbox")
|
||||
causes twl4030_usb_irq() to not detect a state change form cable connected
|
||||
to cable disconnected after such an error so that
|
||||
pm_runtime_put_autosuspend() will not be called and the usage counter
|
||||
gets unbalanced. Such errors happen e.g. if the omap2430 module is not
|
||||
(yet) loaded during plug/unplug events.
|
||||
|
||||
This patch introduces a flag instead that indicates whether there is
|
||||
information for the musb_mailbox pending and calls musb_mailbox() if
|
||||
that flag is set.
|
||||
|
||||
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
|
||||
Tested-by: Tony Lindgren <tony@atomide.com>
|
||||
---
|
||||
drivers/phy/phy-twl4030-usb.c | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c
|
||||
index d9b10a3..81067b4 100644
|
||||
--- a/drivers/phy/phy-twl4030-usb.c
|
||||
+++ b/drivers/phy/phy-twl4030-usb.c
|
||||
@@ -172,6 +172,7 @@ struct twl4030_usb {
|
||||
int irq;
|
||||
enum musb_vbus_id_status linkstat;
|
||||
bool vbus_supplied;
|
||||
+ bool musb_mailbox_pending;
|
||||
|
||||
struct delayed_work id_workaround_work;
|
||||
};
|
||||
@@ -569,9 +570,12 @@ static irqreturn_t twl4030_usb_irq(int irq, void *_twl)
|
||||
pm_runtime_mark_last_busy(twl->dev);
|
||||
pm_runtime_put_autosuspend(twl->dev);
|
||||
}
|
||||
+ twl->musb_mailbox_pending = true;
|
||||
+ }
|
||||
+ if (twl->musb_mailbox_pending) {
|
||||
err = musb_mailbox(status);
|
||||
- if (err)
|
||||
- twl->linkstat = MUSB_UNKNOWN;
|
||||
+ if (!err)
|
||||
+ twl->musb_mailbox_pending = false;
|
||||
}
|
||||
|
||||
/* don't schedule during sleep - irq works right then */
|
||||
@@ -676,6 +680,7 @@ static int twl4030_usb_probe(struct platform_device *pdev)
|
||||
twl->irq = platform_get_irq(pdev, 0);
|
||||
twl->vbus_supplied = false;
|
||||
twl->linkstat = MUSB_UNKNOWN;
|
||||
+ twl->musb_mailbox_pending = false;
|
||||
|
||||
twl->phy.dev = twl->dev;
|
||||
twl->phy.label = "twl4030";
|
||||
--
|
||||
2.10.2
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
From edbf64b26ba15e05cd15ea75bca263a5e748049f Mon Sep 17 00:00:00 2001
|
||||
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
Date: Tue, 4 Oct 2016 22:15:41 -0600
|
||||
Subject: [PATCH 13/13] Revert "gpu: drm: omapdrm: dss-of: add missing
|
||||
of_node_put after calling of_parse_phandle"
|
||||
|
||||
This reverts commit 2ab9f5879162499e1c4e48613287e3f59e593c4f.
|
||||
---
|
||||
drivers/gpu/drm/omapdrm/dss/dss-of.c | 7 +++----
|
||||
1 file changed, 3 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/drivers/gpu/drm/omapdrm/dss/dss-of.c b/drivers/gpu/drm/omapdrm/dss/dss-of.c
|
||||
index e256d87..dfd4e96 100644
|
||||
--- a/drivers/gpu/drm/omapdrm/dss/dss-of.c
|
||||
+++ b/drivers/gpu/drm/omapdrm/dss/dss-of.c
|
||||
@@ -125,16 +125,15 @@ u32 dss_of_port_get_port_number(struct device_node *port)
|
||||
|
||||
static struct device_node *omapdss_of_get_remote_port(const struct device_node *node)
|
||||
{
|
||||
- struct device_node *np, *np_parent;
|
||||
+ struct device_node *np;
|
||||
|
||||
np = of_parse_phandle(node, "remote-endpoint", 0);
|
||||
if (!np)
|
||||
return NULL;
|
||||
|
||||
- np_parent = of_get_next_parent(np);
|
||||
- of_node_put(np);
|
||||
+ np = of_get_next_parent(np);
|
||||
|
||||
- return np_parent;
|
||||
+ return np;
|
||||
}
|
||||
|
||||
struct device_node *
|
||||
--
|
||||
2.10.2
|
||||
|
|
@ -4,19 +4,19 @@
|
|||
buildarch=4
|
||||
|
||||
pkgbase=linux-armv7
|
||||
_srcname=linux-4.8
|
||||
_srcname=linux-4.9
|
||||
_kernelname=${pkgbase#linux}
|
||||
_desc="ARMv7 multi-platform"
|
||||
pkgver=4.8.14
|
||||
pkgver=4.9.0
|
||||
pkgrel=1
|
||||
rcnrel=armv7-x4
|
||||
rcnrel=armv7-x3
|
||||
arch=('armv7h')
|
||||
url="http://www.kernel.org/"
|
||||
license=('GPL2')
|
||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'uboot-tools' 'vboot-utils' 'dtc')
|
||||
options=('!strip')
|
||||
source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
||||
"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
||||
#"http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
||||
"http://rcn-ee.com/deb/sid-armhf/v${pkgver}-${rcnrel}/patch-${pkgver%.0}-${rcnrel}.diff.gz"
|
||||
'0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch'
|
||||
'0002-ARM-atags-fdt-retrieve-MAC-addresses-from-Marvell-bo.patch'
|
||||
|
@ -25,34 +25,23 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
|||
'0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch'
|
||||
'0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch'
|
||||
'0007-set-default-cubietruck-led-triggers.patch'
|
||||
'0008-USB-armory-support.patch'
|
||||
'0009-ARM-dts-imx6ul-pico-hobbit-Add-Wifi-support.patch'
|
||||
'0010-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch'
|
||||
'0011-usb-musb-Call-pm_runtime-from-musb_gadget_queue.patch'
|
||||
'0012-phy-twl4030-usb-better-handle-musb_mailbox-failure.patch'
|
||||
'0013-Revert-gpu-drm-omapdrm-dss-of-add-missing-of_node_pu.patch'
|
||||
'0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch'
|
||||
'config'
|
||||
'cmdline'
|
||||
'kernel.its'
|
||||
'kernel.keyblock'
|
||||
'kernel_data_key.vbprivk')
|
||||
md5sums=('c1af0afbd3df35c1ccdc7a5118cd2d07'
|
||||
'b8001f580c4da45ee7ae8d928275cf97'
|
||||
'22a06efd1043cc1277491dd7e8a5d2b9'
|
||||
'99876bcdfd547b77a3e3fb9dd3855e51'
|
||||
'c87584adb719fcf6a6719002173ba787'
|
||||
'47006208a269d1ab012c541cff960477'
|
||||
'8372cd942497315cf87503adf3934559'
|
||||
'c6f8a30d5d81262a876a94f56d4c8b6a'
|
||||
'f0c328a1d6327798061bb0c090051faf'
|
||||
'ee6399335c51e3620f442a6f028bdfe9'
|
||||
'b389617d3d727d42b91dda4b902080b3'
|
||||
'6c9d196f824477729205f5ada97e6f3f'
|
||||
'bb1bf106206556ea50de8abf17480ed5'
|
||||
'64299c3cef27f4b0589bc3e670b8cc94'
|
||||
'6edccdddef30c8fadfc336f8788d6358'
|
||||
'042480e804938026b46b824cf8041b05'
|
||||
'af1eaa3304bc4776796221b1b12b6b0a'
|
||||
md5sums=('0a68ef3615c64bd5ee54a3320e46667d'
|
||||
'addaa2dbe47e73ae48b1aa0a7f54fb3a'
|
||||
'7bad9743fd2f1690f479cbbec5a556ab'
|
||||
'57998a8dbf42d2237f2f3a650b93ef26'
|
||||
'75e392a161842813d0ff3d0beaf68038'
|
||||
'5840b71b7b2600388aa9a1195a5af528'
|
||||
'25c3f00750a1aa951b857bf06ec79a8e'
|
||||
'dd1c99be98c43f06a07aa14fc47d6e3e'
|
||||
'ef825f8c3563a87bab10f4782e7a0efc'
|
||||
'ef5fd8e682fed9dce4bc3d1c821acbd1'
|
||||
'3565b216902c447824bff6751b544467'
|
||||
'1813b39074d01af6548951764a0f6444'
|
||||
'4f2379ed84258050edb858ee8d281678'
|
||||
'61c5ff73c136ed07a7aadbf58db3d96a'
|
||||
|
@ -62,7 +51,7 @@ prepare() {
|
|||
cd "${srcdir}/${_srcname}"
|
||||
|
||||
# add upstream patch
|
||||
git apply --whitespace=nowarn ../patch-${pkgver}
|
||||
#git apply --whitespace=nowarn ../patch-${pkgver}
|
||||
|
||||
# RCN patch
|
||||
git apply ../patch-${pkgver%.0}-${rcnrel}.diff
|
||||
|
@ -75,12 +64,7 @@ prepare() {
|
|||
git apply ../0005-net-smsc95xx-Allow-mac-address-to-be-set-as-a-parame.patch
|
||||
git apply ../0006-ARM-TLV320AIC23-SoC-Audio-Codec-Fix-errors-reported-.patch
|
||||
git apply ../0007-set-default-cubietruck-led-triggers.patch
|
||||
git apply ../0008-USB-armory-support.patch
|
||||
git apply ../0009-ARM-dts-imx6ul-pico-hobbit-Add-Wifi-support.patch
|
||||
git apply ../0010-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch
|
||||
git apply ../0011-usb-musb-Call-pm_runtime-from-musb_gadget_queue.patch
|
||||
git apply ../0012-phy-twl4030-usb-better-handle-musb_mailbox-failure.patch
|
||||
git apply ../0013-Revert-gpu-drm-omapdrm-dss-of-add-missing-of_node_pu.patch
|
||||
git apply ../0008-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch
|
||||
|
||||
cat "${srcdir}/config" > ./.config
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue