Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2037801lqb; Mon, 27 May 2024 06:06:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFpVhTiJ/NPqEUbhpt2Sw5GBTkMViPQ8WXgBuMLqLVNNZ8UyKMLwzQyk9kcvV+jtPqYockokuDhJrNiF1Fc5fqlsV7DXQ59zkeP/Wj+w== X-Google-Smtp-Source: AGHT+IHfKiF97lGv70mrp069CNj6wCZKbF3tSEkBfGRGqqUwO0TSWUx99z5hOm9Xag4KkHKeM6P8 X-Received: by 2002:a50:f604:0:b0:578:695d:d790 with SMTP id 4fb4d7f45d1cf-578695dddaemr3699390a12.33.1716815161040; Mon, 27 May 2024 06:06:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716815161; cv=pass; d=google.com; s=arc-20160816; b=WUu/MVoRLCicqtc5Q0KsxKNgFUV1iIJQ1sm+8JKZFhejbf9bCY9UDPoIg5aA7oKWmm TqQJbrOUVGQJKiiczOtJx2sPii1+x29mTHbnLUvS6ffcv6de71CIyN54HtEB2gMpG47F DihkbB9q3yzhVJcWIj/w48BKGzAFLuEY4F5wKapbSQ6xdVB+qyKs5I6xa94EYpr57pdb /yWCPaJn7Q4TKo9R0JJ8O5VKFKRS+Qx/V8hoSxIM3zAibK5AMAD/wCbIgRfpgngVmswd lpeFIrpZpdti+qu0Got3CxtQ0axJzWJA9+wqxQfQEp5Gm8ARykXpMLhuJ8xJlKACrfcf jlMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=wgk7WXRbuBVOxXeNcCecE0I5Ssrmoyonz0n5453vRtw=; fh=nAxv2t6vgNsX18FBAiJQIAcXD6JGtU1BEskicq3MF5Q=; b=zFE4jtJxwdSAI56gu4jG3pz3bBE4iqTuNdJCfl9gWE+xHbTBjiN7ZXU+sW6cUF/uqA ZJ+aS2M2hAaehxINLkovHMZDCQy566IfOaptAVvUAs2ErHdU6VGniH3wmrfgH1oB6zsd IcI2SEiEEKQocYXaJIa/+IdvumUvjLXwzVcDikX7h37TzVnumaTTqXuThsTATrlRn9W0 JgY0OLM6ZTIokLb3ifSDkYnXJ7o0vTOroW/sSWIKRDzne0yHHgMEOircHYJftq2oA7BN MHq9oSlI+vlLTBWylfKswh7LpwuRtnV+NZJ3kv5cWRxSPi2nfLIviChD+ugKGP81gkrn zlNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LcqLreLS; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190654-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190654-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 4fb4d7f45d1cf-578524b45f0si3980615a12.515.2024.05.27.06.06.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 06:06:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190654-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=@linaro.org header.s=google header.b=LcqLreLS; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190654-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190654-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 C16CE1F25A84 for ; Mon, 27 May 2024 13:05:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4976E161915; Mon, 27 May 2024 13:02:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LcqLreLS" Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EF1EB15ECFB for ; Mon, 27 May 2024 13:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716814926; cv=none; b=quISXMxK2gU7MwcxXAGsn5LYu4Uuu+ZkCPGRqqnHmqk2/rzgtU4Dnc6wcjTJNYFMu1IjfjbDrX2lWDrMjSdh8Wg0+PNvcDRTCU2LwYqvcyncbLQ0dvoR4ICYOiax9qw3JXFomOINWFjSLT3CdZHBce7IQ2zLzHfzaVwS916HYPU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716814926; c=relaxed/simple; bh=wgk7WXRbuBVOxXeNcCecE0I5Ssrmoyonz0n5453vRtw=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=c5QsEekZH6aeaTvqAa2ggDDreNdw3CGyBLJzDK5QdTZ4I5++PhnSADIgNyZpLPMeJt/IMlbcu3fECnFZOo597w8rSn5Wb0uK1dR+uw+5N3sdqKF8t9HXdILMbH0WeEE+8wDjmbrTuIrdFc92CVkSeJNvad1iKudtn3j5xfW1EWE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=LcqLreLS; arc=none smtp.client-ip=209.85.128.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-62a088f80f6so22747167b3.0 for ; Mon, 27 May 2024 06:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716814924; x=1717419724; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wgk7WXRbuBVOxXeNcCecE0I5Ssrmoyonz0n5453vRtw=; b=LcqLreLSmAOol1+iWp/9g0SzC/1PUcBnGPP3KY5R6MZnZsCy6DA4f9yTcjS7x3A/NI GtSBvZ+XvQZJeWqoz4IP+LWsClzO2UjuB496CdfIe+ezaDVmy2mr1T533k27TIudY3o4 LQwiZs9Ib+Iku1u5f6p748brGTcjmsEEOt8pbJan41KfKE7djDER8ZP74cL9cSm1aUtn QSF1G6q4uQWRHPLpEJ/VZ1N/Pd9Oroi80VFaO2RI5FM5gQoLr8LfvqtuQt64uCrkvqe6 GZKz5zbMTSpXWZO0bayrz8NDVDvYbKXfT3OotW6XiK2WkxzH5owMJHxHHH29PxxTnrXF +xzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716814924; x=1717419724; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wgk7WXRbuBVOxXeNcCecE0I5Ssrmoyonz0n5453vRtw=; b=esBAp6eElFUPPDA7sg1tH8DbDemfJkcTppaCAZ5F0C3TMMnvBSDPj0V1J/cZ4hCCo5 gpvYQ23Ay/Ccy+Bt7KpeeiP/M2PDG8zI0qnaJImkvIqMPEXuEfls4mzd9Fkvo+JbeBWV Y/rUer3fMCoFTxB5umadNQAYNGN44P+pCive2ceJ9x2P4TIFSzLNgan0/0Cd0hm0YNuq 428LBNiCQH7Xn2NqH1v0d+22bB2eGp3/TiDaa+tMD2j+G81HRKFodyyrNwG2fFFpi0Ey QLvG0sKDYuigU4RWfUwSGH7upU9iBi032qojBfZcPekrujytDW37DY03BPs3AgsICjnn QX+g== X-Forwarded-Encrypted: i=1; AJvYcCVbWiqc0ot6XZjAZEuQ8ud1aRgYTNt6pFczyZopv6pPAWehfC9um09KonQbIz01Xnc0kKAnAR5XorjAddBUzeU928ndvhwGrntrFA2q X-Gm-Message-State: AOJu0YwOnGKcKgJZ/MxbqV4sajaOyc1x4a6hgox3L7qpJI6i9Gh9jVpW nD2038yxhAMiojKbUDsYULcnxDbLTLHJpm2ZwzjHlgpoXyF4tNiA0WlSK89YzxipO95FwdAa3Mp 5/xZSoiuRErnjc3J5b7NML2DdKEB1p6jrRoPUgUyw72h0MJ/CTHSsWw== X-Received: by 2002:a25:838d:0:b0:df4:dbdb:40b with SMTP id 3f1490d57ef6-df77094a5fcmr7149710276.5.1716814923932; Mon, 27 May 2024 06:02:03 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240507144821.12275-1-johan+linaro@kernel.org> <20240507144821.12275-4-johan+linaro@kernel.org> In-Reply-To: <20240507144821.12275-4-johan+linaro@kernel.org> From: Linus Walleij Date: Mon, 27 May 2024 15:01:53 +0200 Message-ID: Subject: Re: [PATCH v2 3/7] dt-bindings: HID: i2c-hid: elan: add 'no-reset-on-power-off' property To: Johan Hovold Cc: Jiri Kosina , Benjamin Tissoires , Bjorn Andersson , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Douglas Anderson , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 7, 2024 at 4:48=E2=80=AFPM Johan Hovold wrote: > When the power supply is shared with other peripherals the reset line > can be wired in such a way that it can remain deasserted regardless of > whether the supply is on or not. > > This is important as it can be used to avoid holding the controller in > reset for extended periods of time when it remains powered, something > which can lead to increased power consumption. Leaving reset deasserted > also avoids leaking current through the reset circuitry pull-up > resistors. > > Add a new 'no-reset-on-power-off' devicetree property which can be used > by the OS to determine when reset needs to be asserted on power down. > > Note that this property can also be used when the supply cannot be > turned off by the OS at all. > > Signed-off-by: Johan Hovold Reviewed-by: Linus Walleij Yours, Linus Walleij