Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v2] ASoC: dt-bindings: fsl_spdif: Document imx6sl/sx compatible fallback
@ 2024-10-28  2:07 Fabio Estevam
  2024-11-01 16:53 ` Rob Herring (Arm)
  2024-11-05 16:38 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2024-10-28  2:07 UTC (permalink / raw)
  To: broonie
  Cc: robh, krzk+dt, conor+dt, shengjiu.wang, linux-sound, devicetree,
	Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

i.MX6SL and i.MX6SX SPDIF blocks are compatible with i.MX35.

Document 'fsl,imx35-spdif' as a fallback compatible for these two
chip variants.

This fixes the following dt-schema warnings:

compatible: ['fsl,imx6sl-spdif', 'fsl,imx35-spdif'] is too long
compatible: ['fsl,imx6sx-spdif', 'fsl,imx35-spdif'] is too long

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
Changes since v1:
- Keep the entries as one enum. (Rob)

 .../devicetree/bindings/sound/fsl,spdif.yaml  | 27 ++++++++++++-------
 1 file changed, 17 insertions(+), 10 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml
index 204f361cea27..5654e9f61aba 100644
--- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml
@@ -16,16 +16,23 @@ description: |
 
 properties:
   compatible:
-    enum:
-      - fsl,imx35-spdif
-      - fsl,vf610-spdif
-      - fsl,imx6sx-spdif
-      - fsl,imx8qm-spdif
-      - fsl,imx8qxp-spdif
-      - fsl,imx8mq-spdif
-      - fsl,imx8mm-spdif
-      - fsl,imx8mn-spdif
-      - fsl,imx8ulp-spdif
+    oneOf:
+      - items:
+          - enum:
+              - fsl,imx35-spdif
+              - fsl,imx6sx-spdif
+              - fsl,imx8mm-spdif
+              - fsl,imx8mn-spdif
+              - fsl,imx8mq-spdif
+              - fsl,imx8qm-spdif
+              - fsl,imx8qxp-spdif
+              - fsl,imx8ulp-spdif
+              - fsl,vf610-spdif
+      - items:
+          - enum:
+              - fsl,imx6sl-spdif
+              - fsl,imx6sx-spdif
+          - const: fsl,imx35-spdif
 
   reg:
     maxItems: 1
-- 
2.34.1


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

* Re: [PATCH v2] ASoC: dt-bindings: fsl_spdif: Document imx6sl/sx compatible fallback
  2024-10-28  2:07 [PATCH v2] ASoC: dt-bindings: fsl_spdif: Document imx6sl/sx compatible fallback Fabio Estevam
@ 2024-11-01 16:53 ` Rob Herring (Arm)
  2024-11-05 16:38 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2024-11-01 16:53 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: krzk+dt, linux-sound, devicetree, broonie, Fabio Estevam,
	shengjiu.wang, conor+dt


On Sun, 27 Oct 2024 23:07:49 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> i.MX6SL and i.MX6SX SPDIF blocks are compatible with i.MX35.
> 
> Document 'fsl,imx35-spdif' as a fallback compatible for these two
> chip variants.
> 
> This fixes the following dt-schema warnings:
> 
> compatible: ['fsl,imx6sl-spdif', 'fsl,imx35-spdif'] is too long
> compatible: ['fsl,imx6sx-spdif', 'fsl,imx35-spdif'] is too long
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
> Changes since v1:
> - Keep the entries as one enum. (Rob)
> 
>  .../devicetree/bindings/sound/fsl,spdif.yaml  | 27 ++++++++++++-------
>  1 file changed, 17 insertions(+), 10 deletions(-)
> 

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


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

* Re: [PATCH v2] ASoC: dt-bindings: fsl_spdif: Document imx6sl/sx compatible fallback
  2024-10-28  2:07 [PATCH v2] ASoC: dt-bindings: fsl_spdif: Document imx6sl/sx compatible fallback Fabio Estevam
  2024-11-01 16:53 ` Rob Herring (Arm)
@ 2024-11-05 16:38 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2024-11-05 16:38 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: robh, krzk+dt, conor+dt, shengjiu.wang, linux-sound, devicetree,
	Fabio Estevam

On Sun, 27 Oct 2024 23:07:49 -0300, Fabio Estevam wrote:
> i.MX6SL and i.MX6SX SPDIF blocks are compatible with i.MX35.
> 
> Document 'fsl,imx35-spdif' as a fallback compatible for these two
> chip variants.
> 
> This fixes the following dt-schema warnings:
> 
> [...]

Applied to

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

Thanks!

[1/1] ASoC: dt-bindings: fsl_spdif: Document imx6sl/sx compatible fallback
      commit: 82e54d65416b8e7cae422bee1755dd203c95d500

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] 3+ messages in thread

end of thread, other threads:[~2024-11-05 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-28  2:07 [PATCH v2] ASoC: dt-bindings: fsl_spdif: Document imx6sl/sx compatible fallback Fabio Estevam
2024-11-01 16:53 ` Rob Herring (Arm)
2024-11-05 16:38 ` Mark Brown

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