From: Michal Simek <michal.simek@amd.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu,
michal.simek@xilinx.com, git@xilinx.com,
Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Rob Herring <robh@kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
"moderated list:ARM/ZYNQ ARCHITECTURE"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 07/15] ARM: zynq: Add ethernet phy reset information to DT(zc702)
Date: Wed, 11 Dec 2024 15:37:03 +0100 [thread overview]
Message-ID: <5051fb04-1bcc-4448-aa68-6ff300cc17d2@amd.com> (raw)
In-Reply-To: <897ab5eb-a210-41d6-bfef-a60ab74f5943@lunn.ch>
On 12/11/24 15:21, Andrew Lunn wrote:
> On Wed, Dec 11, 2024 at 03:04:28PM +0100, Michal Simek wrote:
>> Hi Andrew,
>>
>> On 12/11/24 14:45, Andrew Lunn wrote:
>>> On Wed, Dec 11, 2024 at 01:41:26PM +0100, Michal Simek wrote:
>>>> Added phy reset gpio information for gem0.
>>>>
>>>> Signed-off-by: Michal Simek <michal.simek@amd.com>
>>>> ---
>>>>
>>>> arch/arm/boot/dts/xilinx/zynq-zc702.dts | 2 ++
>>>> 1 file changed, 2 insertions(+)
>>>>
>>>> diff --git a/arch/arm/boot/dts/xilinx/zynq-zc702.dts b/arch/arm/boot/dts/xilinx/zynq-zc702.dts
>>>> index 424e78f6c148..975385f4ac01 100644
>>>> --- a/arch/arm/boot/dts/xilinx/zynq-zc702.dts
>>>> +++ b/arch/arm/boot/dts/xilinx/zynq-zc702.dts
>>>> @@ -79,6 +79,8 @@ &gem0 {
>>>> phy-handle = <ðernet_phy>;
>>>> pinctrl-names = "default";
>>>> pinctrl-0 = <&pinctrl_gem0_default>;
>>>> + phy-reset-gpio = <&gpio0 11 0>;
>>>> + phy-reset-active-low;
>>>
>>> Hi Michal
>>>
>>> Could you point me at code which actually implements these two
>>> properties.
>>
>> I have tracked it down and it was only used from 2016 to 2018 in Xilinx
>> downstream Linux repository. After that it was removed.
>
> O.K. So when you ran the DT lint tools to validate these DT changes,
> why did it not give errors pointing this out?
>
> I wounder how many other such errors there are in this patchset?
That's definitely valid concern.
I was running it but for all files there are a lot of other issues generated
that I missed this one.
../linux/arch/arm/boot/dts/xilinx/zynq-zc702.dtb: ethernet@e000b000: Unevaluated
properties are not allowed ('phy-reset-active-low', 'phy-reset-gpio' were
unexpected)
Thanks,
Michal
next prev parent reply other threads:[~2024-12-11 14:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-11 12:41 [PATCH 00/15] ARM: zynq: Sync DTs with U-Boot Michal Simek
2024-12-11 12:41 ` [PATCH 01/15] ARM: zynq: Replace 'io-standard' with 'power-source' property Michal Simek
2024-12-11 12:41 ` [PATCH 02/15] ARM: zynq: Remove deprecated device_type property Michal Simek
2024-12-11 12:41 ` [PATCH 03/15] ARM: zynq: DT: List OCM memory for all platforms Michal Simek
2024-12-11 12:41 ` [PATCH 04/15] ARM: zynq: Mark boot-phase-specific device nodes Michal Simek
2024-12-11 12:41 ` [PATCH 05/15] ARM: zynq: Do not define address/size-cells for nand-controller Michal Simek
2024-12-11 12:41 ` [PATCH 06/15] ARM: zynq: Wire smcc with nand/nor memories on zc770 platform Michal Simek
2024-12-11 12:41 ` [PATCH 07/15] ARM: zynq: Add ethernet phy reset information to DT(zc702) Michal Simek
2024-12-11 13:45 ` Andrew Lunn
2024-12-11 14:04 ` Michal Simek
2024-12-11 14:21 ` Andrew Lunn
2024-12-11 14:37 ` Michal Simek [this message]
2024-12-11 12:41 ` [PATCH 08/15] ARM: zynq: Define u-boot bootscrip addr via DT Michal Simek
2024-12-11 12:41 ` [PATCH 09/15] ARM: zynq: Point via nvmem0 alias to eeprom on zc702/zc706 Michal Simek
2024-12-11 12:41 ` [PATCH 10/15] ARM: zynq: Define rtc alias " Michal Simek
2024-12-11 12:41 ` [PATCH 11/15] ARM: zynq: Rename i2c?-gpio to i2c?-gpio-grp Michal Simek
2024-12-11 12:41 ` [PATCH 12/15] ARM: zynq: Fix fpga region DT nodes name Michal Simek
2024-12-11 12:41 ` [PATCH 13/15] ARM: zynq: Enable QSPIs on platforms Michal Simek
2024-12-11 12:41 ` [PATCH 14/15] ARM: zynq: Add sdhci to alias node Michal Simek
2024-12-11 12:41 ` [PATCH 15/15] ARM: zynq: Remove ethernet0 alias from Microzed Michal Simek
2024-12-11 15:54 ` [PATCH 00/15] ARM: zynq: Sync DTs with U-Boot Rob Herring (Arm)
2024-12-12 7:12 ` Michal Simek
2025-01-06 14:52 ` Michal Simek
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=5051fb04-1bcc-4448-aa68-6ff300cc17d2@amd.com \
--to=michal.simek@amd.com \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=git@xilinx.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=monstr@monstr.eu \
--cc=robh@kernel.org \
/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