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: 7+ 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:37 ` [PATCH v2 2/2] ARM: dts: rockchip: add veyron-minnie board Heiko Stübner
2015-08-07 22:06 ` Doug Anderson
2015-08-07 22:13 ` Dmitry Torokhov
2015-08-07 22:50 ` Heiko Stübner [this message]
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
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@sntech.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).