Re: [PATCH] arm64: dts: qcom: x1e80100-dell-xps13-9345: enable onboard accelerometers
From: Aleksandrs Vinarskis
Date: Mon Mar 02 2026 - 08:28:42 EST
On Monday, March 2nd, 2026 at 13:14, Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx> wrote:
> On 2/28/26 6:46 PM, Aleksandrs Vinarskis wrote:
> > Particular laptop comes with two sets of sensors:
> > 1. Motherboard: accelerometer
> > 2. Display/Camera module: accelerometer, ambient ligth (and more)
> > sensor
> >
> > Define both i2c busses (bitbanged), sensors and respective rotation
> > matrices.
>
> These GPIOs correspond to ADSP/SSC-bound QUPs. It may be that you're
> poking at the same bus as the DSP is, concurrently.
Indeed, Val already pointed out that there is hexagonrpcd to access
sensors behind Sensor Core from DSP. I found corresponding .json sensor
files in Windows for all x3 sensors, but could not make it work yet.
Without these additional things in userspace it does not cause any
conflicts: I've been using this for a week now, no i2c communication
issues and device orientation information is present.
The question is then if we want to keep this series which ignores DSP
capabilities with the advantage that it will work for everyone with
the new kernel vs doing it 'correct' way over DSP which requires
additional json (and binary blobs?) and userpsace configuration,
meaning that most users will never have these sensors?
Alex
P.S. rechecking my own series, it seems i2c node names I picked are
illegal, will fix in v2.
>
> Konrad
>