mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 15:41:36 +00:00
48cf7e0138
Add a driver for the SOPHGO SG2042 clocks. Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
19 lines
442 B
C
19 lines
442 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _CLK_SOPHGO_SG2042_H_
|
|
#define _CLK_SOPHGO_SG2042_H_
|
|
|
|
#include <linux/io.h>
|
|
#include <linux/clk-provider.h>
|
|
|
|
/**
|
|
* struct sg2042_clk_data - Common data of clock-controller
|
|
* @iobase: base address of clock-controller
|
|
* @onecell_data: used for adding providers.
|
|
*/
|
|
struct sg2042_clk_data {
|
|
void __iomem *iobase;
|
|
struct clk_hw_onecell_data onecell_data;
|
|
};
|
|
|
|
#endif /* _CLK_SOPHGO_SG2042_H_ */
|