Skip to content
Unverified Commit bc63897b authored by Maxime Ripard's avatar Maxime Ripard
Browse files

firmware: raspberrypi: Introduce rpi_firmware_find_node()



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.

Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220815-rpi-fix-4k-60-v5-1-fe9e7ac8b111@cerno.tech


Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent 3e4a21a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment