#include <linux/err.h>
#include <linux/mfd/syscon.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#define HIWORD_UPDATE(val, mask, shift) …
struct rockchip_grf_value { … };
struct rockchip_grf_info { … };
#define RK3036_GRF_SOC_CON0 …
static const struct rockchip_grf_value rk3036_defaults[] __initconst = …;
static const struct rockchip_grf_info rk3036_grf __initconst = …;
#define RK3128_GRF_SOC_CON0 …
static const struct rockchip_grf_value rk3128_defaults[] __initconst = …;
static const struct rockchip_grf_info rk3128_grf __initconst = …;
#define RK3228_GRF_SOC_CON6 …
static const struct rockchip_grf_value rk3228_defaults[] __initconst = …;
static const struct rockchip_grf_info rk3228_grf __initconst = …;
#define RK3288_GRF_SOC_CON0 …
#define RK3288_GRF_SOC_CON2 …
static const struct rockchip_grf_value rk3288_defaults[] __initconst = …;
static const struct rockchip_grf_info rk3288_grf __initconst = …;
#define RK3328_GRF_SOC_CON4 …
static const struct rockchip_grf_value rk3328_defaults[] __initconst = …;
static const struct rockchip_grf_info rk3328_grf __initconst = …;
#define RK3368_GRF_SOC_CON15 …
static const struct rockchip_grf_value rk3368_defaults[] __initconst = …;
static const struct rockchip_grf_info rk3368_grf __initconst = …;
#define RK3399_GRF_SOC_CON7 …
static const struct rockchip_grf_value rk3399_defaults[] __initconst = …;
static const struct rockchip_grf_info rk3399_grf __initconst = …;
#define RK3566_GRF_USB3OTG0_CON1 …
static const struct rockchip_grf_value rk3566_defaults[] __initconst = …;
static const struct rockchip_grf_info rk3566_pipegrf __initconst = …;
#define RK3588_GRF_SOC_CON6 …
static const struct rockchip_grf_value rk3588_defaults[] __initconst = …;
static const struct rockchip_grf_info rk3588_sysgrf __initconst = …;
static const struct of_device_id rockchip_grf_dt_match[] __initconst = …;
static int __init rockchip_grf_init(void)
{ … }
postcore_initcall(rockchip_grf_init);