public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH V2] arm64: dts: imx93-evk/qsb: add m2-pcm-level-shifter-hog to enable BT HFP
@ 2026-01-21 11:13 Sherry Sun
  2026-01-22  8:53 ` Peng Fan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sherry Sun @ 2026-01-21 11:13 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, shawnguo, s.hauer, festevam
  Cc: kernel, devicetree, imx, linux-arm-kernel, linux-kernel

For i.MX93 11x11 EVK and 9x9 QSB boards, add the gpio-hog to enable the
M.2 PCM pins level shifter connected between soc sai1 interface and M.2
PCM pins so that HFP feature can be supported.

Since the HFP is only used at a later stage — after the BT firmware has
been downloaded and the BT connection with the remote device has been
established — both the pcal6524 expander and sai1 interface are already
fully initialized and available by that time. Therefore, using a
gpio-hog here will not introduce any probe ordering or dependency issues
for the HFP use case.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
---
Changes in V2:
1. Improve the commit message to avoid confusion.
---
 arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 6 ++++++
 arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts   | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
index 8dd5340e8141..acb160d3186c 100644
--- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
@@ -356,6 +356,12 @@ pcal6524: gpio@22 {
 		#interrupt-cells = <2>;
 		interrupt-parent = <&gpio3>;
 		interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
+
+		m2-pcm-level-shifter-hog {
+			gpio-hog;
+			gpios = <19 GPIO_ACTIVE_HIGH>;
+			output-high;
+		};
 	};
 
 	pmic@25 {
diff --git a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
index 0852067eab2c..11e08673083b 100644
--- a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
@@ -349,6 +349,12 @@ mic-can-sel-hog {
 			gpios = <17 GPIO_ACTIVE_HIGH>;
 			output-low;
 		};
+
+		m2-pcm-level-shifter-hog {
+			gpio-hog;
+			gpios = <19 GPIO_ACTIVE_HIGH>;
+			output-high;
+		};
 	};
 
 	pmic@25 {
-- 
2.37.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] arm64: dts: imx93-evk/qsb: add m2-pcm-level-shifter-hog to enable BT HFP
  2026-01-21 11:13 [PATCH V2] arm64: dts: imx93-evk/qsb: add m2-pcm-level-shifter-hog to enable BT HFP Sherry Sun
@ 2026-01-22  8:53 ` Peng Fan
  2026-01-22 14:35 ` Frank Li
  2026-02-24 16:43 ` Frank Li
  2 siblings, 0 replies; 4+ messages in thread
From: Peng Fan @ 2026-01-22  8:53 UTC (permalink / raw)
  To: Sherry Sun
  Cc: robh, krzk+dt, conor+dt, shawnguo, s.hauer, festevam, kernel,
	devicetree, imx, linux-arm-kernel, linux-kernel

