diff options
| author | Frank Li <Frank.Li@nxp.com> | 2026-05-04 19:54:35 -0400 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-05-05 14:48:12 +0200 |
| commit | 05e58da46d8e8f8b29bc9b47053bb0637891c06f (patch) | |
| tree | 3f5fd7e888ecef6d33bfa191226031908defcf5f /include/linux/timerqueue.h | |
| parent | 254f49634ee16a731174d2ae34bc50bd5f45e731 (diff) | |
mux: add devm_mux_state_get_from_np() to get mux from child node
Add new API devm_mux_state_get_from_np() to retrieve a mux control from
a specified child device node.
Make devm_mux_state_get() call devm_mux_state_get_from_np() with a NULL
node parameter, which defaults to using the device's own of_node.
Support the following DT schema:
pinctrl@0 {
uart-func {
mux-state = <&mux_chip 0>;
};
spi-func {
mux-state = <&mux_chip 1>;
};
};
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
