diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-14 07:10:49 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-14 07:10:49 +0200 |
commit | e4ea8e8bfa7a37fea2d97c3d268206417e196bdf (patch) | |
tree | 44e2513021a45b23fdd897ab91e3588101e7e844 /dts/Bindings/sound/amlogic,t9015.yaml | |
parent | 9859cb41d7d737852d3334d33c6d2c2c9bbc75c6 (diff) | |
parent | 65aeb63c89e7b4e701ff1b1880818197b162d9e6 (diff) | |
download | barebox-e4ea8e8bfa7a37fea2d97c3d268206417e196bdf.tar.gz barebox-e4ea8e8bfa7a37fea2d97c3d268206417e196bdf.tar.xz |
Merge branch 'for-next/dts'
Diffstat (limited to 'dts/Bindings/sound/amlogic,t9015.yaml')
-rw-r--r-- | dts/Bindings/sound/amlogic,t9015.yaml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/dts/Bindings/sound/amlogic,t9015.yaml b/dts/Bindings/sound/amlogic,t9015.yaml new file mode 100644 index 0000000000..b7c38c2b5b --- /dev/null +++ b/dts/Bindings/sound/amlogic,t9015.yaml @@ -0,0 +1,58 @@ +# 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> + +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 + +required: + - "#sound-dai-cells" + - compatible + - reg + - clocks + - clock-names + - resets + +examples: + - | + #include <dt-bindings/clock/g12a-clkc.h> + #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> + + acodec: audio-controller@32000 { + compatible = "amlogic,t9015"; + reg = <0x0 0x32000 0x0 0x14>; + #sound-dai-cells = <0>; + clocks = <&clkc CLKID_AUDIO_CODEC>; + clock-names = "pclk"; + resets = <&reset RESET_AUDIO_CODEC>; + }; + |