From: Piyush Mehta <piyush.mehta@amd.com>
To: <p.zabel@pengutronix.de>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>,
<michal.simek@amd.com>, <michal.simek@xilinx.com>,
<nava.manne@xilinx.com>
Cc: <linux-usb@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
<siva.durga.prasad.paladugu@amd.com>, <git@amd.com>,
Piyush Mehta <piyush.mehta@amd.com>
Subject: [PATCH 2/2] dt-bindings: firmware: add reset-controller property
Date: Wed, 7 Jun 2023 12:21:21 +0530 [thread overview]
Message-ID: <20230607065121.2265076-3-piyush.mehta@amd.com> (raw)
In-Reply-To: <20230607065121.2265076-1-piyush.mehta@amd.com>
The reset controller is responsible for managing both device-level resets
and individual PMC (Power Management Controller) block resets.
To facilitate this functionality reset-controller property is added to the
firmware device tree binding.
Signed-off-by: Piyush Mehta <piyush.mehta@amd.com>
---
.../firmware/xilinx/xlnx,zynqmp-firmware.yaml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
index f14f7b454f07..04d875a535d3 100644
--- a/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
+++ b/Documentation/devicetree/bindings/firmware/xilinx/xlnx,zynqmp-firmware.yaml
@@ -59,6 +59,12 @@ properties:
controller.
type: object
+ reset-controller:
+ $ref: /schemas/reset/xlnx,zynqmp-reset.yaml#
+ description: The reset-controller has the ability to reset lines connected
+ to different blocks and peripherals in the SoC.
+ type: object
+
required:
- compatible
@@ -84,6 +90,11 @@ examples:
clocks = <&ref>, <&alt_ref>, <&pl_alt_ref>;
clock-names = "ref", "alt_ref", "pl_alt_ref";
};
+
+ zynqmp_reset: reset-controller {
+ compatible = "xlnx,zynqmp-reset";
+ #reset-cells = <1>;
+ };
};
...
--
2.25.1
next prev parent reply other threads:[~2023-06-07 6:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-07 6:51 [PATCH 0/2] dt-bindings: reset: convert the xlnx,zynqmp-reset.txt to yaml Piyush Mehta
2023-06-07 6:51 ` [PATCH 1/2] " Piyush Mehta
2023-06-07 7:36 ` Rob Herring
2023-06-08 10:55 ` Mehta, Piyush
2023-06-08 11:29 ` Krzysztof Kozlowski
2023-06-08 11:34 ` Michal Simek
2023-06-08 11:39 ` Krzysztof Kozlowski
2023-06-07 6:51 ` Piyush Mehta [this message]
2023-06-07 7:36 ` [PATCH 2/2] dt-bindings: firmware: add reset-controller property Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230607065121.2265076-3-piyush.mehta@amd.com \
--to=piyush.mehta@amd.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=git@amd.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=michal.simek@xilinx.com \
--cc=nava.manne@xilinx.com \
--cc=p.zabel@pengutronix.de \
--cc=robh+dt@kernel.org \
--cc=siva.durga.prasad.paladugu@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox