]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mfd: cros_ec: Instantiate sub-devices from device tree
authorTodd Broch <tbroch@chromium.org>
Wed, 20 May 2015 09:31:28 +0000 (11:31 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 15 Jun 2015 12:18:18 +0000 (13:18 +0100)
commitbb03ffb96c72418d06e75c7b74ea62e04c78d322
treee53ca2d2788e5455d7df52c78626f615ec842c11
parente7b707f96820161820a864d2ee81740a14da6b93
mfd: cros_ec: Instantiate sub-devices from device tree

If the EC device tree node has sub-nodes, try to instantiate them as
MFD sub-devices.  We can configure the EC features provided by the board.

Signed-off-by: Todd Broch <tbroch@chromium.org>
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec.c