From d8b475212bbf9e5f80c1c923a9701dca5ceb23e2 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 22 Apr 2018 17:03:31 +0200 Subject: [PATCH] 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 --- target/linux/lantiq/files-4.14/arch/mips/boot/dts/ACMP252.dts | 2 +- .../lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi | 2 +- .../linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts | 2 +- .../linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts | 2 +- .../linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts | 2 +- .../lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts | 2 +- .../linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts | 2 +- .../lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts | 4 ++-- .../linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts | 2 +- .../lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts | 2 +- .../lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts | 2 +- .../lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts | 2 +- .../lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts | 2 +- .../linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi | 2 +- .../lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi | 4 ++-- .../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 +- .../linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts | 2 +- .../lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi | 4 ++-- .../linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi | 4 ++-- .../lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi | 2 +- .../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 5e1f271606e..5a2d8671962 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 458a3875363..e95c4036829 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 5733d2ce198..690c12f4229 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 aa4269305bb..68d6dc3e7e6 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 1e1183d1bab..3854ac2dbee 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 337f969b345..2c52ec62b73 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 1d6f404ee99..a033b0de7d9 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 40607aebdd1..2d557f47342 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 7b337b4f5fd..911e71a2cdc 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 feb92d4d9d3..88d9d7fdc3a 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 1e39380f603..7b201ff8d3c 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 6bba7e42010..d3e2bf761c5 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 a3be0a5c9ca..90228667fd7 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 464ab5bd4e9..b7cfc03a1e8 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 f6180c474fc..815c01f89cb 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 fc028bb5f12..36b82515dcc 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 43a4b42d82c..90f74bb3849 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 267a4f3a718..444dc563b31 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 03858afef41..579e562c385 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 e176bca30f8..233b7e33342 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 8f22380cc9a..ab558372ee0 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 297f5f7f4f6..b9276025bd2 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 d0fcd6fcd0d..331f08ed501 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 6bee3308a21..02c11823050 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 4092b6b6eb5..df7bc9fce11 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>; }; -- 2.30.2