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

Convert the NAU8540 audio CODEC bindings to DT schema

Signed-off-by: Anup Sharma <anupnewsmail@gmail.com

Changes:
V1 -> V2: Adhere to the correct procedure by including the maintainer's name.
Drop Mark from maintainer.

Link: https://lore.kernel.org/r/ZFYxWVdE9YkMKvXv@yoga
Signed-off-by: Mark Brown <broonie@kernel.org

authored by

Anup Sharma and committed by
Mark Brown
0f0d70c2 ea79b0a6

+40 -16
-16
Documentation/devicetree/bindings/sound/nau8540.txt
··· 1 - NAU85L40 audio CODEC 2 - 3 - This device supports I2C only. 4 - 5 - Required properties: 6 - 7 - - compatible : "nuvoton,nau8540" 8 - 9 - - reg : the I2C address of the device. 10 - 11 - Example: 12 - 13 - codec: nau8540@1c { 14 - compatible = "nuvoton,nau8540"; 15 - reg = <0x1c>; 16 - };
+40
Documentation/devicetree/bindings/sound/nuvoton,nau8540.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/nuvoton,nau8540.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Nuvoton Technology Corporation NAU85L40 Audio CODEC 8 + 9 + maintainers: 10 + - John Hsu <KCHSU0@nuvoton.com> 11 + 12 + allOf: 13 + - $ref: dai-common.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: nuvoton,nau8540 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + "#sound-dai-cells": 23 + const: 0 24 + 25 + required: 26 + - compatible 27 + - reg 28 + 29 + unevaluatedProperties: false 30 + 31 + examples: 32 + - | 33 + i2c { 34 + #address-cells = <1>; 35 + #size-cells = <0>; 36 + codec@1c { 37 + compatible = "nuvoton,nau8540"; 38 + reg = <0x1c>; 39 + }; 40 + };