013148fe7f
commit82d3ec1d89
("ASoC: Use schema reference for sound-name-prefix") added name-prefix.yaml schema and the same reference was used in couple of other schemas. But this is causing following warning and the same is fixed in current patch. Documentation/devicetree/bindings/sound/nxp,tfa989x.example.dt.yaml: audio-codec@34: 'sound-name-prefix' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml Documentation/devicetree/bindings/sound/nxp,tfa989x.example.dt.yaml: audio-codec@36: 'sound-name-prefix' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml Fixes:82d3ec1d89
("ASoC: Use schema reference for sound-name-prefix") Reported-by: Rob Herring <robh+dt@kernel.org> Suggested-by: Rob Herring <robh+dt@kernel.org> Signed-off-by: Sameer Pujar <spujar@nvidia.com> Link: https://lore.kernel.org/r/1632238860-16947-1-git-send-email-spujar@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
41 lines
806 B
YAML
41 lines
806 B
YAML
# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/simple-audio-mux.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Simple Audio Multiplexer
|
|
|
|
maintainers:
|
|
- Alexandre Belloni <aleandre.belloni@bootlin.com>
|
|
|
|
description: |
|
|
Simple audio multiplexers are driven using gpios, allowing to select which of
|
|
their input line is connected to the output line.
|
|
|
|
allOf:
|
|
- $ref: name-prefix.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: simple-audio-mux
|
|
|
|
mux-gpios:
|
|
description: |
|
|
GPIOs used to select the input line.
|
|
|
|
sound-name-prefix: true
|
|
|
|
required:
|
|
- compatible
|
|
- mux-gpios
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
mux {
|
|
compatible = "simple-audio-mux";
|
|
mux-gpios = <&gpio 3 0>;
|
|
};
|