aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/firmware
diff options
context:
space:
mode:
authorGravatar Naman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com> 2023-08-16 06:03:09 -0700
committerGravatar Rob Herring <robh@kernel.org> 2023-08-18 11:22:12 -0500
commitde259b7bd6bee317c8ae9e6324be6fd3b89e1930 (patch)
treee2a423a78739c18ab7ebe2f1fa25d7fa5f90b1c9 /Documentation/devicetree/bindings/firmware
parentdt: dt-check-compatible: Find struct of_device_id instances with compiler ann... (diff)
downloadlinux-de259b7bd6bee317c8ae9e6324be6fd3b89e1930.tar.gz
linux-de259b7bd6bee317c8ae9e6324be6fd3b89e1930.tar.bz2
linux-de259b7bd6bee317c8ae9e6324be6fd3b89e1930.zip
dt-bindings: power: xilinx: merge zynqmp-genpd.txt with firmware binding
Remove the zynqmp-genpd.txt binding. Add the power-domain-cells property from the zynqmp-genpd.txt binding to firmware binding. Signed-off-by: Naman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20230816130309.1338446-1-naman.trivedimanojbhai@amd.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/firmware')
-rw-r--r--Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
index 910bebe6cfa8..822864488dcb 100644
--- a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
+++ b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
@@ -38,6 +38,9 @@ properties:
- smc
- hvc
+ "#power-domain-cells":
+ const: 1
+
versal_fpga:
$ref: /schemas/fpga/xlnx,versal-fpga.yaml#
description: Compatible of the FPGA device.
@@ -66,6 +69,17 @@ additionalProperties: false
examples:
- |
+ #include <dt-bindings/power/xlnx-zynqmp-power.h>
+ firmware {
+ zynqmp_firmware: zynqmp-firmware {
+ #power-domain-cells = <1>;
+ };
+ };
+
+ sata {
+ power-domains = <&zynqmp_firmware PD_SATA>;
+ };
+
versal-firmware {
compatible = "xlnx,versal-firmware";
method = "smc";