diff mbox series

ASoC: dt-bindings: fsl,micfil: Document #sound-dai-cells

Message ID 20231004122935.2250889-1-festevam@gmail.com
State New
Headers show
Series ASoC: dt-bindings: fsl,micfil: Document #sound-dai-cells | expand

Commit Message

Fabio Estevam Oct. 4, 2023, 12:29 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

imx8mp.dtsi passes #sound-dai-cells = <0> in the micfil node.

Document #sound-dai-cells to fix the following schema warning:

audio-controller@30ca0000: '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/sound/fsl,micfil.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 Documentation/devicetree/bindings/sound/fsl,micfil.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Adam Ford Oct. 4, 2023, 12:50 p.m. UTC | #1
On Wed, Oct 4, 2023 at 7:30 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> From: Fabio Estevam <festevam@denx.de>
>
> imx8mp.dtsi passes #sound-dai-cells = <0> in the micfil node.
>
> Document #sound-dai-cells to fix the following schema warning:
>
> audio-controller@30ca0000: '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
> from schema $id: http://devicetree.org/schemas/sound/fsl,micfil.yaml#
>
Should we add a fixes tag, so it gets back-ported to stable branches?
It seems like patch 02d91fe47100 ("ASoC: dt-bindings: fsl,micfil:
Convert format to json-schema") may be appropriate.

> Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Adam Ford <aford173@gmail.com>

> ---
>  Documentation/devicetree/bindings/sound/fsl,micfil.yaml | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/fsl,micfil.yaml b/Documentation/devicetree/bindings/sound/fsl,micfil.yaml
> index 4b99a18c79a0..b7e605835639 100644
> --- a/Documentation/devicetree/bindings/sound/fsl,micfil.yaml
> +++ b/Documentation/devicetree/bindings/sound/fsl,micfil.yaml
> @@ -56,6 +56,9 @@ properties:
>        - const: clkext3
>      minItems: 2
>
> +  "#sound-dai-cells":
> +    const: 0
> +
>  required:
>    - compatible
>    - reg
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/fsl,micfil.yaml b/Documentation/devicetree/bindings/sound/fsl,micfil.yaml
index 4b99a18c79a0..b7e605835639 100644
--- a/Documentation/devicetree/bindings/sound/fsl,micfil.yaml
+++ b/Documentation/devicetree/bindings/sound/fsl,micfil.yaml
@@ -56,6 +56,9 @@  properties:
       - const: clkext3
     minItems: 2
 
+  "#sound-dai-cells":
+    const: 0
+
 required:
   - compatible
   - reg