]> git.baikalelectronics.ru Git - uboot.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)
commit6a9e59a746d44a3eed5279900b878e8b57eef5f5
treef75331e47c56e98d06ec03c135edbfbc92d03d64
parent3928344d19cc4971084b46943e4dce641668401e
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