Re: [PATCH v2] of_firmware: fix lookup of fpga manager

2023-08-09 Thread Sascha Hauer
On Wed, Aug 09, 2023 at 12:05:59PM +0200, Michael Tretter wrote: > The of_parse_phandle() looks for the phandle in the root device tree, > but as np is resolved for the target device tree, the phandle refers to > the target device tree and may return a wrong node in the root tree. > > Therefore, w

[PATCH v2] of_firmware: fix lookup of fpga manager

2023-08-09 Thread Michael Tretter
The of_parse_phandle() looks for the phandle in the root device tree, but as np is resolved for the target device tree, the phandle refers to the target device tree and may return a wrong node in the root tree. Therefore, we must ensure that we look for the manager-node in the target device tree,

Re: [PATCH v4 1/3] i2c: add for PBL use

2023-08-09 Thread Ahmad Fatoum
On 09.08.23 09:26, Marc Kleine-Budde wrote: > Add a small helper to read a single page of EEPROM data. > > Signed-off-by: Marc Kleine-Budde Reviewed-by: Ahmad Fatoum > --- > include/pbl/eeprom.h | 34 ++ > 1 file changed, 34 insertions(+) > > diff --git a/incl

[PATCH] ARM: rockchip_v8_defconfig: Enable PCI and RTL8169 support

2023-08-09 Thread Sascha Hauer
Needed for network on the Radxa Rock5. Signed-off-by: Sascha Hauer --- arch/arm/configs/rockchip_v8_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/configs/rockchip_v8_defconfig b/arch/arm/configs/rockchip_v8_defconfig index 7d1d41965e..ee81b759ba 1006

[PATCH v4 3/3] ARM: i.MX8MM: add Phytec i.MX8MM SoM support

2023-08-09 Thread Marc Kleine-Budde
Signed-off-by: Marc Kleine-Budde --- arch/arm/boards/Makefile |1 + arch/arm/boards/phytec-som-imx8mm/Makefile |4 + arch/arm/boards/phytec-som-imx8mm/board.c | 40 + .../flash-header-imx8mm-phyboard-polis-rdk.imxcfg |7 + arch/arm/boards/

[PATCH v4 0/3] ARM: i.MX8MM: add Phytec i.MX8 SoM support

2023-08-09 Thread Marc Kleine-Budde
This series adds support for the Phytec i.MX8 SoM. It comes with a minimal i2c EEPROM read helper for the PBL and imports + adopts the Phytec SOM detection from u-boot. The Phytec SOM detection reads and parses the EEPROM on the SOM to figure out the size of the populated RAM. Signed-off-by: Marc

[PATCH v4 1/3] i2c: add for PBL use

2023-08-09 Thread Marc Kleine-Budde
Add a small helper to read a single page of EEPROM data. Signed-off-by: Marc Kleine-Budde --- include/pbl/eeprom.h | 34 ++ 1 file changed, 34 insertions(+) diff --git a/include/pbl/eeprom.h b/include/pbl/eeprom.h new file mode 100644 index ..df868b1a

[PATCH v4 2/3] common: board: phytec: import SoM detection for imx8m based SoM from u-boot

2023-08-09 Thread Marc Kleine-Budde
This patch imports and cleans up the SoM detection for imx8m based SoM from u-boot. Signed-off-by: Marc Kleine-Budde --- common/boards/Kconfig | 7 + common/boards/Makefile | 1 + common/boards/phytec/Makefile |