]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: domain: ti: Extend use of PTCMD and PTSTAT registers for high PDs
authorDave Gerlach <d-gerlach@ti.com>
Sat, 2 Apr 2022 01:02:48 +0000 (20:02 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 14 Apr 2022 19:39:14 +0000 (15:39 -0400)
commite9598cfb283b4df080976c73493eff4b5fd62791
treef75331e47c56e98d06ec03c135edbfbc92d03d64
parent585fc1c8c535380e1ace681e34bb1e3c9e8bc7ae
power: domain: ti: Extend use of PTCMD and PTSTAT registers for high PDs

It is possible for power domain IDs to be great than 31. If this
happens, the PTCMD and PTSTAT registers must overflow into adjacent
corresponding PTCMD_H and PTSTAT_H registers for each. Update the driver
to account for this.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
drivers/power/domain/ti-power-domain.c