[PATCH v3] i2c: eeprom: Use reg property instead of offset and size

Simon Glass sjg at chromium.org
Tue Jul 28 20:58:33 CEST 2020


On Wed, 22 Jul 2020 at 04:14, Michal Simek <michal.simek at xilinx.com> wrote:
>
> Remove adhoc dt binding for fixed-partition definition for i2c eeprom.
> fixed-partition are using reg property instead of offset/size pair.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> Changes in v3:
> - Add test for sandbox
> - Fix issues related to OF_TRANSLATE
> - Remove address/size cells from parent because of OF_TRANSLATE
>
> Changes in v2:
> - Bootcount tested on zynqmp zcu104
> - Add missing address/size cells
> - Use dev_read_addr_size_index
> - Check parameters
>
> Just build tested - ge_bx50v3_defconfig
> Tested on zcu104
>
> ---
>  arch/arm/dts/imx53-ppd-uboot.dtsi    | 12 ++++++------
>  arch/arm/dts/imx6q-bx50v3-uboot.dtsi | 10 +++++-----
>  arch/sandbox/dts/test.dts            | 13 +++++++++++++
>  configs/sandbox_defconfig            |  1 +
>  drivers/misc/i2c_eeprom.c            | 15 ++++++++-------
>  test/dm/bootcount.c                  |  8 ++++++++
>  6 files changed, 41 insertions(+), 18 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list