* [PATCH] arm64: dts: socfpga: agilex5: add clock-names property to nand node
@ 2025-01-07 8:49 niravkumar.l.rabara
2025-01-07 9:21 ` Krzysztof Kozlowski
0 siblings, 1 reply; 5+ messages in thread
From: niravkumar.l.rabara @ 2025-01-07 8:49 UTC (permalink / raw)
To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
niravkumar.l.rabara, devicetree, linux-kernel
From: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
Cadence nand controller driver requires clock-names = "nf_clk" property.
Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
---
arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
index 51c6e19e40b8..4357572e96e3 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
@@ -272,6 +272,7 @@ nand: nand-controller@10b80000 {
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkmgr AGILEX5_NAND_NF_CLK>;
cdns,board-delay-ps = <4830>;
+ clock-names = "nf_clk";
status = "disabled";
};
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] arm64: dts: socfpga: agilex5: add clock-names property to nand node
2025-01-07 8:49 [PATCH] arm64: dts: socfpga: agilex5: add clock-names property to nand node niravkumar.l.rabara
@ 2025-01-07 9:21 ` Krzysztof Kozlowski
2025-01-07 10:21 ` Rabara, Niravkumar L
0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-07 9:21 UTC (permalink / raw)
To: niravkumar.l.rabara, Dinh Nguyen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree, linux-kernel
On 07/01/2025 09:49, niravkumar.l.rabara@intel.com wrote:
> From: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
>
> Cadence nand controller driver requires clock-names = "nf_clk" property.
>
Fixes tag.
> Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
> ---
> arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> index 51c6e19e40b8..4357572e96e3 100644
> --- a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> @@ -272,6 +272,7 @@ nand: nand-controller@10b80000 {
> interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&clkmgr AGILEX5_NAND_NF_CLK>;
> cdns,board-delay-ps = <4830>;
> + clock-names = "nf_clk";
It does not look like you tested the DTS against bindings. Please run
`make dtbs_check W=1` (see
Documentation/devicetree/bindings/writing-schema.rst or
https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/
for instructions).
Maybe you need to update your dtschema and yamllint. Don't rely on
distro packages for dtschema and be sure you are using the latest
released dtschema.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread* RE: [PATCH] arm64: dts: socfpga: agilex5: add clock-names property to nand node
2025-01-07 9:21 ` Krzysztof Kozlowski
@ 2025-01-07 10:21 ` Rabara, Niravkumar L
2025-01-08 7:14 ` Krzysztof Kozlowski
0 siblings, 1 reply; 5+ messages in thread
From: Rabara, Niravkumar L @ 2025-01-07 10:21 UTC (permalink / raw)
To: Krzysztof Kozlowski, Dinh Nguyen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@kernel.org>
> Sent: Tuesday, 7 January, 2025 5:21 PM
> To: Rabara, Niravkumar L <niravkumar.l.rabara@intel.com>; Dinh Nguyen
> <dinguyen@kernel.org>; Rob Herring <robh@kernel.org>; Krzysztof Kozlowski
> <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>;
> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] arm64: dts: socfpga: agilex5: add clock-names property
> to nand node
>
> On 07/01/2025 09:49, niravkumar.l.rabara@intel.com wrote:
> > From: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
> >
> > Cadence nand controller driver requires clock-names = "nf_clk" property.
> >
>
> Fixes tag.
>
> > Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
> > ---
> > arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> > b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> > index 51c6e19e40b8..4357572e96e3 100644
> > --- a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> > +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> > @@ -272,6 +272,7 @@ nand: nand-controller@10b80000 {
> > interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
> > clocks = <&clkmgr AGILEX5_NAND_NF_CLK>;
> > cdns,board-delay-ps = <4830>;
> > + clock-names = "nf_clk";
>
> It does not look like you tested the DTS against bindings. Please run `make
> dtbs_check W=1` (see Documentation/devicetree/bindings/writing-
> schema.rst or https://www.linaro.org/blog/tips-and-tricks-for-validating-
> devicetree-sources-with-the-devicetree-schema/
> for instructions).
> Maybe you need to update your dtschema and yamllint. Don't rely on distro
> packages for dtschema and be sure you are using the latest released
> dtschema.
I believe you are pointing to this error message
/soc@0/nand-controller@10b80000: failed to match any schema with
compatible: ['cdns,hp-nfc']
I have already converted Cadence NAND controller txt to yaml bindings.
https://lore.kernel.org/all/20241209081826.1242214-1-niravkumar.l.rabara@intel.com/
This patch is applied to nand/next and fixed the ['cdns,hp-nfc'] error.
I will mention this binding patch as dependency in v2 patch.
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] arm64: dts: socfpga: agilex5: add clock-names property to nand node
2025-01-07 10:21 ` Rabara, Niravkumar L
@ 2025-01-08 7:14 ` Krzysztof Kozlowski
2025-01-08 10:00 ` Rabara, Niravkumar L
0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-08 7:14 UTC (permalink / raw)
To: Rabara, Niravkumar L, Dinh Nguyen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
On 07/01/2025 11:21, Rabara, Niravkumar L wrote:
>
>
>> -----Original Message-----
>> From: Krzysztof Kozlowski <krzk@kernel.org>
>> Sent: Tuesday, 7 January, 2025 5:21 PM
>> To: Rabara, Niravkumar L <niravkumar.l.rabara@intel.com>; Dinh Nguyen
>> <dinguyen@kernel.org>; Rob Herring <robh@kernel.org>; Krzysztof Kozlowski
>> <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>;
>> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org
>> Subject: Re: [PATCH] arm64: dts: socfpga: agilex5: add clock-names property
>> to nand node
>>
>> On 07/01/2025 09:49, niravkumar.l.rabara@intel.com wrote:
>>> From: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
>>>
>>> Cadence nand controller driver requires clock-names = "nf_clk" property.
>>>
>>
>> Fixes tag.
>>
>>> Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
>>> ---
>>> arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 1 +
>>> 1 file changed, 1 insertion(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
>>> b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
>>> index 51c6e19e40b8..4357572e96e3 100644
>>> --- a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
>>> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
>>> @@ -272,6 +272,7 @@ nand: nand-controller@10b80000 {
>>> interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
>>> clocks = <&clkmgr AGILEX5_NAND_NF_CLK>;
>>> cdns,board-delay-ps = <4830>;
>>> + clock-names = "nf_clk";
>>
>> It does not look like you tested the DTS against bindings. Please run `make
>> dtbs_check W=1` (see Documentation/devicetree/bindings/writing-
>> schema.rst or https://www.linaro.org/blog/tips-and-tricks-for-validating-
>> devicetree-sources-with-the-devicetree-schema/
>> for instructions).
>> Maybe you need to update your dtschema and yamllint. Don't rely on distro
>> packages for dtschema and be sure you are using the latest released
>> dtschema.
>
> I believe you are pointing to this error message
> /soc@0/nand-controller@10b80000: failed to match any schema with
> compatible: ['cdns,hp-nfc']
>
No. I refer to this clock-names property. As you can easily see in the
binding: there is no clock-names.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread* RE: [PATCH] arm64: dts: socfpga: agilex5: add clock-names property to nand node
2025-01-08 7:14 ` Krzysztof Kozlowski
@ 2025-01-08 10:00 ` Rabara, Niravkumar L
0 siblings, 0 replies; 5+ messages in thread
From: Rabara, Niravkumar L @ 2025-01-08 10:00 UTC (permalink / raw)
To: Krzysztof Kozlowski, Dinh Nguyen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@kernel.org>
> Sent: Wednesday, 8 January, 2025 3:14 PM
> To: Rabara, Niravkumar L <niravkumar.l.rabara@intel.com>; Dinh Nguyen
> <dinguyen@kernel.org>; Rob Herring <robh@kernel.org>; Krzysztof Kozlowski
> <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>;
> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] arm64: dts: socfpga: agilex5: add clock-names property
> to nand node
>
> On 07/01/2025 11:21, Rabara, Niravkumar L wrote:
> >
> >
> >> -----Original Message-----
> >> From: Krzysztof Kozlowski <krzk@kernel.org>
> >> Sent: Tuesday, 7 January, 2025 5:21 PM
> >> To: Rabara, Niravkumar L <niravkumar.l.rabara@intel.com>; Dinh Nguyen
> >> <dinguyen@kernel.org>; Rob Herring <robh@kernel.org>; Krzysztof
> >> Kozlowski <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>;
> >> devicetree@vger.kernel.org; linux-kernel@vger.kernel.org
> >> Subject: Re: [PATCH] arm64: dts: socfpga: agilex5: add clock-names
> >> property to nand node
> >>
> >> On 07/01/2025 09:49, niravkumar.l.rabara@intel.com wrote:
> >>> From: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
> >>>
> >>> Cadence nand controller driver requires clock-names = "nf_clk" property.
> >>>
> >>
> >> Fixes tag.
> >>
> >>> Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
> >>> ---
> >>> arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 1 +
> >>> 1 file changed, 1 insertion(+)
> >>>
> >>> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> >>> b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> >>> index 51c6e19e40b8..4357572e96e3 100644
> >>> --- a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> >>> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> >>> @@ -272,6 +272,7 @@ nand: nand-controller@10b80000 {
> >>> interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
> >>> clocks = <&clkmgr AGILEX5_NAND_NF_CLK>;
> >>> cdns,board-delay-ps = <4830>;
> >>> + clock-names = "nf_clk";
> >>
> >> It does not look like you tested the DTS against bindings. Please run
> >> `make dtbs_check W=1` (see Documentation/devicetree/bindings/writing-
> >> schema.rst or
> >> https://www.linaro.org/blog/tips-and-tricks-for-validating-
> >> devicetree-sources-with-the-devicetree-schema/
> >> for instructions).
> >> Maybe you need to update your dtschema and yamllint. Don't rely on
> >> distro packages for dtschema and be sure you are using the latest
> >> released dtschema.
> >
> > I believe you are pointing to this error message
> > /soc@0/nand-controller@10b80000: failed to match any schema with
> > compatible: ['cdns,hp-nfc']
> >
>
> No. I refer to this clock-names property. As you can easily see in the
> binding: there is no clock-names.
>
Got it. I need to update binding with clock-names property first.
Thanks,
Nirav
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-01-08 10:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-07 8:49 [PATCH] arm64: dts: socfpga: agilex5: add clock-names property to nand node niravkumar.l.rabara
2025-01-07 9:21 ` Krzysztof Kozlowski
2025-01-07 10:21 ` Rabara, Niravkumar L
2025-01-08 7:14 ` Krzysztof Kozlowski
2025-01-08 10:00 ` Rabara, Niravkumar L
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox