FILE
awinic,aw88395.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/sound/awinic,aw88395.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/awinic,aw88395.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Awinic AW88395 Smart Audio Amplifier 8 9maintainers: 10 - Weidong Wang <wangweidong.a@awinic.com> 11 12description: 13 The Awinic AW88395 is an I2S/TDM input, high efficiency 14 digital Smart K audio amplifier with an integrated 10.25V 15 smart boost convert. 16 17properties: 18 compatible: 19 enum: 20 - awinic,aw88081 21 - awinic,aw88083 22 - awinic,aw88166 23 - awinic,aw88261 24 - awinic,aw88395 25 - awinic,aw88399 26 27 reg: 28 maxItems: 1 29 30 '#sound-dai-cells': 31 const: 0 32 33 reset-gpios: 34 maxItems: 1 35 36 awinic,audio-channel: 37 description: 38 It is used to distinguish multiple PA devices, so that different 39 configurations can be loaded to different PA devices 40 $ref: /schemas/types.yaml#/definitions/uint32 41 minimum: 0 42 maximum: 7 43 44 awinic,sync-flag: 45 description: 46 Flag bit used to keep the phase synchronized in the case of multiple PA 47 $ref: /schemas/types.yaml#/definitions/flag 48 49required: 50 - compatible 51 - reg 52 - '#sound-dai-cells' 53 - awinic,audio-channel 54 55allOf: 56 - $ref: dai-common.yaml# 57 - if: 58 properties: 59 compatible: 60 contains: 61 enum: 62 - awinic,aw88081 63 - awinic,aw88083 64 - awinic,aw88261 65 then: 66 properties: 67 reset-gpios: false 68 69unevaluatedProperties: false 70 71examples: 72 - | 73 #include <dt-bindings/gpio/gpio.h> 74 i2c { 75 #address-cells = <1>; 76 #size-cells = <0>; 77 audio-codec@34 { 78 compatible = "awinic,aw88395"; 79 reg = <0x34>; 80 #sound-dai-cells = <0>; 81 reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>; 82 awinic,audio-channel = <0>; 83 awinic,sync-flag; 84 }; 85 };
~/
Read-only file preview.