Files
u-boot/drivers
David Lechner 04413ed0c1 pinctrl: mediatek: fix failing to get syscon
Replace uclass_get_device_by_ofnode() with syscon_regmap_lookup_by_phandle()
to get the "mediatek,pctl-regmap" syscon device.

Depending on probe order, uclass_get_device_by_ofnode() may fail, but
syscon_regmap_lookup_by_phandle() has logic in it to handle that case
correctly.

The previous implementation could read more than one syscon if the
"mediatek,pctl-regmap" property had more than one phandle, but the one
board with a devicetree that does that is not supported in U-Boot yet,
so we can save that for later (it may never be needed).

Fixes: 424ceba18b ("pinctrl: mediatek: support mediatek,pctl-regmap property")
Signed-off-by: David Lechner <dlechner@baylibre.com>
2026-01-21 13:30:55 -06:00
..
2025-10-30 12:32:12 -06:00
2026-01-15 09:25:21 +01:00
2025-06-02 17:26:16 -06:00
2026-01-21 12:05:15 -06:00
2026-01-21 12:05:15 -06:00
2026-01-02 15:51:54 -06:00
2025-08-27 15:49:59 +08:00
2026-01-02 10:28:14 -06:00
2025-11-28 16:39:08 -06:00
2025-08-14 10:58:46 -06:00
2026-01-14 16:25:09 +01:00
2025-10-14 10:42:27 +03:00
2026-01-21 12:05:15 -06:00
2025-11-07 15:34:22 -06:00