46 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/maxim,max9759.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Maxim MAX9759 Speaker Amplifier8 9maintainers:10 - Otabek Nazrullaev <otabeknazrullaev1998@gmail.com>11 12properties:13 compatible:14 const: maxim,max975915 16 shutdown-gpios:17 maxItems: 118 description: the gpio connected to the shutdown pin19 20 mute-gpios:21 maxItems: 122 description: the gpio connected to the mute pin23 24 gain-gpios:25 maxItems: 226 description: the 2 gpios connected to the g1 and g2 pins27 28required:29 - compatible30 - shutdown-gpios31 - mute-gpios32 - gain-gpios33 34additionalProperties: false35 36examples:37 - |38 #include <dt-bindings/gpio/gpio.h>39 amplifier {40 compatible = "maxim,max9759";41 shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;42 mute-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;43 gain-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>,44 <&gpio3 25 GPIO_ACTIVE_LOW>;45 };46