[PATCH v4 1/7] firmware: raspberrypi: Introduce rpi_firmware_find_node()

Florian Fainelli f.fainelli at gmail.com
Mon Oct 24 19:19:08 UTC 2022


On 10/20/22 02:12, maxime at cerno.tech wrote:
> A significant number of RaspberryPi drivers using the firmware don't
> have a phandle to it, so end up scanning the device tree to find a node
> with the firmware compatible.
> 
> That code is duplicated everywhere, so let's introduce a helper instead.
> 
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>

Acked-by: Florian Fainelli <f.fainelli at gmail.com>

Thanks for re-ordering the rpi_firmware_of_match array and avoiding a 
forward declaration that I was initially confused about in v3.
-- 
Florian



More information about the dri-devel mailing list