Re: [PATCH] arm64: dts: meson-s4: include meson-s4-gpio.h

From: Neil Armstrong
Date: Mon Aug 29 2022 - 03:41:38 EST


On 26/08/2022 13:32, Huqiang Qin wrote:
Hi Krzysztof,

On 2022/8/25 20:02, Krzysztof Kozlowski wrote:
Why? We can see what you did here, but commit msg should explain why you
do it...

Sorry, I didn't describe this commit message clearly.

In the future, meson-s4.dtsi will have some nodes that need
to use the meson-s4-gpio.h file.

e.g.
    (1) Bluetooth enable pin:
        bt_en-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
    (2) Audio mute pin:
        spk_mute-gpios = <&gpio GPIOH_8 GPIO_ACTIVE_LOW>;
    (3) ...

So, this patch was born.

We understand, but since the Upstream linux codebase want to avoid dead code
as much as possible, please defer this patch when node will actually use these gpio defines.

Neil


Best regards,
Huqiang