android_kernel_xiaomi_sm8350/drivers/clk/sunxi-ng/ccu-sun50i-a100-r.h
Yangtao Li 5ff1d0acdc FROMLIST: clk: sunxi-ng: add support for the Allwinner A100 CCU
Add support for a100 in the sunxi-ng CCU framework.

Signed-off-by: Yangtao Li <frank@allwinnertech.com>
Acked-by: Rob Herring <robh@kernel.org>

Bug: 157278975
Change-Id: I2eb73fd43a25296a611834f2feb767aa89ad0256
Link: https://lore.kernel.org/lkml/1eb41bf6c966a0e54820200650d27a5d4f2ac160.1595572867.git.frank@allwinnertech.com/
Signed-off-by: Frank Lee <frank@allwinnertech.com>
2020-08-27 17:11:05 +08:00

22 lines
447 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2020 Yangtao Li <frank@allwinnertech.com>
*/
#ifndef _CCU_SUN50I_A100_R_H
#define _CCU_SUN50I_A100_R_H
#include <dt-bindings/clock/sun50i-a100-r-ccu.h>
#include <dt-bindings/reset/sun50i-a100-r-ccu.h>
#define CLK_R_CPUS 0
#define CLK_R_AHB 1
/* exported except APB1 for R_PIO */
#define CLK_R_APB2 3
#define CLK_NUMBER (CLK_R_AHB_BUS_RTC + 1)
#endif /* _CCU_SUN50I_A100_R_H */