On 12/20/24 7:25 AM, Konrad Dybcio wrote:
On 20.12.2024 8:35 AM, Wojciech Slenska wrote:
Document that ipa on qcm2290 uses version 4.2, the same
as sc7180.
Signed-off-by: Wojciech Slenska <wojciech.slenska@xxxxxxxxx>
---
FWIW this needs some more work on the Linux side, the IPA driver
currently hardcodes a reference to IMEM, which has a different
base between these two SoCs.
I have only glanced at this so far. At the moment I don't
know whether this device uses a different range in IMEM, but
Konrad's message suggests it does. And if so, he's correct:
the IMEM range needs to be defined differently (perhaps in
Device Tree) so that different SoCs using the same version
of IPA but different IMEM ranges can function correctly.
Downstream code should be consulted to determine this, and
as of now I have not done that.
-Alex
The IMEM region doesn't seem to be used as of current, but things
will explode the second it is.
A long overdue update would be to make the IPA driver consume
a syscon/memory-region-like property pointing to IMEM (or a slice
of it, maybe Alex knows what it was supposed to be used for).
Konrad