78e8db071b
The analog codec frontend of the Allwinner V3 is compatible with the analog codec frontend used on the Allwinner H3. This patch adds a compatible string for the analog codec frontend on the Allwinner V3 SoC. Signed-off-by: Tobias Schramm <t.schramm@manjaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210514134405.2097464-5-t.schramm@manjaro.org
42 lines
967 B
YAML
42 lines
967 B
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/allwinner,sun8i-a23-codec-analog.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Allwinner A23 Analog Codec Device Tree Bindings
|
|
|
|
maintainers:
|
|
- Chen-Yu Tsai <wens@csie.org>
|
|
- Maxime Ripard <mripard@kernel.org>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
# FIXME: This is documented in the PRCM binding, but needs to be
|
|
# migrated here at some point
|
|
# - allwinner,sun8i-a23-codec-analog
|
|
- const: allwinner,sun8i-h3-codec-analog
|
|
- items:
|
|
- const: allwinner,sun8i-v3-codec-analog
|
|
- const: allwinner,sun8i-h3-codec-analog
|
|
- const: allwinner,sun8i-v3s-codec-analog
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
codec_analog: codec-analog@1f015c0 {
|
|
compatible = "allwinner,sun8i-h3-codec-analog";
|
|
reg = <0x01f015c0 0x4>;
|
|
};
|
|
|
|
...
|