Re: [PATCH 2/3] ARM: dts: imx6: rdu2: Disable WP for USDHC2 and USDHC3

From: Lucas Stach
Date: Wed May 29 2019 - 04:31:00 EST


Am Mittwoch, den 29.05.2019, 00:18 -0700 schrieb Andrey Smirnov:
> RDU2 production units come with resistor connecting WP pin to
> correpsonding GPIO DNPed for both SD card slots. Drop any WP related
> configuration and mark both slots with "disable-wp".
>
> > Reported-by: Chris Healy <cphealy@xxxxxxxxx>
> > Reviewed-by: Chris Healy <cphealy@xxxxxxxxx>
> > Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> > Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
> > Cc: Fabio Estevam <festevam@xxxxxxxxx>
> > Cc: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx

Reviewed-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>

> ---
> Âarch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 6 ++----
> Â1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> index 07e21d1e5b4c..04d4d4d7e43c 100644
> --- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
> @@ -658,7 +658,7 @@
> > Â pinctrl-0 = <&pinctrl_usdhc2>;
> > Â bus-width = <4>;
> > Â cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
> > - wp-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
> > + disable-wp;
> > Â vmmc-supply = <&reg_3p3v_sd>;
> > Â vqmmc-supply = <&reg_3p3v>;
> > Â no-1-8-v;
> @@ -671,7 +671,7 @@
> > Â pinctrl-0 = <&pinctrl_usdhc3>;
> > Â bus-width = <4>;
> > Â cd-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
> > - wp-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
> > + disable-wp;
> > Â vmmc-supply = <&reg_3p3v_sd>;
> > Â vqmmc-supply = <&reg_3p3v>;
> > Â no-1-8-v;
> @@ -1096,7 +1096,6 @@
> > > Â MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
> > > Â MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
> > > Â MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059
> > > - MX6QDL_PAD_NANDF_D3__GPIO2_IO03 0x40010040
> > > Â MX6QDL_PAD_NANDF_D2__GPIO2_IO02 0x40010040
> > Â >;
> > Â };
> @@ -1109,7 +1108,6 @@
> > > Â MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
> > > Â MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
> > > Â MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
> > > - MX6QDL_PAD_NANDF_D1__GPIO2_IO01 0x40010040
> > > Â MX6QDL_PAD_NANDF_D0__GPIO2_IO00 0x40010040
> Â
> > Â >;