devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* lis302 DT binding for Nokia N900
@ 2013-12-03 12:21 Sebastian Reichel
       [not found] ` <20131203122059.GB4653-SfvFxonMDyemK9LvCR3Hrw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Reichel @ 2013-12-03 12:21 UTC (permalink / raw)
  To: Daniel Mack, Eric Piel, Rob Herring, Pawel Moll, Mark Rutland,
	Stephen Warren, Ian Campbell, devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Sebastian Reichel

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

Hi,

The lis302 has already a DT binding described in [0],
which descibes misc. hardware properties. The problem
is, that the Nokia N900 needs negative values for some
of the properties, which seem to be unsupported by DT.
The following values would be needed for the N900 (taken
from board code):

st,axis-x = <1>;  /* LIS3_DEV_X */
st,axis-y = <-2>; /* LIS3_INV_DEV_Y */
st,axis-z = <-3>; /* LIS3_INV_DEV_Z */

st,min-limit-x = <-32>;
st,min-limit-y = <3>;
st,min-limit-z = <3>;

st,max-limit-x = <-3>;
st,max-limit-y = <32>;
st,max-limit-z = <32>;

Can you please tell me how to setup the properties correctly?

[0] Documentation/devicetree/bindings/misc/lis302.txt

-- Sebastian

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-08 14:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-03 12:21 lis302 DT binding for Nokia N900 Sebastian Reichel
     [not found] ` <20131203122059.GB4653-SfvFxonMDyemK9LvCR3Hrw@public.gmane.org>
2013-12-08 13:27   ` Éric Piel
     [not found]     ` <52A473D8.7020706-VkQ1JFuSMpfAbQlEx87xDw@public.gmane.org>
2013-12-08 13:46       ` Sebastian Reichel
     [not found]         ` <20131208134651.GA25587-SfvFxonMDyemK9LvCR3Hrw@public.gmane.org>
2013-12-08 14:00           ` Éric Piel
     [not found]             ` <52A47B84.8050009-VkQ1JFuSMpfAbQlEx87xDw@public.gmane.org>
2013-12-08 14:48               ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).