mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nicolas Ferre <nicolas.ferre@microchip.com>
To: Tudor Ambarus - M18064 <Tudor.Ambarus@microchip.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Claudiu Beznea - M18063 <Claudiu.Beznea@microchip.com>,
	Lars Povlsen - M31675 <Lars.Povlsen@microchip.com>,
	Steen Hegelund - M31857 <Steen.Hegelund@microchip.com>,
	UNGLinuxDriver <UNGLinuxDriver@microchip.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] ARM: dts: at91: align SPI NOR node name with dtschema
Date: Wed, 13 Apr 2022 11:21:25 +0200	[thread overview]
Message-ID: <1d67baa4-48d1-67dd-7d9e-60a8ecbea3f4@microchip.com> (raw)
In-Reply-To: <8eb6621b-78ca-e5f9-def9-47809dab9bb4@microchip.com>

On 12/04/2022 at 12:32, Tudor Ambarus - M18064 wrote:
> On 4/7/22 17:32, Krzysztof Kozlowski wrote:
>> The node names should be generic and SPI NOR dtschema expects "flash".
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

I think that without this patch, errors are generated while checking DT, 
so I would put this patch in my "fixes" branch for 5.18: tell me if you 
disagree.

Best regards,
   Nicolas


> 
>> ---
>>   arch/arm/boot/dts/at91-dvk_su60_somc.dtsi     | 2 +-
>>   arch/arm/boot/dts/at91-q5xr5.dts              | 2 +-
>>   arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi   | 2 +-
>>   arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts | 2 +-
>>   arch/arm/boot/dts/at91-sama5d2_xplained.dts   | 2 +-
>>   arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi     | 2 +-
>>   arch/arm/boot/dts/at91-sama5d4ek.dts          | 2 +-
>>   arch/arm/boot/dts/at91-vinco.dts              | 2 +-
>>   arch/arm/boot/dts/at91sam9n12ek.dts           | 2 +-
>>   arch/arm/boot/dts/at91sam9x5ek.dtsi           | 2 +-
>>   arch/arm/boot/dts/sama5d3xmb.dtsi             | 2 +-
>>   arch/arm/boot/dts/sama5d3xmb_cmp.dtsi         | 2 +-
>>   12 files changed, 12 insertions(+), 12 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/at91-dvk_su60_somc.dtsi b/arch/arm/boot/dts/at91-dvk_su60_somc.dtsi
>> index c1c8650dafce..3542ad8a243e 100644
>> --- a/arch/arm/boot/dts/at91-dvk_su60_somc.dtsi
>> +++ b/arch/arm/boot/dts/at91-dvk_su60_somc.dtsi
>> @@ -44,7 +44,7 @@ &spi0 {
>>          status = "okay";
>>
>>          /* spi0.0: 4M Flash Macronix MX25R4035FM1IL0 */
>> -       spi-flash@0 {
>> +       flash@0 {
>>                  compatible = "mxicy,mx25u4035", "jedec,spi-nor";
>>                  spi-max-frequency = <33000000>;
>>                  reg = <0>;
>> diff --git a/arch/arm/boot/dts/at91-q5xr5.dts b/arch/arm/boot/dts/at91-q5xr5.dts
>> index 47a00062f01f..9cf60b6f695c 100644
>> --- a/arch/arm/boot/dts/at91-q5xr5.dts
>> +++ b/arch/arm/boot/dts/at91-q5xr5.dts
>> @@ -125,7 +125,7 @@ &spi0 {
>>          cs-gpios = <&pioA 3 GPIO_ACTIVE_HIGH>, <&pioC 11 GPIO_ACTIVE_LOW>, <0>, <0>;
>>          status = "okay";
>>
>> -       m25p80@0 {
>> +       flash@0 {
>>                  compatible = "jedec,spi-nor";
>>                  spi-max-frequency = <20000000>;
>>                  reg = <0>;
>> diff --git a/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi b/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
>> index 21c86171e462..ba621783acdb 100644
>> --- a/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
>> +++ b/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
>> @@ -214,7 +214,7 @@ &qspi1 {
>>          pinctrl-0 = <&pinctrl_qspi1_default>;
>>          status = "disabled";
>>
>> -       qspi1_flash: spi_flash@0 {
>> +       qspi1_flash: flash@0 {
>>                  #address-cells = <1>;
>>                  #size-cells = <1>;
>>                  compatible = "jedec,spi-nor";
>> diff --git a/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
>> index c145c4e5ef58..5e8755f22784 100644
>> --- a/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
>> +++ b/arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
>> @@ -191,7 +191,7 @@ &pwm0 {
>>   &qspi1 {
>>          status = "okay";
>>
>> -       qspi1_flash: spi_flash@0 {
>> +       qspi1_flash: flash@0 {
>>                  status = "okay";
>>          };
>>   };
>> diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
>> index 9bf2ec0ba3e2..cdfe891f9a9e 100644
>> --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
>> +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
>> @@ -137,7 +137,7 @@ spi0: spi@f8000000 {
>>                                  pinctrl-0 = <&pinctrl_spi0_default>;
>>                                  status = "okay";
>>
>> -                               m25p80@0 {
>> +                               flash@0 {
>>                                          compatible = "atmel,at25df321a";
>>                                          reg = <0>;
>>                                          spi-max-frequency = <50000000>;
>> diff --git a/arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi b/arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi
>> index 710cb72bda5a..fd1086f52b40 100644
>> --- a/arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi
>> +++ b/arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi
>> @@ -49,7 +49,7 @@ spi0: spi@f8010000 {
>>                                  cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
>>                                  status = "okay";
>>
>> -                               m25p80@0 {
>> +                               flash@0 {
>>                                          compatible = "atmel,at25df321a";
>>                                          spi-max-frequency = <50000000>;
>>                                          reg = <0>;
>> diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts
>> index fe432b6b7e95..7017f626f362 100644
>> --- a/arch/arm/boot/dts/at91-sama5d4ek.dts
>> +++ b/arch/arm/boot/dts/at91-sama5d4ek.dts
>> @@ -65,7 +65,7 @@ ssc0: ssc@f8008000 {
>>                          spi0: spi@f8010000 {
>>                                  cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
>>                                  status = "okay";
>> -                               m25p80@0 {
>> +                               flash@0 {
>>                                          compatible = "atmel,at25df321a";
>>                                          spi-max-frequency = <50000000>;
>>                                          reg = <0>;
>> diff --git a/arch/arm/boot/dts/at91-vinco.dts b/arch/arm/boot/dts/at91-vinco.dts
>> index a51a3372afa1..ebeaa6ab500e 100644
>> --- a/arch/arm/boot/dts/at91-vinco.dts
>> +++ b/arch/arm/boot/dts/at91-vinco.dts
>> @@ -59,7 +59,7 @@ slot@0 {
>>                          spi0: spi@f8010000 {
>>                                  cs-gpios = <&pioC 3 0>, <0>, <0>, <0>;
>>                                  status = "okay";
>> -                               m25p80@0 {
>> +                               flash@0 {
>>                                          compatible = "n25q32b", "jedec,spi-nor";
>>                                          spi-max-frequency = <50000000>;
>>                                          reg = <0>;
>> diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
>> index 2bc4e6e0a923..c905d7bfc771 100644
>> --- a/arch/arm/boot/dts/at91sam9n12ek.dts
>> +++ b/arch/arm/boot/dts/at91sam9n12ek.dts
>> @@ -119,7 +119,7 @@ pinctrl_usb1_vbus_sense: usb1_vbus_sense {
>>                          spi0: spi@f0000000 {
>>                                  status = "okay";
>>                                  cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
>> -                               m25p80@0 {
>> +                               flash@0 {
>>                                          compatible = "atmel,at25df321a";
>>                                          spi-max-frequency = <50000000>;
>>                                          reg = <0>;
>> diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi
>> index 6d1264de6060..5f4eaa618ab4 100644
>> --- a/arch/arm/boot/dts/at91sam9x5ek.dtsi
>> +++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi
>> @@ -125,7 +125,7 @@ &spi0 {
>>          cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;
>>          status = "disabled"; /* conflicts with mmc1 */
>>
>> -       m25p80@0 {
>> +       flash@0 {
>>                  compatible = "atmel,at25df321a";
>>                  spi-max-frequency = <50000000>;
>>                  reg = <0>;
>> diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi
>> index a499de8a7a64..3652c9e24124 100644
>> --- a/arch/arm/boot/dts/sama5d3xmb.dtsi
>> +++ b/arch/arm/boot/dts/sama5d3xmb.dtsi
>> @@ -26,7 +26,7 @@ slot@0 {
>>                          spi0: spi@f0004000 {
>>                                  dmas = <0>, <0>;        /*  Do not use DMA for spi0 */
>>
>> -                               m25p80@0 {
>> +                               flash@0 {
>>                                          compatible = "atmel,at25df321a";
>>                                          spi-max-frequency = <50000000>;
>>                                          reg = <0>;
>> diff --git a/arch/arm/boot/dts/sama5d3xmb_cmp.dtsi b/arch/arm/boot/dts/sama5d3xmb_cmp.dtsi
>> index fa9e5e2a745d..5d9e97fecf83 100644
>> --- a/arch/arm/boot/dts/sama5d3xmb_cmp.dtsi
>> +++ b/arch/arm/boot/dts/sama5d3xmb_cmp.dtsi
>> @@ -25,7 +25,7 @@ slot@0 {
>>                          spi0: spi@f0004000 {
>>                                  dmas = <0>, <0>;        /*  Do not use DMA for spi0 */
>>
>> -                               m25p80@0 {
>> +                               flash@0 {
>>                                          compatible = "atmel,at25df321a";
>>                                          spi-max-frequency = <50000000>;
>>                                          reg = <0>;
>> --
>> 2.32.0
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
> 


-- 
Nicolas Ferre

  parent reply	other threads:[~2022-04-13  9:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-07 14:32 Krzysztof Kozlowski
2022-04-07 14:32 ` [PATCH 2/2] arm64: dts: microchip: " Krzysztof Kozlowski
2022-04-12 10:43   ` Tudor.Ambarus
2022-04-20  9:10   ` (subset) " Krzysztof Kozlowski
2022-04-12 10:32 ` [PATCH 1/2] ARM: dts: at91: " Tudor.Ambarus
2022-04-12 10:41   ` Tudor.Ambarus
2022-04-12 10:43     ` Krzysztof Kozlowski
2022-04-13  9:21   ` Nicolas Ferre [this message]
2022-04-13  9:33     ` Krzysztof Kozlowski

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=1d67baa4-48d1-67dd-7d9e-60a8ecbea3f4@microchip.com \
    --to=nicolas.ferre@microchip.com \
    --cc=Claudiu.Beznea@microchip.com \
    --cc=Lars.Povlsen@microchip.com \
    --cc=Steen.Hegelund@microchip.com \
    --cc=Tudor.Ambarus@microchip.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@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

all inboxes | Powered by JetHome®