linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] mmc: pwrseq: convert to proper driver
@ 2016-01-20 10:45 Srinivas Kandagatla
  2016-01-20 10:46 ` [PATCH v1 1/3] mmc: pwrseq_simple: add to_pwrseq_simple() macro Srinivas Kandagatla
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Srinivas Kandagatla @ 2016-01-20 10:45 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Ulf, 

This patchset aims at converting the pwrseq devices to proper in built drivers,
The issue is that on Qualcomm based platforms, most of the gpios require
a pinctrl setup. Existing pwrseq code does not do any kind of pinctrl setup.
So this makes the pwrseq unusable on those platfroms.

Convert the pwrseq to proper drivers so that they can reuse
common driver setup like pinctrl from drivers/base/pinctrl.c
This solution works much better and would make pwrseq to reuse 
all the driver setup done in the common code.


Changes since RFC:
	- Fixed issues reported by kbuild test robot.
	- return EPROBE_DEFER from *_alloc() suggested by Ulf.

Thanks,
srini

Srinivas Kandagatla (3):
  mmc: pwrseq_simple: add to_pwrseq_simple() macro
  mmc: pwrseq_emmc: add to_pwrseq_emmc() macro
  mmc: pwrseq: convert to proper platform device

 drivers/mmc/core/pwrseq.c        | 112 +++++++++++++++++++++------------------
 drivers/mmc/core/pwrseq.h        |  13 +++--
 drivers/mmc/core/pwrseq_emmc.c   |  74 ++++++++++++++++----------
 drivers/mmc/core/pwrseq_simple.c |  86 ++++++++++++++++++------------
 4 files changed, 168 insertions(+), 117 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-01-20 16:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-20 10:45 [PATCH v1 0/3] mmc: pwrseq: convert to proper driver Srinivas Kandagatla
2016-01-20 10:46 ` [PATCH v1 1/3] mmc: pwrseq_simple: add to_pwrseq_simple() macro Srinivas Kandagatla
2016-01-20 10:46 ` [PATCH v1 2/3] mmc: pwrseq_emmc: add to_pwrseq_emmc() macro Srinivas Kandagatla
2016-01-20 10:46 ` [PATCH v1 3/3] mmc: pwrseq: convert to proper platform device Srinivas Kandagatla
2016-01-20 12:53   ` kbuild test robot
2016-01-20 14:12     ` Srinivas Kandagatla
2016-01-20 16:04   ` kbuild test robot

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).