[PATCH] arm64: zynqmp: Remove unused USB DT properties

Michal Simek michal.simek at amd.com
Tue Dec 20 09:22:49 CET 2022



On 12/12/22 15:06, Michal Simek wrote:
> xlnx,usb-polarity, xlnx,usb-reset-mode and snps,mask_phy_reset are not
> documented in dt binding and also there is no code associated with them
> that's why remove them.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   arch/arm/dts/zynqmp-dlc21-revA.dts      | 4 ----
>   arch/arm/dts/zynqmp-g-a2197-00-revA.dts | 2 --
>   arch/arm/dts/zynqmp-m-a2197-01-revA.dts | 4 ----
>   arch/arm/dts/zynqmp-m-a2197-02-revA.dts | 4 ----
>   arch/arm/dts/zynqmp-m-a2197-03-revA.dts | 4 ----
>   arch/arm/dts/zynqmp-p-a2197-00-revA.dts | 4 ----
>   6 files changed, 22 deletions(-)
> 
> diff --git a/arch/arm/dts/zynqmp-dlc21-revA.dts b/arch/arm/dts/zynqmp-dlc21-revA.dts
> index 0461219ca3e7..bf0d89a5fcbe 100644
> --- a/arch/arm/dts/zynqmp-dlc21-revA.dts
> +++ b/arch/arm/dts/zynqmp-dlc21-revA.dts
> @@ -154,8 +154,6 @@
>   
>   &usb0 {
>   	status = "okay";
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   };
>   
>   &dwc3_0 {
> @@ -170,8 +168,6 @@
>   
>   &usb1 {
>   	status = "disabled"; /* Any unknown issue with USB-C */
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   };
>   
>   &dwc3_1 {
> diff --git a/arch/arm/dts/zynqmp-g-a2197-00-revA.dts b/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
> index e00428351cbf..02d2427809d5 100644
> --- a/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-g-a2197-00-revA.dts
> @@ -303,8 +303,6 @@
>   
>   &usb0 { /* USB0 MIO52-63 */
>   	status = "okay";
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   };
>   
>   &dwc3_0 {
> diff --git a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
> index 1fa023ffb13c..2d7fe592c8f9 100644
> --- a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
> +++ b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
> @@ -461,8 +461,6 @@
>   
>   &usb0 {
>   	status = "okay";
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   };
>   
>   &dwc3_0 {
> @@ -474,8 +472,6 @@
>   
>   &usb1 {
>   	status = "disabled"; /* not at mem board */
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   };
>   
>   &dwc3_1 {
> diff --git a/arch/arm/dts/zynqmp-m-a2197-02-revA.dts b/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
> index 2271a6a49065..e46748d32c03 100644
> --- a/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
> +++ b/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
> @@ -463,8 +463,6 @@
>   
>   &usb0 {
>   	status = "okay";
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   };
>   
>   &dwc3_0 {
> @@ -476,8 +474,6 @@
>   
>   &usb1 {
>   	status = "disabled"; /* not at mem board */
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   };
>   
>   &dwc3_1 {
> diff --git a/arch/arm/dts/zynqmp-m-a2197-03-revA.dts b/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
> index a89046a818fd..f564817e2c84 100644
> --- a/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
> +++ b/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
> @@ -457,8 +457,6 @@
>   
>   &usb0 {
>   	status = "okay";
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   };
>   
>   &dwc3_0 {
> @@ -470,8 +468,6 @@
>   
>   &usb1 {
>   	status = "disabled"; /* not at mem board */
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   };
>   
>   &dwc3_1 {
> diff --git a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts b/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
> index b3fe42faeee8..d63deb83e3c6 100644
> --- a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
> +++ b/arch/arm/dts/zynqmp-p-a2197-00-revA.dts
> @@ -543,8 +543,6 @@
>   
>   &usb0 {
>   	status = "okay";
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   	phy-names = "usb3-phy";
>   	phys = <&psgtr 1 PHY_TYPE_USB3 0 1>;
>   };
> @@ -559,8 +557,6 @@
>   
>   &usb1 {
>   	status = "okay";
> -	xlnx,usb-polarity = <0>;
> -	xlnx,usb-reset-mode = <0>;
>   };
>   
>   &dwc3_1 {


Applied.
M


More information about the U-Boot mailing list