lkml.org 
[lkml]   [2022]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] docs: gpio-sim device-tree example with gpio-base
On Wed, Jun 22, 2022 at 5:54 PM Menglong Wu <menglongwoo@aliyun.com> wrote:

> Update gpio-sim module device-tree example with property
> 'gpio-base'
>
> Signed-off-by: Menglong Wu <menglongwoo@aliyun.com>

Linux-internal global GPIO numbers has no business in device tree
since other operating systems have no use for it.

Also Linux don't really want to use these bases either but want to
move away from it, see:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpio/TODO

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2022-06-28 15:04    [W:0.017 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site