From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8254CC433F5 for ; Wed, 4 May 2022 06:53:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345125AbiEDG4t (ORCPT ); Wed, 4 May 2022 02:56:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345083AbiEDG4f (ORCPT ); Wed, 4 May 2022 02:56:35 -0400 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [71.19.156.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 684CB20BCE; Tue, 3 May 2022 23:53:00 -0700 (PDT) Received: from hatter.bewilderbeest.net (174-21-163-222.tukw.qwest.net [174.21.163.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 0497D169; Tue, 3 May 2022 23:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1651647180; bh=BUh+Rsl/Obk1fAz2PI0BDjzoYoH2gsCvCnElmZcQ9qQ=; h=From:To:Cc:Subject:Date:From; b=F/gdYxKTRu929oH24p5rNl7LOgh9DUC4rus214BYjpqdw/Nr7h+I7ReCoU4oqytHz eXnfJvdKKy93kZYFYMDJWZ5V3Ag5hln5diRcgVj9OM+eHATxJ8B7Vdg+nKwcOBF3H/ 7Ka3fx4In5blYZJ01lgJV/bzqHZFdW0yCfiXLrVI= From: Zev Weiss To: Mark Brown , Liam Girdwood , Rob Herring , Krzysztof Kozlowski Cc: Zev Weiss , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , openbmc@lists.ozlabs.org Subject: [PATCH 1/6] dt-bindings: regulator: Add regulator-external-output property Date: Tue, 3 May 2022 23:52:47 -0700 Message-Id: <20220504065252.6955-1-zev@bewilderbeest.net> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some regulators do not provide power to anything within the system described by a device tree, and simply supply an external output. The regulator-external-output property can now be used to mark such regulators. Signed-off-by: Zev Weiss --- Documentation/devicetree/bindings/regulator/regulator.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml index a9b66ececccf..0e418e68b0e6 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/regulator.yaml @@ -226,6 +226,12 @@ properties: description: Maximum difference between current and target voltages that can be changed safely in a single step. + regulator-external-output: + description: The regulator's output is external to the system + described by the device-tree; no devices within the system are + downstream of it. + type: boolean + patternProperties: ".*-supply$": description: Input supply phandle(s) for this node -- 2.36.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88B00C433FE for ; Wed, 4 May 2022 06:53:38 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4KtSGS4ywMz2ynj for ; Wed, 4 May 2022 16:53:36 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=bewilderbeest.net header.i=@bewilderbeest.net header.a=rsa-sha256 header.s=thorn header.b=F/gdYxKT; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=bewilderbeest.net (client-ip=2605:2700:0:5::4713:9cab; helo=thorn.bewilderbeest.net; envelope-from=zev@bewilderbeest.net; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=bewilderbeest.net header.i=@bewilderbeest.net header.a=rsa-sha256 header.s=thorn header.b=F/gdYxKT; dkim-atps=neutral Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4KtSFn6Mg0z2yJQ for ; Wed, 4 May 2022 16:53:01 +1000 (AEST) Received: from hatter.bewilderbeest.net (174-21-163-222.tukw.qwest.net [174.21.163.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 0497D169; Tue, 3 May 2022 23:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1651647180; bh=BUh+Rsl/Obk1fAz2PI0BDjzoYoH2gsCvCnElmZcQ9qQ=; h=From:To:Cc:Subject:Date:From; b=F/gdYxKTRu929oH24p5rNl7LOgh9DUC4rus214BYjpqdw/Nr7h+I7ReCoU4oqytHz eXnfJvdKKy93kZYFYMDJWZ5V3Ag5hln5diRcgVj9OM+eHATxJ8B7Vdg+nKwcOBF3H/ 7Ka3fx4In5blYZJ01lgJV/bzqHZFdW0yCfiXLrVI= From: Zev Weiss To: Mark Brown , Liam Girdwood , Rob Herring , Krzysztof Kozlowski Subject: [PATCH 1/6] dt-bindings: regulator: Add regulator-external-output property Date: Tue, 3 May 2022 23:52:47 -0700 Message-Id: <20220504065252.6955-1-zev@bewilderbeest.net> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, Zev Weiss , Greg Kroah-Hartman Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" Some regulators do not provide power to anything within the system described by a device tree, and simply supply an external output. The regulator-external-output property can now be used to mark such regulators. Signed-off-by: Zev Weiss --- Documentation/devicetree/bindings/regulator/regulator.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml index a9b66ececccf..0e418e68b0e6 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/regulator.yaml @@ -226,6 +226,12 @@ properties: description: Maximum difference between current and target voltages that can be changed safely in a single step. + regulator-external-output: + description: The regulator's output is external to the system + described by the device-tree; no devices within the system are + downstream of it. + type: boolean + patternProperties: ".*-supply$": description: Input supply phandle(s) for this node -- 2.36.0