diff mbox series

arm64: dts: marvell: espressobin: Get rid of duplicate serial aliases

Message ID 20200921164830.499548-1-a.heider@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: marvell: espressobin: Get rid of duplicate serial aliases | expand

Commit Message

Andre Heider Sept. 21, 2020, 4:48 p.m. UTC
The included armada-372x.dtsi already defines these two aliases.

Signed-off-by: Andre Heider <a.heider@gmail.com>
---

This goes on top of Pali's patch:
"arm64: dts: marvell: espressobin: Add ethernet switch aliases"

The resulting .dtb files are the same.

 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi | 2 --
 1 file changed, 2 deletions(-)

Comments

Pali Rohár Sept. 21, 2020, 4:53 p.m. UTC | #1
On Monday 21 September 2020 18:48:30 Andre Heider wrote:
> The included armada-372x.dtsi already defines these two aliases.

Where? I do not see it in that file:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/marvell/armada-372x.dtsi

> 
> Signed-off-by: Andre Heider <a.heider@gmail.com>
> ---
> 
> This goes on top of Pali's patch:
> "arm64: dts: marvell: espressobin: Add ethernet switch aliases"
> 
> The resulting .dtb files are the same.
> 
>  arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> index 0775c16e0ec8..3169a820558f 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> @@ -17,8 +17,6 @@ aliases {
>  		ethernet1 = &switch0port1;
>  		ethernet2 = &switch0port2;
>  		ethernet3 = &switch0port3;
> -		serial0 = &uart0;
> -		serial1 = &uart1;
>  	};
>  
>  	chosen {
> -- 
> 2.28.0
>
Andre Heider Sept. 21, 2020, 4:57 p.m. UTC | #2
On 21/09/2020 18:53, Pali Rohár wrote:
> On Monday 21 September 2020 18:48:30 Andre Heider wrote:
>> The included armada-372x.dtsi already defines these two aliases.
> 
> Where? I do not see it in that file:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/marvell/armada-372x.dtsi

Oh sorry, it's in armada-37xx.dtsi:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/marvell/armada-37xx.dtsi#n20

> 
>>
>> Signed-off-by: Andre Heider <a.heider@gmail.com>
>> ---
>>
>> This goes on top of Pali's patch:
>> "arm64: dts: marvell: espressobin: Add ethernet switch aliases"
>>
>> The resulting .dtb files are the same.
>>
>>   arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi | 2 --
>>   1 file changed, 2 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
>> index 0775c16e0ec8..3169a820558f 100644
>> --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
>> +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
>> @@ -17,8 +17,6 @@ aliases {
>>   		ethernet1 = &switch0port1;
>>   		ethernet2 = &switch0port2;
>>   		ethernet3 = &switch0port3;
>> -		serial0 = &uart0;
>> -		serial1 = &uart1;
>>   	};
>>   
>>   	chosen {
>> -- 
>> 2.28.0
>>
Pali Rohár Sept. 21, 2020, 5:14 p.m. UTC | #3
On Monday 21 September 2020 18:57:46 Andre Heider wrote:
> On 21/09/2020 18:53, Pali Rohár wrote:
> > On Monday 21 September 2020 18:48:30 Andre Heider wrote:
> > > The included armada-372x.dtsi already defines these two aliases.
> > 
> > Where? I do not see it in that file:
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/marvell/armada-372x.dtsi
> 
> Oh sorry, it's in armada-37xx.dtsi:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/marvell/armada-37xx.dtsi#n20

Ok, with fixing file in commit message you can add my:

Reviewed-by: Pali Rohár <pali@kernel.org>

> > 
> > > 
> > > Signed-off-by: Andre Heider <a.heider@gmail.com>
> > > ---
> > > 
> > > This goes on top of Pali's patch:
> > > "arm64: dts: marvell: espressobin: Add ethernet switch aliases"
> > > 
> > > The resulting .dtb files are the same.
> > > 
> > >   arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi | 2 --
> > >   1 file changed, 2 deletions(-)
> > > 
> > > diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> > > index 0775c16e0ec8..3169a820558f 100644
> > > --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> > > +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> > > @@ -17,8 +17,6 @@ aliases {
> > >   		ethernet1 = &switch0port1;
> > >   		ethernet2 = &switch0port2;
> > >   		ethernet3 = &switch0port3;
> > > -		serial0 = &uart0;
> > > -		serial1 = &uart1;
> > >   	};
> > >   	chosen {
> > > -- 
> > > 2.28.0
> > > 
>
Gregory CLEMENT Sept. 23, 2020, 3:10 p.m. UTC | #4
Hi Andre,

> The included armada-372x.dtsi already defines these two aliases.
>
> Signed-off-by: Andre Heider <a.heider@gmail.com>

Applied on mvebu/dt

Thanks,

Gregory

> ---
>
> This goes on top of Pali's patch:
> "arm64: dts: marvell: espressobin: Add ethernet switch aliases"
>
> The resulting .dtb files are the same.
>
>  arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> index 0775c16e0ec8..3169a820558f 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
> @@ -17,8 +17,6 @@ aliases {
>  		ethernet1 = &switch0port1;
>  		ethernet2 = &switch0port2;
>  		ethernet3 = &switch0port3;
> -		serial0 = &uart0;
> -		serial1 = &uart1;
>  	};
>  
>  	chosen {
> -- 
> 2.28.0
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
index 0775c16e0ec8..3169a820558f 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi
@@ -17,8 +17,6 @@  aliases {
 		ethernet1 = &switch0port1;
 		ethernet2 = &switch0port2;
 		ethernet3 = &switch0port3;
-		serial0 = &uart0;
-		serial1 = &uart1;
 	};
 
 	chosen {