From: "Heiko Stübner" <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
To: Dmitry Torokhov
<dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "open list:ARM/Rockchip SoC..."
<linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
Doug Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
Alexandru Stan <amstan-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Subject: Re: [PATCH v2 2/2] ARM: dts: rockchip: add veyron-minnie board
Date: Sat, 08 Aug 2015 00:50:15 +0200 [thread overview]
Message-ID: <4355831.vggPnSTQsd@diego> (raw)
In-Reply-To: <CAKdAkRTVbGeDY2J_T1N1x1yQaq7vCnO71TVmQGAZAkMaQsz2qw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Am Freitag, 7. August 2015, 15:13:13 schrieb Dmitry Torokhov:
> On Fri, Aug 7, 2015 at 3:06 PM, Doug Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> wrote:
> > Heiko,
> >
> > On Thu, Aug 6, 2015 at 10:37 AM, Heiko Stübner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org> wrote:
> >> +&i2c3 {
> >> + status = "okay";
> >> +
> >> + /*
> >> + * Touchscreen pin control is shared between Atmel and Elan
> >> devices, + * so we have to pull it up to the bus level.
> >> + */
> >> + pinctrl-names = "default";
> >> + pinctrl-0 = <&i2c3_xfer &touch_int &touch_rst>;
> >> +
> >> + clock-frequency = <400000>;
> >> + i2c-scl-falling-time-ns = <50>;
> >> + i2c-scl-rising-time-ns = <300>;
> >> +
> >> + touchscreen@10 {
> >> + compatible = "elan,ekth3500";
> >> + reg = <0x10>;
> >> + interrupt-parent = <&gpio2>;
> >> + interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
> >> + reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
> >> + vcc33-supply = <&vcc33_touch>;
> >> + vccio-supply = <&vcc33_touch>;
> >> + };
> >> +
> >> + touchscreen@4a {
> >> + compatible = "atmel,atmel_mxt_ts";
> >> + reg = <0x4a>;
> >> + atmel,reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
> >> + avdd-supply = <&vcc5v_touch>;
> >> + interrupt-parent = <&gpio2>;
> >> + interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
> >> + vdd-supply = <&vcc33_touch>;
> >
> > Technically I don't think most of these properties exist upstream, but
> > Dmitry (now CCed) might know more.
> >
> > ...actually similar for elan. At least I don't see 'reset-gpios', nor
> > 'vcc33-supply' and 'vccio-supply' in the bindings when I checkout
> > linuxnext...
>
> I just merged the Elan regulator/gpio support, it will show up in the next
> next.
> > Oh, and also locally our tree has hacks in it to handle the fact that
> > both atmel and elan will try to grab the same reset GPIO. I'm nearly
> > certain that Dmitry said that the current hacks we have wouldn't be
> > appropriate for upstream. I had some proposals for better solutions,
> > but they were slightly more controversial. In any case, I think all
> > shipping devices ended up using one or the other of these two
> > touchscreens (I forget which), so you could probably simplify and just
> > pick one of them. If old prototype devices don't work upstream it
> > wouldn't be the end of the world.
>
> I think if you pick Elan for this board it will cover majority (all?)
> devices that actually shipped.
I guess I'll simply drop the touchscreens for for this initial submission - at
this point in time we don't have support for the internal display anyway, so I
can sort out the touchscreens a bit later.
armsoc has a slightly early cutoff most of the time, so I'll try to land the
initial support and worry about the smaller tidbits later :-)
Heiko
WARNING: multiple messages have this Message-ID (diff)
From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] ARM: dts: rockchip: add veyron-minnie board
Date: Sat, 08 Aug 2015 00:50:15 +0200 [thread overview]
Message-ID: <4355831.vggPnSTQsd@diego> (raw)
In-Reply-To: <CAKdAkRTVbGeDY2J_T1N1x1yQaq7vCnO71TVmQGAZAkMaQsz2qw@mail.gmail.com>
Am Freitag, 7. August 2015, 15:13:13 schrieb Dmitry Torokhov:
> On Fri, Aug 7, 2015 at 3:06 PM, Doug Anderson <dianders@chromium.org> wrote:
> > Heiko,
> >
> > On Thu, Aug 6, 2015 at 10:37 AM, Heiko St?bner <heiko@sntech.de> wrote:
> >> +&i2c3 {
> >> + status = "okay";
> >> +
> >> + /*
> >> + * Touchscreen pin control is shared between Atmel and Elan
> >> devices, + * so we have to pull it up to the bus level.
> >> + */
> >> + pinctrl-names = "default";
> >> + pinctrl-0 = <&i2c3_xfer &touch_int &touch_rst>;
> >> +
> >> + clock-frequency = <400000>;
> >> + i2c-scl-falling-time-ns = <50>;
> >> + i2c-scl-rising-time-ns = <300>;
> >> +
> >> + touchscreen at 10 {
> >> + compatible = "elan,ekth3500";
> >> + reg = <0x10>;
> >> + interrupt-parent = <&gpio2>;
> >> + interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
> >> + reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
> >> + vcc33-supply = <&vcc33_touch>;
> >> + vccio-supply = <&vcc33_touch>;
> >> + };
> >> +
> >> + touchscreen at 4a {
> >> + compatible = "atmel,atmel_mxt_ts";
> >> + reg = <0x4a>;
> >> + atmel,reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
> >> + avdd-supply = <&vcc5v_touch>;
> >> + interrupt-parent = <&gpio2>;
> >> + interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
> >> + vdd-supply = <&vcc33_touch>;
> >
> > Technically I don't think most of these properties exist upstream, but
> > Dmitry (now CCed) might know more.
> >
> > ...actually similar for elan. At least I don't see 'reset-gpios', nor
> > 'vcc33-supply' and 'vccio-supply' in the bindings when I checkout
> > linuxnext...
>
> I just merged the Elan regulator/gpio support, it will show up in the next
> next.
> > Oh, and also locally our tree has hacks in it to handle the fact that
> > both atmel and elan will try to grab the same reset GPIO. I'm nearly
> > certain that Dmitry said that the current hacks we have wouldn't be
> > appropriate for upstream. I had some proposals for better solutions,
> > but they were slightly more controversial. In any case, I think all
> > shipping devices ended up using one or the other of these two
> > touchscreens (I forget which), so you could probably simplify and just
> > pick one of them. If old prototype devices don't work upstream it
> > wouldn't be the end of the world.
>
> I think if you pick Elan for this board it will cover majority (all?)
> devices that actually shipped.
I guess I'll simply drop the touchscreens for for this initial submission - at
this point in time we don't have support for the internal display anyway, so I
can sort out the touchscreens a bit later.
armsoc has a slightly early cutoff most of the time, so I'll try to land the
initial support and worry about the smaller tidbits later :-)
Heiko
next prev parent reply other threads:[~2015-08-07 22:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-06 17:33 [PATCH v2 1/2] ARM: dts: rockchip: reserve unusable memory region on rk3288 Heiko Stübner
2015-08-06 17:33 ` Heiko Stübner
2015-08-06 17:37 ` [PATCH v2 2/2] ARM: dts: rockchip: add veyron-minnie board Heiko Stübner
2015-08-06 17:37 ` Heiko Stübner
2015-08-07 22:06 ` Doug Anderson
2015-08-07 22:06 ` Doug Anderson
[not found] ` <CAD=FV=XVxxDzXkz7DuX47d=3MENzGkHrBYYDzH_KCKDpyORYYA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-07 22:13 ` Dmitry Torokhov
2015-08-07 22:13 ` Dmitry Torokhov
[not found] ` <CAKdAkRTVbGeDY2J_T1N1x1yQaq7vCnO71TVmQGAZAkMaQsz2qw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-07 22:50 ` Heiko Stübner [this message]
2015-08-07 22:50 ` Heiko Stübner
2015-08-08 10:32 ` Heiko Stübner
2015-08-08 10:32 ` Heiko Stübner
2015-08-07 21:31 ` [PATCH v2 1/2] ARM: dts: rockchip: reserve unusable memory region on rk3288 Doug Anderson
2015-08-07 21:31 ` Doug Anderson
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=4355831.vggPnSTQsd@diego \
--to=heiko-4mtyjxux2i+zqb+pc5nmwq@public.gmane.org \
--cc=amstan-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.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.