OpenCloudOS-Kernel/drivers/spmi
Caleb Connolly 9a2139c291 spmi: add a helper to look up an SPMI device from a device node
The helper function spmi_device_from_of() takes a device node and
returns the SPMI device associated with it.
This is like of_find_device_by_node but for SPMI devices.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20220429220904.137297-2-caleb.connolly@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-06-18 13:48:19 +01:00
..
Kconfig spmi: mediatek: Add support for MT6873/8192 2021-12-17 17:18:18 +01:00
Makefile spmi: mediatek: Add support for MT6873/8192 2021-12-17 17:18:18 +01:00
hisi-spmi-controller.c spmi: hisi-spmi-controller: move driver from staging 2021-06-25 10:02:05 +02:00
spmi-mtk-pmif.c spmi: mediatek: Add support for MT8195 2021-12-17 17:18:18 +01:00
spmi-pmic-arb.c spmi: spmi-pmic-arb: fix irq_set_type race condition 2021-12-17 17:18:18 +01:00
spmi.c spmi: add a helper to look up an SPMI device from a device node 2022-06-18 13:48:19 +01:00