include/soc/rockchip/rk3588_grf.h

Source file repositories/reference/linux-study-clean/include/soc/rockchip/rk3588_grf.h

File Facts

System
Linux kernel
Corpus path
include/soc/rockchip/rk3588_grf.h
Extension
.h
Size
885 bytes
Lines
23
Domain
Repository Root And Misc
Bucket
include
Inferred role
Repository Root And Misc: implementation source
Status
source implementation candidate

Why This File Exists

Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __SOC_RK3588_GRF_H
#define __SOC_RK3588_GRF_H

#define RK3588_PMUGRF_OS_REG2		0x208
#define RK3588_PMUGRF_OS_REG2_DRAMTYPE_INFO		GENMASK(15, 13)
#define RK3588_PMUGRF_OS_REG2_BW_CH0			GENMASK(3, 2)
#define RK3588_PMUGRF_OS_REG2_BW_CH1                    GENMASK(19, 18)
#define RK3588_PMUGRF_OS_REG2_CH_INFO                   GENMASK(29, 28)

#define RK3588_PMUGRF_OS_REG3		0x20c
#define RK3588_PMUGRF_OS_REG3_DRAMTYPE_INFO_V3		GENMASK(13, 12)
#define RK3588_PMUGRF_OS_REG3_SYSREG_VERSION		GENMASK(31, 28)

#define RK3588_PMUGRF_OS_REG4				0x210
#define RK3588_PMUGRF_OS_REG5				0x214
#define RK3588_PMUGRF_OS_REG6				0x218
#define RK3588_PMUGRF_OS_REG6_LP5_BANK_MODE		GENMASK(2, 1)
/* Whether the LPDDR5 is in 2:1 (= 0) or 4:1 (= 1) CKR a.k.a. DQS mode */
#define RK3588_PMUGRF_OS_REG6_LP5_CKR			BIT(0)

#endif /* __SOC_RK3588_GRF_H */

Annotation

Implementation Notes