summaryrefslogtreecommitdiff
path: root/drivers/mfd/rsmu.h
diff options
context:
space:
mode:
authorMin Li <min.li.xe@renesas.com>2021-06-18 12:37:12 -0400
committerLee Jones <lee.jones@linaro.org>2021-07-13 12:20:44 +0100
commita1867f85e06edacd82956d3422caa2b9074f4321 (patch)
tree0c706b50e6f3012753d5e0f1c7bdacd915936ea6 /drivers/mfd/rsmu.h
parente73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff)
mfd: Add Renesas Synchronization Management Unit (SMU) support
Add support for ClockMatrix(TM) and 82P33xxx families of timing and synchronization devices. The access interface can be either SPI or I2C. Currently, it will create 2 types of MFD devices, which are to be used by the corresponding rsmu character device driver and the PTP hardware clock driver, respectively. Signed-off-by: Min Li <min.li.xe@renesas.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/rsmu.h')
-rw-r--r--drivers/mfd/rsmu.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/mfd/rsmu.h b/drivers/mfd/rsmu.h
new file mode 100644
index 000000000000..bb88597d189f
--- /dev/null
+++ b/drivers/mfd/rsmu.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Renesas Synchronization Management Unit (SMU) devices.
+ *
+ * Copyright (C) 2021 Integrated Device Technology, Inc., a Renesas Company.
+ */
+
+#ifndef __RSMU_MFD_H
+#define __RSMU_MFD_H
+
+#include <linux/mfd/rsmu.h>
+
+int rsmu_core_init(struct rsmu_ddata *rsmu);
+void rsmu_core_exit(struct rsmu_ddata *rsmu);
+
+#endif /* __RSMU_MFD_H */