Re: [RESEND PATCH 6/7] mfd: cros_ec: Instantiate sub-devices from device tree

2014-08-22 Thread Javier Martinez Canillas
Hello Lee, On 08/21/2014 04:25 PM, Lee Jones wrote: >> >> static const struct mfd_cell cros_devs[] = { >> -{ >> -.name = "cros-ec-keyb", >> -.id = 1, >> -.of_compatible = "google,cros-ec-keyb", >> -}, >> -{ >> -.name = "cros-ec-i2c-tun

Re: [RESEND PATCH 6/7] mfd: cros_ec: Instantiate sub-devices from device tree

2014-08-21 Thread Lee Jones
On Wed, 20 Aug 2014, Javier Martinez Canillas wrote: > From: Todd Broch > > 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 > Signed-off-by: Javier Martinez Canillas

[RESEND PATCH 6/7] mfd: cros_ec: Instantiate sub-devices from device tree

2014-08-20 Thread Javier Martinez Canillas
From: Todd Broch 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 Signed-off-by: Javier Martinez Canillas --- drivers/mfd/cros_ec.c | 40 ++--

Re: [PATCH 6/7] mfd: cros_ec: Instantiate sub-devices from device tree

2014-07-29 Thread Javier Martinez Canillas
Hello Andreas, On 07/29/2014 02:34 PM, Andreas Färber wrote: > Hi Javier, > > Am 28.07.2014 14:19, schrieb Javier Martinez Canillas: >> From: Todd Broch >> >> 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 t

Re: [PATCH 6/7] mfd: cros_ec: Instantiate sub-devices from device tree

2014-07-29 Thread Andreas Färber
Hi Javier, Am 28.07.2014 14:19, schrieb Javier Martinez Canillas: > From: Todd Broch > > 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 This is provoking the blunt q

[PATCH 6/7] mfd: cros_ec: Instantiate sub-devices from device tree

2014-07-28 Thread Javier Martinez Canillas
From: Todd Broch 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 --- drivers/mfd/cros_ec.c | 40 ++-- 1 file changed, 30 insertions(+), 1