Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2146707pxm; Sun, 27 Feb 2022 12:42:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6BJ/yIRznpnBA20bk+VCfYVc4EHOwgC7NolNoiiWaCBxUBOM7juoGeDgzYmXsD7lhR0Fr X-Received: by 2002:a17:906:9712:b0:6ce:e207:2704 with SMTP id k18-20020a170906971200b006cee2072704mr12443951ejx.444.1645994530737; Sun, 27 Feb 2022 12:42:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645994530; cv=none; d=google.com; s=arc-20160816; b=wQ9BazGqXkcXyj0lLcgWXw7WCVdVhGsVI0WI7ms0kpsyk8f7urnuMSRWRHo1R8cFU9 I5/KvGcxccbIsqG41vlKBVHpy06A5IVapHyBRnOnoJLL50fCCSXFLzvHoly5pr4xfIL8 Fq2HvOBdu4gprszyxPDhlWEFRsxmvP9/ApKJgWKziOHOlHEl0Ooz5iEX/mMni3GnGW+Q o2jcXhNod5EsJnxGdQeLpY14vJf7kD4LyMKTtttVBL3+dDRYFsao2YwS/y+t0WiVEyam ND+0XwQcRrLyG9Au01TsBi03NXRCRO//76gWTdFFYk4iX8jRxmvpo/OuHuQAJisZ/8p4 r5CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date; bh=bAuIVyZECFhaRJRstgUG1Kp4aZx0LM5h9uwj3Qk3SVw=; b=sVA9wifr8or+5EuKFAcQqfoPBBuJcC1X1bKzCzE/TEVRK2lxaI4e9Ddy4orxc6syFs tPtiLP86YBZbtDIwC/h3Vs6Ro0zleXywhGR5rF/r1dfbfujMNtQOmjFhJ0OcyzvIv9oi 0pxvEuRWGpHKrNHHVKcmEYDRcTavKkth+HI0Nvp8aw8yZeglSzacLleXiuC/+1akPhnr 2bY3gIahpS52eyabdv+78G+cXw7Wn375269fWLvyFzH3As0s0A8IWcwWDFmzWjwCRyEm xtYfabgO7wNZwA9fbmbF6D+9VeXKBRekUGR7XGwAtacqWcTqQAz91W9ZelbCTl8YWrm7 4w9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs19-20020a1709072d1300b006cf71e782e1si6246091ejc.89.2022.02.27.12.41.48; Sun, 27 Feb 2022 12:42:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231243AbiB0SwX (ORCPT + 99 others); Sun, 27 Feb 2022 13:52:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230214AbiB0SwW (ORCPT ); Sun, 27 Feb 2022 13:52:22 -0500 X-Greylist: delayed 62 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 27 Feb 2022 10:51:44 PST Received: from fgw23-4.mail.saunalahti.fi (fgw23-4.mail.saunalahti.fi [62.142.5.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D91CC57B36 for ; Sun, 27 Feb 2022 10:51:44 -0800 (PST) Received: from darkstar.musicnaut.iki.fi (85-76-99-33-nat.elisa-mobile.fi [85.76.99.33]) by fgw23.mail.saunalahti.fi (Halon) with ESMTP id 27a589b2-97fe-11ec-877a-005056bdfda7; Sun, 27 Feb 2022 20:50:38 +0200 (EET) Date: Sun, 27 Feb 2022 20:50:38 +0200 From: Aaro Koskinen To: Dmitry Torokhov , Oleksij Rempel , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [BISECTED] input: ads7846: touchscreen broken on Nokia 770 Message-ID: <20220227185038.GA3016@darkstar.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NEUTRAL, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I noticed touchscreen does not work anymore on Nokia 770: [ 2.131011] ads7846 spi2.0: touchscreen, irq 175 [ 2.200622] input: ADS7846 Touchscreen as /devices/platform/omap_uwire/spi_master/spi2/spi2.0/input/input0 (then touching the screen:) [ 52.316894] ads7846 spi2.0: spi_sync --> -22 [ 52.336944] ads7846 spi2.0: spi_sync --> -22 bisected this to: commit 9c9509717b53e701469493a8d87ed42c7d782502 Author: Oleksij Rempel Date: Wed Nov 11 16:39:05 2020 -0800 Input: ads7846 - convert to full duplex It seems it's failing on SPI_CONTROLLER_HALF_DUPLEX check in __spi_validate(). The controller used on this board (spi-omap-uwire) sets that flag. How ads7846 is now supposed to work in that case after this conversion? A.