From: mamlinav@gmail.com (Aleksei Mamlin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: sun7i: Add Goodix GT911 nodes for Wexler TAB7200
Date: Sat, 11 Apr 2015 19:36:14 +0300 [thread overview]
Message-ID: <20150411193614.83013f345aaa1123ef55ecbf@gmail.com> (raw)
In-Reply-To: <20150402185008.GC14618@lukather>
On Thu, 2 Apr 2015 20:50:08 +0200
Maxime Ripard <maxime.ripard@free-electrons.com> wrote:
> On Tue, Mar 31, 2015 at 10:31:20PM +0300, Aleksei Mamlin wrote:
> > > > + compatible = "goodix,gt911";
> > > > + reg = <0x5d>;
> > > > + interrupt-parent = <&pio>;
> > > > + interrupts = <21 IRQ_TYPE_NONE>; /* EINT21 (PH21) */
> > >
> > > Unfortunately, IRQ_TYPE_NONE is not a valid value for the GIC
> > > bindings.
> > >
> >
> > Hmm. Which value I must use in this case? IRQ type is set by the
> > touchscreen controller driver, so I think that value must be 0.
>
> Whatever the hardware is using. Presumably the same value than the
> driver sets.
>
> > >
> > > You're also not adding a pinctrl group for that pin?
> >
> > No, because it works fine with this DT nodes. It seems that I should
> > first configure pin to work in interrupt mode. Correct?
>
> You don't have to, since the pio driver will already take care of
> muxing it to the right function, but that will prevent any driver to
> call pinctrl_request on the same pin.
>
It is still necessary?
I see that you have accepted Hans de Goede's patches: http://www.spinics.net/lists/arm-kernel/msg411142.html
>
> Maxime
>
> --
> Maxime Ripard, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
--
Thanks and regards,
Aleksei Mamlin
WARNING: multiple messages have this Message-ID (diff)
From: Aleksei Mamlin <mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Maxime Ripard
<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH] ARM: dts: sun7i: Add Goodix GT911 nodes for Wexler TAB7200
Date: Sat, 11 Apr 2015 19:36:14 +0300 [thread overview]
Message-ID: <20150411193614.83013f345aaa1123ef55ecbf@gmail.com> (raw)
In-Reply-To: <20150402185008.GC14618@lukather>
On Thu, 2 Apr 2015 20:50:08 +0200
Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote:
> On Tue, Mar 31, 2015 at 10:31:20PM +0300, Aleksei Mamlin wrote:
> > > > + compatible = "goodix,gt911";
> > > > + reg = <0x5d>;
> > > > + interrupt-parent = <&pio>;
> > > > + interrupts = <21 IRQ_TYPE_NONE>; /* EINT21 (PH21) */
> > >
> > > Unfortunately, IRQ_TYPE_NONE is not a valid value for the GIC
> > > bindings.
> > >
> >
> > Hmm. Which value I must use in this case? IRQ type is set by the
> > touchscreen controller driver, so I think that value must be 0.
>
> Whatever the hardware is using. Presumably the same value than the
> driver sets.
>
> > >
> > > You're also not adding a pinctrl group for that pin?
> >
> > No, because it works fine with this DT nodes. It seems that I should
> > first configure pin to work in interrupt mode. Correct?
>
> You don't have to, since the pio driver will already take care of
> muxing it to the right function, but that will prevent any driver to
> call pinctrl_request on the same pin.
>
It is still necessary?
I see that you have accepted Hans de Goede's patches: http://www.spinics.net/lists/arm-kernel/msg411142.html
>
> Maxime
>
> --
> Maxime Ripard, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
--
Thanks and regards,
Aleksei Mamlin
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-04-11 16:36 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-31 8:18 [PATCH] ARM: dts: sun7i: Add Goodix GT911 nodes for Wexler TAB7200 Aleksei Mamlin
2015-03-31 8:18 ` Aleksei Mamlin
2015-03-31 14:43 ` Maxime Ripard
2015-03-31 14:43 ` Maxime Ripard
2015-03-31 19:14 ` Aleksei Mamlin
2015-03-31 19:14 ` Aleksei Mamlin
2015-04-02 9:22 ` Maxime Ripard
2015-04-02 9:22 ` Maxime Ripard
2015-04-11 16:18 ` Aleksei Mamlin
2015-04-11 16:18 ` Aleksei Mamlin
2015-04-13 16:09 ` Maxime Ripard
2015-04-13 16:09 ` Maxime Ripard
2015-04-13 19:01 ` Aleksei Mamlin
2015-04-13 19:01 ` Aleksei Mamlin
2015-04-14 16:32 ` Maxime Ripard
2015-04-14 16:32 ` Maxime Ripard
2015-03-31 19:31 ` Aleksei Mamlin
2015-03-31 19:31 ` Aleksei Mamlin
2015-04-02 18:50 ` Maxime Ripard
2015-04-02 18:50 ` Maxime Ripard
2015-04-11 16:36 ` Aleksei Mamlin [this message]
2015-04-11 16:36 ` Aleksei Mamlin
2015-04-13 15:59 ` Maxime Ripard
2015-04-13 15:59 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150411193614.83013f345aaa1123ef55ecbf@gmail.com \
--to=mamlinav@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.