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: ak4104: convert to dt schema

Convert ak4104 binding to DT schema

Signed-off-by: Xiaxi Shen <shenxiaxi26@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240517051317.466764-1-shenxiaxi26@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Xiaxi Shen and committed by
Mark Brown
ad72a1e7 bad0a07a

+49 -25
-25
Documentation/devicetree/bindings/sound/ak4104.txt
··· 1 - AK4104 S/PDIF transmitter 2 - 3 - This device supports SPI mode only. 4 - 5 - Required properties: 6 - 7 - - compatible : "asahi-kasei,ak4104" 8 - 9 - - reg : The chip select number on the SPI bus 10 - 11 - - vdd-supply : A regulator node, providing 2.7V - 3.6V 12 - 13 - Optional properties: 14 - 15 - - reset-gpios : a GPIO spec for the reset pin. If specified, it will be 16 - deasserted before communication to the device starts. 17 - 18 - Example: 19 - 20 - spdif: ak4104@0 { 21 - compatible = "asahi-kasei,ak4104"; 22 - reg = <0>; 23 - spi-max-frequency = <5000000>; 24 - vdd-supply = <&vdd_3v3_reg>; 25 - };
+49
Documentation/devicetree/bindings/sound/asahi-kasei,ak4104.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/asahi-kasei,ak4104.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: AK4104 S/PDIF transmitter 8 + 9 + allOf: 10 + - $ref: dai-common.yaml# 11 + 12 + maintainers: 13 + - Daniel Mack <github@zonque.org> 14 + - Xiaxi Shen <shenxiaxi26@gmail.com> 15 + 16 + properties: 17 + compatible: 18 + const: asahi-kasei,ak4104 19 + 20 + reg: 21 + description: Chip select number on the SPI bus 22 + maxItems: 1 23 + 24 + vdd-supply: 25 + description: A regulator node providing between 2.7V and 3.6V. 26 + 27 + reset-gpios: 28 + maxItems: 1 29 + description: Optional GPIO spec for the reset pin, deasserted 30 + before communication starts. 31 + 32 + required: 33 + - compatible 34 + - reg 35 + - vdd-supply 36 + 37 + unevaluatedProperties: false 38 + 39 + examples: 40 + - | 41 + i2c { 42 + #address-cells = <1>; 43 + #size-cells = <0>; 44 + codec@0 { 45 + compatible = "asahi-kasei,ak4104"; 46 + reg = <0>; 47 + vdd-supply = <&vdd_3v3_reg>; 48 + }; 49 + };