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>
This commit is contained in:
parent
0c92c71770
commit
1e88a8d64f
3 changed files with 462 additions and 0 deletions
21
include/linux/platform_data/clk-da8xx-cfgchip.h
Normal file
21
include/linux/platform_data/clk-da8xx-cfgchip.h
Normal file
|
|
@ -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__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue