* [PATCH V7 5/5] ASoC: dt-bindings: Add schema for "awinic,aw883xx"
@ 2022-12-22 12:34 wangweidong.a
2022-12-22 12:41 ` Krzysztof Kozlowski
2022-12-22 15:24 ` Stephan Gerhold
0 siblings, 2 replies; 3+ messages in thread
From: wangweidong.a @ 2022-12-22 12:34 UTC (permalink / raw)
To: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, perex,
tiwai, ckeepax, rf, peter.ujfalusi, pierre-louis.bossart,
james.schulman, flatmax, ryan.lee.analog, jonathan.albrieux,
tanureal, povik+lin, 13691752556, cezary.rojewski, stephan,
alsa-devel, devicetree, linux-kernel
Cc: liweilei, zhaolei, yijiangtao, zhangjianming, duanyibo, Weidong Wang
From: Weidong Wang <wangweidong.a@awinic.com>
Add a DT schema for describing Awinic AW883xx audio amplifiers. They are
controlled using I2C.
Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
---
.../bindings/sound/awinic,aw883xx.yaml | 49 +++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
diff --git a/Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml b/Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
new file mode 100644
index 000000000000..af4e0e27f8f7
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/awinic,aw883xx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Awinic AW883xx Smart Audio Amplifier
+
+maintainers:
+ - Stephan Gerhold <stephan@gerhold.net>
+
+description:
+ The Awinic AW883XX is an I2S/TDM input, high efficiency
+ digital Smart K audio amplifier with an integrated 10.25V
+ smart boost convert.
+
+allOf:
+ - $ref: dai-common.yaml#
+
+properties:
+ compatible:
+ const: awinic,aw883xx_smartpa
+
+ reg:
+ maxItems: 1
+
+ reset-gpios:
+ maxItems: 1
+
+ sound-name-prefix: true
+
+required:
+ - compatible
+ - reg
+ - reset-gpios
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ audio-codec@34 {
+ compatible = "awinic,aw883xx_smartpa";
+ reg = <0x34>;
+ reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
+ };
+ };
--
2.38.1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH V7 5/5] ASoC: dt-bindings: Add schema for "awinic,aw883xx"
2022-12-22 12:34 [PATCH V7 5/5] ASoC: dt-bindings: Add schema for "awinic,aw883xx" wangweidong.a
@ 2022-12-22 12:41 ` Krzysztof Kozlowski
2022-12-22 15:24 ` Stephan Gerhold
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-12-22 12:41 UTC (permalink / raw)
To: wangweidong.a, lgirdwood, broonie, robh+dt,
krzysztof.kozlowski+dt, perex, tiwai, ckeepax, rf,
peter.ujfalusi, pierre-louis.bossart, james.schulman, flatmax,
ryan.lee.analog, jonathan.albrieux, tanureal, povik+lin,
13691752556, cezary.rojewski, stephan, alsa-devel, devicetree,
linux-kernel
Cc: liweilei, zhaolei, yijiangtao, zhangjianming, duanyibo
On 22/12/2022 13:34, wangweidong.a@awinic.com wrote:
> From: Weidong Wang <wangweidong.a@awinic.com>
>
> Add a DT schema for describing Awinic AW883xx audio amplifiers. They are
> controlled using I2C.
>
> Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
> ---
> .../bindings/sound/awinic,aw883xx.yaml | 49 +++++++++++++++++++
> 1 file changed, 49 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml b/Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
> new file mode 100644
> index 000000000000..af4e0e27f8f7
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
Filename matching the compatible.
> @@ -0,0 +1,49 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/awinic,aw883xx.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Awinic AW883xx Smart Audio Amplifier
> +
> +maintainers:
> + - Stephan Gerhold <stephan@gerhold.net>
> +
> +description:
> + The Awinic AW883XX is an I2S/TDM input, high efficiency
> + digital Smart K audio amplifier with an integrated 10.25V
> + smart boost convert.
> +
> +allOf:
> + - $ref: dai-common.yaml#
> +
> +properties:
> + compatible:
> + const: awinic,aw883xx_smartpa
This is a friendly reminder during the review process.
It seems my previous comments were not fully addressed. Maybe my
feedback got lost between the quotes, maybe you just forgot to apply it.
Please go back to the previous discussion and either implement all
requested changes or keep discussing them.
Thank you.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH V7 5/5] ASoC: dt-bindings: Add schema for "awinic,aw883xx"
2022-12-22 12:34 [PATCH V7 5/5] ASoC: dt-bindings: Add schema for "awinic,aw883xx" wangweidong.a
2022-12-22 12:41 ` Krzysztof Kozlowski
@ 2022-12-22 15:24 ` Stephan Gerhold
1 sibling, 0 replies; 3+ messages in thread
From: Stephan Gerhold @ 2022-12-22 15:24 UTC (permalink / raw)
To: wangweidong.a
Cc: lgirdwood, broonie, robh+dt, krzysztof.kozlowski+dt, perex,
tiwai, ckeepax, rf, peter.ujfalusi, pierre-louis.bossart,
james.schulman, flatmax, ryan.lee.analog, jonathan.albrieux,
tanureal, povik+lin, 13691752556, cezary.rojewski, alsa-devel,
devicetree, linux-kernel, liweilei, zhaolei, yijiangtao,
zhangjianming, duanyibo
On Thu, Dec 22, 2022 at 08:34:31PM +0800, wangweidong.a@awinic.com wrote:
> From: Weidong Wang <wangweidong.a@awinic.com>
>
> Add a DT schema for describing Awinic AW883xx audio amplifiers. They are
> controlled using I2C.
>
> Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
> ---
> .../bindings/sound/awinic,aw883xx.yaml | 49 +++++++++++++++++++
> 1 file changed, 49 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
>
> diff --git a/Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml b/Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
> new file mode 100644
> index 000000000000..af4e0e27f8f7
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/awinic,aw883xx.yaml
> @@ -0,0 +1,49 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/awinic,aw883xx.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Awinic AW883xx Smart Audio Amplifier
> +
> +maintainers:
> + - Stephan Gerhold <stephan@gerhold.net>
Please add yourself as maintainer, not other people you found in similar
DT schema files. I have no idea how this hardware works. :)
Thanks,
Stephan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-22 15:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 12:34 [PATCH V7 5/5] ASoC: dt-bindings: Add schema for "awinic,aw883xx" wangweidong.a
2022-12-22 12:41 ` Krzysztof Kozlowski
2022-12-22 15:24 ` Stephan Gerhold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®