mmc: pwrseq: Initial support for the simple MMC power sequence provider
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 5 Dec 2014 13:36:58 +0000 (14:36 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 28 Jan 2015 11:32:07 +0000 (12:32 +0100)
commit8c96f89c62ecc8334d06820bff62ecf81be97c2b
tree8feac978c3df53147199f59b5fa7976de5218a0e
parent0e6d633274db7b4db14a1194163b4d31d37b261f
mmc: pwrseq: Initial support for the simple MMC power sequence provider

To add the core part for the MMC power sequence, let's start by adding
initial support for the simple MMC power sequence provider.

In this initial step, the MMC power sequence node are fetched and the
compatible string for the simple MMC power sequence provider are
verified.

At this point we don't parse the node for any properties, but instead
that will be handled from following patches. Since there are no
properties supported yet, let's just implement the ->alloc() and the
->free() callbacks.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
drivers/mmc/core/Makefile
drivers/mmc/core/pwrseq.c
drivers/mmc/core/pwrseq.h
drivers/mmc/core/pwrseq_simple.c [new file with mode: 0644]