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,pcm1681: Convert to dtschema

Convert the Texas Instruments PCM1681 bindings to DT schema.
Make bindings complete by adding #sound-dai-cells.

Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://msgid.link/r/20240406141454.45529-1-animeshagarwal28@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Animesh Agarwal and committed by
Mark Brown
8167bd1c f3806fe5

+43 -15
-15
Documentation/devicetree/bindings/sound/ti,pcm1681.txt
··· 1 - Texas Instruments PCM1681 8-channel PWM Processor 2 - 3 - Required properties: 4 - 5 - - compatible: Should contain "ti,pcm1681". 6 - - reg: The i2c address. Should contain <0x4c>. 7 - 8 - Examples: 9 - 10 - i2c_bus { 11 - pcm1681@4c { 12 - compatible = "ti,pcm1681"; 13 - reg = <0x4c>; 14 - }; 15 - };
+43
Documentation/devicetree/bindings/sound/ti,pcm1681.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,pcm1681.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Texas Instruments PCM1681 8-channel PWM Processor 8 + 9 + maintainers: 10 + - Shenghao Ding <shenghao-ding@ti.com> 11 + - Kevin Lu <kevin-lu@ti.com> 12 + - Baojun Xu <baojun.xu@ti.com> 13 + 14 + allOf: 15 + - $ref: dai-common.yaml# 16 + 17 + properties: 18 + compatible: 19 + const: ti,pcm1681 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + "#sound-dai-cells": 25 + const: 0 26 + 27 + required: 28 + - compatible 29 + - reg 30 + 31 + unevaluatedProperties: false 32 + 33 + examples: 34 + - | 35 + i2c { 36 + #address-cells = <1>; 37 + #size-cells = <0>; 38 + 39 + pcm1681: audio-codec@4c { 40 + compatible = "ti,pcm1681"; 41 + reg = <0x4c>; 42 + }; 43 + };