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 95636C433EF for ; Wed, 4 May 2022 06:54:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345302AbiEDG5e (ORCPT ); Wed, 4 May 2022 02:57:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345109AbiEDG4g (ORCPT ); Wed, 4 May 2022 02:56:36 -0400 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6231120BE6; 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 50BF9223; Tue, 3 May 2022 23:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1651647180; bh=NGgm9ZytERpttgSYTz22XkDyLz7akFtC0NdMbrSk3Qw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CBZa54PqXgXcLE6/k/HrFbeNJv4F6EzjUtzedbwiSK6Ap7+y1MjNaXUgqluZA8Ogc 3HWlcIB9V3AOqIT0ylHmV7qVu6qk1oC9wW7yCtJBqt/egcUXeUapVuDVO2E64hpJ+0 V/O0Pns/givWDrHjDLhDjz7XbCJkOq7YQ2VjHolg= 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 2/6] dt-bindings: regulator: Add reg-external-output binding Date: Tue, 3 May 2022 23:52:48 -0700 Message-Id: <20220504065252.6955-2-zev@bewilderbeest.net> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220504065252.6955-1-zev@bewilderbeest.net> References: <20220504065252.6955-1-zev@bewilderbeest.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This describes an external output supplied by a regulator, such as a power outlet on a power distribution unit (PDU). Signed-off-by: Zev Weiss --- .../regulator/reg-external-output.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/reg-external-output.yaml diff --git a/Documentation/devicetree/bindings/regulator/reg-external-output.yaml b/Documentation/devicetree/bindings/regulator/reg-external-output.yaml new file mode 100644 index 000000000000..c00bee5bd9f2 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/reg-external-output.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/regulator/reg-external-output.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Regulator external output + +maintainers: + - Zev Weiss + +description: | + This describes an external output supplied by a regulator, such as + a power outlet on a power distribution unit (PDU). + +properties: + compatible: + const: reg-external-output + + vout-supply: + description: + Phandle of the regulator supplying the output, which should have + the regulator-external-output property. + +required: + - compatible + - vout-supply + +additionalProperties: false + +examples: + - | + output { + compatible = "reg-external-output"; + vout-supply = <&output_reg>; + }; -- 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 A9903C433EF for ; Wed, 4 May 2022 06:54:13 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4KtSH803JFz3bdp for ; Wed, 4 May 2022 16:54:12 +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=CBZa54Pq; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=bewilderbeest.net (client-ip=71.19.156.171; 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=CBZa54Pq; dkim-atps=neutral Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [71.19.156.171]) (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 4KtSFp2CTfz2yJQ for ; Wed, 4 May 2022 16:53:02 +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 50BF9223; Tue, 3 May 2022 23:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1651647180; bh=NGgm9ZytERpttgSYTz22XkDyLz7akFtC0NdMbrSk3Qw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CBZa54PqXgXcLE6/k/HrFbeNJv4F6EzjUtzedbwiSK6Ap7+y1MjNaXUgqluZA8Ogc 3HWlcIB9V3AOqIT0ylHmV7qVu6qk1oC9wW7yCtJBqt/egcUXeUapVuDVO2E64hpJ+0 V/O0Pns/givWDrHjDLhDjz7XbCJkOq7YQ2VjHolg= From: Zev Weiss To: Mark Brown , Liam Girdwood , Rob Herring , Krzysztof Kozlowski Subject: [PATCH 2/6] dt-bindings: regulator: Add reg-external-output binding Date: Tue, 3 May 2022 23:52:48 -0700 Message-Id: <20220504065252.6955-2-zev@bewilderbeest.net> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220504065252.6955-1-zev@bewilderbeest.net> References: <20220504065252.6955-1-zev@bewilderbeest.net> 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" This describes an external output supplied by a regulator, such as a power outlet on a power distribution unit (PDU). Signed-off-by: Zev Weiss --- .../regulator/reg-external-output.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/reg-external-output.yaml diff --git a/Documentation/devicetree/bindings/regulator/reg-external-output.yaml b/Documentation/devicetree/bindings/regulator/reg-external-output.yaml new file mode 100644 index 000000000000..c00bee5bd9f2 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/reg-external-output.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/regulator/reg-external-output.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Regulator external output + +maintainers: + - Zev Weiss + +description: | + This describes an external output supplied by a regulator, such as + a power outlet on a power distribution unit (PDU). + +properties: + compatible: + const: reg-external-output + + vout-supply: + description: + Phandle of the regulator supplying the output, which should have + the regulator-external-output property. + +required: + - compatible + - vout-supply + +additionalProperties: false + +examples: + - | + output { + compatible = "reg-external-output"; + vout-supply = <&output_reg>; + }; -- 2.36.0