diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2023-01-23 05:25:11 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-30 13:05:45 +0000 |
commit | a2fabeaaf5e29df03ff90ec4ad8ecc8663c5ef16 (patch) | |
tree | afa5ee17041b49011c475d457668acb6947f3098 /Documentation | |
parent | 6a7216db63c884863db8200334ddaf991935ff45 (diff) | |
download | linux-stable-a2fabeaaf5e29df03ff90ec4ad8ecc8663c5ef16.tar.gz linux-stable-a2fabeaaf5e29df03ff90ec4ad8ecc8663c5ef16.tar.bz2 linux-stable-a2fabeaaf5e29df03ff90ec4ad8ecc8663c5ef16.zip |
ASoC: dt-bindings: audio-graph-port: add missing mclk-fs
audio-graph-port is missing "mclk-fs" on ports/port,
it is used not only endpoint. It is already defined on simple-card.
This patch fixup it.
Without this patch, we will get below warning.
${LINUX}/arch/arm64/boot/dts/renesas/r8a77951-ulcb-kf.dtb: audio-codec@44: ports: 'mclk-fs' does not match any of the regexes: '^port@[0-9a-f]+$', 'pinctrl-[0-9]+'
From schema: ${LINUX}/Documentation/devicetree/bindings/sound/ti,pcm3168a.yaml
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87o7qp7rgp.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/audio-graph-port.yaml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml index 6fcf7f567424..036682e55b2d 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml @@ -24,16 +24,14 @@ definitions: $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-channels" convert-sample-format: $ref: "/schemas/sound/dai-params.yaml#/$defs/dai-sample-format" + mclk-fs: + $ref: "simple-card.yaml#/definitions/mclk-fs" endpoint-base: $ref: /schemas/graph.yaml#/$defs/endpoint-base properties: mclk-fs: - description: | - Multiplication factor between stream rate and codec mclk. - When defined, mclk-fs property defined in dai-link sub nodes are - ignored. - $ref: /schemas/types.yaml#/definitions/uint32 + $ref: "simple-card.yaml#/definitions/mclk-fs" frame-inversion: description: dai-link uses frame clock inversion $ref: /schemas/types.yaml#/definitions/flag |