From: Patrice CHOTARD Date: Tue, 24 Jul 2018 11:42:52 +0000 Subject: [U-Boot] [PATCH v2 6/6] mmc: arm_pl180_mmci: Add "cd_inverted" DT property read In-Reply-To: <562a6f28-ee32-e30b-b1dc-df8d9140c973@iki.fi> References: <1532425165-29027-1-git-send-email-patrice.chotard@st.com> <1532425165-29027-7-git-send-email-patrice.chotard@st.com> <562a6f28-ee32-e30b-b1dc-df8d9140c973@iki.fi> Message-ID: <294345d0-438a-e9db-605a-9163593f9390@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 Tuomas On 07/24/2018 01:22 PM, Tuomas Tynkkynen wrote: > Hi Patrice, > > > On 07/24/2018 12:39 PM, Patrice Chotard wrote: >> Add missing read of "cd_inverted" property in DT. >> > > If your platform uses GPIOs for card detection, it's > simpler and more readable to use GPIO_ACTIVE_(LOW|HIGH) > in the gpio flags instead of using the cd-inverted > property. See Linux commit 45e01f401a2a16a8d7 where this > was done for sunxi). Then this commit isn't needed. Thanks for pointing this ;-) I will submit a v3 Patrice > > - Tuomas