Skip to content
Commit 38de0be3 authored by maxime@cerno.tech's avatar maxime@cerno.tech Committed by Dom Cobley
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.

Link: https://lore.kernel.org/r/20220815-rpi-fix-4k-60-v4-1-a1b40526df3e@cerno.tech


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