1f88b6c0cSWeidong Wang# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2f88b6c0cSWeidong Wang%YAML 1.2 3f88b6c0cSWeidong Wang--- 4f88b6c0cSWeidong Wang$id: http://devicetree.org/schemas/sound/awinic,aw88395.yaml# 5f88b6c0cSWeidong Wang$schema: http://devicetree.org/meta-schemas/core.yaml# 6f88b6c0cSWeidong Wang 7f88b6c0cSWeidong Wangtitle: Awinic AW88395 Smart Audio Amplifier 8f88b6c0cSWeidong Wang 9f88b6c0cSWeidong Wangmaintainers: 10f88b6c0cSWeidong Wang - Weidong Wang <wangweidong.a@awinic.com> 11f88b6c0cSWeidong Wang 12f88b6c0cSWeidong Wangdescription: 13f88b6c0cSWeidong Wang The Awinic AW88395 is an I2S/TDM input, high efficiency 14f88b6c0cSWeidong Wang digital Smart K audio amplifier with an integrated 10.25V 15f88b6c0cSWeidong Wang smart boost convert. 16f88b6c0cSWeidong Wang 17f88b6c0cSWeidong WangallOf: 18f88b6c0cSWeidong Wang - $ref: dai-common.yaml# 19f88b6c0cSWeidong Wang 20f88b6c0cSWeidong Wangproperties: 21f88b6c0cSWeidong Wang compatible: 22*517d52aeSWeidong Wang enum: 23*517d52aeSWeidong Wang - awinic,aw88395 24*517d52aeSWeidong Wang - awinic,aw88261 25f88b6c0cSWeidong Wang 26f88b6c0cSWeidong Wang reg: 27f88b6c0cSWeidong Wang maxItems: 1 28f88b6c0cSWeidong Wang 29f88b6c0cSWeidong Wang '#sound-dai-cells': 30f88b6c0cSWeidong Wang const: 0 31f88b6c0cSWeidong Wang 32f88b6c0cSWeidong Wang reset-gpios: 33f88b6c0cSWeidong Wang maxItems: 1 34f88b6c0cSWeidong Wang 35f88b6c0cSWeidong Wangrequired: 36f88b6c0cSWeidong Wang - compatible 37f88b6c0cSWeidong Wang - reg 38f88b6c0cSWeidong Wang - '#sound-dai-cells' 39f88b6c0cSWeidong Wang - reset-gpios 40f88b6c0cSWeidong Wang 41f88b6c0cSWeidong WangunevaluatedProperties: false 42f88b6c0cSWeidong Wang 43f88b6c0cSWeidong Wangexamples: 44f88b6c0cSWeidong Wang - | 45f88b6c0cSWeidong Wang #include <dt-bindings/gpio/gpio.h> 46f88b6c0cSWeidong Wang i2c { 47f88b6c0cSWeidong Wang #address-cells = <1>; 48f88b6c0cSWeidong Wang #size-cells = <0>; 49f88b6c0cSWeidong Wang audio-codec@34 { 50f88b6c0cSWeidong Wang compatible = "awinic,aw88395"; 51f88b6c0cSWeidong Wang reg = <0x34>; 52f88b6c0cSWeidong Wang #sound-dai-cells = <0>; 53f88b6c0cSWeidong Wang reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>; 54f88b6c0cSWeidong Wang }; 55f88b6c0cSWeidong Wang }; 56