linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: "Robert R. Howell" <rhowell@uwyo.edu>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	Jiri Kosina <jikos@kernel.org>,
	Benjamin Tissoires <benjamin.tissoires@redhat.com>,
	"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: Re: PROBLEM: Baytrail tablet touchscreen fails after pinctrl commit [3ae02c14d964499da76b5ef4d8912710902e64f8]
Date: Tue, 31 Jan 2017 10:37:53 -0800	[thread overview]
Message-ID: <20170131183753.GA13642@dtor-ws> (raw)
In-Reply-To: <d9ae0add-cf5b-2008-0fc9-ee14c478ecec@uwyo.edu>

On Tue, Jan 31, 2017 at 10:11:16AM -0700, Robert R. Howell wrote:
> On 01/31/2017 03:21 AM, Mika Westerberg wrote:
> >On Mon, Jan 30, 2017 at 04:52:27PM -0800, Dmitry Torokhov wrote:
> >>On Sat, Jan 7, 2017 at 10:14 AM, Andy Shevchenko
> >><andriy.shevchenko@linux.intel.com> wrote:
> >>>On Fri, 2017-01-06 at 02:30 -0700, Robert R. Howell wrote:
> >>>>[1.]  Baytrail tablet touchscreen fails after pinctrl commit
> >>>>[3ae02c14d964499da76b5ef4d8912710902e64f8]
> >>>>
> >>>>[2.]  Beginning with kernel 4.10-rc1 (and continuing with 4.10-rc2)
> >>>>the
> >>>>touchscreen on two Baytrail devices, an ASUS T100TA and a Toshiba
> >>>>Encore
> >>>>8, no longer works.  They did work properly up though at least 4.9.0.
> >>>>As
> >>>>indicated in the DMESG output appended below, the ATML1000
> >>>>touchscreen
> >>>>controller fails to reset and initialize properly on boot. The reset
> >>>>command issued through i2c_hid appears to time out after its 5 second
> >>>>wait for completion.  (There are similar problems with an i2c
> >>>>orientation sensor.)  Using git bisect I've found that the problem
> >>>>begins with commit [3ae02c14d964499da76b5ef4d8912710902e64f8]
> >>>>pinctrl: intel: set default handler to be handle_bad_irq()
> >>>>
> >>>>I've appended the git bisect log output at the end.  Reverting that
> >>>>single commit (tested with 4.10-rc2) fixes the problem.
> >>>
> >>>Thanks for the report. For me it looks like that commit actually
> >>>discovers other problems we have in the code somewhere.
> >>>
> >>>Yeah, I confirm the issue on T100TA. I will investigate this next week.
> >>
> >>This still happens on chromeOS Baytrail devices with -rc6 here as
> >>well. Can we revert this and try again in 4.11 timeframe?
> >
> >Are you sure you have commit 49c030962638 ("pinctrl: baytrail: Do not
> >add all GPIOs to IRQ domain")? That is supposed to fix the issue if I
> >understand correctly.
> >
> 
> I've just tested 4.10-rc6 on an ASUS T100-TAM, a T100-TA, and a
> Toshiba Encore 8 and the i2c connected touchscreen is working on all
> of them. RC-6 DOES incorporate Andy Shevchenko's "[PATCH v1 1/2]
> pinctrl: baytrail: Do not add all GPIOs to IRQ domain", which is
> what seems to fix the problem.

Yes, indeed it works. I guess I messed up my tree somehow, sorry about
the noise.

Thanks.

-- 
Dmitry

  reply	other threads:[~2017-01-31 18:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-06  9:30 PROBLEM: Baytrail tablet touchscreen fails after pinctrl commit [3ae02c14d964499da76b5ef4d8912710902e64f8] Robert R. Howell
2017-01-07 18:14 ` Andy Shevchenko
2017-01-31  0:52   ` Dmitry Torokhov
2017-01-31 10:21     ` Mika Westerberg
2017-01-31 17:11       ` Robert R. Howell
2017-01-31 18:37         ` Dmitry Torokhov [this message]
2017-01-31 19:01           ` Robert R. Howell

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=20170131183753.GA13642@dtor-ws \
    --to=dmitry.torokhov@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=jikos@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=rhowell@uwyo.edu \
    /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).