devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: airoha: fix pcie ranges properties
@ 2024-01-05 15:37 Lorenzo Bianconi
  2024-01-23 16:35 ` Lorenzo Bianconi
  0 siblings, 1 reply; 4+ messages in thread
From: Lorenzo Bianconi @ 2024-01-05 15:37 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	Felix Fietkau
  Cc: lorenzo.bianconi, devicetree, linux-kernel

Reduce and split pcie controller memory ranges for en7523 SoC
in order to properly load a pcie card on the second port.

Fixes: 08a4aeb2c23f ("ARM: dts: Add PCIe support for Airoha EN7523")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 arch/arm/boot/dts/airoha/en7523.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/airoha/en7523.dtsi b/arch/arm/boot/dts/airoha/en7523.dtsi
index b523a868c4ad..bb78d54e94f6 100644
--- a/arch/arm/boot/dts/airoha/en7523.dtsi
+++ b/arch/arm/boot/dts/airoha/en7523.dtsi
@@ -159,7 +159,7 @@ pcie0: pcie@1fa91000 {
 		clocks = <&scu EN7523_CLK_PCIE>;
 		clock-names = "sys_ck0";
 		bus-range = <0x00 0xff>;
-		ranges = <0x82000000 0 0x20000000  0x20000000  0 0x8000000>;
+		ranges = <0x82000000 0 0x20000000 0x20000000 0 0x2000000>;
 		status = "disabled";
 
 		#interrupt-cells = <1>;
@@ -188,7 +188,7 @@ pcie1: pcie@1fa92000 {
 		clocks = <&scu EN7523_CLK_PCIE>;
 		clock-names = "sys_ck1";
 		bus-range = <0x00 0xff>;
-		ranges = <0x82000000 0 0x28000000  0x28000000  0 0x8000000>;
+		ranges = <0x82000000 0 0x22000000 0x22000000 0 0x2000000>;
 		status = "disabled";
 
 		#interrupt-cells = <1>;
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: airoha: fix pcie ranges properties
  2024-01-05 15:37 [PATCH] ARM: dts: airoha: fix pcie ranges properties Lorenzo Bianconi
@ 2024-01-23 16:35 ` Lorenzo Bianconi
  2024-01-26 17:37   ` Matthias Brugger
  0 siblings, 1 reply; 4+ messages in thread
From: Lorenzo Bianconi @ 2024-01-23 16:35 UTC (permalink / raw)
  To: Matthias Brugger
  Cc: Rob Herring, Lorenzo Bianconi, Krzysztof Kozlowski, Conor Dooley,
	Felix Fietkau, devicetree, John Crispin, soc, Arnd Bergmann

>
> Reduce and split pcie controller memory ranges for en7523 SoC
> in order to properly load a pcie card on the second port.
>
> Fixes: 08a4aeb2c23f ("ARM: dts: Add PCIe support for Airoha EN7523")
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> ---
>  arch/arm/boot/dts/airoha/en7523.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/airoha/en7523.dtsi b/arch/arm/boot/dts/airoha/en7523.dtsi
> index b523a868c4ad..bb78d54e94f6 100644
> --- a/arch/arm/boot/dts/airoha/en7523.dtsi
> +++ b/arch/arm/boot/dts/airoha/en7523.dtsi
> @@ -159,7 +159,7 @@ pcie0: pcie@1fa91000 {
>                 clocks = <&scu EN7523_CLK_PCIE>;
>                 clock-names = "sys_ck0";
>                 bus-range = <0x00 0xff>;
> -               ranges = <0x82000000 0 0x20000000  0x20000000  0 0x8000000>;
> +               ranges = <0x82000000 0 0x20000000 0x20000000 0 0x2000000>;
>                 status = "disabled";
>
>                 #interrupt-cells = <1>;
> @@ -188,7 +188,7 @@ pcie1: pcie@1fa92000 {
>                 clocks = <&scu EN7523_CLK_PCIE>;
>                 clock-names = "sys_ck1";
>                 bus-range = <0x00 0xff>;
> -               ranges = <0x82000000 0 0x28000000  0x28000000  0 0x8000000>;
> +               ranges = <0x82000000 0 0x22000000 0x22000000 0 0x2000000>;
>                 status = "disabled";
>
>                 #interrupt-cells = <1>;
> --
> 2.43.0
>

Hi Matthias,

Since you applied the original patch from Felix, I am wondering if
this fix is expected to go through your tree or applied directly by
Arnd.

Regards,
Lorenzo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: airoha: fix pcie ranges properties
  2024-01-23 16:35 ` Lorenzo Bianconi
