diff options
author | David Lechner <david@lechnology.com> | 2018-03-16 05:52:34 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-03-20 20:16:26 +0300 |
commit | 1e88a8d64f221208801bb279ee7452df0b6d609f (patch) | |
tree | 477e32c23c65dd77d5fcbb5b89f1010ac51b2dbf /include/linux/platform_data | |
parent | 0c92c71770457df9c5459190ba72350459785f37 (diff) | |
download | linux-1e88a8d64f221208801bb279ee7452df0b6d609f.tar.xz |
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')
-rw-r--r-- | include/linux/platform_data/clk-da8xx-cfgchip.h | 21 |
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__ */ |