xref: /freebsd/sys/contrib/device-tree/Bindings/sound/simple-audio-amplifier.yaml (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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
8
9maintainers:
10  - Jerome Brunet <jbrunet@baylibre.com>
11
12allOf:
13  - $ref: dai-common.yaml#
14
15properties:
16  compatible:
17    enum:
18      - dioo,dio2125
19      - simple-audio-amplifier
20
21  enable-gpios:
22    maxItems: 1
23
24  VCC-supply:
25    description: >
26      power supply for the device
27
28  sound-name-prefix: true
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 = <&regulator>;
42        enable-gpios = <&gpio GPIOH_3 0>;
43    };
44
45...
46