1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/richtek,rt9123.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Richtek RT9123 Audio Amplifier 8 9maintainers: 10 - ChiYuan Huang <cy_huang@richtek.com> 11 12description: 13 RT9123 is a 3.2W mono Class-D audio amplifier that features high efficiency 14 and performance with ultra-low quiescent current. The digital audio interface 15 support various formats, including I2S, left-justified, right-justified, and 16 TDM formats. 17 18allOf: 19 - $ref: dai-common.yaml# 20 21properties: 22 compatible: 23 enum: 24 - richtek,rt9123 25 26 reg: 27 maxItems: 1 28 29 '#sound-dai-cells': 30 const: 0 31 32 enable-gpios: 33 maxItems: 1 34 35required: 36 - compatible 37 - reg 38 - '#sound-dai-cells' 39 40unevaluatedProperties: false 41 42examples: 43 - | 44 #include <dt-bindings/gpio/gpio.h> 45 46 i2c { 47 #address-cells = <1>; 48 #size-cells = <0>; 49 50 amplifier@5e { 51 compatible = "richtek,rt9123"; 52 reg = <0x5e>; 53 enable-gpios = <&gpio 26 GPIO_ACTIVE_HIGH>; 54 #sound-dai-cells = <0>; 55 }; 56 }; 57