2020-02-20 01:35:02 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/sound/amlogic,t9015.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: Amlogic T9015 Internal Audio DAC
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Jerome Brunet <jbrunet@baylibre.com>
|
|
|
|
|
2021-12-18 22:34:22 +08:00
|
|
|
allOf:
|
|
|
|
- $ref: name-prefix.yaml#
|
|
|
|
|
2020-02-20 01:35:02 +08:00
|
|
|
properties:
|
|
|
|
$nodename:
|
|
|
|
pattern: "^audio-controller@.*"
|
|
|
|
|
|
|
|
"#sound-dai-cells":
|
|
|
|
const: 0
|
|
|
|
|
|
|
|
compatible:
|
|
|
|
items:
|
|
|
|
- const: amlogic,t9015
|
|
|
|
|
|
|
|
clocks:
|
|
|
|
items:
|
|
|
|
- description: Peripheral clock
|
|
|
|
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: pclk
|
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
resets:
|
|
|
|
maxItems: 1
|
|
|
|
|
2021-10-27 02:27:54 +08:00
|
|
|
AVDD-supply:
|
|
|
|
description:
|
|
|
|
Analogue power supply.
|
|
|
|
|
2021-12-18 22:34:22 +08:00
|
|
|
sound-name-prefix: true
|
|
|
|
|
2020-02-20 01:35:02 +08:00
|
|
|
required:
|
|
|
|
- "#sound-dai-cells"
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
- clocks
|
|
|
|
- clock-names
|
|
|
|
- resets
|
2021-10-27 02:27:54 +08:00
|
|
|
- AVDD-supply
|
2020-02-20 01:35:02 +08:00
|
|
|
|
2020-10-03 07:41:43 +08:00
|
|
|
additionalProperties: false
|
|
|
|
|
2020-02-20 01:35:02 +08:00
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
#include <dt-bindings/clock/g12a-clkc.h>
|
|
|
|
#include <dt-bindings/reset/amlogic,meson-g12a-reset.h>
|
|
|
|
|
|
|
|
acodec: audio-controller@32000 {
|
|
|
|
compatible = "amlogic,t9015";
|
2020-05-13 04:45:43 +08:00
|
|
|
reg = <0x32000 0x14>;
|
2020-02-20 01:35:02 +08:00
|
|
|
#sound-dai-cells = <0>;
|
|
|
|
clocks = <&clkc CLKID_AUDIO_CODEC>;
|
|
|
|
clock-names = "pclk";
|
|
|
|
resets = <&reset RESET_AUDIO_CODEC>;
|
2021-10-27 02:27:54 +08:00
|
|
|
AVDD-supply = <&vddao_1v8>;
|
2020-02-20 01:35:02 +08:00
|
|
|
};
|