[openwrt/openwrt] lantiq: kernel 4.14: use vbus-supply devicetree property

LEDE Commits lede-commits at lists.infradead.org
Wed May 16 22:47:06 PDT 2018


mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/d8b475212bbf9e5f80c1c923a9701dca5ceb23e2

commit d8b475212bbf9e5f80c1c923a9701dca5ceb23e2
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sun Apr 22 17:03:31 2018 +0200

    lantiq: kernel 4.14: use vbus-supply devicetree property
    
    It isn't a phy supply, as the phy is still up if the GPIO is low. It
    rather is the supply for the vbus. A correct setting/definition will be
    relevant as soon as USB peripheral mode is supported.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ACMP252.dts         | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi   | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts       | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts       | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts       | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts     | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts       | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts     | 4 ++--
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts       | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts     | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts     | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts    | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts    | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi      | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi | 4 ++--
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/GIGASX76X.dts       | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts           | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts       | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi     | 4 ++--
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi        | 4 ++--
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi    | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519.dtsi        | 4 ++--
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200v.dts          | 4 ++--
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts            | 2 +-
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts         | 4 ++--
 25 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ACMP252.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ACMP252.dts
index 5e1f271..5a2d867 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ACMP252.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ACMP252.dts
@@ -101,11 +101,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi
index 458a387..e95c403 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi
@@ -192,11 +192,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts
index 5733d2c..690c12f 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts
@@ -189,11 +189,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts
index aa42693..68d6dc3 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts
@@ -213,11 +213,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts
index 1e1183d..3854ac2 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts
@@ -231,11 +231,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts
index 337f969..2c52ec6 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts
@@ -195,11 +195,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts
index 1d6f404..a033b0d 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts
@@ -227,11 +227,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts
index 40607ae..2d557f4 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts
@@ -236,18 +236,18 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb_phy1 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &usb1 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts
index 7b337b4..911e71a 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts
@@ -232,11 +232,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts
index feb92d4..88d9d7f 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts
@@ -254,11 +254,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts
index 1e39380..7b201ff 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts
@@ -178,11 +178,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts
index 6bba7e42..d3e2bf7 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts
@@ -207,9 +207,9 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts
index a3be0a5..9022866 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts
@@ -291,9 +291,9 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi
index 464ab5b..b7cfc03 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi
@@ -304,9 +304,9 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi
index f6180c4..815c01f 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi
@@ -288,18 +288,18 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb0_vbus>;
 };
 
 &usb_phy1 {
 	status = "okay";
-	phy-supply = <&usb1_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb0_vbus>;
 };
 
 &usb1 {
 	status = "okay";
+	vbus-supply = <&usb1_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/GIGASX76X.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/GIGASX76X.dts
index fc028bb..36b8251 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/GIGASX76X.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/GIGASX76X.dts
@@ -117,11 +117,11 @@
 
 &usb_phy {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts
index 43a4b42..90f74bb 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts
@@ -165,10 +165,10 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts
index 267a4f3..444dc56 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts
@@ -186,9 +186,9 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi
index 03858af..579e562 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi
@@ -280,18 +280,18 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb_phy1 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &usb1 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi
index e176bca..233b7e3 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi
@@ -281,18 +281,18 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb_phy1 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &usb1 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi
index 8f22380..ab55837 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi
@@ -253,11 +253,11 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519.dtsi
index 297f5f7..b927602 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519.dtsi
@@ -288,20 +288,20 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb_phy1 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &usb1 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &vmmc {
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200v.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200v.dts
index d0fcd6f..331f08e 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200v.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200v.dts
@@ -288,18 +288,18 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb_phy1 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &usb1 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts
index 6bee330..02c1182 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts
@@ -191,9 +191,9 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts
index 4092b6b..df7bc9f 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts
@@ -312,18 +312,18 @@
 
 &usb_phy0 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb_phy1 {
 	status = "okay";
-	phy-supply = <&usb_vbus>;
 };
 
 &usb0 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };
 
 &usb1 {
 	status = "okay";
+	vbus-supply = <&usb_vbus>;
 };



More information about the lede-commits mailing list