[PATCH] ARM: zynq: Replace 'io-standard' with 'power-source' property

Michal Simek monstr at monstr.eu
Mon Aug 23 08:48:45 CEST 2021


pá 6. 8. 2021 v 13:29 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> From: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri at xilinx.com>
>
> Replace 'io-standard' property with 'power-source' property in all
> zynq dts files to be in sync with Zynq Pinctrl driver.
>
> Signed-off-by: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  arch/arm/dts/zynq-zc702.dts | 22 +++++++++++-----------
>  arch/arm/dts/zynq-zc706.dts | 18 +++++++++---------
>  2 files changed, 20 insertions(+), 20 deletions(-)
>
> diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts
> index 4474f4bfd7b2..57a47409b915 100644
> --- a/arch/arm/dts/zynq-zc702.dts
> +++ b/arch/arm/dts/zynq-zc702.dts
> @@ -213,7 +213,7 @@
>                 conf {
>                         groups = "can0_9_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>
>                 conf-rx {
> @@ -236,7 +236,7 @@
>                 conf {
>                         groups = "ethernet0_0_grp";
>                         slew-rate = <0>;
> -                       io-standard = <4>;
> +                       power-source = <4>;
>                 };
>
>                 conf-rx {
> @@ -259,7 +259,7 @@
>                 conf-mdio {
>                         groups = "mdio0_0_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                         bias-disable;
>                 };
>         };
> @@ -277,7 +277,7 @@
>                                  "gpio0_10_grp", "gpio0_11_grp", "gpio0_12_grp",
>                                  "gpio0_13_grp", "gpio0_14_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>
>                 conf-pull-up {
> @@ -301,7 +301,7 @@
>                         groups = "i2c0_10_grp";
>                         bias-pull-up;
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>         };
>
> @@ -314,7 +314,7 @@
>                 conf {
>                         groups = "gpio0_50_grp", "gpio0_51_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>         };
>
> @@ -327,7 +327,7 @@
>                 conf {
>                         groups = "sdio0_2_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                         bias-disable;
>                 };
>
> @@ -341,7 +341,7 @@
>                         bias-high-impedance;
>                         bias-pull-up;
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>
>                 mux-wp {
> @@ -354,7 +354,7 @@
>                         bias-high-impedance;
>                         bias-pull-up;
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>         };
>
> @@ -367,7 +367,7 @@
>                 conf {
>                         groups = "uart1_10_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>
>                 conf-rx {
> @@ -390,7 +390,7 @@
>                 conf {
>                         groups = "usb0_0_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>
>                 conf-rx {
> diff --git a/arch/arm/dts/zynq-zc706.dts b/arch/arm/dts/zynq-zc706.dts
> index 84729e9feba2..87308c0333d3 100644
> --- a/arch/arm/dts/zynq-zc706.dts
> +++ b/arch/arm/dts/zynq-zc706.dts
> @@ -151,7 +151,7 @@
>                 conf {
>                         groups = "ethernet0_0_grp";
>                         slew-rate = <0>;
> -                       io-standard = <4>;
> +                       power-source = <4>;
>                 };
>
>                 conf-rx {
> @@ -174,7 +174,7 @@
>                 conf-mdio {
>                         groups = "mdio0_0_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                         bias-disable;
>                 };
>         };
> @@ -188,7 +188,7 @@
>                 conf {
>                         groups = "gpio0_7_grp", "gpio0_46_grp", "gpio0_47_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>
>                 conf-pull-up {
> @@ -212,7 +212,7 @@
>                         groups = "i2c0_10_grp";
>                         bias-pull-up;
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>         };
>
> @@ -225,7 +225,7 @@
>                 conf {
>                         groups = "sdio0_2_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                         bias-disable;
>                 };
>
> @@ -239,7 +239,7 @@
>                         bias-high-impedance;
>                         bias-pull-up;
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>
>                 mux-wp {
> @@ -252,7 +252,7 @@
>                         bias-high-impedance;
>                         bias-pull-up;
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>         };
>
> @@ -265,7 +265,7 @@
>                 conf {
>                         groups = "uart1_10_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>
>                 conf-rx {
> @@ -288,7 +288,7 @@
>                 conf {
>                         groups = "usb0_0_grp";
>                         slew-rate = <0>;
> -                       io-standard = <1>;
> +                       power-source = <1>;
>                 };
>
>                 conf-rx {
> --
> 2.32.0
>

Applied.
M


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list