1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/sound/adi,ssm2305.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Analog Devices SSM2305 Class-D Speaker Amplifier 8 9maintainers: 10 - Lars-Peter Clausen <lars@metafoo.de> 11 12description: 13 The SSM2305 is a filterless, high efficiency, mono 2.8 W Class-D 14 audio amplifier with a micropower shutdown mode controlled via a 15 dedicated active-low GPIO pin. 16 17allOf: 18 - $ref: dai-common.yaml# 19 20properties: 21 compatible: 22 const: adi,ssm2305 23 24 shutdown-gpios: 25 maxItems: 1 26 description: 27 GPIO connected to the shutdown pin (SD) of the SSM2305. 28 The pin is active-low; asserting it puts the device into 29 micropower shutdown mode. 30 31required: 32 - compatible 33 - shutdown-gpios 34 35unevaluatedProperties: false 36 37examples: 38 - | 39 #include <dt-bindings/gpio/gpio.h> 40 41 analog-amplifier { 42 compatible = "adi,ssm2305"; 43 shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>; 44 }; 45 46... 47