Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp732595rdb; Fri, 26 Jan 2024 09:02:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9aPLDDmy7y3W66dw5S2labXwmU+C8MvTMVfZFBjtxwkJwaIGeQy08oJrg7+WUhwZcU0Ge X-Received: by 2002:a2e:9bd0:0:b0:2cf:2db4:cd84 with SMTP id w16-20020a2e9bd0000000b002cf2db4cd84mr66992ljj.49.1706288550638; Fri, 26 Jan 2024 09:02:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706288550; cv=pass; d=google.com; s=arc-20160816; b=JDw05ARz6ozBTGTjs4ve5avmKe5aIBwBA+/ZM6dEI5xfUn2CNXvXEEbQUNWj8F/xUN Zx7rwMGyQLVzySyDr/rpzc2BojiN+yr1Cm/msXolhop5SGOrrXUo3kQStPIf1w5sQ3iM OFaYj9jgeCjL8KjWgkMPM7N0CvlRaFL7L7SZl51IfHwRhCOEAx/15+eIocIpSnH/j6hU VOba6S1zAYyrpo48y7PjhgVsHAD1atdk17W8eCx0t1Ps4Xm5BgjVk4uAov+hRRdISlnp UZln16DdBNuMm1uuXNMXw2ATdvjd1kMV+VCCwDkSHQ2CxkN6QjUI+EyOOYqtew+9gtba JYSQ== 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=oImHlQmfUBieflfuA4PZtb1rwdX+uZbyKuCcTk/8o2U=; fh=ybVJ8RGyJt+YYICiMnBmt23ccfkaMUEX5gzfCV5WoT0=; b=1Du51Fkj9xTVcvz9MRi/tvo8JK+z9vrVm1JNhrJM/GSERkFwJWD5CvBnxQ+h3wDcWd IQBNRyt/kl9d7TFPnPDGy7M/GsWMaCCPXawZeG8maI9k5OWo/s+BHPquI3Z9ZmZbOv1d 8iZTse8IDtq1tbNxz8/mA+Tc/eUZWlZOmEFaqZL4laSYglBXpW9i+3IsQO3Q+Z0fQwzH 4iSYKRMpO95MlsF2xA12/rhv5+3UBm8Vw4uG9LGuXpLmboXbMT+GvmloUhGyi73N2LF0 92yYBauhUEp0ZkZgiqBlykwIqlQ6hTN46Lq19mFloRRbvsq88Dw3IAq8pSPhFopd3AyF EBLA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dDzAzCuY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-40377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ds8-20020a0564021cc800b0055a869c4cbesi844137edb.298.2024.01.26.09.02.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 09:02:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dDzAzCuY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-40377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40377-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 60A911F27561 for ; Fri, 26 Jan 2024 16:52:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EAEBA1EB5C; Fri, 26 Jan 2024 16:52:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dDzAzCuY" 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 0E74F1EB20; Fri, 26 Jan 2024 16:52:01 +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=1706287921; cv=none; b=NNQXnpl5LAZ//yPILjb0e98IQQUGqyW47v2tkmRxugMRU680cHMKb9o/bj7FlX8iUJQCSVSL0+ZY3sS+ZJW1sVpICiwlaIaDx3NxXlyUWoNamvDCEVtOpoozASMtOhXa6dcTpzGMu0vwVJbIs41ibvs/WQRJczC82TRAuPLNDsg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706287921; c=relaxed/simple; bh=nNQGTQo9Sb3RzF1c8ofntwOpOKnw2X4VGOZwSryubLE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=t/SFTwm3NVcyqm7IChHbQPnBePBOPndWTLkOiM61GT8QFV+44+Hi7UW3zcL97eOwSu0V0hdFo/sVlIRZGtKkqH5gZhBtjF5bhGbVommc6qoJlAGocox5pvcxp4+aWPd2J/Y5nMeCwahErThR/pcvgdX/uA7o8oWvDi49hXvtX5o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dDzAzCuY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEB54C43390; Fri, 26 Jan 2024 16:52:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706287920; bh=nNQGTQo9Sb3RzF1c8ofntwOpOKnw2X4VGOZwSryubLE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dDzAzCuYKG0na84fU1IneS7KC2Jy9J4nvn0oyedtZmxrh8h2yoTSgLM7sDNRp80cz rdPy1d9XU5rU/uiZJrleTvH88HJrAAXEZC25GI1rp3PNYnQoyvP0G3S/R33nImCA4k L2FUyLXZ0bbkcM5rxaWDuH9YvHdRD4K3ZZbp0wkKfDxD4etyR+c/QuoIZnkaHdmC0L grung8XQlx2CQtcvNiWWhoV7WaFKq7whQqZn4JkQCNFBQNYQrEx/vk1KkCb9gdrrLZ LKDO7Amgmykf3hX6IiICJa0C/Tgvp3zxeJz0jld5Pv6cNeoZJRfoRerbS8ia9lPRhK /C6a4M3m22aPg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rTPR6-0000000008a-282y; Fri, 26 Jan 2024 17:52:13 +0100 Date: Fri, 26 Jan 2024 17:52:12 +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 v2 1/2] dt-bindings: HID: i2c-hid: Document reset-related properties Message-ID: References: <20240126-x13s-touchscreen-v2-0-5374ccc9e10d@quicinc.com> <20240126-x13s-touchscreen-v2-1-5374ccc9e10d@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: <20240126-x13s-touchscreen-v2-1-5374ccc9e10d@quicinc.com> On Fri, Jan 26, 2024 at 08:41:38AM -0800, Bjorn Andersson wrote: > Some I2C HID devices has a reset pin and requires that some specified > time elapses after this reset pin is deasserted, before communication > with the device is attempted. > > The Linux implementation is looking for these in the "reset-gpios" and > "post-reset-deassert-delay-ms" properties already, so use these property > names. > > Signed-off-by: Bjorn Andersson > --- > Documentation/devicetree/bindings/input/hid-over-i2c.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/input/hid-over-i2c.yaml b/Documentation/devicetree/bindings/input/hid-over-i2c.yaml > index 138caad96a29..f07ff4cb3d26 100644 > --- a/Documentation/devicetree/bindings/input/hid-over-i2c.yaml > +++ b/Documentation/devicetree/bindings/input/hid-over-i2c.yaml > @@ -50,6 +50,12 @@ properties: > description: Time required by the device after enabling its regulators > or powering it on, before it is ready for communication. > > + post-reset-deassert-delay-ms: > + description: Time required by the device after reset has been deasserted, > + before it is ready for communication. You forgot to remove the now obsolete comment from the HID driver that I mentioned. > + > + reset-gpios: true > + > touchscreen-inverted-x: true > > touchscreen-inverted-y: true Reviewed-by: Johan Hovold