Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1894624rdb; Wed, 31 Jan 2024 12:22:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIu/w4iEK+y0/rm6X1lBQ/xrZCsKlZhODyeq+uYbpCDkYld9x9Sr//+3tCz0/+TDZDT3ZM X-Received: by 2002:a0c:ed34:0:b0:68c:50c6:a71 with SMTP id u20-20020a0ced34000000b0068c50c60a71mr2528499qvq.40.1706732574763; Wed, 31 Jan 2024 12:22:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706732574; cv=pass; d=google.com; s=arc-20160816; b=gAVuWrGcEh9b5JokQxDN+UqV6jO6e97yMC/00/RX27ivgAWamglExbNWJT0gVfor8Y abb9Cf9vqTAhS+ErPl8Ge+szYNt6xX9Lvsi8XdMbpbryo31x/gX3oTzqK5pq394oq0OR s2eN6D44e2qmRnh3m3MiH7+924yBJbpavq/LjAybu/DMzILK1HhXZAH8qVuCFFZRnOJ2 qhevjYqffXZg/uMnoX0vL02NImJIie3d71/ZlGUlKUEiqryXY08QE4wDLY/+zPYCHMdA 55A6J9N+gk6C9RlMOTmhvOISqjYH7AW8iVoKk8h5wVahBv4cawPhxJFl/oKenaLsWEcP KRcA== 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=sWODBJptkXFUDrUaNZVUXYKA1Qqrb+qChxxvw0sCunM=; fh=yrhqQ9/3PZLkF5JzvcXHmOLg/LfaboPQEgaJuJSvSV4=; b=IstZA2Z01iEoT6nQQ8DHPyAHc2pRfM9lIGjuWOEQKeB6um8kb/VFUpHUyUIbome6QW PTku3TKyjbjNRQgliUQKcFsfAj1BpNN/yCVcaQKOoencAPIVynP9hS91xzY+QlKXgM2X a2j1zFP7M08VRrqEFXeZBBQ8iJZQaNv4OhVx1zRnGl164d+DwJ/wIsDLZ41sA+l53cOU NEnDzeWXs8nYpuhIbk2vDuhvgUrtoB4Z5ZWekj2fzWFR8u2tcAi7oQpc/2WyJGgssx1o 9CGRViI/BzTBLinBeiLHI1RdcOnCD9CUGb7J3jNAqgHm0BFK+D3P7hdm1Y7GnCIYTMHH cQ0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=haYT871A; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-47060-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47060-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCX0+RrZv7j+bfco/szSFXzT47S1WatgMkum+lbXxbxPpEhEQqAJrrZP0B0hWd7N3ePzbLAk9GXHg8zwwhyPbAcyZl/bZ5SqjbBKf1v8rg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m5-20020ad45dc5000000b006819a28b0basi12926982qvh.183.2024.01.31.12.22.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 12:22:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47060-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=haYT871A; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-47060-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47060-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 85D6A1C2317F for ; Wed, 31 Jan 2024 20:22:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3E3A3FE48; Wed, 31 Jan 2024 20:22:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="haYT871A" 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 05A733FB39; Wed, 31 Jan 2024 20:22:41 +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=1706732562; cv=none; b=WFDnkWc6ttFN3ZH78qQZ2uPdbB0xSCQpA6w6m6NPJc4X7D/43uV84W1T93G1hHBOfO2rnXQJx6lYCZ9zgrAgpn9YDUkGsZLT6OJymdd3qqbCBUwW+lGPU5M3tUHlYsUUqj9RfWrOpiep47uDjhnXengD9pC58C4/z1yYhnZweeM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706732562; c=relaxed/simple; bh=qd/w5Bcuf2svgiEaBng8uEFP+/hQ9TBMaFzh70vee4c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bE8yRuXDbY9LH46wHXExqWSItrARwazGCgo8N6UwOemZaFaSzvpGjPI/wSuy3vulUL5IMVHPuoqOPbWzEhNrXb8BcjxZaPGLjMPyNTS+29dopY32Y7S/jKInlMs0MIiReM60N0K1F0zP7hD7oxM05DE2ENXFrFdVP7N5krkDykA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=haYT871A; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50FABC433F1; Wed, 31 Jan 2024 20:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706732561; bh=qd/w5Bcuf2svgiEaBng8uEFP+/hQ9TBMaFzh70vee4c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=haYT871AjlVRcMjGMJ5jr8i6K3lktJn5RibSXPsjUf+1fm+UTvAmvdLV7GIPk+i7z p1UXFNdz/xYWIwO5FaL60DFz56gNy0yYD2jHq6aDAiuh1RJPILXSHEwz0AjbpgURxK nbzeLCsifWDlIJ2UM6G0LSSQvI3wLMU6L3dp69Y0ZyXM9HAXAHWeM2+wJKOUs1fkor TbN0keNBgCc2jRipyt0wwM+5H4og0RqwNIGz10eH+i55CaWgFv5tO0JH6CW08iBZeA U74JjuOwK6M3YwdKrOT5hscZuOWwrfKYWPPIDVs0FmMlbcW4KKLXcDyKMd0O+QmnSy RjtfPZ3G+GfhA== Date: Wed, 31 Jan 2024 14:22:39 -0600 From: Rob Herring To: Johan Hovold Cc: Bjorn Andersson , Dmitry Torokhov , 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 v3 1/2] dt-bindings: HID: i2c-hid: Document reset-related properties Message-ID: <20240131202239.GA2222869-robh@kernel.org> References: <20240129-x13s-touchscreen-v3-0-c4a933034145@quicinc.com> <20240129-x13s-touchscreen-v3-1-c4a933034145@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: On Mon, Jan 29, 2024 at 05:56:47PM +0100, Johan Hovold wrote: > On Mon, Jan 29, 2024 at 08:47:47AM -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. > > > + post-reset-deassert-delay-ms: > > + description: Time required by the device after reset has been deasserted, > > + before it is ready for communication. > > + > > + reset-gpios: true > > Hmm, for the third time, it seems you ignored my comment that you need > to remove the comment about these properties from the driver as part of > this series. > > /* > * 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. > */ > if (!device_property_read_u32(dev, "post-reset-deassert-delay-ms", &val)) > ihid_of->post_reset_delay_ms = val; DT devices should have a specific compatible that gives enough detail to handle this delay or *any* other power sequencing requirement. OTOH, we've already got one other delay property, what's one more. Sigh. Acked-by: Rob Herring Rob