[PATCH] ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

2017-09-25 Thread Simon Horman
From: Biju Das 

The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000).
To increase hardware support enable the driver in the
multi_v7_defconfig multiplatform configuration.

Signed-off-by: Biju Das 
Signed-off-by: Simon Horman 
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig 
b/arch/arm/configs/multi_v7_defconfig
index 0cacdbf84a71..90f546766f38 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -767,6 +767,7 @@ CONFIG_RTC_DRV_MAX8997=m
 CONFIG_RTC_DRV_MAX77686=y
 CONFIG_RTC_DRV_RK808=m
 CONFIG_RTC_DRV_RS5C372=m
+CONFIG_RTC_DRV_BQ32K=m
 CONFIG_RTC_DRV_PALMAS=y
 CONFIG_RTC_DRV_ST_LPC=y
 CONFIG_RTC_DRV_TWL4030=y
-- 
2.1.4



RE: [PATCH ] ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

2017-08-18 Thread Biju Das


> -Original Message-
> From: Simon Horman [mailto:ho...@verge.net.au]
> Sent: 18 August 2017 09:06
> To: Biju Das <biju@bp.renesas.com>
> Cc: Russell King <li...@armlinux.org.uk>; Magnus Damm
> <magnus.d...@gmail.com>; Fabrizio Castro
> <fabrizio.cas...@bp.renesas.com>; Chris Paterson
> <chris.paters...@renesas.com>; linux-renesas-soc@vger.kernel.org; linux-
> arm-ker...@lists.infradead.org
> Subject: Re: [PATCH ] ARM: multi_v7_defconfig: Enable BQ32000 RTC driver
>
> On Thu, Aug 17, 2017 at 02:09:05PM +0100, Biju Das wrote:
> > The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000).
> > To increase hardware support enable the driver in the
> > multi_v7_defconfig multiplatform configuration.
> >
> > Signed-off-by: Biju Das <biju@bp.renesas.com>
> > ---
> > This patch is tested against linux-next tag next-20170817 as well as
> > renesas-dev tag renesas-devel-20170815-v4.13-rc5 .
> >
> >  arch/arm/configs/multi_v7_defconfig | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm/configs/multi_v7_defconfig
> > b/arch/arm/configs/multi_v7_defconfig
> > index 18e1f80..02dc373 100644
> > --- a/arch/arm/configs/multi_v7_defconfig
> > +++ b/arch/arm/configs/multi_v7_defconfig
> > @@ -766,6 +766,7 @@ CONFIG_RTC_DRV_MAX8997=m
> > CONFIG_RTC_DRV_MAX77686=y  CONFIG_RTC_DRV_RK808=m
> > CONFIG_RTC_DRV_RS5C372=m
> > +CONFIG_RTC_DRV_BQ32K=y
>
> My assumption is that multi_v7_defconfig produces a very large kernel image
> and that we should try to avoid making it larger by using modules where
> possible. Is it practical to enable this option as a module (m) rather than a 
> built-
> in (y)?

I have tested this as module and it works. OK I will send v2.


> >  CONFIG_RTC_DRV_PALMAS=y
> >  CONFIG_RTC_DRV_ST_LPC=y
> >  CONFIG_RTC_DRV_TWL4030=y
> > --
> > 1.9.1
> >



Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, 
Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered 
No. 04586709.


Re: [PATCH ] ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

2017-08-18 Thread Simon Horman
On Thu, Aug 17, 2017 at 02:09:05PM +0100, Biju Das wrote:
> The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000).
> To increase hardware support enable the driver in the
> multi_v7_defconfig multiplatform configuration.
> 
> Signed-off-by: Biju Das 
> ---
> This patch is tested against linux-next tag next-20170817 as well as 
> renesas-dev tag renesas-devel-20170815-v4.13-rc5 .
> 
>  arch/arm/configs/multi_v7_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/configs/multi_v7_defconfig 
> b/arch/arm/configs/multi_v7_defconfig
> index 18e1f80..02dc373 100644
> --- a/arch/arm/configs/multi_v7_defconfig
> +++ b/arch/arm/configs/multi_v7_defconfig
> @@ -766,6 +766,7 @@ CONFIG_RTC_DRV_MAX8997=m
>  CONFIG_RTC_DRV_MAX77686=y
>  CONFIG_RTC_DRV_RK808=m
>  CONFIG_RTC_DRV_RS5C372=m
> +CONFIG_RTC_DRV_BQ32K=y

My assumption is that multi_v7_defconfig produces a very large kernel image
and that we should try to avoid making it larger by using modules where
possible. Is it practical to enable this option as a module (m) rather than
a built-in (y)?

>  CONFIG_RTC_DRV_PALMAS=y
>  CONFIG_RTC_DRV_ST_LPC=y
>  CONFIG_RTC_DRV_TWL4030=y
> -- 
> 1.9.1
> 


[PATCH ] ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

2017-08-17 Thread Biju Das
The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000).
To increase hardware support enable the driver in the
multi_v7_defconfig multiplatform configuration.

Signed-off-by: Biju Das 
---
This patch is tested against linux-next tag next-20170817 as well as 
renesas-dev tag renesas-devel-20170815-v4.13-rc5 .

 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig 
b/arch/arm/configs/multi_v7_defconfig
index 18e1f80..02dc373 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -766,6 +766,7 @@ CONFIG_RTC_DRV_MAX8997=m
 CONFIG_RTC_DRV_MAX77686=y
 CONFIG_RTC_DRV_RK808=m
 CONFIG_RTC_DRV_RS5C372=m
+CONFIG_RTC_DRV_BQ32K=y
 CONFIG_RTC_DRV_PALMAS=y
 CONFIG_RTC_DRV_ST_LPC=y
 CONFIG_RTC_DRV_TWL4030=y
-- 
1.9.1