]> git.baikalelectronics.ru Git - kernel.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)
commit48437df345359a0b15694c888ee5d297e3d54da6
treee53ca2d2788e5455d7df52c78626f615ec842c11
parent4bfadc54f8e93ca770b943adaa98bb6d81954cdf
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