diff options
author | Abdulrasaq Lawani <abdulrasaqolawani@gmail.com> | 2024-06-12 18:36:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-06-14 16:22:26 +0200 |
commit | 7fbc4f5e633cbc23576c32ff9773faa1788afc2d (patch) | |
tree | 848ab2f689ef343ff5a7ef5de627e29e68b3d6e2 /Documentation/devicetree/bindings/sound/maxim,max98088.yaml | |
parent | ASoC: dt-bindings: convert tas571x.txt to dt-schema (diff) | |
download | linux-7fbc4f5e633cbc23576c32ff9773faa1788afc2d.tar.xz linux-7fbc4f5e633cbc23576c32ff9773faa1788afc2d.zip |
dt-bindings: sound: Convert max98088 to dtschema
Convert the max98088 audio codec txt bindings to DT schema.
Signed-off-by: Abdulrasaq Lawani <abdulrasaqolawani@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240612163730.515819-1-abdulrasaqolawani@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/maxim,max98088.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/sound/maxim,max98088.yaml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/maxim,max98088.yaml b/Documentation/devicetree/bindings/sound/maxim,max98088.yaml new file mode 100644 index 000000000000..e4a2967e1e81 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/maxim,max98088.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/maxim,max98088.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MAX98088 audio CODEC + +maintainers: + - Abdulrasaq Lawani <abdulrasaqolawani@gmail.com> + +properties: + compatible: + enum: + - maxim,max98088 + - maxim,max98089 + + reg: + maxItems: 1 + + clocks: + items: + - description: master clock + + clock-names: + items: + - const: mclk + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + audio-codec@10 { + compatible = "maxim,max98089"; + reg = <0x10>; + clocks = <&clks 0>; + clock-names = "mclk"; + }; + }; |