ARM: imx_v6_v7_defconfig: Enable RTC PCF8523 support
Subsystems (3)
Fabio Estevam
reviewerPATCH 1/2 ARM: imx_v6_v7_defconfig: Enable RTC PCF8523 support
From: Fabio Estevam <[email protected]>
RTC PCF8523 is used on some mx6 cubox-i boards.
Let it work by default.
Reported-by Rick Thomas <[email protected]>
Signed-off-by Fabio Estevam <[email protected]>
--- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/imx_v6_v7_defconfig +1 -0
@@ -283,6 +283,7 @@ CONFIG_RTC_CLASS=y CONFIG_RTC_INTF_DEV_UIE_EMUL=y CONFIG_RTC_DRV_DS1307=y CONFIG_RTC_DRV_ISL1208=y +CONFIG_RTC_DRV_PCF8523=y CONFIG_RTC_DRV_PCF8563=y CONFIG_RTC_DRV_MC13XXX=y CONFIG_RTC_DRV_MXC=y
Signature · 1 line
1.9.1
Fabio Estevam
reviewerPATCH 2/2 ARM: dts: imx6q-cubox-i: Disable the internal RTC
From: Fabio Estevam <[email protected]>
The internal SNVS RTC on imx6q-cubox-i is not battery backed and there is a PCF8523 that is battery backed on CuBox-i2eX and CuBox-i4Pro models.
Disable the internal RTC in favour of the battery backed one, so that we can have a valid clock setting right after boot.
Reported-by Rick Thomas <[email protected]>
Signed-off-by Fabio Estevam <[email protected]>
--- arch/arm/boot/dts/imx6q-cubox-i.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/imx6q-cubox-i.dts +4 -0
@@ -56,3 +56,7 @@ fsl,transmit-atten-16ths = <9>; fsl,no-spread-spectrum; }; + +&snvs_rtc { + status = "disabled"; +};
Signature · 1 line
1.9.1