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