Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1320494
| From | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/3] mmc: pwrseq: convert to proper driver |
| Date | 2016-01-28 11:10 +0100 |
| Message-ID | <qVRGy-1R3-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi Ulf, This patchset aims at converting the pwrseq devices to proper in 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 and clocks. This solution works much better and would make pwrseq to reuse all the driver setup done in the common code. Changes sinc v1: - Fixed issue while building as module. 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/Kconfig | 2 + drivers/mmc/core/Kconfig | 7 +++ drivers/mmc/core/Makefile | 4 +- drivers/mmc/core/pwrseq.c | 115 +++++++++++++++++++++------------------ drivers/mmc/core/pwrseq.h | 19 +++++-- drivers/mmc/core/pwrseq_emmc.c | 89 +++++++++++++++++++++--------- drivers/mmc/core/pwrseq_simple.c | 99 ++++++++++++++++++++++----------- 7 files changed, 217 insertions(+), 118 deletions(-) -- 1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/3] mmc: pwrseq: convert to proper driver Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2016-01-28 11:10 +0100 [PATCH v2 1/3] mmc: pwrseq_simple: add to_pwrseq_simple() macro Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2016-01-28 11:10 +0100 [PATCH v2 3/3] mmc: pwrseq: convert to proper platform device Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2016-01-28 11:10 +0100
csiph-web