]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: ti: pd: Add debug command for K3 power domains
authorTero Kristo <t-kristo@ti.com>
Fri, 11 Jun 2021 08:45:16 +0000 (11:45 +0300)
committerLokesh Vutla <lokeshvutla@ti.com>
Fri, 11 Jun 2021 11:04:52 +0000 (16:34 +0530)
commitf79753c3defb15c037e4e8be6235b2a37a8b56d4
treed1cbb5967d5ad1990755a3f6c1a7bff6a582c8f0
parent144464bd2c67a1f11e8dd4fb4a18b45b666dc1c4
cmd: ti: pd: Add debug command for K3 power domains

Add support command for debugging K3 power domains. This is useful with
the HSM rearch setup, where power domains are directly controlled by SPL
instead of going through the TI SCI layer. The debugging support is only
available in the u-boot codebase though, so the raw register access
power domain layer must be enabled on u-boot side for this to work. By
default, u-boot side uses the TI SCI layer, and R5 SPL only uses the
direct access methods.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tero Kristo <kristo@kernel.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
cmd/ti/Kconfig
cmd/ti/Makefile
cmd/ti/pd.c [new file with mode: 0644]
drivers/power/domain/ti-power-domain.c
include/k3-dev.h