45 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/nuvoton,nau8315.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NAU8315/NAU8318 Mono Class-D Amplifier8 9maintainers:10 - David Lin <CTLIN0@nuvoton.com>11 12allOf:13 - $ref: dai-common.yaml#14 15properties:16 compatible:17 enum:18 - nuvoton,nau831519 - nuvoton,nau831820 21 '#sound-dai-cells':22 const: 023 24 enable-gpios:25 maxItems: 126 description:27 GPIO specifier for the chip's device enable input(EN) pin.28 If this option is not specified then driver does not manage29 the pin state (e.g. chip is always on).30 31required:32 - compatible33 34unevaluatedProperties: false35 36examples:37 - |38 #include <dt-bindings/gpio/gpio.h>39 40 codec {41 compatible = "nuvoton,nau8315";42 #sound-dai-cells = <0>;43 enable-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;44 };45