Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: ti,pcm1754: add binding documentation

The Texas Instruments PCM1754 is a simple stereo DAC without any digital
management interface but soft mute, PCM input format and 44.1 kHz
digital de-emphasis can be configured via strapping pins. Only soft mute
and PCM input format selection is currently exposed via optional GPIOs
in the driver.

Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250910-v6-12-topic-pcm1754-v2-1-0917dbe73c65@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Stefan Kerkmann and committed by
Mark Brown
87c0881b 76eeb9b8

+55
+55
Documentation/devicetree/bindings/sound/ti,pcm1754.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/ti,pcm1754.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Texas Instruments PCM1754 Stereo DAC 8 + 9 + description: 10 + The PCM1754 is a simple stereo DAC that is controlled via hardware gpios. 11 + 12 + maintainers: 13 + - Stefan Kerkmann <s.kerkmann@pengutronix.de> 14 + 15 + allOf: 16 + - $ref: dai-common.yaml# 17 + 18 + properties: 19 + compatible: 20 + enum: 21 + - ti,pcm1754 22 + 23 + vcc-supply: true 24 + 25 + '#sound-dai-cells': 26 + const: 0 27 + 28 + format-gpios: 29 + maxItems: 1 30 + description: 31 + GPIO used to select the PCM format 32 + 33 + mute-gpios: 34 + maxItems: 1 35 + description: 36 + GPIO used to mute all outputs 37 + 38 + required: 39 + - compatible 40 + - '#sound-dai-cells' 41 + - vcc-supply 42 + 43 + additionalProperties: false 44 + 45 + examples: 46 + - | 47 + #include <dt-bindings/gpio/gpio.h> 48 + codec { 49 + compatible = "ti,pcm1754"; 50 + #sound-dai-cells = <0>; 51 + 52 + vcc-supply = <&vcc_reg>; 53 + mute-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; 54 + format-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; 55 + };