From: luka Date: Fri, 8 Aug 2014 16:11:57 +0000 (+0000) Subject: imx6: update upstream patch X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=3d4017cc5d4928899b3cecc98cff24584b98b071 imx6: update upstream patch Signed-off-by: Tim Harvey Signed-off-by: Luka Perkov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42081 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/imx6/patches-3.14/0007-ARM-dts-imx-drop-invalid-size-and-address-cells-prop.patch b/target/linux/imx6/patches-3.14/0007-ARM-dts-imx-drop-invalid-size-and-address-cells-prop.patch new file mode 100644 index 0000000000..075e4a9670 --- /dev/null +++ b/target/linux/imx6/patches-3.14/0007-ARM-dts-imx-drop-invalid-size-and-address-cells-prop.patch @@ -0,0 +1,42 @@ +From 54e8eaeec1227a024373e37315770cc79d69917b Mon Sep 17 00:00:00 2001 +From: Lucas Stach +Date: Fri, 28 Mar 2014 17:25:51 +0100 +Subject: [PATCH] ARM: dts: imx: drop invalid size and address cells properties + +Those two properties should have been set to zero, which +is the same as not specifying them. + +Having address-cells set to 1 causes OF interrupt +mapping routines to add 1 to the interrupt-cells +property and as result fail because all calculations +are off by one. + +Signed-off-by: Lucas Stach +Signed-off-by: Shawn Guo +--- + arch/arm/boot/dts/imx6qdl.dtsi | 2 -- + arch/arm/boot/dts/imx6sl.dtsi | 2 -- + 2 files changed, 4 deletions(-) + +--- a/arch/arm/boot/dts/imx6qdl.dtsi ++++ b/arch/arm/boot/dts/imx6qdl.dtsi +@@ -40,8 +40,6 @@ + intc: interrupt-controller@00a01000 { + compatible = "arm,cortex-a9-gic"; + #interrupt-cells = <3>; +- #address-cells = <1>; +- #size-cells = <1>; + interrupt-controller; + reg = <0x00a01000 0x1000>, + <0x00a00100 0x100>; +--- a/arch/arm/boot/dts/imx6sl.dtsi ++++ b/arch/arm/boot/dts/imx6sl.dtsi +@@ -44,8 +44,6 @@ + intc: interrupt-controller@00a01000 { + compatible = "arm,cortex-a9-gic"; + #interrupt-cells = <3>; +- #address-cells = <1>; +- #size-cells = <1>; + interrupt-controller; + reg = <0x00a01000 0x1000>, + <0x00a00100 0x100>; diff --git a/target/linux/imx6/patches-3.14/0055-ARM_dts_imx_fix-invallid-#address-cells-value.patch b/target/linux/imx6/patches-3.14/0055-ARM_dts_imx_fix-invallid-#address-cells-value.patch deleted file mode 100644 index 463d757f96..0000000000 --- a/target/linux/imx6/patches-3.14/0055-ARM_dts_imx_fix-invallid-#address-cells-value.patch +++ /dev/null @@ -1,55 +0,0 @@ -commit d644122d8420c425fdf5c74e50d440d5f146bc0c -Author: Tim Harvey -Date: Thu Mar 13 09:37:51 2014 -0700 - - ARM: dts: imx: fix invalid #address-cells value - - The invalid value of #address-cells in the imx6 pcie host controller node - causes of_irq_parse_raw() to incorrectly advance through an interrupt-map - table of more than one interrupt. We also take the opportunity to drop the - unused #size-cells here. - - This patch resolves this issue and allows proper interrupt mapping for an - imx6 pcie host connected to a P2P bridge when using legacy interrupts. - - Signed-off-by: Tim Harvey - Cc: Jason Gunthorpe - Cc: Jingoo Han - Cc: Lucas Stach - Cc: Mark Rutland - Cc: linux-samsung-soc - Cc: Richard Zhu - Cc: Sascha Hauer - Cc: Arnd Bergmann - Cc: Stephen Warren - Cc: Bjorn Helgaas - Cc: Simon Horman - Cc: Thierry Reding - Cc: Ben Dooks - Cc: linux-tegra - Cc: Kukjin Kim - Cc: Shawn Guo - Cc: Grant Likely - ---- a/arch/arm/boot/dts/imx6qdl.dtsi -+++ b/arch/arm/boot/dts/imx6qdl.dtsi -@@ -40,8 +40,6 @@ - intc: interrupt-controller@00a01000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; -- #address-cells = <1>; -- #size-cells = <1>; - interrupt-controller; - reg = <0x00a01000 0x1000>, - <0x00a00100 0x100>; ---- a/arch/arm/boot/dts/imx6sl.dtsi -+++ b/arch/arm/boot/dts/imx6sl.dtsi -@@ -44,8 +44,6 @@ - intc: interrupt-controller@00a01000 { - compatible = "arm,cortex-a9-gic"; - #interrupt-cells = <3>; -- #address-cells = <1>; -- #size-cells = <1>; - interrupt-controller; - reg = <0x00a01000 0x1000>, - <0x00a00100 0x100>;