On 25/04/2024 12:25, Marc Gonzalez wrote:
I'd expect 0x1028/venus core to be absolutely necessary fwiw
Considering the absence of public documentation, these register offsets
mostly boil down to cargo-cult programming.
Thus, using different code on 8996 and 8998 risks provoking the wrath
of the embedded gods. Better, safer to cast the same incantations.
If you are concerned this isn't right, motivated and able to do so, you
could always build a kernel module for the downstream 8998 kernel - read
back the new addresses and verify the bits that have been set.
My guess is that something in the boot chain prior to Linux has set the
bits in the GDSC - lk for 8998, it'd pretty much have to be the case.
---
bod