* [cip-dev] [PATCH 1/3] ARM: dts: iwg20d-q7: Add RTC support
2018-02-19 18:45 [cip-dev] [PATCH 0/3] Add RTC support to iwg20d Fabrizio Castro
@ 2018-02-19 18:45 ` Fabrizio Castro
2018-02-19 18:45 ` [cip-dev] [PATCH 2/3] ARM: shmobile: Enable BQ32000 rtc in shmobile_defconfig Fabrizio Castro
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Fabrizio Castro @ 2018-02-19 18:45 UTC (permalink / raw)
To: cip-dev
From: Biju Das <biju.das@bp.renesas.com>
Define the iWave RainboW-G20D-Qseven board dependent part of the
RTC device node.
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit e0e63658c2f291e0672fdf96df1f9f2963a6a9f6)
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
arch/arm/boot/dts/r8a7743-iwg20d-q7.dts | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
index 081af01..f3b4890 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
+++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
@@ -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>;
+ };
+};
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread* [cip-dev] [PATCH 2/3] ARM: shmobile: Enable BQ32000 rtc in shmobile_defconfig
2018-02-19 18:45 [cip-dev] [PATCH 0/3] Add RTC support to iwg20d Fabrizio Castro
2018-02-19 18:45 ` [cip-dev] [PATCH 1/3] ARM: dts: iwg20d-q7: Add RTC support Fabrizio Castro
@ 2018-02-19 18:45 ` Fabrizio Castro
2018-02-19 18:45 ` [cip-dev] [PATCH 3/3] ARM: multi_v7_defconfig: Enable BQ32000 RTC driver Fabrizio Castro
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Fabrizio Castro @ 2018-02-19 18:45 UTC (permalink / raw)
To: cip-dev
From: Biju Das <biju.das@bp.renesas.com>
The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000).
To increase hardware support enable the driver in the
shmobile_defconfig multiplatform configuration.
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 0736aad1290d61bc3668f20253e1e1997ad8b3c1)
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
arch/arm/configs/shmobile_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/shmobile_defconfig b/arch/arm/configs/shmobile_defconfig
index e8a2d0b..2e79332 100644
--- a/arch/arm/configs/shmobile_defconfig
+++ b/arch/arm/configs/shmobile_defconfig
@@ -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
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread* [cip-dev] [PATCH 3/3] ARM: multi_v7_defconfig: Enable BQ32000 RTC driver
2018-02-19 18:45 [cip-dev] [PATCH 0/3] Add RTC support to iwg20d Fabrizio Castro
2018-02-19 18:45 ` [cip-dev] [PATCH 1/3] ARM: dts: iwg20d-q7: Add RTC support Fabrizio Castro
2018-02-19 18:45 ` [cip-dev] [PATCH 2/3] ARM: shmobile: Enable BQ32000 rtc in shmobile_defconfig Fabrizio Castro
@ 2018-02-19 18:45 ` Fabrizio Castro
2018-02-20 9:21 ` [cip-dev] [PATCH 0/3] Add RTC support to iwg20d Chris Paterson
2018-03-07 17:42 ` Ben Hutchings
4 siblings, 0 replies; 6+ messages in thread
From: Fabrizio Castro @ 2018-02-19 18:45 UTC (permalink / raw)
To: cip-dev
From: Biju Das <biju.das@bp.renesas.com>
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.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 545dc83ed09b5c04f663b766a92cbc8bb02c5f15)
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
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 f1ba3fb..ba520f6 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -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
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [cip-dev] [PATCH 0/3] Add RTC support to iwg20d
2018-02-19 18:45 [cip-dev] [PATCH 0/3] Add RTC support to iwg20d Fabrizio Castro
` (2 preceding siblings ...)
2018-02-19 18:45 ` [cip-dev] [PATCH 3/3] ARM: multi_v7_defconfig: Enable BQ32000 RTC driver Fabrizio Castro
@ 2018-02-20 9:21 ` Chris Paterson
2018-03-07 17:42 ` Ben Hutchings
4 siblings, 0 replies; 6+ messages in thread
From: Chris Paterson @ 2018-02-20 9:21 UTC (permalink / raw)
To: cip-dev
> From: Fabrizio Castro [mailto:fabrizio.castro at bp.renesas.com]
> Sent: 19 February 2018 18:46
> To: Ben Hutchings <ben.hutchings@codethink.co.uk>
> Cc: cip-dev at lists.cip-project.org; Chris Paterson
> <Chris.Paterson2@renesas.com>; Biju Das <biju.das@bp.renesas.com>;
> Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> Subject: [cip-dev][PATCH 0/3] 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
Series looks okay to me.
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
>
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread* [cip-dev] [PATCH 0/3] Add RTC support to iwg20d
2018-02-19 18:45 [cip-dev] [PATCH 0/3] Add RTC support to iwg20d Fabrizio Castro
` (3 preceding siblings ...)
2018-02-20 9:21 ` [cip-dev] [PATCH 0/3] Add RTC support to iwg20d Chris Paterson
@ 2018-03-07 17:42 ` Ben Hutchings
4 siblings, 0 replies; 6+ messages in thread
From: Ben Hutchings @ 2018-03-07 17:42 UTC (permalink / raw)
To: cip-dev
On Mon, 2018-02-19 at 18:45 +0000, Fabrizio Castro wrote:
> 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
> 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(+)
>
--
Ben Hutchings
Software Developer, Codethink Ltd.
^ permalink raw reply [flat|nested] 6+ messages in thread