Message ID | 20240905152951.83481-2-theo.debrouwere@faytech.de (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/2] pinctrl: meson-g12a: add pwm_d option | expand |
Hi Theo, On Thu, Sep 5, 2024 at 6:46 PM Theo Debrouwere <theo.debrouwere@gmail.com> wrote: > > Add PWM_D pin muxing for GPIOA_4. Typically we add the pins to the .dtsi once a (new) board.dts requires them. Are you planning to send other patches that require this new pin definition? Driver support is independent of this (as we'd otherwise end up in a long patch chain of boards - requires pins - requires driver changes - every time we want to support a new mux configuration). Best regards, Martin
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index b7baea4c33e3..0f7b6ed47ca2 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -843,6 +843,14 @@ mux { }; }; + pwm_d_a4_pins: pwm-d-a4 { + mux { + groups = "pwm_d_a4"; + function = "pwm_d"; + bias-disable; + }; + }; + pwm_e_pins: pwm-e { mux { groups = "pwm_e";
Add PWM_D pin muxing for GPIOA_4. Signed-off-by: Theo Debrouwere <theo.debrouwere@faytech.de> --- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)