diff options
| author | Carlo Caione <[email protected]> | 2026-07-24 10:36:05 +0200 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-07-29 11:06:00 -0500 |
| commit | 976b12414c18cb7d601f073dcb2282bac1924197 (patch) | |
| tree | d787b6281d3431f5306ba01537102b266a5bd6bd /api/api_platform.c | |
| parent | 9864f23f45a4b1f837dc873e670b7b00eefc4efc (diff) | |
clk: mediatek: probe parent providers on demand
MediaTek clock trees can reference parents provided by a different clock
controller. The provider registry is populated when each controller
probes, so an early consumer can request a parent before its provider has
been registered.
When lookup misses, find the MediaTek clock device whose operations and
clock-tree type match the requested provider, then probe that device.
This removes the probe-order dependency without probing unrelated clock
controllers or treating a driver's bind callback as a type marker.
Co-developed-by: David Lechner <[email protected]>
Signed-off-by: Carlo Caione <[email protected]>
Link: https://patch.msgid.link/20260724-ccaione-upstream-fix-clk-probe-v2-1-ebcef2e94e9d@baylibre.com
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'api/api_platform.c')
0 files changed, 0 insertions, 0 deletions
