mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -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 trailing "Devicetree 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: \(.*\) [dD]evice[ -]\?[tT]ree [bB]indings\?\.\?$/title: \1/' {} \;
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [dD]evice[ -]\?[nN]ode [bB]indings\?\.\?$/title: \1/' {} \;
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [dD][tT] [bB]indings\?\.\?$/title: \1/' {} \;
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # IIO
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: Hans Verkuil <hverkuil-cisco@xs4all.nl> # media
Acked-by: Sebastian Reichel <sre@kernel.org> # power
Link: https://lore.kernel.org/r/20221216163815.522628-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
84 lines
2.0 KiB
YAML
84 lines
2.0 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/power/reset/xlnx,zynqmp-power.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Xilinx Zynq MPSoC Power Management
|
|
|
|
maintainers:
|
|
- Michal Simek <michal.simek@xilinx.com>
|
|
|
|
description: |
|
|
The zynqmp-power node describes the power management configurations.
|
|
It will control remote suspend/shutdown interfaces.
|
|
|
|
properties:
|
|
compatible:
|
|
const: xlnx,zynqmp-power
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
mboxes:
|
|
description: |
|
|
Standard property to specify a Mailbox. Each value of
|
|
the mboxes property should contain a phandle to the
|
|
mailbox controller device node and an args specifier
|
|
that will be the phandle to the intended sub-mailbox
|
|
child node to be used for communication. See
|
|
Documentation/devicetree/bindings/mailbox/mailbox.txt
|
|
for more details about the generic mailbox controller
|
|
and client driver bindings. Also see
|
|
Documentation/devicetree/bindings/mailbox/ \
|
|
xlnx,zynqmp-ipi-mailbox.txt for typical controller that
|
|
is used to communicate with this System controllers.
|
|
items:
|
|
- description: tx channel
|
|
- description: rx channel
|
|
|
|
mbox-names:
|
|
description:
|
|
Name given to channels seen in the 'mboxes' property.
|
|
items:
|
|
- const: tx
|
|
- const: rx
|
|
|
|
required:
|
|
- compatible
|
|
- interrupts
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |+
|
|
|
|
// Example with interrupt method:
|
|
|
|
firmware {
|
|
zynqmp-firmware {
|
|
zynqmp-power {
|
|
compatible = "xlnx,zynqmp-power";
|
|
interrupts = <0 35 4>;
|
|
};
|
|
};
|
|
};
|
|
|
|
- |+
|
|
|
|
// Example with IPI mailbox method:
|
|
|
|
firmware {
|
|
zynqmp-firmware {
|
|
zynqmp-power {
|
|
compatible = "xlnx,zynqmp-power";
|
|
interrupt-parent = <&gic>;
|
|
interrupts = <0 35 4>;
|
|
mboxes = <&ipi_mailbox_pmu1 0>,
|
|
<&ipi_mailbox_pmu1 1>;
|
|
mbox-names = "tx", "rx";
|
|
};
|
|
};
|
|
};
|
|
...
|