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,

[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,