* [PATCH 1/2] ALSA SoC MAX98520 dt-bindings : Added device tree binding for max98520 Signed-off-by: George Song <george.song@maximintegrated.com>
@ 2021-10-13 6:04 George Song
2021-10-26 19:38 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: George Song @ 2021-10-13 6:04 UTC (permalink / raw)
To: lgirdwood, broonie, robh+dt, george.song, alsa-devel, devicetree,
linux-kernel
Cc: george.song
From: "george.song" <george.song@analog.com>
---
.../bindings/sound/maxim,max98520.yaml | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/maxim,max98520.yaml
diff --git a/Documentation/devicetree/bindings/sound/maxim,max98520.yaml b/Documentation/devicetree/bindings/sound/maxim,max98520.yaml
new file mode 100644
index 000000000000..02481428e2ed
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/maxim,max98520.yaml
@@ -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 <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>;
+ };
+ };
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/2] ALSA SoC MAX98520 dt-bindings : Added device tree binding for max98520 Signed-off-by: George Song <george.song@maximintegrated.com>
2021-10-13 6:04 [PATCH 1/2] ALSA SoC MAX98520 dt-bindings : Added device tree binding for max98520 Signed-off-by: George Song <george.song@maximintegrated.com> George Song
@ 2021-10-26 19:38 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2021-10-26 19:38 UTC (permalink / raw)
To: George Song
Cc: lgirdwood, broonie, george.song, alsa-devel, devicetree,
linux-kernel, george.song
On Wed, Oct 13, 2021 at 03:04:41PM +0900, George Song wrote:
> From: "george.song" <george.song@analog.com>
Patches must have an author name, commit message, and a Signed-off-by.
Please use checkpatch.pl which will point out some of this.
>
> ---
> .../bindings/sound/maxim,max98520.yaml | 35 +++++++++++++++++++
> 1 file changed, 35 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/maxim,max98520.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/maxim,max98520.yaml b/Documentation/devicetree/bindings/sound/maxim,max98520.yaml
> new file mode 100644
> index 000000000000..02481428e2ed
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/maxim,max98520.yaml
> @@ -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 <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>;
> + };
> + };
> --
> 2.25.1
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-26 19:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-13 6:04 [PATCH 1/2] ALSA SoC MAX98520 dt-bindings : Added device tree binding for max98520 Signed-off-by: George Song <george.song@maximintegrated.com> George Song
2021-10-26 19:38 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).