[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 11 Nov 2020 14:28:47 -0600
From: Rob Herring <robh@...nel.org>
To: Daniel Palmer <daniel@...f.com>
Cc: maz@...nel.org, linux-kernel@...r.kernel.org,
linus.walleij@...aro.org, soc@...nel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
w@....eu, linux-gpio@...r.kernel.org
Subject: Re: [PATCH v3 1/5] dt-bindings: gpio: Add a binding header for the
MSC313 GPIO driver
On Mon, 09 Nov 2020 21:17:27 +0900, Daniel Palmer wrote:
> Header adds defines for the gpio number of each pad from the driver view.
>
> The gpio block seems to have enough registers for 128 lines but what line
> is mapped to a physical pin depends on the chip. The gpio block also seems
> to contain some registers that are not related to gpio but needed somewhere
> to go.
>
> Because of the above the driver itself uses the index of a pin's offset in
> an array of the possible offsets for a chip as the gpio number.
>
> Signed-off-by: Daniel Palmer <daniel@...f.com>
> ---
> MAINTAINERS | 1 +
> include/dt-bindings/gpio/msc313-gpio.h | 53 ++++++++++++++++++++++++++
> 2 files changed, 54 insertions(+)
> create mode 100644 include/dt-bindings/gpio/msc313-gpio.h
>
Reviewed-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists