On Fri, Oct 30, 2020 at 10:13:50AM +0300, Alexander Shiyan wrote:
> The upstream dtsi now has a eeprom node, so no need to duplicate
> anymore. Let's keep the "page_size" property for a while.

Patch looks good, so applied, thanks

I just wonder why the pagesize isn't included in the upstream dts.
Shouldn't it be there as well?

Sascha

> 
> Signed-off-by: Alexander Shiyan <[email protected]>
> ---
>  arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi 
> b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
> index b83511cb0..d0b056b2f 100644
> --- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
> +++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
> @@ -155,6 +155,10 @@
>       barebox,provide-mac-address = <&fec 0x620>;
>  };
>  
> +&som_eeprom {
> +     pagesize = <32>;
> +};
> +
>  &usdhc3 {
>       #address-cells = <1>;
>       #size-cells = <1>;
> @@ -175,12 +179,6 @@
>       pinctrl-0 = <&pinctrl_i2c1>;
>       status = "okay";
>  
> -     eeprom: eeprom@50 {
> -             compatible = "atmel,24c32";
> -             pagesize = <32>;
> -             reg = <0x50>;
> -     };
> -
>       pmic@58 {
>               watchdog-priority = <500>;
>               restart-priority = <500>;
> -- 
> 2.26.2
> 
> 
> _______________________________________________
> barebox mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to