summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/clk-da8xx-cfgchip.h
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-03-15 21:52:34 -0500
committerStephen Boyd <sboyd@kernel.org>2018-03-20 10:16:26 -0700
commit1e88a8d64f221208801bb279ee7452df0b6d609f (patch)
tree477e32c23c65dd77d5fcbb5b89f1010ac51b2dbf /include/linux/platform_data/clk-da8xx-cfgchip.h
parent0c92c71770457df9c5459190ba72350459785f37 (diff)
downloadlwn-1e88a8d64f221208801bb279ee7452df0b6d609f.tar.gz
lwn-1e88a8d64f221208801bb279ee7452df0b6d609f.zip
clk: davinci: New driver for TI DA8XX CFGCHIP clocks
This adds a new driver for the gate and multiplexer clocks in the CFGCHIPn syscon registers on TI DA8XX-type SoCs. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/linux/platform_data/clk-da8xx-cfgchip.h')
-rw-r--r--include/linux/platform_data/clk-da8xx-cfgchip.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/platform_data/clk-da8xx-cfgchip.h b/include/linux/platform_data/clk-da8xx-cfgchip.h
new file mode 100644
index 000000000000..de0f77d38669
--- /dev/null
+++ b/include/linux/platform_data/clk-da8xx-cfgchip.h
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * clk-da8xx-cfgchip - TI DaVinci DA8xx CFGCHIP clock driver
+ *
+ * Copyright (C) 2018 David Lechner <david@lechnology.com>
+ */
+
+#ifndef __LINUX_PLATFORM_DATA_CLK_DA8XX_CFGCHIP_H__
+#define __LINUX_PLATFORM_DATA_CLK_DA8XX_CFGCHIP_H__
+
+#include <linux/regmap.h>
+
+/**
+ * da8xx_cfgchip_clk_platform_data
+ * @cfgchip: CFGCHIP syscon regmap
+ */
+struct da8xx_cfgchip_clk_platform_data {
+ struct regmap *cfgchip;
+};
+
+#endif /* __LINUX_PLATFORM_DATA_CLK_DA8XX_CFGCHIP_H__ */