fba5618451
The examples template is a 'simple-bus' with a size of 1 cell for had between 2 and 4 cells which really only errors on I2C or SPI type devices with a single cell. The easiest fix in most cases is to change the 'reg' property to for 1 cell address and size. In some cases with child devices having 2 cells, that doesn't make sense so a bus node is needed. Acked-by: Stephen Boyd <sboyd@kernel.org> # clk Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rob Herring <robh@kernel.org>
58 lines
1.0 KiB
YAML
58 lines
1.0 KiB
YAML
# 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 = <0x32000 0x14>;
|
|
#sound-dai-cells = <0>;
|
|
clocks = <&clkc CLKID_AUDIO_CODEC>;
|
|
clock-names = "pclk";
|
|
resets = <&reset RESET_AUDIO_CODEC>;
|
|
};
|