All of lore.kernel.org
 help / color / mirror / Atom feed
* GPIO offsets used by userspace
@ 2017-01-30  1:34 Andrew Jeffery
  2017-01-31  0:25 ` Joel Stanley
  2017-02-07  1:41 ` Andrew Jeffery
  0 siblings, 2 replies; 12+ messages in thread
From: Andrew Jeffery @ 2017-01-30  1:34 UTC (permalink / raw)
  To: Joel Stanley, Patrick Williams; +Cc: OpenBMC

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

Hi all,

Just a heads up that when the linked patch is pulled into the OpenBMC
kernel it will break our userspace. We will need to synchronise the
kernel bump with the fixes for the machine configs to update the magic
GPIO offset number.

https://lkml.org/lkml/2017/1/26/786

The magic offset is essentially 512-(ngpios) (I don't know why, but
that's the behaviour), and this now varies between AST2400 and AST2500
systems due to the AST2500 having an extra bank, and also because the
AST2400 has a "hole" at the end of its GPIO number space.

Cheers,

Andrew

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

end of thread, other threads:[~2017-02-07  1:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-30  1:34 GPIO offsets used by userspace Andrew Jeffery
2017-01-31  0:25 ` Joel Stanley
2017-01-31  0:50   ` Hergert, Nolan
2017-01-31  1:12     ` Andrew Jeffery
2017-01-31  1:23       ` Hergert, Nolan
2017-01-31 18:06       ` Patrick Williams
2017-01-31  1:15   ` Andrew Jeffery
2017-01-31 22:15     ` Xo Wang
2017-01-31 23:25       ` Joel Stanley
2017-02-01  1:26         ` Xo Wang
2017-02-01  2:20         ` Andrew Jeffery
2017-02-07  1:41 ` Andrew Jeffery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.