Add RTC support to iwg20d
Subsystems (3)
cover Add RTC support to iwg20d
This patch series aims at adding RTC support to the iwg20d board from iWave.
The commits from this series backport board specific DT support and defconfig support.
Biju Das (3):
ARM: dts: iwg20d-q7: Add RTC support
ARM: shmobile: Enable BQ32000 rtc in shmobile_defconfig
ARM: multi_v7_defconfig: Enable BQ32000 RTC driver
arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 18 ++++++++++++++++++ arch/arm/configs/multi_v7_defconfig | 1 + arch/arm/configs/shmobile_defconfig | 1 + 3 files changed, 20 insertions(+)
Signature · 1 line
2.7.4
PATCH 1/3 ARM: dts: iwg20d-q7: Add RTC support
From: Biju Das <[email protected]>
Define the iWave RainboW-G20D-Qseven board dependent part of the RTC device node.
--- arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
arch/arm/boot/dts/r8a7743-iwg20d-q7.dts +18 -0
@@ -22,6 +22,11 @@ }; &pfc { + i2c2_pins: i2c2 { + groups = "i2c2"; + function = "i2c2"; + }; + scif0_pins: scif0 { groups = "scif0_data_d"; function = "scif0";
@@ -54,3 +59,16 @@ micrel,led-mode = <1>; }; }; + +&i2c2 { + pinctrl-0 = <&i2c2_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; + + rtc at 68 { + compatible = "bq32000"; + reg = <0x68>; + }; +};
Signature · 1 line
2.7.4
PATCH 2/3 ARM: shmobile: Enable BQ32000 rtc in shmobile_defconfig
In reply to Fabrizio CastroFrom: Biju Das <[email protected]>
The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000). To increase hardware support enable the driver in the shmobile_defconfig multiplatform configuration.
--- arch/arm/configs/shmobile_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/shmobile_defconfig +1 -0
@@ -178,6 +178,7 @@ CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_RS5C372=y +CONFIG_RTC_DRV_BQ32K=y CONFIG_RTC_DRV_S35390A=y CONFIG_RTC_DRV_RX8581=y CONFIG_DMADEVICES=y
Signature · 1 line
2.7.4
PATCH 3/3 ARM: multi_v7_defconfig: Enable BQ32000 RTC driver
In reply to Fabrizio CastroFrom: Biju Das <[email protected]>
The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000). To increase hardware support enable the driver in the multi_v7_defconfig multiplatform configuration.
--- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/multi_v7_defconfig +1 -0
@@ -607,6 +607,7 @@ CONFIG_RTC_DRV_MAX77686=y CONFIG_RTC_DRV_RK808=m CONFIG_RTC_DRV_MAX77802=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
2.7.4
cover Add RTC support to iwg20d
In reply to Fabrizio CastroQuoted 10 lines
From: Fabrizio Castro [mailto:fabrizio.castro at bp.renesas.com]
Sent: 19 February 2018 18:46
To: Ben Hutchings <[email protected]>
Cc: cip-dev at lists.cip-project.org; Chris Paterson <[email protected]>; Biju Das <[email protected]>; Fabrizio Castro <[email protected]>
Subject: [cip-dev][PATCH 0/3] Add RTC support to iwg20d
Quoted 8 lines
This patch series aims at adding RTC support to the iwg20d board from iWave. The commits from this series backport board specific DT support and defconfig support.
Biju Das (3):
ARM: dts: iwg20d-q7: Add RTC support
ARM: shmobile: Enable BQ32000 rtc inshmobile_defconfig
ARM:multi_v7_defconfig: Enable BQ32000 RTC driver
Series looks okay to me.
Quoted 8 lines
arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 18 ++++++++++++++++++ arch/arm/configs/multi_v7_defconfig | 1 + arch/arm/configs/shmobile_defconfig | 1 + 3 files changed, 20 insertions(+)--
2.7.4
Ben Hutchings
Appliedcover Add RTC support to iwg20d
In reply to Fabrizio CastroQuoted 4 lines · Fabrizio Castro
This patch series aims at adding RTC support to the iwg20d board from iWave.
The commits from this series backport board specific DT support and defconfig support.
Applied. Sorry for the delay.
Ben
Quoted 10 lines
Biju Das (3):
? ARM: dts: iwg20d-q7: Add RTC support
? ARM: shmobile: Enable BQ32000 rtc inshmobile_defconfig? ARM:multi_v7_defconfig: Enable BQ32000 RTC driver?arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 18 ++++++++++++++++++ ?arch/arm/configs/multi_v7_defconfig?????|??1 + ?arch/arm/configs/shmobile_defconfig?????|??1 +?3 files changed, 20 insertions(+)
Signature · 2 lines
Ben Hutchings Software Developer, Codethink Ltd.