Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/sound/simple-audio-amplifier.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Simple Audio Amplifier Device Tree Bindings
0008 
0009 maintainers:
0010   - Jerome Brunet <jbrunet@baylibre.com>
0011 
0012 allOf:
0013   - $ref: name-prefix.yaml#
0014 
0015 properties:
0016   compatible:
0017     enum:
0018       - dioo,dio2125
0019       - simple-audio-amplifier
0020 
0021   enable-gpios:
0022     maxItems: 1
0023 
0024   VCC-supply:
0025     description: >
0026       power supply for the device
0027 
0028   sound-name-prefix: true
0029 
0030 required:
0031   - compatible
0032 
0033 additionalProperties: false
0034 
0035 examples:
0036   - |
0037     #include <dt-bindings/gpio/meson8-gpio.h>
0038 
0039     analog-amplifier {
0040         compatible = "simple-audio-amplifier";
0041         VCC-supply = <&regulator>;
0042         enable-gpios = <&gpio GPIOH_3 0>;
0043     };
0044 
0045 ...