Re: [PATCH 1/4] arm64: dts: stratix10: socdk: drop unneeded flash address/size-cells

From: Dinh Nguyen
Date: Thu Jun 06 2024 - 13:49:22 EST


On 6/4/24 05:07, Krzysztof Kozlowski wrote:
On 05/04/2024 14:30, Dinh Nguyen wrote:
On 4/1/24 09:10, Krzysztof Kozlowski wrote:
Flash node uses single "partition" node to describe partitions, so
remove deprecated address/size-cells properties to also fix dtc W=1
warnings:

socfpga_stratix10_socdk.dts:182.10-211.4: Warning (avoid_unnecessary_addr_size): /soc@0/spi@ff8d2000/flash@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
---
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
index 26173f0b0051..4eee777ef1a1 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
@@ -180,8 +180,6 @@ rtc@68 {
&qspi {
status = "okay";
flash@0 {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "micron,mt25qu02g", "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <100000000>;

All patches applied!

This was two months ago, so it should reach v6.10-rc1. It is neither in
v6.10-rc1 nor in linux-next.

Are you sure you applied this?

Are your trees in linux-next?

I apologize, I miss the PR for the v6.10. I have it queue for v6.11.

Dinh