[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120427073504.GS17184@pengutronix.de>
Date: Fri, 27 Apr 2012 09:35:04 +0200
From: Sascha Hauer <s.hauer@...gutronix.de>
To: Dong Aisheng <b29396@...escale.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
devicetree-discuss@...ts.ozlabs.org, linus.walleij@...ricsson.com,
swarren@...dotorg.org, shawn.guo@...escale.com,
kernel@...gutronix.de, grant.likely@...retlab.ca,
rob.herring@...xeda.com, cjb@...top.org, b20223@...escale.com
Subject: Re: [PATCH v3 4/4] mmc: sdhci-imx-esdhc: convert to use pinctrl
subsystem
On Thu, Apr 26, 2012 at 10:40:27PM +0800, Dong Aisheng wrote:
> From: Dong Aisheng <dong.aisheng@...aro.org>
>
> This driver is shared between many platforms. Currently only imx6q has
> pinctrl support, to avoid breaking other platforms that do not have pinctrl
> support to run this driver, enable pinctrl dummy state for them before
> they also convert to pinctrl subsystem.
>
> Signed-off-by: Dong Aisheng <dong.aisheng@...aro.org>
> ---
> This patch depends on:
> pinctrl: add pinctrl_provide_dummies interface for platforms to use
> http://www.spinics.net/lists/arm-kernel/msg171538.html
>
> ChangeLog v2->v3:
> * patch name updated.
> v1 name is ARM: imx6q: switch to use pinctrl driver
> * using pinctrl dummy state to avoid breaking other platforms to use this
> driver.
>
> ChangeLog v1->v2:
> * using updated binding
> ---
> arch/arm/boot/dts/imx6q-arm2.dts | 4 +++
> arch/arm/boot/dts/imx6q.dtsi | 32 ++++++++++++++++++++++++
> arch/arm/mach-imx/Kconfig | 2 +
> arch/arm/mach-imx/eukrea_mbimxsd35-baseboard.c | 2 +
> arch/arm/mach-imx/mach-cpuimx51.c | 2 +
> arch/arm/mach-imx/mach-cpuimx51sd.c | 2 +
> arch/arm/mach-imx/mach-eukrea_cpuimx25.c | 2 +
> arch/arm/mach-imx/mach-mx25_3ds.c | 2 +
> arch/arm/mach-imx/mach-mx35_3ds.c | 2 +
> arch/arm/mach-imx/mach-mx51_3ds.c | 2 +
> arch/arm/mach-imx/mach-mx51_babbage.c | 2 +
> arch/arm/mach-imx/mach-mx51_efikamx.c | 2 +
> arch/arm/mach-imx/mach-mx51_efikasb.c | 2 +
> arch/arm/mach-imx/mach-mx53_ard.c | 2 +
> arch/arm/mach-imx/mach-mx53_evk.c | 2 +
> arch/arm/mach-imx/mach-mx53_loco.c | 2 +
> arch/arm/mach-imx/mach-mx53_smd.c | 2 +
> arch/arm/mach-imx/mach-pcm043.c | 2 +
> arch/arm/mach-imx/mach-vpr200.c | 2 +
Here you are patching only the boards which happen to use the esdhc
controller, so we need to patch other boards when another driver gains
pinctrl. Let's add the provide_dummies call to the SoCs instead which
do not have pinctrl yet.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists