From: Patrick DELAUNAY Date: Thu, 22 Oct 2020 17:17:27 +0000 Subject: [PATCH] ARM: dts: stm32: Reinstate card detect behavior on DHSOM In-Reply-To: <20201019213752.888493-1-marex@denx.de> References: <20201019213752.888493-1-marex@denx.de> Message-ID: <9207d454537d495eb11af5050976ecdf@SFHDAG2NODE3.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Marek, > From: Marek Vasut > Sent: lundi 19 octobre 2020 23:38 > > The cd-gpios with (GPIO_ACTIVE_LOW | GPIO_PULL_UP) gpio is thus far > unsupported, reinstate the old cd-gpios behavior until this handling is fully > implemented. This permits the DHSOM to boot from SD again, without this patch > the card detect fails. It is strange if it is not working... I will check why the configuration is not managed correctly in stm32 gpio/pincontrol driver. > Signed-off-by: Marek Vasut > Cc: Patrick Delaunay > Cc: Patrice Chotard > --- > arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi > b/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi > index 92345b7ba3..73bb5f1c6d 100644 > --- a/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi > +++ b/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi > @@ -265,6 +265,9 @@ > > &sdmmc1 { > u-boot,dm-spl; > + broken-cd; > + /delete-property/ cd-gpios; > + /delete-property/ disable-wp; > }; > > &sdmmc1_b4_pins_a { > -- > 2.28.0 Reviewed-by: Patrick Delaunay But I will be try to fix the issue before to accept this patch. I will merge it only if I can't found the root cause for v2020.01-rc2.... Thanks Patrick