mirror of
https://github.com/torvalds/linux.git
synced 2026-04-20 07:43:57 -04:00
The Devicetree bindings document does not have to say in the title that
it is a "Devicetree binding", but instead just describe the hardware.
Drop beginning "Devicetree bindings" in various forms:
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-exec sed -i -e 's/^title: [dD]evice[ -]\?[tT]ree [bB]indings\? for \([tT]he \)\?\(.*\)$/title: \u\2/' {} \;
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-exec sed -i -e 's/^title: [bB]indings\? for \([tT]he \)\?\(.*\)$/title: \u\2/' {} \;
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-exec sed -i -e 's/^title: [dD][tT] [bB]indings\? for \([tT]he \)\?\(.*\)$/title: \u\2/' {} \;
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
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: Sebastian Reichel <sre@kernel.org> # power
Link: https://lore.kernel.org/r/20221216163815.522628-8-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
69 lines
1.5 KiB
YAML
69 lines
1.5 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/qcom,wsa881x.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm WSA8810/WSA8815 Class-D Smart Speaker Amplifier
|
|
|
|
maintainers:
|
|
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
|
|
|
description: |
|
|
WSA8810 is a class-D smart speaker amplifier and WSA8815
|
|
is a high-output power class-D smart speaker amplifier.
|
|
Their primary operating mode uses a SoundWire digital audio
|
|
interface. This binding is for SoundWire interface.
|
|
|
|
properties:
|
|
compatible:
|
|
const: sdw10217201000
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
powerdown-gpios:
|
|
description: GPIO spec for Powerdown/Shutdown line to use
|
|
maxItems: 1
|
|
|
|
'#thermal-sensor-cells':
|
|
const: 0
|
|
|
|
'#sound-dai-cells':
|
|
const: 0
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- powerdown-gpios
|
|
- "#thermal-sensor-cells"
|
|
- "#sound-dai-cells"
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
soundwire@c2d0000 {
|
|
#address-cells = <2>;
|
|
#size-cells = <0>;
|
|
reg = <0x0c2d0000 0x2000>;
|
|
|
|
speaker@0,1 {
|
|
compatible = "sdw10217201000";
|
|
reg = <0 1>;
|
|
powerdown-gpios = <&wcdpinctrl 2 0>;
|
|
#thermal-sensor-cells = <0>;
|
|
#sound-dai-cells = <0>;
|
|
};
|
|
|
|
speaker@0,2 {
|
|
compatible = "sdw10217201000";
|
|
reg = <0 2>;
|
|
powerdown-gpios = <&wcdpinctrl 2 0>;
|
|
#thermal-sensor-cells = <0>;
|
|
#sound-dai-cells = <0>;
|
|
};
|
|
};
|
|
|
|
...
|