diff options
author | George Song <george.song@maximintegrated.com> | 2021-10-27 02:14:30 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-27 12:31:22 +0200 |
commit | 8af1f903391419809160aef3dac0641fa15680f5 (patch) | |
tree | 9826b936666b6cf1c9fa59a799fa1eb0c5296256 /Documentation | |
parent | Merge series "ASoC: cs42l42: Fixes to power-down" from Richard Fitzgerald <rf... (diff) | |
download | linux-8af1f903391419809160aef3dac0641fa15680f5.tar.xz linux-8af1f903391419809160aef3dac0641fa15680f5.zip |
ASoC: dt-bindings: max98520: add initial bindings
add initial bindings for max98520 audio amplifier
Signed-off-by: George Song <george.song@maximintegrated.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211027001431.363-1-george.song@maximintegrated.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/maxim,max98520.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/maxim,max98520.yaml b/Documentation/devicetree/bindings/sound/maxim,max98520.yaml new file mode 100644 index 000000000000..b6509cb2c8e0 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/maxim,max98520.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/maxim,max98520.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX98520 Speaker Amplifier Driver + +maintainers: + - George Song <george.song@maximintegrated.com> + +properties: + compatible: + const: maxim,max98520 + + reg: + maxItems: 1 + description: I2C address of the device. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + max98520: amplifier@38 { + compatible = "maxim,max98520"; + reg = <0x38>; + }; + }; + |