From: andrew@lunn.ch (Andrew Lunn) Date: Mon, 22 Apr 2013 23:45:43 +0200 Subject: [PATCH 1/3] mmc: mvsdio: Support inverted CD and WP GPIO lines In-Reply-To: <20130422210949.GJ25724@titan.lakedaemon.net> References: <1366660500-26835-1-git-send-email-gmbnomis@gmail.com> <1366660500-26835-2-git-send-email-gmbnomis@gmail.com> <87wqrutjss.fsf@octavius.laptop.org> <20130422203723.GI29947@lunn.ch> <20130422210949.GJ25724@titan.lakedaemon.net> Message-ID: <20130422214543.GJ29947@lunn.ch> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > > > The core function mmc_of_parse() (new in 3.9) will do all of this DT > > > parsing for you, and will also take care of the driver's later calls > > > to mmc_gpio_request_{cd,wp}(). Could you try using that function > > > instead, please? > > > > Hi Chris, Simon > > > > I have a vague recollection that Thomas Petazzoni already did this > > conversion. Take a look in linux-next, or maybe Jason can point you at > > a branch. > > Andrew, > > Thomas did a board conversion here (slated for v3.11 in /pcie branch): > > cd2bde5 arm: kirkwood: convert db-88f6281 to the Device Tree > > And Sebastian did some mvsdio WP and CD pin work here: > > 0d0644eARM: Kirkwood: fix unused mvsdio gpio pins > > Nothing else really jumps out though. Where either of these what you > were thinking of? http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/138514.html and http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/138513.html Andrew