[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <573b2293-7b39-4c68-a51b-ecd5b62b0ec1@gmail.com>
Date: Fri, 21 Nov 2025 03:35:05 -0800
From: Rudraksha Gupta <guptarud@...il.com>
To: Konrad Dybcio <konrad.dybcio@....qualcomm.com>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] ARM: dts: qcom: msm8960: expressatt: Add Magnetometer
>> + iovdd-supply = <&pm8921_lvs4>;
>> +
>> + // TODO: Figure out Mount Matrix
> pmOS wiki has this:
>
> https://github.com/SiddharthManthan/accelerometer-mount-matrix-generator/blob/master/rotation_matrix.py
>
> but for accelerometers.. shouldn't be too different, I would assume
Unfortunately this seems to generate a broken matrix for me for the
accelerometer. Downstream is also useless here as I believe Android does
something slightly different.
I have been trying to upstream the pinephone pro's accelerometer and
magnetometer as well (
https://lore.kernel.org/all/20250929-ppp_light_accel_mag_vol-down-v4-0-6598f22d3451@gmail.com/
), but I'm just not sure if what I'm doing is right. I think the easiest
solution for me right now is to get the screen working and use GUI
programs to figure out if the mount matrix is right. If you have other
suggestions, please let me know. I'm all ears.
But since I have your attention for now, I had a couple questions on
trying to get the screen to work:
- The pipeline is MDP4 <-> DSI <-> Panel, right? Any information you can
give me so that I can try to get this working faster?
- Is IOMMU broken? It seems like I can use APQ8064's implementation, but
that's broken since at least 5.10. Should this be reported, and if so where?
- I see Adreno 2xx, but seems like there is not Adreno 225 DTS
compatible? Any insight here?
Thanks,
Rudraksha
Powered by blists - more mailing lists