Skip to contentSkip to conversation

ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

PATCH New Biju Das 2 participants 5 messages Aug 17, 2017 – Aug 21, 2017 Arm (32-bit)

lore
Share & tools
lore

Biju Das

author
#0 lore raw

PATCH 1/1 ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

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

---
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(+)
arch/arm/configs/multi_v7_defconfig +1 -0
index 18e1f80..02dc373 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

Quoted 17 lines · 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.

---
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(+)
arch/arm/configs/multi_v7_defconfig +0 -0
index 18e1f80..02dc373 100644

arch/arm/configs/multi_v7_defconfig CONFIG_RTC_DRV_MAX8997=m · line 769

Quoted 4 lines
arch/arm/configs/multi_v7_defconfig +1 -0
@@ -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)?

Quoted 6 lines
arch/arm/configs/multi_v7_defconfig +0 -0
 CONFIG_RTC_DRV_PALMAS=y
 CONFIG_RTC_DRV_ST_LPC=y
 CONFIG_RTC_DRV_TWL4030=y
Signature · 1 line
1.9.1
author
#2 lore raw

PATCH 1/1 ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

Quoted 26 lines

-----Original Message-----
From: Simon Horman [mailto:horms at verge.net.au]
Sent: 18 August 2017 09:06
To: Biju Das <[email protected]>
Cc: Russell King <[email protected]>; Magnus Damm <[email protected]>; Fabrizio Castro <[email protected]>; Chris Paterson <[email protected]>; linux-renesas-soc at vger.kernel.org; linux- arm-kernel at lists.infradead.org
Subject: Re: [PATCH ] ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

Quoted 12 lines · 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.

---
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(+)
Quoted 14 lines
Quoted 9 lines
arch/arm/configs/multi_v7_defconfig +0 -0
index 18e1f80..02dc373 100644
@@ -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.

Quoted 6 lines
Quoted 6 lines

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.

author
#3 lore raw

PATCH v2 1/1 ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

In reply to Simon Horman

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

---
v1->v2
Changed the enable option as module.

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(+)
arch/arm/configs/multi_v7_defconfig +1 -0
index 18e1f80..1ca9c91 100644
@@ -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=m
 CONFIG_RTC_DRV_PALMAS=y
 CONFIG_RTC_DRV_ST_LPC=y
 CONFIG_RTC_DRV_TWL4030=y
Signature · 1 line
1.9.1
Applied
#4 lore raw

PATCH v2 1/1 ARM: multi_v7_defconfig: Enable BQ32000 RTC driver

Quoted 5 lines · 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.

Thanks, applied for v4.15.