diff options
author | Maxime Ripard <maxime@cerno.tech> | 2022-10-27 15:52:41 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2022-10-28 14:03:19 +0300 |
commit | bc63897bc33b81897c7f8f5965c8f9326457d082 (patch) | |
tree | 7f42620831dfcbaab0ce0a1a6e50f7b16faec11c /drivers/clk/bcm/clk-bcm281xx.c | |
parent | 3e4a21a29dd924995f1135cd50e8b7e0d023729c (diff) | |
download | linux-bc63897bc33b81897c7f8f5965c8f9326457d082.tar.xz |
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: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220815-rpi-fix-4k-60-v5-1-fe9e7ac8b111@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'drivers/clk/bcm/clk-bcm281xx.c')
0 files changed, 0 insertions, 0 deletions