Re: [PATCH 3/3] arm64: dts: nuvoton: Add initial support for MA35D1

From: Arnd Bergmann
Date: Wed Apr 06 2022 - 07:21:26 EST


On Wed, Apr 6, 2022 at 4:58 AM Jacky Huang <ychuang3@xxxxxxxxxxx> wrote:
> On 2022/3/7 下午 06:25, Krzysztof Kozlowski wrote:
> > On 07/03/2022 10:19, Jacky Huang wrote:
>
> I would add the following to end of arch/arm64/Kconfig.platforms, and
> add the
> modification to this patch series.
>
> config ARCH_MA35D1
> bool "Nuvoton MA35D1 SOC Family"
> select PINCTRL
> select PINCTRL_MA35D1
> select PM
> select GPIOLIB
> select SOC_BUS
> select VIDEOMODE_HELPERS
> select FB_MODE_HELPERS
> help
> This enables support for Nuvoton MA35D1 SOC Family.

Selecting SOC_BUS and the gpio/pinctrl stuff is ok, but please don't
select the video helpers from the platform config, those should not
be essential for building a kernel.

Arnd