From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 29 Nov 2018 10:52:43 -0500 Subject: [U-Boot] [PATCH] dts: am335x-pdu001: Fix polarity of card detection input In-Reply-To: <9fe2f6ad-1a58-f541-ff1d-64a98e768fae@ltec.ch> References: <20181129124506.16135-1-fb@ltec.ch> <20181129152548.GH5048@bill-the-cat> <9fe2f6ad-1a58-f541-ff1d-64a98e768fae@ltec.ch> Message-ID: <20181129155243.GI5048@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Nov 29, 2018 at 04:33:36PM +0100, Felix Brack wrote: > On 29.11.2018 16:25, Tom Rini wrote: > > On Thu, Nov 29, 2018 at 01:45:06PM +0100, Felix Brack wrote: > > > >> When a micro SD card is inserted in the PDU001 card cage, the card > >> detection switch is opened and the corresponding GPIO input is driven > >> by a pull-up. Hence change the active level of the card detection > >> input from low to high. > >> > >> Signed-off-by: Felix Brack > >> --- > >> > >> arch/arm/dts/am335x-pdu001.dts | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a/arch/arm/dts/am335x-pdu001.dts b/arch/arm/dts/am335x-pdu001.dts > >> index 121e2c6207..3a5e952663 100644 > >> --- a/arch/arm/dts/am335x-pdu001.dts > >> +++ b/arch/arm/dts/am335x-pdu001.dts > >> @@ -576,7 +576,7 @@ > >> bus-width = <4>; > >> pinctrl-names = "default"; > >> pinctrl-0 = <&mmc2_pins>; > >> - cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; > >> + cd-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; > >> }; > >> > >> &sham { > > > > Is this in upstream Linux as well? If so what tag/hash? Thanks! > > > Not yet. I will send the Linux patch within a few days. > The fix appears for U-Boot first as it is required for the upcoming > patch that enables CONFIG_BLK and CONFIG_DM_MMC for this board. Please reply to the thread with a ML link there so we can track and make sure it doesn't get out of sync, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: