diff mbox

[07/12] rtc: st: Update IP layout information to include Clocksource

Message ID 1431005924-21777-8-git-send-email-lee.jones@linaro.org
State Not Applicable
Headers show

Commit Message

Lee Jones May 7, 2015, 1:38 p.m. UTC
Initial submission adding support for this IP only included Watchdog and
the Real-Time Clock.  Now the third (and final) device is enabled this
trivial patch is required to update the comment in the RTC driver to
encompass Clocksource.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/rtc/rtc-st-lpc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexandre Belloni May 9, 2015, 1:58 p.m. UTC | #1
On 07/05/2015 at 14:38:39 +0100, Lee Jones wrote :
> Initial submission adding support for this IP only included Watchdog and
> the Real-Time Clock.  Now the third (and final) device is enabled this
> trivial patch is required to update the comment in the RTC driver to
> encompass Clocksource.
> 
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

I'm guessing this will go through the mfd tree along with the driver?

> ---
>  drivers/rtc/rtc-st-lpc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/rtc/rtc-st-lpc.c b/drivers/rtc/rtc-st-lpc.c
> index 3f9d0ac..74c0a33 100644
> --- a/drivers/rtc/rtc-st-lpc.c
> +++ b/drivers/rtc/rtc-st-lpc.c
> @@ -208,7 +208,7 @@ static int st_rtc_probe(struct platform_device *pdev)
>  		return -EINVAL;
>  	}
>  
> -	/* LPC can either run in RTC or WDT mode */
> +	/* LPC can either run as a Clocksource or in RTC or WDT mode */
>  	if (mode != ST_LPC_MODE_RTC)
>  		return -ENODEV;
>  
> -- 
> 1.9.1
> 
> -- 
> -- 
> You received this message because you are subscribed to "rtc-linux".
> Membership options at http://groups.google.com/group/rtc-linux .
> Please read http://groups.google.com/group/rtc-linux/web/checklist
> before submitting a driver.
> --- 
> You received this message because you are subscribed to the Google Groups "rtc-linux" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Lee Jones May 11, 2015, 10:54 a.m. UTC | #2
On Sat, 09 May 2015, Alexandre Belloni wrote:

> On 07/05/2015 at 14:38:39 +0100, Lee Jones wrote :
> > Initial submission adding support for this IP only included Watchdog and
> > the Real-Time Clock.  Now the third (and final) device is enabled this
> > trivial patch is required to update the comment in the RTC driver to
> > encompass Clocksource.
> > 
> > Signed-off-by: Lee Jones <lee.jones@linaro.org>
> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

Thanks.

> I'm guessing this will go through the mfd tree along with the driver?

Yes, that is the plan, if that's okay with you?

> > ---
> >  drivers/rtc/rtc-st-lpc.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/rtc/rtc-st-lpc.c b/drivers/rtc/rtc-st-lpc.c
> > index 3f9d0ac..74c0a33 100644
> > --- a/drivers/rtc/rtc-st-lpc.c
> > +++ b/drivers/rtc/rtc-st-lpc.c
> > @@ -208,7 +208,7 @@ static int st_rtc_probe(struct platform_device *pdev)
> >  		return -EINVAL;
> >  	}
> >  
> > -	/* LPC can either run in RTC or WDT mode */
> > +	/* LPC can either run as a Clocksource or in RTC or WDT mode */
> >  	if (mode != ST_LPC_MODE_RTC)
> >  		return -ENODEV;
> >  
>
Alexandre Belloni May 11, 2015, 11:03 a.m. UTC | #3
On 11/05/2015 at 11:54:33 +0100, Lee Jones wrote :
> On Sat, 09 May 2015, Alexandre Belloni wrote:
> > I'm guessing this will go through the mfd tree along with the driver?
> 
> Yes, that is the plan, if that's okay with you?
> 

Sure!
Lee Jones May 11, 2015, 11:52 a.m. UTC | #4
On Mon, 11 May 2015, Alexandre Belloni wrote:
> On 11/05/2015 at 11:54:33 +0100, Lee Jones wrote :
> > On Sat, 09 May 2015, Alexandre Belloni wrote:
> > > I'm guessing this will go through the mfd tree along with the driver?
> > 
> > Yes, that is the plan, if that's okay with you?
> 
> Sure!

Perfect.  Thanks Alexandre.
diff mbox

Patch

diff --git a/drivers/rtc/rtc-st-lpc.c b/drivers/rtc/rtc-st-lpc.c
index 3f9d0ac..74c0a33 100644
--- a/drivers/rtc/rtc-st-lpc.c
+++ b/drivers/rtc/rtc-st-lpc.c
@@ -208,7 +208,7 @@  static int st_rtc_probe(struct platform_device *pdev)
 		return -EINVAL;
 	}
 
-	/* LPC can either run in RTC or WDT mode */
+	/* LPC can either run as a Clocksource or in RTC or WDT mode */
 	if (mode != ST_LPC_MODE_RTC)
 		return -ENODEV;