accel/amdxdna: Return error when setting clock failed for npu1
[drm/drm-misc.git] / include / soc / rockchip / rk3588_grf.h
blob630b35a550640e57f1b5a50dfbe362653a7cbcc1
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 #ifndef __SOC_RK3588_GRF_H
3 #define __SOC_RK3588_GRF_H
5 #define RK3588_PMUGRF_OS_REG2 0x208
6 #define RK3588_PMUGRF_OS_REG2_DRAMTYPE_INFO GENMASK(15, 13)
7 #define RK3588_PMUGRF_OS_REG2_BW_CH0 GENMASK(3, 2)
8 #define RK3588_PMUGRF_OS_REG2_BW_CH1 GENMASK(19, 18)
9 #define RK3588_PMUGRF_OS_REG2_CH_INFO GENMASK(29, 28)
11 #define RK3588_PMUGRF_OS_REG3 0x20c
12 #define RK3588_PMUGRF_OS_REG3_DRAMTYPE_INFO_V3 GENMASK(13, 12)
13 #define RK3588_PMUGRF_OS_REG3_SYSREG_VERSION GENMASK(31, 28)
15 #define RK3588_PMUGRF_OS_REG4 0x210
16 #define RK3588_PMUGRF_OS_REG5 0x214
18 #endif /* __SOC_RK3588_GRF_H */