Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758305AbcDHM0j (ORCPT ); Fri, 8 Apr 2016 08:26:39 -0400 Received: from zencphosting06.zen.co.uk ([82.71.204.9]:60334 "EHLO zencphosting06.zen.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758269AbcDHM0h (ORCPT ); Fri, 8 Apr 2016 08:26:37 -0400 Subject: Re: [PATCH] Revert "Input: atmel_mxt_ts - disable interrupt for 50ms after reset" To: Tom Rini References: <1460069545-10322-1-git-send-email-trini@konsulko.com> <5707756E.30506@itdev.co.uk> <20160408121418.GT23166@bill-the-cat> Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Olof Johansson , Dmitry Torokhov , Henrik Rydberg From: Nick Dyer Message-ID: <5707A376.2080404@itdev.co.uk> Date: Fri, 8 Apr 2016 13:26:30 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160408121418.GT23166@bill-the-cat> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-0.8 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zencphosting06.zen.co.uk X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - itdev.co.uk X-Get-Message-Sender-Via: zencphosting06.zen.co.uk: authenticated_id: nick.dyer@itdev.co.uk X-Authenticated-Sender: zencphosting06.zen.co.uk: nick.dyer@itdev.co.uk Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1879 Lines: 40 On 2016-04-08 13:14, Tom Rini wrote: > On Fri, Apr 08, 2016 at 10:10:06AM +0100, Nick Dyer wrote: >> On 2016-04-07 23:52, Tom Rini wrote: >>> This reverts commit 885f3fb9fa1f9e185e8a4e905157087495734349 due to this >>> change breaking the touchpad on the Chromebook Pixel 2015 on resume from >>> sleep or warm resets. >>> >>> Cc: Olof Johansson >>> Cc: Nick Dyer >>> Cc: Dmitry Torokhov >>> Cc: Henrik Rydberg >>> Signed-off-by: Tom Rini >> >> Hi Tom- >> >> Sorry that this has caused a problem. I suggest we try and find a 3rd >> option other than reverting this patch, because otherwise we will cause >> problems on other platforms. > > Yeah, it would be good to fix all platforms. I'm curious, was there an > observed problem on another platform or just a theoretical problem? Yes, reported by several customers and I've seen it myself in testing (Beagleboard + MXT Evaluation Kit). What happens is that the interrupt triggers too early during the power on sequence after a soft reset and you get an error message when the ISR fails to communicate on the appmode address. There have been some anecdotal reports that the device may end up stuck in the bootloader mode if this happens, although I'm not 100% convinced this is accurate. >> I have a Pixel 2 here - can you advise how to reproduce? > > I (and a bunch of other folks, the linux-samus people now point people > at using mxt-app every boot to reset the device) see this every time I > either suspend the laptop or do a warm boot into a new kernel (I didn't > try kexec but it too is probably broken). Note that I'm not using > mainline to boot ChromeOS but I've got a regular Linux distro in ROOT-C. OK. I will try it. My Pixel is running Ubuntu with a mainline kernel, so should be able to repro.