Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1070915rwd; Tue, 16 May 2023 11:18:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6QckbWn0vY2be10XVJzOQO1zSSgcwVRWWAjY//IXLujL09ZIt2mGhsBE5sdDOE5LvAGG64 X-Received: by 2002:a05:6a00:1787:b0:627:6328:79f1 with SMTP id s7-20020a056a00178700b00627632879f1mr55519852pfg.34.1684261119680; Tue, 16 May 2023 11:18:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684261119; cv=none; d=google.com; s=arc-20160816; b=lXllU2gHWn8jchLkLWt77Rv4pFqe6a+c+pZ9wmThWQWujzVJuoOO9HOimKP7kUGIKr cNYsBoxXYvbgrPJtQ78VyidSLJF4hSwWd6EqZfskipdSHI5jGBnJeQbxS+BYJPzuIL0A s7fcrMTCDAyz6x32CmFaDenNvSoxLNYYzt4GR/BHZ/Q3OWT9uxC7Wv6AS+QAp1O5lJcb AgMUf/3IDYQF3zN0ejAgx6nSklkbIOIHf/rNuCMcDOU5SsGMlk3RDOWSWhihb1e9K3mt ZRy7MYKdOULM9z23hDAsk0SH6wheKHe//shijrbm6rx3aEqfETkjDGxaRYadS9WXBzgn /dYg== 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=RpFLaEk2VTySYXMFFsZ/4w7S1z3k4g1iEZ7+8ait3yo=; b=PJSYvsng35Yj9mb6howkw50BcA2dZFvKc6AW/c7YDRxKbgNB1qS4/ey1Gts5C8vNaA OLauHwYj3miVcYrF4LQNZfEiTk2zcayPQGI91qlkq/VEby8vitty05kYsXGbOfrX9rBW XhCojPJu+QNNegF8W5KgiD6aUtf9xKPChqxR6wygHY9tQjKVQo61Yx/FPpN4D1UxXEiv WL+ZqLDMjoHvUd1Wb4aoTLnrOj1L9XjNvwZ5VWXj/zjeZ2wnPJdofOMcx64Ek1BhG0E5 NAvls7ak849ev6o/AwuvH6Xe65UigsbsaF9+QgBylB6JB2+JMlSVANCb4ptegEQWC0Jw MUwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jw7r4wJO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a63b00b000000b0053440fe4963si1334874pgf.171.2023.05.16.11.18.25; Tue, 16 May 2023 11:18:39 -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=@kernel.org header.s=k20201202 header.b=jw7r4wJO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232133AbjEPSG6 (ORCPT + 99 others); Tue, 16 May 2023 14:06:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232146AbjEPSGx (ORCPT ); Tue, 16 May 2023 14:06:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D8B783F6; Tue, 16 May 2023 11:06:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 31CB463D99; Tue, 16 May 2023 18:06:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFAD6C433A4; Tue, 16 May 2023 18:06:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684260399; bh=TIF6e415h0FVUlyHXv4z4fyHq2xBc6qwAIKs2u9GF0g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jw7r4wJOSlfyAPtUVCNAXSw5AUeGy9gz3fKSm1lCMEYWdm5B2bwv+/UptcTQCF6pY /ITRmKpcboiSxeLuwpQwtnudpTPD7S1vXkN8NHSpLdgkViLSBhzIcYub2G/svoGBIg 0DBn/3+ca3xmLsfdInw1Cw+aLvNnXHPlYmvsBQo1tgW/lpKLEcbNKOfr3tSIhkiE/7 BUlwie/MOnHfTxO9VYW4JcTNKBWSEgEpQM1V3kmnUszUzEt7tNCYdB1eWbr6bvaKvx 1BtMX463aNh3cWZZ6RrJH/KX9uMxeW7H58v8X9zYw7Nt3SSVYMveuuHWEZ/uvxWwJR UfbBcqe+g1hew== Date: Tue, 16 May 2023 19:06:35 +0100 From: Conor Dooley To: Sean Nyekjaer Cc: robh+dt@kernel.org, Lee Jones , Krzysztof Kozlowski , Conor Dooley , pascal Paillet , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] dt-bindings: mfd: stpmic1: add fsl,pmic-poweroff property Message-ID: <20230516-footprint-handoff-bcd553ff6146@spud> References: <20230516132225.3012541-1-sean@geanix.com> <20230516132225.3012541-3-sean@geanix.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rd5ceYlXksEiZAx+" Content-Disposition: inline In-Reply-To: <20230516132225.3012541-3-sean@geanix.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --rd5ceYlXksEiZAx+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Sean, On Tue, May 16, 2023 at 03:22:24PM +0200, Sean Nyekjaer wrote: > Document the new optional "fsl,pmic-poweroff" property. >=20 > Signed-off-by: Sean Nyekjaer > --- > Documentation/devicetree/bindings/mfd/st,stpmic1.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/mfd/st,stpmic1.yaml b/Docu= mentation/devicetree/bindings/mfd/st,stpmic1.yaml > index 9573e4af949e..5183a7c660d2 100644 > --- a/Documentation/devicetree/bindings/mfd/st,stpmic1.yaml > +++ b/Documentation/devicetree/bindings/mfd/st,stpmic1.yaml > @@ -26,6 +26,14 @@ properties: > =20 > interrupt-controller: true > =20 > + st,pmic-poweroff: > + $ref: /schemas/types.yaml#/definitions/flag > + description: | > + if present, configure the PMIC to shutdown all power rails when > + power off sequence have finished. > + Use this option if the SoC should be powered off by external power= management > + IC (PMIC). Just reading this description, this is sounding quite like a "software behaviour" type of property, which are not permitted, rather than describing some element of the hardware. Clearly you are trying to solve an actual problem though, so try re-phrasing the description (and property name) to focus on what exact hardware configuration it is that you are trying to special-case. Krzysztof suggested that the samsung,s2mps11-acokb-ground property in samsung,s2mps11.yaml is addressing a similar problem, so that could be good to look at. Also, the dt-binding patch should go before the patch adding the property to the driver. Thanks, Conor. --rd5ceYlXksEiZAx+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZGPGKwAKCRB4tDGHoIJi 0ttYAP4vmjFXsrbhAGKA/cInxDWCIs7qIGH8rMylmv4NU7JE/QD+JKoAFQtxI767 s7vlXlr+/HE9UNGBhgpC3D2EEqFYewE= =1soC -----END PGP SIGNATURE----- --rd5ceYlXksEiZAx+--