Centos-kernel-stream-9/drivers/mux
Andrew Halaney 931a8cfa93 mux: mmio: use reg property when parent device is not a syscon
JIRA: https://issues.redhat.com/browse/RHEL-35606

commit 2765149273f4b52beb07256c3e4686c065a5f8a8
Author: Andrew Davis <afd@ti.com>
Date:   Thu Jan 4 09:45:52 2024 -0600

    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>

Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
2024-05-28 09:43:15 -05:00
..
Kconfig
Makefile
adg792a.c
adgs1408.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
core.c drivers: remove struct module * setting from struct class 2023-11-01 11:12:29 -05:00
gpio.c mux: gpio: Simplify code by using dev_err_probe() 2021-04-02 16:28:53 +02:00
mmio.c mux: mmio: use reg property when parent device is not a syscon 2024-05-28 09:43:15 -05:00