diff options
author | Elaine Zhang <zhangqing@rock-chips.com> | 2025-04-15 23:51:19 +0200 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2025-04-23 22:12:05 +0800 |
commit | e4225b22cefeee5556c62c1f1ade5356e637c89c (patch) | |
tree | 202273ff3cfcdbbdf310b518290a5d4373fd0964 /tools/u_boot_pylib/test_util.py | |
parent | 3919310b37ec0394d944de6d3980254cd8ed3035 (diff) |
reset: rockchip: implement rk3576 lookup table
The current DT bindings for the rk3576 clock use a different ID than the
one that is supposed to be written to the hardware registers.
Thus, we cannot use directly the id provided in the phandle, but rather
use a lookup table to correctly setup the hardware.
This follows the implementation done in the Linux-Kernel and also
how the rk3588 does this both in the Linux-Kernel as well as U-Boot.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
[adapted from mainline Linux code for u-boot]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions