From: Richard Zhao <richard.zhao@freescale.com>
To: Dong Aisheng <b29396@freescale.com>
Cc: <linux-kernel@vger.kernel.org>, <linus.walleij@stericsson.com>,
<swarren@wwwdotorg.org>, <devicetree-discuss@lists.ozlabs.org>,
<rob.herring@calxeda.com>, <grant.likely@secretlab.ca>,
<linux-arm-kernel@lists.infradead.org>, <kernel@pengutronix.de>,
<s.hauer@pengutronix.de>, <shawn.guo@freescale.com>
Subject: Re: [PATCH v2 3/3] ARM: imx6q: switch to use pinctrl driver
Date: Tue, 24 Apr 2012 17:51:17 +0800 [thread overview]
Message-ID: <20120424095116.GA28063@b20223-02.ap.freescale.net> (raw)
In-Reply-To: <1334933916-12971-3-git-send-email-b29396@freescale.com>
> --- a/drivers/mmc/host/sdhci-esdhc-imx.c
> +++ b/drivers/mmc/host/sdhci-esdhc-imx.c
> @@ -24,6 +24,7 @@
> #include <linux/of.h>
> #include <linux/of_device.h>
> #include <linux/of_gpio.h>
> +#include <linux/pinctrl/consumer.h>
> #include <mach/esdhc.h>
> #include "sdhci-pltfm.h"
> #include "sdhci-esdhc.h"
> @@ -68,6 +69,7 @@ struct pltfm_imx_data {
> int flags;
> u32 scratchpad;
> enum imx_esdhc_type devtype;
> + struct pinctrl *p;
> struct esdhc_platform_data boarddata;
> };
>
> @@ -467,6 +469,12 @@ static int __devinit sdhci_esdhc_imx_probe(struct platform_device *pdev)
> clk_prepare_enable(clk);
> pltfm_host->clk = clk;
>
> + imx_data->p = pinctrl_get_select_default(&pdev->dev);
devm_xxx version?
Thanks
Richard
next prev parent reply other threads:[~2012-04-24 9:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-20 14:58 [PATCH v2 1/3] pinctrl: pinctrl-imx: add imx pinctrl core driver Dong Aisheng
2012-04-20 14:58 ` [PATCH v2 2/3] pinctrl: pinctrl-imx: add imx6q pinctrl driver Dong Aisheng
2012-04-20 14:58 ` [PATCH v2 3/3] ARM: imx6q: switch to use " Dong Aisheng
2012-04-24 8:56 ` Linus Walleij
2012-04-24 9:08 ` Wolfram Sang
2012-04-24 9:43 ` Dong Aisheng
2012-04-24 9:15 ` Dong Aisheng
2012-04-24 9:51 ` Richard Zhao [this message]
2012-04-24 10:36 ` Dong Aisheng
2012-04-24 12:46 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-24 14:04 ` Dong Aisheng
2012-04-24 14:48 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-24 9:02 ` [PATCH v2 1/3] pinctrl: pinctrl-imx: add imx pinctrl core driver Linus Walleij
2012-04-25 7:04 ` Richard Zhao
2012-04-25 12:10 ` Dong Aisheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120424095116.GA28063@b20223-02.ap.freescale.net \
--to=richard.zhao@freescale.com \
--cc=b29396@freescale.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=kernel@pengutronix.de \
--cc=linus.walleij@stericsson.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rob.herring@calxeda.com \
--cc=s.hauer@pengutronix.de \
--cc=shawn.guo@freescale.com \
--cc=swarren@wwwdotorg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®