Message ID | 20200707164729.20359-1-patrick.delaunay@st.com |
---|---|
State | Accepted |
Commit | 5f865bb53bb7da4edf07f6a14692a137e972d318 |
Headers | show |
Series | Revert "ARM: dts: stm32: Reinstate card detect behavior on ST boards" | expand |
On 7/7/20 6:47 PM, Patrick Delaunay wrote: > Since commit f13ff88b61c3 ("gpio: stm32: add ops set_dir_flags") > the gpio flags are supported by stm32 pinctrl driver. > > The cd-gpios is correctly handle in U-Boot and the patch on the > device tree can be removed. > > This reverts commit 792919241b3d750cd5295dfe6dd1d0958b9be468. > > Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> > --- > > arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 2 -- > arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 2 -- > 2 files changed, 4 deletions(-) > > diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi > index 7b8c1c1cc7..06cff38460 100644 > --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi > +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi > @@ -162,8 +162,6 @@ > > &sdmmc1 { > u-boot,dm-spl; > - broken-cd; > - /delete-property/ cd-gpios; > }; > > &sdmmc1_b4_pins_a { > diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi > index ef3e7f45a3..7759ba2896 100644 > --- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi > +++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi > @@ -158,8 +158,6 @@ > > &sdmmc1 { > u-boot,dm-spl; > - broken-cd; > - /delete-property/ cd-gpios; > }; > > &sdmmc1_b4_pins_a { Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Thanks Patrice
On 7/28/20 3:56 PM, Patrice CHOTARD wrote: > On 7/7/20 6:47 PM, Patrick Delaunay wrote: >> Since commit f13ff88b61c3 ("gpio: stm32: add ops set_dir_flags") >> the gpio flags are supported by stm32 pinctrl driver. >> >> The cd-gpios is correctly handle in U-Boot and the patch on the >> device tree can be removed. >> >> This reverts commit 792919241b3d750cd5295dfe6dd1d0958b9be468. >> >> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> >> --- >> >> arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 2 -- >> arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 2 -- >> 2 files changed, 4 deletions(-) >> >> diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi >> index 7b8c1c1cc7..06cff38460 100644 >> --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi >> +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi >> @@ -162,8 +162,6 @@ >> >> &sdmmc1 { >> u-boot,dm-spl; >> - broken-cd; >> - /delete-property/ cd-gpios; >> }; >> >> &sdmmc1_b4_pins_a { >> diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi >> index ef3e7f45a3..7759ba2896 100644 >> --- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi >> +++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi >> @@ -158,8 +158,6 @@ >> >> &sdmmc1 { >> u-boot,dm-spl; >> - broken-cd; >> - /delete-property/ cd-gpios; >> }; >> >> &sdmmc1_b4_pins_a { > Reviewed-by: Patrice Chotard <patrice.chotard@st.com> > > Thanks > > Patrice > _______________________________________________ > Uboot-stm32 mailing list > Uboot-stm32@st-md-mailman.stormreply.com > https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32 Applied to u-boot-stm/master Thanks Patrice
diff --git a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi index 7b8c1c1cc7..06cff38460 100644 --- a/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +++ b/arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi @@ -162,8 +162,6 @@ &sdmmc1 { u-boot,dm-spl; - broken-cd; - /delete-property/ cd-gpios; }; &sdmmc1_b4_pins_a { diff --git a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi index ef3e7f45a3..7759ba2896 100644 --- a/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +++ b/arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi @@ -158,8 +158,6 @@ &sdmmc1 { u-boot,dm-spl; - broken-cd; - /delete-property/ cd-gpios; }; &sdmmc1_b4_pins_a {
Since commit f13ff88b61c3 ("gpio: stm32: add ops set_dir_flags") the gpio flags are supported by stm32 pinctrl driver. The cd-gpios is correctly handle in U-Boot and the patch on the device tree can be removed. This reverts commit 792919241b3d750cd5295dfe6dd1d0958b9be468. Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com> --- arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 2 -- arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 2 -- 2 files changed, 4 deletions(-)