aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-02-28 19:20:00 -0500
committerTom Rini <trini@konsulko.com>2024-02-28 19:20:00 -0500
commitcfc3e1db499d7d4307559cc911aa914dd131f945 (patch)
treef6a54d49134d05934a041500c5e866e4e00010cf /drivers
parent463a3162dd661a53e2eb735fe63582874076f73f (diff)
parent9885161469c3cd56b3632c8fcb414e9b3d0b8cf8 (diff)
downloadu-boot-cfc3e1db499d7d4307559cc911aa914dd131f945.zip
u-boot-cfc3e1db499d7d4307559cc911aa914dd131f945.tar.gz
u-boot-cfc3e1db499d7d4307559cc911aa914dd131f945.tar.bz2
Merge patch series "mux: Drop usage of "u-boot,mux-autoprobe""WIP/28Feb2024-next
Roger Quadros <rogerq@kernel.org> says: MUX driver should autoprobe if the device tree has "idle-states" property. Drop using the custom "u-boot,mux-autoprobe" property in TI device trees.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mux/mux-uclass.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mux/mux-uclass.c b/drivers/mux/mux-uclass.c
index c98576c..8833888 100644
--- a/drivers/mux/mux-uclass.c
+++ b/drivers/mux/mux-uclass.c
@@ -318,7 +318,8 @@ int dm_mux_init(void)
return ret;
}
uclass_foreach_dev(dev, uc) {
- if (dev_read_bool(dev, "u-boot,mux-autoprobe")) {
+ if (dev_read_bool(dev, "u-boot,mux-autoprobe") ||
+ dev_read_bool(dev, "idle-states")) {
ret = device_probe(dev);
if (ret)
log_debug("unable to probe device %s\n",