diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2023-10-18 08:17:05 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2023-10-19 21:17:10 +0900 |
commit | d1d0b3fe95d888f1ae82a0cf6a594fa0c3cbfa79 (patch) | |
tree | 10fae6ac2a950c7f81f945f044662d749e997606 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 4d586b5724d3233a73603000de7b8a035b493138 (diff) |
PM / devfreq: rockchip-dfi: make register stride SoC specific
The currently supported RK3399 has a stride of 20 between the channel
specific registers. Upcoming RK3588 has a different stride, so put
the stride into driver data to make it configurable.
While at it convert decimal 20 to hex 0x14 for consistency with RK3588
which has a register stride 0x4000 and we want to write that in hex
as well.
Link: https://lore.kernel.org/all/20231018061714.3553817-18-s.hauer@pengutronix.de/
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions