1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/simple-audio-amplifier.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Simple Audio Amplifier Device Tree Bindings 8 9maintainers: 10 - Jerome Brunet <jbrunet@baylibre.com> 11 12properties: 13 compatible: 14 enum: 15 - dioo,dio2125 16 - simple-audio-amplifier 17 18 enable-gpios: 19 maxItems: 1 20 21 VCC-supply: 22 description: > 23 power supply for the device 24 25 sound-name-prefix: 26 $ref: /schemas/types.yaml#/definitions/string 27 description: > 28 See ./name-prefix.txt 29 30required: 31 - compatible 32 33additionalProperties: false 34 35examples: 36 - | 37 #include <dt-bindings/gpio/meson8-gpio.h> 38 39 analog-amplifier { 40 compatible = "simple-audio-amplifier"; 41 VCC-supply = <®ulator>; 42 enable-gpios = <&gpio GPIOH_3 0>; 43 }; 44 45... 46