mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 09:35:52 -04:00
The Devicetree bindings document does not have to say in the title that
it is a "binding", but instead just describe the hardware.
Drop trailing "bindings" in various forms (also with trailing full
stop):
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [bB]indings\?\.\?$/title: \1/' {} \;
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com> # ROHM
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # MMC
Acked-by: Stephen Boyd <sboyd@kernel.org> # clk
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> # input
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> # media
Acked-by: Sebastian Reichel <sre@kernel.org> # power
Acked-by: Viresh Kumar <viresh.kumar@linaro.org> # cpufreq
Link: https://lore.kernel.org/r/20221216163815.522628-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
105 lines
1.8 KiB
YAML
105 lines
1.8 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/marvell,mmp-sspa.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Marvel SSPA Digital Audio Interface
|
|
|
|
maintainers:
|
|
- Lubomir Rintel <lkundrak@v3.sk>
|
|
|
|
allOf:
|
|
- $ref: dai-common.yaml#
|
|
|
|
properties:
|
|
$nodename:
|
|
pattern: "^audio-controller(@.*)?$"
|
|
|
|
compatible:
|
|
const: marvell,mmp-sspa
|
|
|
|
reg:
|
|
items:
|
|
- description: RX block
|
|
- description: TX block
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: Clock for the Audio block
|
|
- description: I2S bit clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: audio
|
|
- const: bitclk
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
'#sound-dai-cells':
|
|
const: 0
|
|
|
|
dmas:
|
|
items:
|
|
- description: TX DMA Channel
|
|
- description: RX DMA Channel
|
|
|
|
dma-names:
|
|
items:
|
|
- const: tx
|
|
- const: rx
|
|
|
|
port:
|
|
$ref: audio-graph-port.yaml#
|
|
unevaluatedProperties: false
|
|
|
|
properties:
|
|
endpoint:
|
|
type: object
|
|
|
|
properties:
|
|
dai-format:
|
|
const: i2s
|
|
|
|
required:
|
|
- "#sound-dai-cells"
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- clock-names
|
|
- dmas
|
|
- dma-names
|
|
- port
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/marvell,mmp2.h>
|
|
|
|
audio-controller@d42a0c00 {
|
|
compatible = "marvell,mmp-sspa";
|
|
reg = <0xd42a0c00 0x30>,
|
|
<0xd42a0c80 0x30>;
|
|
interrupts = <2>;
|
|
clock-names = "audio", "bitclk";
|
|
clocks = <&soc_clocks 127>,
|
|
<&audio_clk 1>;
|
|
#sound-dai-cells = <0>;
|
|
dmas = <&adma0 0>, <&adma0 1>;
|
|
dma-names = "tx", "rx";
|
|
port {
|
|
endpoint {
|
|
remote-endpoint = <&rt5631_0>;
|
|
dai-format = "i2s";
|
|
};
|
|
};
|
|
};
|
|
|
|
...
|