On Wed, 12 Nov 2025 13:03:22 -0600 Andrew Davis afd@ti.com wrote:
On 11/12/25 9:14 AM, Kory Maincent (TI.com) wrote:
The TPS65214 PMIC variant has a LOCK_REG register that prevents writes to nearly all registers when locked. Unlock the registers at probe time and leave them unlocked permanently.
This approach is justified because:
- Register locking is very uncommon in typical system operation
- No code path is expected to lock the registers during runtime
Any other entity in the system that could re-lock these registers? How about low power modes or other PM handling?
No there is no reason to re-lock these registers. It will be locked again only if the PMIC is reset. In any case, if one case appears that needs to lock these register (even if I think it is unlikely) we could come back to the regmap custom write design.
Regards,