Commit c7b94e86 authored by Luca Weiss's avatar Luca Weiss Committed by Mark Brown

ASoC: dt-bindings: awinic,aw88395: Remove reset-gpios from AW88261

The AW88261 chip doesn't have a reset GPIO, so disallow providing
reset-gpios.

At the same time also don't keep reset-gpios required for AW88395. This
is both because the Linux driver has it optional, and it also simplifies
the bindings by not introducing another conditional.
Signed-off-by: default avatarLuca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20231002-aw88261-reset-v2-1-837cb1e7b95c@fairphone.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent a9b696c8
...@@ -14,9 +14,6 @@ description: ...@@ -14,9 +14,6 @@ description:
digital Smart K audio amplifier with an integrated 10.25V digital Smart K audio amplifier with an integrated 10.25V
smart boost convert. smart boost convert.
allOf:
- $ref: dai-common.yaml#
properties: properties:
compatible: compatible:
enum: enum:
...@@ -49,9 +46,20 @@ required: ...@@ -49,9 +46,20 @@ required:
- compatible - compatible
- reg - reg
- '#sound-dai-cells' - '#sound-dai-cells'
- reset-gpios
- awinic,audio-channel - awinic,audio-channel
allOf:
- $ref: dai-common.yaml#
- if:
properties:
compatible:
contains:
enum:
- awinic,aw88261
then:
properties:
reset-gpios: false
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment