[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zur4rhyT50lwxE_v@skv.local>
Date: Wed, 18 Sep 2024 18:58:38 +0300
From: Andrey Skvortsov <andrej.skvortzov@...il.com>
To: Dragan Simic <dsimic@...jaro.org>, Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Ondřej Jirman <megi@....cz>
Subject: Re: [PATCH] arm64: dts: sun50i-a64-pinephone: Add mount matrix for
accelerometer
Hi Dragan,
On 24-09-18 16:41, Andrey Skvortsov wrote:
> On 24-09-18 13:27, Dragan Simic wrote:
> > > In device tree mount-matrix documentation [3] there is
> > >
> > > users would likely expect a value of 9.81 m/s^2 upwards along the (z)
> > > axis, i.e. out of the screen when the device is held with its screen
> > > flat on the planets surface.
> > >
>
> how I read kernel documentation.
Hm, I think I misunderstand this part in kernel
documentation and you were correct.
> Picture 2.
>
> up
>
> +--------+
> ! !
> ++++++++++
> !
> !
> v
> gravity, Z
>
> down
>
> Screen (drawn as ++++++++++) is looking downwards ("its screen flat on
> the planets surface"). Gravity and Z axis point into the same
> direction and it's expected to read positive value.
Sorry, for the noise.
> Actually, unless my analysis is proven wrong, perhaps it would
> be better if I'd submit this patch in its final form, because it
> has diverged a lot from the original patch. IIUC, Ondrej only
> imported the original patch from somewhere, without some kind of
> proper attribution. [4]
please, submit your version of this patch. I'd be glad to review it (I
think, I've already did)
>> [1] https://rimgo.reallyaweso.me/vrBXQPq.png
>> [2] https://rimgo.reallyaweso.me/uTmT1pr.png
>> [3] https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/mount-matrix.txt
> [4] https://xff.cz/kernels/6.9/patches/0221-arm64-dts-sun50i-a64-pinephone-Add-mount-matrix-for-.patch
--
Best regards,
Andrey Skvortsov
Powered by blists - more mailing lists