Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1510376

Re: [PATCH v2 2/9] dt-bindings: interrupt-controller: add DT binding for meson GPIO interrupt controller

From Jerome Brunet <jbrunet@baylibre.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/9] dt-bindings: interrupt-controller: add DT binding for meson GPIO interrupt controller
Date 2016-10-27 17:10 +0200
Message-ID <swUtA-3yF-37@gated-at.bofh.it> (permalink)
References <su0Yx-33U-5@gated-at.bofh.it> <su0Yx-33U-3@gated-at.bofh.it> <swEf8-11E-1@gated-at.bofh.it> <swTQS-355-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2016-10-27 at 10:32 +0100, Mark Rutland wrote:
> On Wed, Oct 26, 2016 at 04:42:35PM -0500, Rob Herring wrote:
> > 
> > On Wed, Oct 19, 2016 at 05:21:13PM +0200, Jerome Brunet wrote:
> > > 
> > > 
> > > This commit adds the device tree bindings description for
> > > Amlogic's GPIO
> > > interrupt controller available on the meson8, meson8b and gxbb
> > > SoC families
> > > 
> > > Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> > > ---
> > > Rob, I did not include the Ack you gave for the RFC as bindings
> > > have slightly
> > > changed. Only the interrupt property has be removed following a
> > > discussion I
> > > had with Marc
> > 
> > As Mark R already said, you should keep the interrupts property.
> 
> To be clear, the interrupt routing should be described *somehow*,
> though
> I don't think the generic interrupts property is correct, as this is
> an
> interrupt *router*, i.e. this device doesn't own the interrupt, it
> just
> joins two parts of the line together (and so flags are meaningless).
> 
> Thanks,
> Mark.

Indeed Mark,

I already rewritten the driver taking Marc's comment into account.
There will be 2 properties added to the DT:
 - meson,upstream-interrupts : an array with the 8 gic interrupt used
as output of the controller
-  meson,num-input-mux : the number of inputs (pads) available to the
muxes

I'm looking for solution to the "create mapping" issue we have in
pinctrl (patch 4) before posting a v3.

If you think these properties should be different, feel free to tell me
now.

Thx
Jerome

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 2/9] dt-bindings: interrupt-controller: add DT binding for meson GPIO interrupt controller Jerome Brunet <jbrunet@baylibre.com> - 2016-10-19 17:30 +0200
  Re: [PATCH v2 2/9] dt-bindings: interrupt-controller: add DT binding  for meson GPIO interrupt controller Rob Herring <robh@kernel.org> - 2016-10-26 23:50 +0200
    Re: [PATCH v2 2/9] dt-bindings: interrupt-controller: add DT binding  for meson GPIO interrupt controller Mark Rutland <mark.rutland@arm.com> - 2016-10-27 16:30 +0200
      Re: [PATCH v2 2/9] dt-bindings: interrupt-controller: add DT  binding for meson GPIO interrupt controller Jerome Brunet <jbrunet@baylibre.com> - 2016-10-27 17:10 +0200

csiph-web