linux/drivers/mux
Andrew Davis 2765149273 mux: mmio: use reg property when parent device is not a syscon
The DT binding for the reg-mux compatible states it can be used when the
"parent device of mux controller is not syscon device". It also allows
for a reg property. When the reg property is provided, use that to
identify the address space for this mux. If not provided fallback to
using the parent device as a regmap provider.

While here use dev_err_probe() in the error path to prevent printing
a message on probe defer which now can happen in extra ways.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Acked-by: Peter Rosin <peda@axentia.se>
Link: https://lore.kernel.org/r/20240104154552.17852-1-afd@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-04 17:01:14 +01:00
..
adg792a.c mux: adg792a: Switch back to use i2c_driver's .probe() 2023-06-15 13:42:18 +02:00
adgs1408.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
core.c mux: Explicitly include correct DT includes 2023-08-28 13:36:24 -05:00
gpio.c mux: gpio: Simplify code by using dev_err_probe() 2021-04-02 16:28:53 +02:00
Kconfig mux: mmio: drop obsolete dependency on COMPILE_TEST 2023-06-01 07:19:51 +01:00
Makefile mux: adgs1408: new driver for Analog Devices ADGS1408/1409 mux 2018-08-02 10:23:02 +02:00
mmio.c mux: mmio: use reg property when parent device is not a syscon 2024-01-04 17:01:14 +01:00