mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
3fda85324b
Rename name-prefix.yaml into common DAI schema and document '#sound-dai-cells' for completeness. The '#sound-dai-cells' cannot be really constrained, as there are users with value of 0, 1 and 2, but at least it brings definition to one common place. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20221203160442.69594-1-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
46 lines
790 B
YAML
46 lines
790 B
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/simple-audio-amplifier.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Simple Audio Amplifier
|
|
|
|
maintainers:
|
|
- Jerome Brunet <jbrunet@baylibre.com>
|
|
|
|
allOf:
|
|
- $ref: dai-common.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- dioo,dio2125
|
|
- simple-audio-amplifier
|
|
|
|
enable-gpios:
|
|
maxItems: 1
|
|
|
|
VCC-supply:
|
|
description: >
|
|
power supply for the device
|
|
|
|
sound-name-prefix: true
|
|
|
|
required:
|
|
- compatible
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/meson8-gpio.h>
|
|
|
|
analog-amplifier {
|
|
compatible = "simple-audio-amplifier";
|
|
VCC-supply = <®ulator>;
|
|
enable-gpios = <&gpio GPIOH_3 0>;
|
|
};
|
|
|
|
...
|