ALSA SoC MAX98520 dt-bindings : Added device tree binding for max98520 Signed-off-by: George Song <[email protected]>
Subsystems (2)
PATCH 1/2 ALSA SoC MAX98520 dt-bindings : Added device tree binding for max98520 Signed-off-by: George Song <[email protected]>
From: "george.song" <[email protected]>
--- .../bindings/sound/maxim,max98520.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/maxim,max98520.yaml
Documentation/devicetree/bindings/sound/maxim,max98520.yaml new file +35 -0
@@ -0,0 +1,35 @@ +# 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: + - Goerge Song <[email protected]> + +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>; + }; + };
Signature · 1 line
2.25.1
Rob Herring
maintainerQuoted 1 line · George Song
From: "george.song" <[email protected]>
Patches must have an author name, commit message, and a Signed-off-by. Please use checkpatch.pl which will point out some of this.
Quoted 51 lines
--- .../bindings/sound/maxim,max98520.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/maxim,max98520.yamlDocumentation/devicetree/bindings/sound/maxim,max98520.yaml new file +35
-0@@ -0,0 +1,35 @@ +# 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: + - Goerge Song <[email protected]> + +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>; + }; + };Signature · 1 line
2.25.1