linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai
@ 2024-10-28 19:49 Frank Li
  2024-10-28 19:49 ` [PATCH 1/2] ASoC: dt-bindings: " Frank Li
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Frank Li @ 2024-10-28 19:49 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shengjiu Wang, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam
  Cc: linux-sound, devicetree, linux-kernel, imx, linux-arm-kernel,
	Frank Li

Update binding doc to allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai.
Update dts add fsl,imx6ull-esai fallback.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Frank Li (2):
      ASoC: dt-bindings: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai
      arm64: dts: imx8-ss-audio: add fallback compatible string fsl,imx6ull-esai for esai

 Documentation/devicetree/bindings/sound/fsl,esai.yaml | 14 +++++++++-----
 arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi      |  2 +-
 arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi    |  2 +-
 3 files changed, 11 insertions(+), 7 deletions(-)
---
base-commit: a63797164b01a78a0b32c8b01c34cce51016a540
change-id: 20241028-esai_fix-d3bfbaea862e

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



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

* [PATCH 1/2] ASoC: dt-bindings: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai
  2024-10-28 19:49 [PATCH 0/2] ASoC: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai Frank Li
@ 2024-10-28 19:49 ` Frank Li
  2024-11-01 19:47   ` Rob Herring
  2024-10-28 19:49 ` [PATCH 2/2] arm64: dts: imx8-ss-audio: add fallback compatible string fsl,imx6ull-esai for esai Frank Li
  2024-11-05 16:38 ` (subset) [PATCH 0/2] ASoC: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai Mark Brown
  2 siblings, 1 reply; 7+ messages in thread
From: Frank Li @ 2024-10-28 19:49 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shengjiu Wang, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam
  Cc: linux-sound, devicetree, linux-kernel, imx, linux-arm-kernel,
	Frank Li

The ESAI of i.MX8QM is the same as i.MX6ULL. So allow fsl,imx8qm-esai
fallback to fsl,imx6ull-esai.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 Documentation/devicetree/bindings/sound/fsl,esai.yaml | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/fsl,esai.yaml b/Documentation/devicetree/bindings/sound/fsl,esai.yaml
index d1b4e23f1c95f..27c34ce4c2e22 100644
--- a/Documentation/devicetree/bindings/sound/fsl,esai.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,esai.yaml
@@ -18,11 +18,15 @@ description:
 
 properties:
   compatible:
-    enum:
-      - fsl,imx35-esai
-      - fsl,imx6ull-esai
-      - fsl,imx8qm-esai
-      - fsl,vf610-esai
+    oneOf:
+      - enum:
+          - fsl,imx35-esai
+          - fsl,imx6ull-esai
+          - fsl,vf610-esai
+      - items:
+          - enum:
+              - fsl,imx8qm-esai
+          - const: fsl,imx6ull-esai
 
   reg:
     maxItems: 1

-- 
2.34.1



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

* [PATCH 2/2] arm64: dts: imx8-ss-audio: add fallback compatible string fsl,imx6ull-esai for esai
  2024-10-28 19:49 [PATCH 0/2] ASoC: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai Frank Li
  2024-10-28 19:49 ` [PATCH 1/2] ASoC: dt-bindings: " Frank Li
@ 2024-10-28 19:49 ` Frank Li
  2024-11-18 16:31   ` Rob Herring
  2024-12-09  7:53   ` Shawn Guo
  2024-11-05 16:38 ` (subset) [PATCH 0/2] ASoC: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai Mark Brown
  2 siblings, 2 replies; 7+ messages in thread
From: Frank Li @ 2024-10-28 19:49 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shengjiu Wang, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam
  Cc: linux-sound, devicetree, linux-kernel, imx, linux-arm-kernel,
	Frank Li

The ESAI of i.MX8QM is the same as i.MX6ULL. So add fsl,imx6ull-esai for
esai.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi   | 2 +-
 arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi
