[source] bcm53xx: backport missed BCM53573 ILP patch from 4.10

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 13 00:26:48 PST 2016


rmilecki pushed a commit to source.git, branch master:
https://git.lede-project.org/2ca4c74279454036a5d7f7cca1e95e8c2349701b

commit 2ca4c74279454036a5d7f7cca1e95e8c2349701b
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Tue Dec 13 09:13:40 2016 +0100

    bcm53xx: backport missed BCM53573 ILP patch from 4.10
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 ...3-Specify-PMU-and-its-ILP-clock-in-the-DT.patch | 38 ++++++++++++++++++++++
 ...BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch} |  0
 .../patches-4.4/905-BCM53573-minor-hacks.patch     | 14 +-------
 3 files changed, 39 insertions(+), 13 deletions(-)

diff --git a/target/linux/bcm53xx/patches-4.4/044-0008-ARM-BCM53573-Specify-PMU-and-its-ILP-clock-in-the-DT.patch b/target/linux/bcm53xx/patches-4.4/044-0008-ARM-BCM53573-Specify-PMU-and-its-ILP-clock-in-the-DT.patch
new file mode 100644
index 0000000..b6e9c4a
--- /dev/null
+++ b/target/linux/bcm53xx/patches-4.4/044-0008-ARM-BCM53573-Specify-PMU-and-its-ILP-clock-in-the-DT.patch
@@ -0,0 +1,38 @@
+From 547f23183d9d77b51754689a71e3e58d085ccaec Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal at milecki.pl>
+Date: Sat, 17 Sep 2016 22:13:46 +0200
+Subject: [PATCH] ARM: BCM53573: Specify PMU and its ILP clock in the DT
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+ILP clock (sometimes called a "slow clock") is a part of PMU (Power
+Management Unit). There has been recently added a driver for it, so add
+a proper entry in the DT as well.
+
+Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
+Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
+---
+ arch/arm/boot/dts/bcm53573.dtsi | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+--- a/arch/arm/boot/dts/bcm53573.dtsi
++++ b/arch/arm/boot/dts/bcm53573.dtsi
+@@ -143,5 +143,17 @@
+ 		gmac1: ethernet at b000 {
+ 			reg = <0xb000 0x1000>;
+ 		};
++
++		pmu at 12000 {
++			compatible = "simple-mfd", "syscon";
++			reg = <0x00012000 0x00001000>;
++
++			ilp: ilp {
++				compatible = "brcm,bcm53573-ilp";
++				clocks = <&alp>;
++				#clock-cells = <0>;
++				clock-output-names = "ilp";
++			};
++		};
+ 	};
+ };
diff --git a/target/linux/bcm53xx/patches-4.4/044-0008-ARM-BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch b/target/linux/bcm53xx/patches-4.4/044-0009-ARM-BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch
similarity index 100%
rename from target/linux/bcm53xx/patches-4.4/044-0008-ARM-BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch
rename to target/linux/bcm53xx/patches-4.4/044-0009-ARM-BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch
diff --git a/target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch b/target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch
index 9352b0c..4935a19 100644
--- a/target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch
+++ b/target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch
@@ -11,22 +11,10 @@ Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
 
 --- a/arch/arm/boot/dts/bcm53573.dtsi
 +++ b/arch/arm/boot/dts/bcm53573.dtsi
-@@ -44,6 +44,27 @@
+@@ -44,6 +44,15 @@
  		};
  	};
  
-+	pmu at 18012000 {
-+		compatible = "simple-mfd", "syscon";
-+		reg = <0x18012000 0x00001000>;
-+
-+		ilp: ilp {
-+			compatible = "brcm,bcm53573-ilp";
-+			clocks = <&alp>;
-+			#clock-cells = <0>;
-+			clock-output-names = "ilp";
-+		};
-+	};
-+
 +	timer {
 +		compatible = "arm,armv7-timer";
 +		interrupts = <GIC_PPI 13 0>,



More information about the lede-commits mailing list