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

Convert the RT1016 Stereo Audio Amplifier bindings to DT schema

Signed-off-by: Anup Sharma <anupnewsmail@gmail.com>
Link: https://lore.kernel.org/r/ZFUFAmBJXvkQAG7m@yoga
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Anup Sharma and committed by
Mark Brown
d8b44d8d ba674435

+40 -17
+40
Documentation/devicetree/bindings/sound/realtek,rt1016.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/sound/realtek,rt1016.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Reaktek RT1016 Stereo Class D Audio Amplifier 8 + 9 + maintainers: 10 + - oder_chiou@realtek.com 11 + 12 + allOf: 13 + - $ref: dai-common.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: realtek,rt1016 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@1a { 37 + compatible = "realtek,rt1016"; 38 + reg = <0x1a>; 39 + }; 40 + };
-17
Documentation/devicetree/bindings/sound/rt1016.txt
··· 1 - RT1016 Stereo Class D Audio Amplifier 2 - 3 - This device supports I2C only. 4 - 5 - Required properties: 6 - 7 - - compatible : "realtek,rt1016". 8 - 9 - - reg : The I2C address of the device. 10 - 11 - 12 - Example: 13 - 14 - rt1016: codec@1a { 15 - compatible = "realtek,rt1016"; 16 - reg = <0x1a>; 17 - };