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

2015-05-05 Thread Javier Martinez Canillas
Hello Lee, On 05/05/2015 12:53 PM, Lee Jones wrote: > On Tue, 05 May 2015, Javier Martinez Canillas wrote: >> >> }; >> >> >> >> @@ -150,6 +141,15 @@ int cros_ec_register(struct cros_ec_device *ec_dev) >> >> return err; >> >> } >> >> >> >> +#ifdef CONFIG_OF >> >> + err = of_platfor

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

2015-05-05 Thread Lee Jones
On Tue, 05 May 2015, Javier Martinez Canillas wrote: > Hello Lee, > > On 04/29/2015 12:39 PM, Lee Jones wrote: > > On Mon, 06 Apr 2015, Javier Martinez Canillas wrote: > > > >> From: Todd Broch > >> > >> If the EC device tree node has sub-nodes, try to instantiate them as > >> MFD sub-devices.

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

2015-05-05 Thread Javier Martinez Canillas
Hello Lee, On 04/29/2015 12:39 PM, Lee Jones wrote: > On Mon, 06 Apr 2015, 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-

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

2015-04-29 Thread Lee Jones
On Mon, 06 Apr 2015, 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

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

2015-04-25 Thread Gwendal Grignou
Reviewed-by: Gwendal Grignou Tested-by: Gwendal Grignou On Mon, Apr 6, 2015 at 9:15 AM, 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. > > Si

[RESEND PATCH 3/8] mfd: cros_ec: Instantiate sub-devices from device tree

2015-04-06 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 | 22 +++--- 1 file chang