Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp313729imi; Thu, 21 Jul 2022 01:00:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vEPASoUd+d5PVftghU0OPhH84i41noZpOr+DXXPsaBc/F3stSIEU5asDcnqycJDWITPPcA X-Received: by 2002:a17:907:7da6:b0:72f:136d:dba4 with SMTP id oz38-20020a1709077da600b0072f136ddba4mr24359115ejc.472.1658390456765; Thu, 21 Jul 2022 01:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658390456; cv=none; d=google.com; s=arc-20160816; b=JgjIKFDmCjjNWdows1XrIxuSlSqs6lsR27AhLE/sGARoUV0dzMXsWd4LT8RHA2BWd0 HLHyVDDy9cuQwSgkF5rg4AxUZq82R9F9Ob1BoMq3a5/MoiDw0JOwTkToVIUf2i+cteew hgB9+pfMX1thr/SJhJ23hVcw57G9P8NpsID1naMsU9k6VsqANmVYBs84hrzIYVpPxfSa qdBRGOPe37bBt5v+4NUKSJ4nEdfwPpZS7X/J8zOXYDvwaE8tdXXO8YNEnLceojsucMjg z0MVwlmGb7HhwwEa6VxojwdkAVq1rlNjOl0GegFqdcTnDwwexDyvWNaUpY/b916hkqmS TUJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VXozGTkBuN1pc/ZCQCCgyPsWzMv13rxWxDP+7tq7TJw=; b=Q8QLIj+5x4pOP7cAUPoUnj2c68e/N9/ijHJTRVmk/JSXMmNwdeWbWqtA695neFiYmq GmwKYewkbDzAWW+oNFVLFhTLkYPDmjetx1SjcHZCaenoNM53WFMzcB3knumKYoqfLehf cUzujR5jVPcJjL8t045TMapkrnZkjXoXd8824NGi40Tejk0U+VuKzZmHYVjxzMglcjKs AnZwtnjRmS4vMYnAm80UytSvpQxdn16GvSmey10SpOU6TzmuO12P6C3ewq3d532+JGU1 Aal11OsxHQz++3WMmssF3dksrNtjcjfAss/F+ZOD35RUZDLT/NQaXYEKXy2qLFAc3SxP cjbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=D4clmYGb; 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 la2-20020a170907780200b0072b76566462si1488081ejc.459.2022.07.21.01.00.31; Thu, 21 Jul 2022 01:00:56 -0700 (PDT) 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; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=D4clmYGb; 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 S232394AbiGUHJe (ORCPT + 99 others); Thu, 21 Jul 2022 03:09:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232402AbiGUHJ3 (ORCPT ); Thu, 21 Jul 2022 03:09:29 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C5AA7B379 for ; Thu, 21 Jul 2022 00:09:24 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id a5so885767wrx.12 for ; Thu, 21 Jul 2022 00:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=VXozGTkBuN1pc/ZCQCCgyPsWzMv13rxWxDP+7tq7TJw=; b=D4clmYGbwyS4ogHfjdMc0g0hg0J9Quux7dEE5ZiwsDNyFKCENhfLWl0lPlCnZZWCQJ ADYbbcZ2MSNLjFOnls9NFk+73wCzHxH5smZAn8ihwNtOfRTJu9p0uf+fKfJIxoDoqoR4 BuNi+gA4dFpgVVQeyCkI8CnQhWjHYdWLjjK8xN9/NNiHL4EKaQgZ7oZxRWqRVfYmb7dn WdFkNHm92qb2xcXSG21B2sNdPmAixmmvn1Yw0m4SXab3b95hkN8uwO1grTDLXTeqwYcF fg825u2vNg0tXdjqsM2uh/mDNSNRUXHVm/VgmUVz76t6u9QsIzhxnzpu0W4D+wXRCNRb DUsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VXozGTkBuN1pc/ZCQCCgyPsWzMv13rxWxDP+7tq7TJw=; b=ppfnT3GOv72SCv/ug0CtkApBwF4c1cQnshPyxYPDi1AiLcU+v2DtbxbbR8s4o7yY6o vCbJa9ugLOk/3xmUFk8TZFVDAguDi3XBwIGB5W71aVvOS49fwikBqNKY+PCXcG8GZZSA +TEGA0YP5OUjRmMZAib8ZoSAvcyTmMBdcpKelFs4MQgzoThteBuC0rMG5aQdey5udcVa rWZzXLWBrHtw7Ryo0CRbyHNXuZFp1I90UIH/C6uZ8mA77JhPVjS2eE6UiW2Q48eJN7P1 xJ0ngr8OjYbmrAx9J6kO4NjQDjrL0NpfIwjKEfyNLvPjpsA5UMpj0h4QlOIYKZlwd6s6 1Trg== X-Gm-Message-State: AJIora/Gk2dkoqrHrmFSsEO/7WWqFhxfRL1HtQiSjrInCQEQeXpR8hnZ QHEFgrxKKi1VyKZ1sZunQegGJw== X-Received: by 2002:adf:ee0f:0:b0:21d:6e3b:d262 with SMTP id y15-20020adfee0f000000b0021d6e3bd262mr32237238wrn.687.1658387362894; Thu, 21 Jul 2022 00:09:22 -0700 (PDT) Received: from blmsp ([2001:4090:a243:806e:25e7:daa:8208:ceb]) by smtp.gmail.com with ESMTPSA id y3-20020a7bcd83000000b003a3253b706esm4713951wmj.34.2022.07.21.00.09.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 00:09:21 -0700 (PDT) Date: Thu, 21 Jul 2022 09:09:20 +0200 From: Markus Schneider-Pargmann To: Rob Herring Cc: Jerome Neanne , lgirdwood@gmail.com, broonie@kernel.org, nm@ti.com, kristo@kernel.org, khilman@baylibre.com, narmstrong@baylibre.com, j-keerthy@ti.c, lee.jones@linaro.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 04/14] regulator: dt-bindings: tps65219: Add power-button property Message-ID: <20220721070920.dymqnh25dtqysooe@blmsp> References: <20220719091742.3221-1-jneanne@baylibre.com> <20220719091742.3221-5-jneanne@baylibre.com> <20220720233906.GB4187584-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220720233906.GB4187584-robh@kernel.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Rob, On Wed, Jul 20, 2022 at 05:39:06PM -0600, Rob Herring wrote: > On Tue, Jul 19, 2022 at 11:17:32AM +0200, Jerome Neanne wrote: > > From: Markus Schneider-Pargmann > > > > Add a power-button property to configure the EN/PB/VSENSE pin as a > > powerbutton. > > Belongs in the first binding patch. > > > > > Signed-off-by: Markus Schneider-Pargmann > > Signed-off-by: Jerome Neanne > > --- > > Documentation/devicetree/bindings/regulator/ti,tps65219.yaml | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml > > index 6a60e62a313c..3f7f4c0280c3 100644 > > --- a/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml > > +++ b/Documentation/devicetree/bindings/regulator/ti,tps65219.yaml > > @@ -36,6 +36,11 @@ properties: > > include/dt-bindings/interrupt-controller/irq.h > > const: 1 > > > > + power-button: > > ti,power-button > > Though doesn't 'system-power-controller' imply this? No, there is a difference between system-power-controller and power-button. If you ask, my description is probably not clear enough. Let me try a new one: TPS65219 has a multipurpose pin called EN/PB/VSENSE that can be either EN in which case it functions as an enable pin. It can be VSENSE which compares the voltages and triggers an automatic on/off request. And it can be PB in which case it can be configured to trigger an interrupt to the SoC. ti,power-button reflects exactly the last one of those options where the board has a button wired to the pin and triggers an interrupt on pressing it. I hope that answers your question. We will fix the description in v2. Thanks, Markus > > > + type: boolean > > + description: Optional property that sets the EN/PB/VSENSE pin to be a > > + power-button. > > + > > patternProperties: > > "^buck[1-3]-supply$": > > description: Input supply phandle of one regulator. > > -- > > 2.17.1 > > > >