arm64: defconfig: Add Meson DDR PMU as module

Message ID 20221204043530.1673752-1-jiucheng.xu@amlogic.com
State New
Headers
Series arm64: defconfig: Add Meson DDR PMU as module |

Commit Message

Jiucheng Xu Dec. 4, 2022, 4:35 a.m. UTC
  Add Meson DDR PMU to defconfig so that build errors are caught.

Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Neil Armstrong Dec. 5, 2022, 8:40 a.m. UTC | #1
+CC linux-amlogic@lists.infradead.org

On 04/12/2022 05:35, Jiucheng Xu wrote:
> Add Meson DDR PMU to defconfig so that build errors are caught.
> 
> Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
> ---
>   arch/arm64/configs/defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 0b6af3348e79..f2324b54a6ba 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -1265,6 +1265,7 @@ CONFIG_ARM_DMC620_PMU=m
>   CONFIG_QCOM_L2_PMU=y
>   CONFIG_QCOM_L3_PMU=y
>   CONFIG_HISI_PMU=y
> +CONFIG_MESON_DDR_PMU=m
>   CONFIG_NVMEM_IMX_OCOTP=y
>   CONFIG_NVMEM_IMX_OCOTP_SCU=y
>   CONFIG_NVMEM_MTK_EFUSE=y
  
Chris Healy Dec. 10, 2022, 8:47 p.m. UTC | #2
On Mon, Dec 5, 2022 at 12:40 AM Neil Armstrong
<neil.armstrong@linaro.org> wrote:
>
> +CC linux-amlogic@lists.infradead.org
>
> On 04/12/2022 05:35, Jiucheng Xu wrote:
> > Add Meson DDR PMU to defconfig so that build errors are caught.
> >
> > Signed-off-by: Jiucheng Xu <jiucheng.xu@amlogic.com>
> > ---
> >   arch/arm64/configs/defconfig | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > index 0b6af3348e79..f2324b54a6ba 100644
> > --- a/arch/arm64/configs/defconfig
> > +++ b/arch/arm64/configs/defconfig
> > @@ -1265,6 +1265,7 @@ CONFIG_ARM_DMC620_PMU=m
> >   CONFIG_QCOM_L2_PMU=y
> >   CONFIG_QCOM_L3_PMU=y
> >   CONFIG_HISI_PMU=y
> > +CONFIG_MESON_DDR_PMU=m

Given that the other vendor specific PMU counter drivers are being
configured as built-in, perhaps it makes more sense to do the same
with the new MESON DDR PMU driver and also set it to "y"?

> >   CONFIG_NVMEM_IMX_OCOTP=y
> >   CONFIG_NVMEM_IMX_OCOTP_SCU=y
> >   CONFIG_NVMEM_MTK_EFUSE=y
>
  

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 0b6af3348e79..f2324b54a6ba 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1265,6 +1265,7 @@  CONFIG_ARM_DMC620_PMU=m
 CONFIG_QCOM_L2_PMU=y
 CONFIG_QCOM_L3_PMU=y
 CONFIG_HISI_PMU=y
+CONFIG_MESON_DDR_PMU=m
 CONFIG_NVMEM_IMX_OCOTP=y
 CONFIG_NVMEM_IMX_OCOTP_SCU=y
 CONFIG_NVMEM_MTK_EFUSE=y