mux: Add support for reading mux state from consumer DT node
authorAswath Govindraju <a-govindraju@ti.com>
Fri, 7 Jan 2022 07:44:25 +0000 (08:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Feb 2022 14:47:11 +0000 (15:47 +0100)
commit84564481bc4520c47e7fe9c594c0523d81e6a97a
tree1385d09ee43714892b5a27e6a4c7282b94356b62
parentb2fb28dedd39408268db38da98ef9c7d444623ab
mux: Add support for reading mux state from consumer DT node

In some cases, we might need to provide the state of the mux to be set for
the operation of a given peripheral. Therefore, pass this information using
mux-states property.

Link: https://lore.kernel.org/lkml/20211123081222.27979-1-a-govindraju@ti.com
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Peter Rosin <peda@axentia.se> (minor edits)
Link: https://lore.kernel.org/r/aac25be8-9515-a980-f7cb-709938c84822@axentia.se
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/driver-api/driver-model/devres.rst
drivers/mux/core.c
include/linux/mux/consumer.h