On Wed, Jan 21, 2026 at 07:13:46PM +0800, Sherry Sun wrote:
>For i.MX93 11x11 EVK and 9x9 QSB boards, add the gpio-hog to enable the
>M.2 PCM pins level shifter connected between soc sai1 interface and M.2
>PCM pins so that HFP feature can be supported.
>
>Since the HFP is only used at a later stage — after the BT firmware has
>been downloaded and the BT connection with the remote device has been
>established — both the pcal6524 expander and sai1 interface are already
>fully initialized and available by that time. Therefore, using a
>gpio-hog here will not introduce any probe ordering or dependency issues
>for the HFP use case.
>
>Signed-off-by: Sherry Sun <sherry.sun@nxp.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] arm64: dts: imx93-evk/qsb: add m2-pcm-level-shifter-hog to enable BT HFP
  2026-01-21 11:13 [PATCH V2] arm64: dts: imx93-evk/qsb: add m2-pcm-level-shifter-hog to enable BT HFP Sherry Sun
  2026-01-22  8:53 ` Peng Fan
@ 2026-01-22 14:35 ` Frank Li
  2026-02-24 16:43 ` Frank Li
  2 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2026-01-22 14:35 UTC (permalink / raw)
  To: Sherry Sun
  Cc: robh, krzk+dt, conor+dt, shawnguo, s.hauer, festevam, kernel,
	devicetree, imx, linux-arm-kernel, linux-kernel

On Wed, Jan 21, 2026 at 07:13:46PM +0800, Sherry Sun wrote:
> For i.MX93 11x11 EVK and 9x9 QSB boards, add the gpio-hog to enable the
> M.2 PCM pins level shifter connected between soc sai1 interface and M.2
> PCM pins so that HFP feature can be supported.
>
> Since the HFP is only used at a later stage — after the BT firmware has
> been downloaded and the BT connection with the remote device has been
> established — both the pcal6524 expander and sai1 interface are already
> fully initialized and available by that time. Therefore, using a
> gpio-hog here will not introduce any probe ordering or dependency issues
> for the HFP use case.
>
> Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
> ---

Reviewed-by: Frank Li <Frank.Li@nxp.com>

> Changes in V2:
> 1. Improve the commit message to avoid confusion.
> ---
>  arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 6 ++++++
>  arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts   | 6 ++++++
>  2 files changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> index 8dd5340e8141..acb160d3186c 100644
> --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts
> @@ -356,6 +356,12 @@ pcal6524: gpio@22 {
>  		#interrupt-cells = <2>;
>  		interrupt-parent = <&gpio3>;
>  		interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
> +
> +		m2-pcm-level-shifter-hog {
> +			gpio-hog;
> +			gpios = <19 GPIO_ACTIVE_HIGH>;
> +			output-high;
> +		};
>  	};
>
>  	pmic@25 {
> diff --git a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
> index 0852067eab2c..11e08673083b 100644
> --- a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
> +++ b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts
> @@ -349,6 +349,12 @@ mic-can-sel-hog {
>  			gpios = <17 GPIO_ACTIVE_HIGH>;
>  			output-low;
>  		};
> +
> +		m2-pcm-level-shifter-hog {
> +			gpio-hog;
> +			gpios = <19 GPIO_ACTIVE_HIGH>;
> +			output-high;
> +		};
>  	};
>
>  	pmic@25 {
> --
> 2.37.1
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] arm64: dts: imx93-evk/qsb: add m2-pcm-level-shifter-hog to enable BT HFP
  2026-01-21 11:13 [PATCH V2] arm64: dts: imx93-evk/qsb: add m2-pcm-level-shifter-hog to enable BT HFP Sherry Sun
  2026-01-22  8:53 ` Peng Fan
  2026-01-22 14:35 ` Frank Li
@ 2026-02-24 16:43 ` Frank Li
  2 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2026-02-24 16:43 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, shawnguo, s.hauer, festevam, Sherry Sun
  Cc: Frank Li, kernel, devicetree, imx, linux-arm-kernel, linux-kernel


On Wed, 21 Jan 2026 19:13:46 +0800, Sherry Sun wrote:
> For i.MX93 11x11 EVK and 9x9 QSB boards, add the gpio-hog to enable the
> M.2 PCM pins level shifter connected between soc sai1 interface and M.2
> PCM pins so that HFP feature can be supported.
>
> Since the HFP is only used at a later stage — after the BT firmware has
> been downloaded and the BT connection with the remote device has been
> established — both the pcal6524 expander and sai1 interface are already
> fully initialized and available by that time. Therefore, using a
> gpio-hog here will not introduce any probe ordering or dependency issues
> for the HFP use case.
>
> [...]

Applied, thanks!

[1/1] arm64: dts: imx93-evk/qsb: add m2-pcm-level-shifter-hog to enable BT HFP

Best regards,
--
Frank Li <Frank.Li@nxp.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-24 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-21 11:13 [PATCH V2] arm64: dts: imx93-evk/qsb: add m2-pcm-level-shifter-hog to enable BT HFP Sherry Sun
2026-01-22  8:53 ` Peng Fan
2026-01-22 14:35 ` Frank Li
2026-02-24 16:43 ` Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox