lib: Add SG2044 CPPC support
Signed-off-by: haijiao.liu <haijiao.liu@sophgo.com>
This commit is contained in:
committed by
Xiaoguang Xing
parent
df02b2f353
commit
78f021d248
26
include/sbi_utils/clk/fdt_clk.h
Normal file
26
include/sbi_utils/clk/fdt_clk.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* Copyright (c) 2025 Sophgo Inc.
|
||||
*
|
||||
* Authors:
|
||||
* Haijiao Liu <haijiao.liu@sophgo.com>
|
||||
*/
|
||||
|
||||
#ifndef __FDT_CLK_H__
|
||||
#define __FDT_CLK_H__
|
||||
|
||||
#include <sbi/sbi_types.h>
|
||||
#include <sbi_utils/fdt/fdt_driver.h>
|
||||
|
||||
#ifdef CONFIG_FDT_CLK
|
||||
|
||||
void fdt_clk_init(const void *fdt);
|
||||
|
||||
#else
|
||||
|
||||
static inline void fdt_clk_init(const void *fdt) { }
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user