diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2024-03-20 19:38:54 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2024-03-20 19:38:54 +0000 |
commit | 309417d444d2524fe6e9c2912879724afe191bee (patch) | |
tree | 6292c44f04645cef9d26f5af7af5e2c337345739 /Bindings/sound/nuvoton,nau8315.yaml | |
parent | c47d0ea183983e0631f8cc41e9d25e4854368a0a (diff) | |
download | src-vendor/device-tree/6.5.tar.gz src-vendor/device-tree/6.5.zip |
Import device-tree files from Linux 6.5vendor/device-tree/6.5
Diffstat (limited to 'Bindings/sound/nuvoton,nau8315.yaml')
-rw-r--r-- | Bindings/sound/nuvoton,nau8315.yaml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Bindings/sound/nuvoton,nau8315.yaml b/Bindings/sound/nuvoton,nau8315.yaml new file mode 100644 index 000000000000..24006e9dc501 --- /dev/null +++ b/Bindings/sound/nuvoton,nau8315.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/nuvoton,nau8315.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NAU8315/NAU8318 Mono Class-D Amplifier + +maintainers: + - David Lin <CTLIN0@nuvoton.com> + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - nuvoton,nau8315 + - nuvoton,nau8318 + + '#sound-dai-cells': + const: 0 + + enable-gpios: + maxItems: 1 + description: + GPIO specifier for the chip's device enable input(EN) pin. + If this option is not specified then driver does not manage + the pin state (e.g. chip is always on). + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + codec { + compatible = "nuvoton,nau8315"; + #sound-dai-cells = <0>; + enable-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; + }; |