[PATCH] arm64: defconfig: Enable MT6397 RTC

Nícolas F. R. A. Prado posted 1 patch 2 years, 9 months ago
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] arm64: defconfig: Enable MT6397 RTC
Posted by Nícolas F. R. A. Prado 2 years, 9 months ago
The MT6397 RTC is part of the Mediatek MT6397 PMIC, which is present in
the mt8173-elm base board.

The driver for the PMIC is already enabled through CONFIG_MFD_MT6397, so
enable just the driver for the RTC.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index f2e2b9bdd702..76bd34223277 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -927,6 +927,7 @@ CONFIG_RTC_DRV_TEGRA=y
 CONFIG_RTC_DRV_SNVS=m
 CONFIG_RTC_DRV_IMX_SC=m
 CONFIG_RTC_DRV_XGENE=y
+CONFIG_RTC_DRV_MT6397=m
 CONFIG_DMADEVICES=y
 CONFIG_DMA_BCM2835=y
 CONFIG_DMA_SUN6I=m
-- 
2.34.1

Re: [PATCH] arm64: defconfig: Enable MT6397 RTC
Posted by Matthias Brugger 2 years, 8 months ago

On 17/12/2021 17:24, Nícolas F. R. A. Prado wrote:
> The MT6397 RTC is part of the Mediatek MT6397 PMIC, which is present in
> the mt8173-elm base board.
> 
> The driver for the PMIC is already enabled through CONFIG_MFD_MT6397, so
> enable just the driver for the RTC.
> 

Applied to v5.17-tmp/defconfig

Thanks

> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> ---
>   arch/arm64/configs/defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index f2e2b9bdd702..76bd34223277 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -927,6 +927,7 @@ CONFIG_RTC_DRV_TEGRA=y
>   CONFIG_RTC_DRV_SNVS=m
>   CONFIG_RTC_DRV_IMX_SC=m
>   CONFIG_RTC_DRV_XGENE=y
> +CONFIG_RTC_DRV_MT6397=m
>   CONFIG_DMADEVICES=y
>   CONFIG_DMA_BCM2835=y
>   CONFIG_DMA_SUN6I=m
>