mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
d97a1e5d7c
simple-pwrseq and emmc-pwrseq drivers rely on platform_device structure from of_find_device_by_node(), this works mostly. But, as there is no driver associated with this devices, cases like default/init pinctrl setup would never be performed by pwrseq. This becomes problem when the gpios used in pwrseq require pinctrl setup. Currently most of the common pinctrl setup is done in drivers/base/pinctrl.c by pinctrl_bind_pins(). There are two ways to solve this issue on either convert pwrseq drivers to a proper platform drivers or copy the exact code from pcintrl_bind_pins(). I prefer converting pwrseq to proper drivers so that other cases like setting up clks/parents from dt would also be possible. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
15 lines
424 B
Makefile
15 lines
424 B
Makefile
#
|
|
# Makefile for the kernel mmc core.
|
|
#
|
|
|
|
obj-$(CONFIG_MMC) += mmc_core.o
|
|
mmc_core-y := core.o bus.o host.o \
|
|
mmc.o mmc_ops.o sd.o sd_ops.o \
|
|
sdio.o sdio_ops.o sdio_bus.o \
|
|
sdio_cis.o sdio_io.o sdio_irq.o \
|
|
quirks.o slot-gpio.o
|
|
mmc_core-$(CONFIG_OF) += pwrseq.o
|
|
obj-$(CONFIG_PWRSEQ_SIMPLE) += pwrseq_simple.o
|
|
obj-$(CONFIG_PWRSEQ_EMMC) += pwrseq_emmc.o
|
|
mmc_core-$(CONFIG_DEBUG_FS) += debugfs.o
|