Extend the PCM1754 device tree binding to describe the related PCM1773 stereo DAC.
Add the ti,pcm1773 compatible string and an optional enable-gpios property for the PCM1773 power-down input. The format-gpios property selects the hardware audio format. Signed-off-by: H. Nikolaus Schaller <[email protected]> --- Notes: Changes against V1: - The standalone PCM1773 binding from V1 was replaced by an extension of the existing PCM1754 binding. Address Krzysztof Kozlowski's request to use current bindings and validate the schema, as well as the DT validation failures reported by Rob Herring's bot. - Add the rationale for the compatible and optional enable GPIO to the commit message. - Commit-message review assisted by ChatGPT. .../devicetree/bindings/sound/ti,pcm1754.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/ti,pcm1754.yaml b/Documentation/devicetree/bindings/sound/ti,pcm1754.yaml index a757f737690c1..ee2ebd819db00 100644 --- a/Documentation/devicetree/bindings/sound/ti,pcm1754.yaml +++ b/Documentation/devicetree/bindings/sound/ti,pcm1754.yaml @@ -4,10 +4,10 @@ $id: http://devicetree.org/schemas/sound/ti,pcm1754.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Texas Instruments PCM1754 Stereo DAC +title: Texas Instruments PCM1754/PCM1773 Stereo DAC description: - The PCM1754 is a simple stereo DAC that is controlled via hardware gpios. + The PCM1754 and PCM1773 are stereo DACs controlled through hardware pins. maintainers: - Stefan Kerkmann <[email protected]> @@ -19,12 +19,18 @@ properties: compatible: enum: - ti,pcm1754 + - ti,pcm1773 vcc-supply: true '#sound-dai-cells': const: 0 + enable-gpios: + maxItems: 1 + description: + GPIO used to control the PCM1773 power-down input (/PD) + format-gpios: maxItems: 1 description: -- 2.56.0
