Re: [PATCH V3 08/14] ARM: dts: stm32: Add configuration EEPROM on AV96

2020-04-01 Thread Marek Vasut
On 4/1/20 12:02 PM, Patrick DELAUNAY wrote:
> Hi,

Hi,

>> From: Marek Vasut 
>> Sent: mardi 31 mars 2020 19:52
>>
>> The board has an EEPROM on the same I2C bus as PMIC, at address 0x53.
>> The EEPROM contains the board MAC address.
>>
>> Reviewed-by: Patrice Chotard 
>> Reviewed-by: Patrick Delaunay 
>> Signed-off-by: Marek Vasut 
>> Cc: Manivannan Sadhasivam 
>> Cc: Patrick Delaunay 
>> Cc: Patrice Chotard 
>> ---
> 
> Applied to u-boot-stm/master, with one minor modification
> 
> I also add the alias eeprom0 =  (with eeprom0: eeprom@53) to be 
> compatible
> with previous patch "ARM: dts: stm32: Use DT alias for the configuration 
> EEPROM"

Thanks, this was in 14/14, but got omitted here.


RE: [PATCH V3 08/14] ARM: dts: stm32: Add configuration EEPROM on AV96

2020-04-01 Thread Patrick DELAUNAY
Hi,

> From: Marek Vasut 
> Sent: mardi 31 mars 2020 19:52
> 
> The board has an EEPROM on the same I2C bus as PMIC, at address 0x53.
> The EEPROM contains the board MAC address.
> 
> Reviewed-by: Patrice Chotard 
> Reviewed-by: Patrick Delaunay 
> Signed-off-by: Marek Vasut 
> Cc: Manivannan Sadhasivam 
> Cc: Patrick Delaunay 
> Cc: Patrice Chotard 
> ---

Applied to u-boot-stm/master, with one minor modification

I also add the alias eeprom0 =  (with eeprom0: eeprom@53) to be 
compatible
with previous patch "ARM: dts: stm32: Use DT alias for the configuration EEPROM"

Regards

Patrick



[PATCH V3 08/14] ARM: dts: stm32: Add configuration EEPROM on AV96

2020-03-31 Thread Marek Vasut
The board has an EEPROM on the same I2C bus as PMIC, at address 0x53.
The EEPROM contains the board MAC address.

Reviewed-by: Patrice Chotard 
Reviewed-by: Patrick Delaunay 
Signed-off-by: Marek Vasut 
Cc: Manivannan Sadhasivam 
Cc: Patrick Delaunay 
Cc: Patrice Chotard 
---
V2: No change
V3: No change
---
 arch/arm/dts/stm32mp157a-avenger96.dts | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/stm32mp157a-avenger96.dts 
b/arch/arm/dts/stm32mp157a-avenger96.dts
index 023390a662..5c7a326c12 100644
--- a/arch/arm/dts/stm32mp157a-avenger96.dts
+++ b/arch/arm/dts/stm32mp157a-avenger96.dts
@@ -289,6 +289,12 @@
status = "disabled";
};
};
+
+   eeprom@53 {
+   compatible = "atmel,24c02";
+   reg = <0x53>;
+   pagesize = <16>;
+   };
 };
 
  {
-- 
2.25.1