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

ASoC: dt-bindings: linux,spdif: Convert spdif-reciever.txt to dtschema

Convert the dummy SPDIF receiver bindings to DT schema.

Signed-off-by: Animesh Agarwal <animeshagarwal28@gmail.com>
Cc: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240606041212.78428-1-animeshagarwal28@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Animesh Agarwal and committed by
Mark Brown
a694956d 5c33876a

+5 -13
+5 -3
Documentation/devicetree/bindings/sound/linux,spdif-dit.yaml Documentation/devicetree/bindings/sound/linux,spdif.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 %YAML 1.2 3 3 --- 4 - $id: http://devicetree.org/schemas/sound/linux,spdif-dit.yaml# 4 + $id: http://devicetree.org/schemas/sound/linux,spdif.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 - title: Dummy SPDIF Transmitter 7 + title: Dummy SPDIF Transmitter/Receiver 8 8 9 9 maintainers: 10 10 - Mark Brown <broonie@kernel.org> ··· 14 14 15 15 properties: 16 16 compatible: 17 - const: linux,spdif-dit 17 + enum: 18 + - linux,spdif-dit 19 + - linux,spdif-dir 18 20 19 21 "#sound-dai-cells": 20 22 const: 0
-10
Documentation/devicetree/bindings/sound/spdif-receiver.txt
··· 1 - Device-Tree bindings for dummy spdif receiver 2 - 3 - Required properties: 4 - - compatible: should be "linux,spdif-dir". 5 - 6 - Example node: 7 - 8 - codec: spdif-receiver { 9 - compatible = "linux,spdif-dir"; 10 - };