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

ASoC: dt-bindings: rt1015: Convert to dtschema

Convert the RT1015 Mono Class D Audio Amplifier to DT schema.

Signed-off-by: Javier García <javier.gar.tab@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://msgid.link/r/20240304142315.14522-1-javier.gar.tab@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Javier García and committed by
Mark Brown
2ca70330 8fedf4f1

+41 -23
+41
Documentation/devicetree/bindings/sound/realtek,rt1015.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/realtek,rt1015.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: RT1015 Mono Class D Audio Amplifier 8 + 9 + maintainers: 10 + - Jack Yu <jack.yu@realtek.com> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - realtek,rt1015 16 + 17 + reg: 18 + maxItems: 1 19 + 20 + realtek,power-up-delay-ms: 21 + description: Set a delay time for flush work to be completed, 22 + this vlaue is adjustable depending on platform. 23 + maxItems: 1 24 + 25 + required: 26 + - compatible 27 + - reg 28 + 29 + additionalProperties: false 30 + 31 + examples: 32 + - | 33 + i2c { 34 + #address-cells = <1>; 35 + #size-cells = <0>; 36 + codec@28 { 37 + compatible = "realtek,rt1015"; 38 + reg = <0x28>; 39 + realtek,power-up-delay-ms = <50>; 40 + }; 41 + };
-23
Documentation/devicetree/bindings/sound/rt1015.txt
··· 1 - RT1015 Mono Class D Audio Amplifier 2 - 3 - This device supports I2C only. 4 - 5 - Required properties: 6 - 7 - - compatible : "realtek,rt1015". 8 - 9 - - reg : The I2C address of the device. 10 - 11 - Optional properties: 12 - 13 - - realtek,power-up-delay-ms 14 - Set a delay time for flush work to be completed, 15 - this value is adjustable depending on platform. 16 - 17 - Example: 18 - 19 - rt1015: codec@28 { 20 - compatible = "realtek,rt1015"; 21 - reg = <0x28>; 22 - realtek,power-up-delay-ms = <50>; 23 - };