index ff5df0fed9e96..739be5273c51f 100644
--- a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi
@@ -165,7 +165,7 @@ asrc0: asrc@59000000 {
 	};
 
 	esai0: esai@59010000 {
-		compatible = "fsl,imx8qm-esai";
+		compatible = "fsl,imx8qm-esai", "fsl,imx6ull-esai";
 		reg = <0x59010000 0x10000>;
 		interrupts = <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&esai0_lpcg IMX_LPCG_CLK_4>,
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi
index e24e639b98ee7..c9b55f02497ab 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi
@@ -134,7 +134,7 @@ sai5_lpcg: clock-controller@59490000 {
 	};
 
 	esai1: esai@59810000 {
-		compatible = "fsl,imx8qm-esai";
+		compatible = "fsl,imx8qm-esai", "fsl,imx6ull-esai";
 		reg = <0x59810000 0x10000>;
 		interrupts = <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&esai1_lpcg IMX_LPCG_CLK_0>,

-- 
2.34.1



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

* Re: [PATCH 1/2] ASoC: dt-bindings: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai
  2024-10-28 19:49 ` [PATCH 1/2] ASoC: dt-bindings: " Frank Li
@ 2024-11-01 19:47   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2024-11-01 19:47 UTC (permalink / raw)
  To: Frank Li
  Cc: Liam Girdwood, Mark Brown, Krzysztof Kozlowski, Conor Dooley,
	Shengjiu Wang, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, linux-sound, devicetree, linux-kernel, imx,
	linux-arm-kernel

On Mon, Oct 28, 2024 at 03:49:31PM -0400, Frank Li wrote:
> The ESAI of i.MX8QM is the same as i.MX6ULL. So allow fsl,imx8qm-esai
> fallback to fsl,imx6ull-esai.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  Documentation/devicetree/bindings/sound/fsl,esai.yaml | 14 +++++++++-----
>  1 file changed, 9 insertions(+), 5 deletions(-)

Acked-by: Rob Herring (Arm) <robh@kernel.org>


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

* Re: (subset) [PATCH 0/2] ASoC: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai
  2024-10-28 19:49 [PATCH 0/2] ASoC: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai Frank Li
  2024-10-28 19:49 ` [PATCH 1/2] ASoC: dt-bindings: " Frank Li
  2024-10-28 19:49 ` [PATCH 2/2] arm64: dts: imx8-ss-audio: add fallback compatible string fsl,imx6ull-esai for esai Frank Li
@ 2024-11-05 16:38 ` Mark Brown
  2 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2024-11-05 16:38 UTC (permalink / raw)
  To: Liam Girdwood, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Shengjiu Wang, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, Frank Li
  Cc: linux-sound, devicetree, linux-kernel, imx, linux-arm-kernel

On Mon, 28 Oct 2024 15:49:30 -0400, Frank Li wrote:
> Update binding doc to allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai.
> Update dts add fsl,imx6ull-esai fallback.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/2] ASoC: dt-bindings: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai
      commit: adf7ea48ce05a6c5c44f0f9d3f81e83e5cb70c3e

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark



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

* Re: [PATCH 2/2] arm64: dts: imx8-ss-audio: add fallback compatible string fsl,imx6ull-esai for esai
  2024-10-28 19:49 ` [PATCH 2/2] arm64: dts: imx8-ss-audio: add fallback compatible string fsl,imx6ull-esai for esai Frank Li
@ 2024-11-18 16:31   ` Rob Herring
  2024-12-09  7:53   ` Shawn Guo
  1 sibling, 0 replies; 7+ messages in thread
From: Rob Herring @ 2024-11-18 16:31 UTC (permalink / raw)
  To: Frank Li
  Cc: Liam Girdwood, Mark Brown, Krzysztof Kozlowski, Conor Dooley,
	Shengjiu Wang, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, linux-sound, devicetree, linux-kernel, imx,
	linux-arm-kernel

On Mon, Oct 28, 2024 at 2:49 PM Frank Li <Frank.Li@nxp.com> wrote:
>
> The ESAI of i.MX8QM is the same as i.MX6ULL. So add fsl,imx6ull-esai for
> esai.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi   | 2 +-
>  arch/arm64/boot/dts/freescale/imx8qm-ss-audio.dtsi | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Shawn, please pick this up for 6.13. The binding change landed
introducing new warnings.

Acked-by: Rob Herring (Arm) <robh@kernel.org>


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

* Re: [PATCH 2/2] arm64: dts: imx8-ss-audio: add fallback compatible string fsl,imx6ull-esai for esai
  2024-10-28 19:49 ` [PATCH 2/2] arm64: dts: imx8-ss-audio: add fallback compatible string fsl,imx6ull-esai for esai Frank Li
  2024-11-18 16:31   ` Rob Herring
@ 2024-12-09  7:53   ` Shawn Guo
  1 sibling, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2024-12-09  7:53 UTC (permalink / raw)
  To: Frank Li
  Cc: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Shengjiu Wang, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, linux-sound, devicetree,
	linux-kernel, imx, linux-arm-kernel

On Mon, Oct 28, 2024 at 03:49:32PM -0400, Frank Li wrote:
> The ESAI of i.MX8QM is the same as i.MX6ULL. So add fsl,imx6ull-esai for
> esai.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>

Applied for 6.13, thanks!



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

end of thread, other threads:[~2024-12-09  7:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-28 19:49 [PATCH 0/2] ASoC: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai Frank Li
2024-10-28 19:49 ` [PATCH 1/2] ASoC: dt-bindings: " Frank Li
2024-11-01 19:47   ` Rob Herring
2024-10-28 19:49 ` [PATCH 2/2] arm64: dts: imx8-ss-audio: add fallback compatible string fsl,imx6ull-esai for esai Frank Li
2024-11-18 16:31   ` Rob Herring
2024-12-09  7:53   ` Shawn Guo
2024-11-05 16:38 ` (subset) [PATCH 0/2] ASoC: fsl-esai: allow fsl,imx8qm-esai fallback to fsl,imx6ull-esai Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).