diff mbox series

[1/1] ASoC: dt-bindings: fsl-esai: Add power-domains for fsl,imx8qm-esai

Message ID 20240927205618.4093591-1-Frank.Li@nxp.com (mailing list archive)
State Accepted
Commit a2bd5a25c1b548609fb2f095c7356fcae8fabac2
Headers show
Series [1/1] ASoC: dt-bindings: fsl-esai: Add power-domains for fsl,imx8qm-esai | expand

Commit Message

Frank Li Sept. 27, 2024, 8:56 p.m. UTC
i.MX8QM's esai require power-domains property. Keep the same restriction
for other compatible string.

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

Comments

Rob Herring (Arm) Sept. 27, 2024, 11:03 p.m. UTC | #1
On Fri, 27 Sep 2024 16:56:18 -0400, Frank Li wrote:
> i.MX8QM's esai require power-domains property. Keep the same restriction
> for other compatible string.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>  .../devicetree/bindings/sound/fsl,esai.yaml        | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Mark Brown Sept. 30, 2024, 9:26 p.m. UTC | #2
On Fri, 27 Sep 2024 16:56:18 -0400, Frank Li wrote:
> i.MX8QM's esai require power-domains property. Keep the same restriction
> for other compatible string.
> 
> 

Applied to

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

Thanks!

[1/1] ASoC: dt-bindings: fsl-esai: Add power-domains for fsl,imx8qm-esai
      commit: a2bd5a25c1b548609fb2f095c7356fcae8fabac2

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
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/fsl,esai.yaml b/Documentation/devicetree/bindings/sound/fsl,esai.yaml
index f99ed20fa684a..d1b4e23f1c95f 100644
--- a/Documentation/devicetree/bindings/sound/fsl,esai.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,esai.yaml
@@ -65,6 +65,9 @@  properties:
       - const: rx
       - const: tx
 
+  power-domains:
+    maxItems: 1
+
   fsl,fifo-depth:
     $ref: /schemas/types.yaml#/definitions/uint32
     default: 64
@@ -101,6 +104,17 @@  unevaluatedProperties: false
 
 allOf:
   - $ref: dai-common.yaml#
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: fsl,imx8qm-esai
+    then:
+      required:
+        - power-domains
+    else:
+      properties:
+        power-domains: false
 
 examples:
   - |