[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dd199853-71b1-aeef-fe17-57a4110d2da9@xilinx.com>
Date: Mon, 7 Dec 2020 10:32:34 +0100
From: Michal Simek <michal.simek@...inx.com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Michal Simek <michal.simek@...inx.com>
CC: <linux-kernel@...r.kernel.org>, <monstr@...str.eu>,
<git@...inx.com>, Kalyani Akula <kalyani.akula@...inx.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Manish Narani <manish.narani@...inx.com>,
Rajan Vaja <rajan.vaja@...inx.com>,
Rob Herring <robh+dt@...nel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 04/12] arm64: dts: zynqmp: Enable and wire reset
controller
On 06. 12. 20 23:38, Laurent Pinchart wrote:
> Hi Michal,
>
> Thank you for the patch.
>
> On Wed, Dec 02, 2020 at 03:06:03PM +0100, Michal Simek wrote:
>> Enable reset controller for several IPs.
>>
>> Signed-off-by: Michal Simek <michal.simek@...inx.com>
>> ---
>>
>> arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 29 ++++++++++++++++++++++++++
>> 1 file changed, 29 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
>> index 68923fbd0e89..4fa820f78d76 100644
>> --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
>> +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
>> @@ -187,6 +187,11 @@ zynqmp_pcap: pcap {
>> xlnx_aes: zynqmp-aes {
>> compatible = "xlnx,zynqmp-aes";
>> };
>> +
>> + zynqmp_reset: reset-controller {
>> + compatible = "xlnx,zynqmp-reset";
>> + #reset-cells = <1>;
>> + };
>> };
>> };
>>
>> @@ -466,6 +471,8 @@ gem0: ethernet@...b0000 {
>> #address-cells = <1>;
>> #size-cells = <0>;
>> power-domains = <&zynqmp_firmware PD_ETH_0>;
>> + resets = <&zynqmp_reset ZYNQMP_RESET_GEM0>;
>> + reset-names = "gem0_rst";
>
> I don't see any of the reset-names used in this patch defined in DT
> bindings (or used in drivers). For all devices but the USB controllers
> it seems they can be dropped. For the USB controllers, the bindings need
> to be updated first.
Let me double check it. IIRC if there is just one there is likely no
need to list the name but if there are more then one names should be
also there. But you are right it should be the part of dt binding.
Thanks,
Michal
Powered by blists - more mailing lists