Re: [PATCH 14/18] rockchip: rk3588: add constants for some register address spaces

2024-01-31 Thread Kever Yang
On 2024/1/23 22:49, Quentin Schulz wrote: From: Quentin Schulz It's one thing to have the register mapped via a well-defined struct but it's another to be able to make use of it. For that to happen, one needs to cast the physical address memory of the beginning of the register address space w

[PATCH 14/18] rockchip: rk3588: add constants for some register address spaces

2024-01-23 Thread Quentin Schulz
From: Quentin Schulz It's one thing to have the register mapped via a well-defined struct but it's another to be able to make use of it. For that to happen, one needs to cast the physical address memory of the beginning of the register address space with the struct. Since this cannot change, let'