@ 2024-01-26 17:37   ` Matthias Brugger
  2024-06-13 13:32     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Brugger @ 2024-01-26 17:37 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: Rob Herring, Lorenzo Bianconi, Krzysztof Kozlowski, Conor Dooley,
	Felix Fietkau, devicetree, John Crispin, soc, Arnd Bergmann,
	AngeloGioacchino Del Regno



On 23/01/2024 17:35, Lorenzo Bianconi wrote:
>>
>> Reduce and split pcie controller memory ranges for en7523 SoC
>> in order to properly load a pcie card on the second port.
>>
>> Fixes: 08a4aeb2c23f ("ARM: dts: Add PCIe support for Airoha EN7523")
>> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

Applied to v6.8-next/fixes

Thanks

>> ---
>>   arch/arm/boot/dts/airoha/en7523.dtsi | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/airoha/en7523.dtsi b/arch/arm/boot/dts/airoha/en7523.dtsi
>> index b523a868c4ad..bb78d54e94f6 100644
>> --- a/arch/arm/boot/dts/airoha/en7523.dtsi
>> +++ b/arch/arm/boot/dts/airoha/en7523.dtsi
>> @@ -159,7 +159,7 @@ pcie0: pcie@1fa91000 {
>>                  clocks = <&scu EN7523_CLK_PCIE>;
>>                  clock-names = "sys_ck0";
>>                  bus-range = <0x00 0xff>;
>> -               ranges = <0x82000000 0 0x20000000  0x20000000  0 0x8000000>;
>> +               ranges = <0x82000000 0 0x20000000 0x20000000 0 0x2000000>;
>>                  status = "disabled";
>>
>>                  #interrupt-cells = <1>;
>> @@ -188,7 +188,7 @@ pcie1: pcie@1fa92000 {
>>                  clocks = <&scu EN7523_CLK_PCIE>;
>>                  clock-names = "sys_ck1";
>>                  bus-range = <0x00 0xff>;
>> -               ranges = <0x82000000 0 0x28000000  0x28000000  0 0x8000000>;
>> +               ranges = <0x82000000 0 0x22000000 0x22000000 0 0x2000000>;
>>                  status = "disabled";
>>
>>                  #interrupt-cells = <1>;
>> --
>> 2.43.0
>>
> 
> Hi Matthias,
> 
> Since you applied the original patch from Felix, I am wondering if
> this fix is expected to go through your tree or applied directly by
> Arnd.
> 
> Regards,
> Lorenzo
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: airoha: fix pcie ranges properties
  2024-01-26 17:37   ` Matthias Brugger
@ 2024-06-13 13:32     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-13 13:32 UTC (permalink / raw)
  To: Matthias Brugger, Lorenzo Bianconi
  Cc: Rob Herring, Lorenzo Bianconi, Krzysztof Kozlowski, Conor Dooley,
	Felix Fietkau, devicetree, John Crispin, soc, Arnd Bergmann,
	AngeloGioacchino Del Regno

On 26/01/2024 18:37, Matthias Brugger wrote:
> 
> 
> On 23/01/2024 17:35, Lorenzo Bianconi wrote:
>>>
>>> Reduce and split pcie controller memory ranges for en7523 SoC
>>> in order to properly load a pcie card on the second port.
>>>
>>> Fixes: 08a4aeb2c23f ("ARM: dts: Add PCIe support for Airoha EN7523")
>>> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> 
> Applied to v6.8-next/fixes
> 

I cannot find this patch applied in Linux. I think it was lost.

Matthias, can you re-apply?

I'll send some patch for MAINTAINERS because it seems Airoha is missed.


> Thanks
> 
>>> ---
>>>   arch/arm/boot/dts/airoha/en7523.dtsi | 4 ++--
>>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/arch/arm/boot/dts/airoha/en7523.dtsi b/arch/arm/boot/dts/airoha/en7523.dtsi
>>> index b523a868c4ad..bb78d54e94f6 100644
>>> --- a/arch/arm/boot/dts/airoha/en7523.dtsi
>>> +++ b/arch/arm/boot/dts/airoha/en7523.dtsi
>>> @@ -159,7 +159,7 @@ pcie0: pcie@1fa91000 {
>>>                  clocks = <&scu EN7523_CLK_PCIE>;
>>>                  clock-names = "sys_ck0";
>>>                  bus-range = <0x00 0xff>;
>>> -               ranges = <0x82000000 0 0x20000000  0x20000000  0 0x8000000>;
>>> +               ranges = <0x82000000 0 0x20000000 0x20000000 0 0x2000000>;
>>>                  status = "disabled";
>>>
>>>                  #interrupt-cells = <1>;
>>> @@ -188,7 +188,7 @@ pcie1: pcie@1fa92000 {
>>>                  clocks = <&scu EN7523_CLK_PCIE>;
>>>                  clock-names = "sys_ck1";
>>>                  bus-range = <0x00 0xff>;
>>> -               ranges = <0x82000000 0 0x28000000  0x28000000  0 0x8000000>;
>>> +               ranges = <0x82000000 0 0x22000000 0x22000000 0 0x2000000>;
>>>                  status = "disabled";
>>>
>>>                  #interrupt-cells = <1>;
>>> --
>>> 2.43.0
>>>
>>
>> Hi Matthias,
>>
>> Since you applied the original patch from Felix, I am wondering if
>> this fix is expected to go through your tree or applied directly by
>> Arnd.
>>
>> Regards,
>> Lorenzo
>>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-13 13:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-05 15:37 [PATCH] ARM: dts: airoha: fix pcie ranges properties Lorenzo Bianconi
2024-01-23 16:35 ` Lorenzo Bianconi
2024-01-26 17:37   ` Matthias Brugger
2024-06-13 13:32     ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).