Devicetree
 help / color / mirror / Atom feed
From: Chancel Liu <chancel.liu@oss.nxp.com>
To: sashiko-reviews@lists.linux.dev
Cc: imx@lists.linux.dev, Frank.Li@kernel.org, robh@kernel.org,
	conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 06/17] arm64: dts: imx93-14x14-evk: Add board muxes to select between FlexCAN1 and MQS1
Date: Wed, 19 Aug 2026 18:09:08 +0800	[thread overview]
Message-ID: <ca9bade3-d4f3-437c-8507-42f61fd1b72b@oss.nxp.com> (raw)
In-Reply-To: <20260818031342.D8E8D1F000E9@smtp.kernel.org>

> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Medium] The amplifier enable GPIO for MQS1 is incorrectly modeled as a multiplexer to hijack the pinctrl subsystem.
> --
> 
> --- Patch [6]: [PATCH v2 06/17] arm64: dts: imx93-14x14-evk: Add board muxes to select between FlexCAN1 and MQS1 ---
> commit cd0b6d22bf4426d5f5510c7f3a258a4b50405fb8
> Author: Chancel Liu <chancel.liu@nxp.com>
> 
> arm64: dts: imx93-14x14-evk: Add board muxes to select between FlexCAN1 and MQS1
> 
> FlexCAN1 has pin conflict with MQS1. Add GPIO-controlled board muxes to
> route shared signals between FlexCAN1 and MQS1.
> 
>> diff --git a/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts b/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
>> index ec78c03f4788b..6dcfbca65cbd5 100644
>> --- a/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
>> +++ b/arch/arm64/boot/dts/freescale/imx93-14x14-evk.dts
>> @@ -37,6 +37,36 @@ chosen {
>>  		stdout-path = &lpuart1;
>>  	};
>>  
> [ ... ]
>> +	mqs1_amp_en_mux: mux-controller-1 {
>> +		compatible = "gpio-mux";
>> +		#mux-control-cells = <0>;
>> +		#mux-state-cells = <1>;
>> +		mux-gpios = <&pcal6524_2 1 GPIO_ACTIVE_HIGH>;
>> +	};
> 
> [Severity: Medium]
> Is it appropriate to use the gpio-mux binding to control an amplifier enable
> pin?
> 
> Device Tree generally describes the hardware structure. A hardware multiplexer
> routes signals between inputs and outputs, whereas an amplifier enable pin is
> usually a binary control.
> 
> Would it be better to model this with an audio-amplifier or regulator-fixed
> node so that standard power management can dynamically toggle the amplifier
> during audio playback and suspend, rather than statically evaluating it as a
> mux state?
>

That's a good point. I will try to model it with an audio-amplifier device.

Regards,
Chancel Liu


  reply	other threads:[~2026-08-19 10:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-18  3:01 [PATCH v2 00/17] arm64: dts: Add MQS1 sound card support for i.MX9 EVK platforms Chancel Liu
2026-08-18  3:01 ` [PATCH v2 01/17] arm64: dts: imx91_93_common: Add clock and sound-dai-cells properties for MQS Chancel Liu
2026-08-18  3:01 ` [PATCH v2 02/17] arm64: dts: imx91-11x11-evk: Add board muxes to select between PDM and MQS1 Chancel Liu
2026-08-18  3:01 ` [PATCH v2 03/17] arm64: dts: imx91-11x11-evk: Add MQS1 pinmux, clocks and mark conflicting devices Chancel Liu
2026-08-18  3:01 ` [PATCH v2 04/17] arm64: dts: imx93-11x11-evk: Add board muxes to select between PDM and MQS1 Chancel Liu
2026-08-18  3:01 ` [PATCH v2 05/17] arm64: dts: imx93-11x11-evk: Add MQS1 pinmux, clocks and mark conflicting devices Chancel Liu
2026-08-18  3:02 ` [PATCH v2 06/17] arm64: dts: imx93-14x14-evk: Add board muxes to select between FlexCAN1 and MQS1 Chancel Liu
2026-08-18  3:13   ` sashiko-bot
2026-08-19 10:09     ` Chancel Liu [this message]
2026-08-18  3:02 ` [PATCH v2 07/17] arm64: dts: imx93-14x14-evk: Add MQS1 pinmux, clocks and mark conflicting devices Chancel Liu
2026-08-18  3:02 ` [PATCH v2 08/17] arm64: dts: imx94: Add clock and sound-dai-cells properties for MQS1 Chancel Liu
2026-08-18  3:02 ` [PATCH v2 09/17] arm64: dts: imx943-evk: Add board muxes to select between CAN1/PDM and MQS1/MIC Chancel Liu
2026-08-18  3:02 ` [PATCH v2 10/17] arm64: dts: imx943-evk: Add MQS1 pinmux, clocks and mark conflicting devices Chancel Liu
2026-08-18  3:02 ` [PATCH v2 11/17] arm64: dts: imx95: Add clock and sound-dai-cells properties for MQS1 Chancel Liu
2026-08-18  3:02 ` [PATCH v2 12/17] arm64: dts: imx95-15x15-evk: Add board muxes to select between PDM and MQS1 Chancel Liu
2026-08-18  3:02 ` [PATCH v2 13/17] arm64: dts: imx95-15x15-evk: Add MQS1 pinmux, clocks and mark conflicting devices Chancel Liu
2026-08-18  3:02 ` [PATCH v2 14/17] arm64: dts: imx952: Add AONMIX MQS device node Chancel Liu
2026-08-18  3:02 ` [PATCH v2 15/17] arm64: dts: imx952-evk: Add board muxes to select between CAN1/PDM Chancel Liu
2026-08-18  3:02 ` [PATCH v2 16/17] arm64: dts: imx952-evk: Add MQS1 pinmux, clocks and mark conflicting devices Chancel Liu
2026-08-18  3:02 ` [PATCH v2 17/17] arm64: dts: fsl: Add DT overlay to build MQS1 sound cards on i.MX9 platforms Chancel Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca9bade3-d4f3-437c-8507-42f61fd1b72b@oss.nxp.com \
    --to=chancel.liu@oss.nxp.com \
    --cc=Frank.Li@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox