From: Balaji T K <balajitk@ti.com>
To: Andreas Fenkart <afenkart@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>,
Michael Trimarchi <michael@amarulasolutions.com>,
Chris Ball <cjb@laptop.org>,
Grant Likely <grant.likely@secretlab.ca>,
Felipe Balbi <balbi@ti.com>, Daniel Mack <zonque@gmail.com>,
linux-doc@vger.kernel.org, linux-mmc <linux-mmc@vger.kernel.org>,
Linux OMAP Mailing List <linux-omap@vger.kernel.org>
Subject: Re: [PATCH v3 2/3] mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x.
Date: Thu, 21 Nov 2013 17:28:33 +0530 [thread overview]
Message-ID: <528DF569.4070501@ti.com> (raw)
In-Reply-To: <CALtMJECrCxtPY_dfy832-EsgXCNB6u+mW0w_yVDnDWMo5Up-NQ@mail.gmail.com>
On Thursday 21 November 2013 05:07 PM, Andreas Fenkart wrote:
> 2013/11/19 Tony Lindgren <tony@atomide.com>:
>> * Balaji T K <balajitk@ti.com> [131119 08:00]:
>>> On Tuesday 19 November 2013 09:19 PM, Tony Lindgren wrote:
>>>> * Balaji T K <balajitk@ti.com> [131118 08:23]:
>>>>>
>>>>> few params were passed via platform data in non-DT case and never cached
>>>>> in internal data structure, with non-dt support going away soon, I am
>>>>> planning to cleanup pdata usage in the driver when it gets to DT only support.
>>>>
>>>> The issue of pdata tinkering needs to be fixed first as it will cause nasty
>>>> issues when the module is reprobed.
>>>
>>> Agree that pdata usage needs to be fixed, but currently module
>>> reprobe is working fine.
>>
>> OK. The sdio_irq should be just set in struct omap_hsmmc_host instead.
agree, sdio_irq should be cached in struct omap_hsmmc_host
>>
>>>> Note that it's still possible to pass platform data in the device tree case
>>>> as auxdata. And we probably need to do that for the pbias register handling
>>>> until we have a driver for that.
>>>>
>>>> Talking of the pbias driver, any news on it?
>>>
>>> Almost there, will post the patches soon.
>>> Do you have a branch with updated board files, for me to base pbias patches on
>>> else I can base the patches on rc1 too.
>>
>> Great. How about make the pbias driver DT only? Let's not touch the board-*.c
>> files any longer as those will be going away for v3.14. We can probably keep
>> the old callback support in place also, and then remove it for v3.15.
>
> Is there a dependency on the patches from Balaji or can the SDIO IRQ patches
> go in already?
>
Hi Andreas,
I could get sdio interrupt working on AM335x, will do more testing and get back
to you.
Pbias shouldn't have create any dependency. Just add sdio_irq to
struct omap_hsmmc_host as suggested by Tony.
Thanks and Regards,
Balaji T K
>>
>> And after that it would certainly make sense to rip out the platform data
>> fomr hsmmc driver just to get rid of the legacy support for multiplexing slots
>> that's not needed in this driver. That would allow replacing all mmc->slots[0]
>> accesses with something more standard.
>>
>
>
> rgds,
> Andi
>
next prev parent reply other threads:[~2013-11-21 11:58 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-18 7:53 [PATCH v3 0/3] mmc: omap_hsmmc: Enable SDIO IRQ Andreas Fenkart
2013-11-18 7:53 ` [PATCH v3 1/3] " Andreas Fenkart
2013-11-18 7:53 ` [PATCH v3 2/3] mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x Andreas Fenkart
2013-11-18 10:03 ` Michael Trimarchi
2013-11-18 12:15 ` Andreas Fenkart
2013-11-18 16:22 ` Balaji T K
2013-11-19 15:49 ` Tony Lindgren
2013-11-19 15:59 ` Balaji T K
2013-11-19 16:19 ` Tony Lindgren
2013-11-21 11:37 ` Andreas Fenkart
2013-11-21 11:58 ` Balaji T K [this message]
2014-06-30 12:23 ` Andreas Fenkart
2013-11-19 13:18 ` Ulf Hansson
2013-11-19 13:37 ` Andreas Fenkart
2013-11-19 15:09 ` Ulf Hansson
2013-11-18 7:54 ` [PATCH v3 3/3] mmc: omap_hsmmc: Extend debugfs for SDIO IRQ, GPIO and pinmux Andreas Fenkart
-- strict thread matches above, loose matches on Subject: below --
2013-11-25 13:26 [PATCH v3 0/3] mmc: omap_hsmmc: Enable SDIO IRQ Andreas Fenkart
2013-11-25 13:26 ` [PATCH v3 2/3] mmc: omap_hsmmc: Pin remux workaround to support SDIO interrupt on AM335x Andreas Fenkart
2013-11-25 22:46 ` Tony Lindgren
2013-11-26 1:16 ` Felipe Balbi
2013-11-26 18:06 ` Tony Lindgren
2013-11-27 16:59 ` Balaji T K
2013-11-27 17:04 ` Tony Lindgren
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=528DF569.4070501@ti.com \
--to=balajitk@ti.com \
--cc=afenkart@gmail.com \
--cc=balbi@ti.com \
--cc=cjb@laptop.org \
--cc=grant.likely@secretlab.ca \
--cc=linux-doc@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=michael@amarulasolutions.com \
--cc=tony@atomide.com \
--cc=zonque@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).