Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp481303rdb; Fri, 26 Jan 2024 01:13:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGgi69c/aME6vFvGCEs7m3x7epSntEiF7MxNedSjMKiSxZrb+vBz+M/rVyOMMSXm6rwWpV8 X-Received: by 2002:ad4:574c:0:b0:681:98b8:3512 with SMTP id q12-20020ad4574c000000b0068198b83512mr1366599qvx.126.1706260428828; Fri, 26 Jan 2024 01:13:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706260428; cv=pass; d=google.com; s=arc-20160816; b=eWvtKfTGeaU8Toa1oe27li8WxfqLN9W/JRNsR09HZ306VEFXVPGftr9IjJVtfvPhkZ Z7yu8kywqrU7ZQ93uBws0Q3GrLDgmHClXBp1o8AgHMocVPGqwKoFAT3APH6cLuWLhWp1 qtQ6fPCdlSb82j6XXjrwfdhtdGKtIljYn4v9KGj2enHJuuNbGPVwTqhaVYMXDr5OWPa8 qbkNNgMD1doIh77E55EXV4+wsetRsDRg/x00+UGd+YeoVjHLw9NCHos9XYn2qRFcI7Sf gZu62n7WJ1SvW8Z0zA4lXyo4QTXpG+/HMaqeqS+BJYbp+OB3yFHDjEb/jGFhh4jF/7sC KTFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kWinFg8B6LLU4VLjHd1dAn1DxUV947wZT6EoQDxdYzM=; fh=ybVJ8RGyJt+YYICiMnBmt23ccfkaMUEX5gzfCV5WoT0=; b=mN/xGBukuv37HfaNlLUFTvfJ+lOkS+G7VAMv15r1iTIprl52+RTalNGASf7dqh07fe Chf2YLS1KHu1qMkAns7DqrGmBmZsJT9gvVjkoW5O62Zt429CK8icCYyP3btwqoXq5pjV 6kwsZn1t+FJlyyU0sFAVq4Y+9OZ0+TDuErZttagWs87KspfbN2fCqPKjg2CQSMnk6Nzh DeqfwIy5ckXMCSeXKrhRUtj+7hu1dQ2LQIFRTZfKst8Vkcy2U1HJH21EcZblMoGU2VWR /c3l3RGSErqmGWxoEPHL1gvvTmFNA9MQQFbj38OaBA/Pig5X9OEokuKQJeGrFWeS/sx8 yLNA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y1qguTP2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39751-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gh1-20020a05621429c100b00686a095c9b7si848807qvb.467.2024.01.26.01.13.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 01:13:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y1qguTP2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39751-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39751-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 89EAB1C26107 for ; Fri, 26 Jan 2024 09:13:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39BA16D1AD; Fri, 26 Jan 2024 08:12:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Y1qguTP2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4BE8B7FB; Fri, 26 Jan 2024 08:12:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706256749; cv=none; b=hhiKqeVEyNi4ZpALL3uVsmiGsixEa62iA876lrpeJH+B9i1hI1i+PFjn8e4PSaDKqmwz6iq0GwUw3nb2zrxzGIqzEONR5IGsi9Sq0nYcqRQcTrYbOf61klLy6CqmE+ic0sU0y4UyFfuKAh7zNSQifAc8HGBxYBpgHwnAn9maCwU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706256749; c=relaxed/simple; bh=e5RqXiUfA6NRNGKjt3CxSJ3zCXhBqQGuJKKlnfeXBBY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LbeK09oL4yrV+E9cspBV2CXRAUv9CYzstj6lrD+O7/vDlZ7gemu4+hBw2qcf1h3kRdmd2H7zUhMXplvn8TAVh+S+e3u0C46hYCEnHXvIARTR3+x2p8PvtDOAVYa67rcfQUEd0zqde23yR6rMwd8KVme1LNofylr6FppxQoPrRWc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Y1qguTP2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFD9EC433F1; Fri, 26 Jan 2024 08:12:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706256748; bh=e5RqXiUfA6NRNGKjt3CxSJ3zCXhBqQGuJKKlnfeXBBY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y1qguTP2G1gop3ziXTuVUqHXx5FTziY9+Vs4vikiNNqRNMEA5AiB+KNUM2xpqh9yC OV/6UOKDrgKMrqLoXPSWKWvVYHAV1GfTye39ByQbjwly3N4p7WAyHWz319I2wYdbAJ y77x2kVDc1iYyh8g7UCHmfRC2jBIbbys+TF+V2rGfYabIVcISdCBqgP6s0xsW5Ctq2 Oj85pr1VA+diTym8b+05ypQQ/k7MssTEpdVHejqQmpOQ/OGrQdn/sH7AqlLcqUbr58 sNhoZjP6ePQpkDbJs6eZ+2gck40XuyS6f1wikmuVdjOXqVeiBZSE/BvsSFIGhljC4K CZfo9eiSwVing== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rTHKH-000000002nP-2nAg; Fri, 26 Jan 2024 09:12:37 +0100 Date: Fri, 26 Jan 2024 09:12:37 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Benjamin Tissoires , Jiri Kosina , Bjorn Andersson , Konrad Dybcio , Johan Hovold , linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski Subject: Re: [PATCH 2/2] arm64: dts: qcom: sc8280xp-x13s: Fix/enable touchscreen Message-ID: References: <20240125-x13s-touchscreen-v1-0-ab8c882def9c@quicinc.com> <20240125-x13s-touchscreen-v1-2-ab8c882def9c@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240125-x13s-touchscreen-v1-2-ab8c882def9c@quicinc.com> On Thu, Jan 25, 2024 at 07:55:14PM -0800, Bjorn Andersson wrote: > The failing read-test in __i2c_hid_core_probe() determines that there's > nothing connected at the documented address of the touchscreen. > > Introduce the 5ms after-power and 200ms after-reset delays found in the > ACPI tables. Also wire up the reset-gpio, for good measure. As the supplies for the touchscreen are always on (and left on by the bootloader) it would seem that it is really the addition of the reset gpio which makes things work here. Unless the delay is needed for some other reason. (The power-on delay also looks a bit short compared to what is used for other devices.) Reset support was only recently added with commit 2be404486c05 ("HID: i2c-hid-of: Add reset GPIO support to i2c-hid-of") so we should not backport this one before first determining that. That commit also added a comment in the HID driver about the 'post-reset-deassert-delay-ms' to the driver which should now be removed: /* * Note this is a kernel internal device-property set by x86 platform code, * this MUST not be used in devicetree files without first adding it to * the DT bindings. */ Johan