diff mbox

ARM: dts: use a correct at24 fallback for at91-nattis-2-natte-2

Message ID 20180124213412.4612-1-brgl@bgdev.pl (mailing list archive)
State New, archived
Headers show

Commit Message

Bartosz Golaszewski Jan. 24, 2018, 9:34 p.m. UTC
We now require all at24 users to use the "atmel,<model>" fallback in
device tree for different manufacturers.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
 arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Rosin Jan. 24, 2018, 10:12 p.m. UTC | #1
Hi Bartosz,

On 2018-01-24 22:34, Bartosz Golaszewski wrote:
> We now require all at24 users to use the "atmel,<model>" fallback in
> device tree for different manufacturers.

I think my patch [3/4] from about a week ago was just a tiny bit
better.
https://lkml.org/lkml/2018/1/16/609

Can we please pick that one directly instead of doing this partial
step?

Cheers,
Peter

> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
> ---
>  arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/at91-nattis-2-natte-2.dts b/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
> index 3ea1d26e1c68..9ae2a9de6123 100644
> --- a/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
> +++ b/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
> @@ -146,7 +146,7 @@
>  	};
>  
>  	eeprom@50 {
> -		compatible = "nxp,24c02";
> +		compatible = "nxp,24c02", "atmel,24c02";
>  		reg = <0x50>;
>  		pagesize = <16>;
>  	};
>
Bartosz Golaszewski Jan. 25, 2018, 7:48 a.m. UTC | #2
2018-01-24 23:12 GMT+01:00 Peter Rosin <peda@axentia.se>:
> Hi Bartosz,
>
> On 2018-01-24 22:34, Bartosz Golaszewski wrote:
>> We now require all at24 users to use the "atmel,<model>" fallback in
>> device tree for different manufacturers.
>
> I think my patch [3/4] from about a week ago was just a tiny bit
> better.
> https://lkml.org/lkml/2018/1/16/609
>
> Can we please pick that one directly instead of doing this partial
> step?
>
> Cheers,
> Peter

Hi Peter,

oh yes, sorry - I just grepped the entire code base from next for
invalid compatibles and didn't notice this was already fixed by you.
Let's drop it.

Thanks,
Bartosz
diff mbox

Patch

diff --git a/arch/arm/boot/dts/at91-nattis-2-natte-2.dts b/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
index 3ea1d26e1c68..9ae2a9de6123 100644
--- a/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
+++ b/arch/arm/boot/dts/at91-nattis-2-natte-2.dts
@@ -146,7 +146,7 @@ 
 	};
 
 	eeprom@50 {
-		compatible = "nxp,24c02";
+		compatible = "nxp,24c02", "atmel,24c02";
 		reg = <0x50>;
 		pagesize = <16>;
 	};