2021-12-17 16:24:57

by Nícolas F. R. A. Prado

[permalink] [raw]
Subject: [PATCH] arm64: defconfig: Enable MT6397 RTC

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 <[email protected]>
---
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



2021-12-29 19:54:09

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH] arm64: defconfig: Enable MT6397 RTC



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 <[email protected]>
> ---
> 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
>