]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: Add SDIO function devicetree subnode parsing
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 30 Jun 2014 09:07:25 +0000 (11:07 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:26 +0000 (09:56 +0100)
commit25185f3f31c924eecc6ff4f55f7acceabf24de11
tree240b6d8ac9db0e2688938926f545b43335808d9f
parenta31edf1e582111f05fb8315da9dd118c837bede5
mmc: Add SDIO function devicetree subnode parsing

This adds SDIO devicetree subnode parsing to the mmc core. While
SDIO devices are runtime probable they sometimes need nonprobable
additional information on embedded systems, like an additional gpio
interrupt or a clock. This patch makes it possible to supply this
information from the devicetree. SDIO drivers will find a pointer
to the devicenode in their devices of_node pointer.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
[hdegoede@redhat.com: Misc. cleanups]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/bus.c
drivers/mmc/core/core.c
drivers/mmc/core/core.h
drivers/mmc/core/sdio_bus.c