Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp66315rwb; Sun, 25 Sep 2022 15:33:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4UYXSBaiLFLiPmcgasFirAptsFdV+NMePq1s9FEpjoZ4vrJ+tuNqHRRY8PjFwyZHfwny3K X-Received: by 2002:a63:1a45:0:b0:439:49b4:9672 with SMTP id a5-20020a631a45000000b0043949b49672mr17134123pgm.551.1664145217186; Sun, 25 Sep 2022 15:33:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664145217; cv=none; d=google.com; s=arc-20160816; b=k8Yl/gUWR/6zh9tlEiu0oVWqYfXIOR6Tguc+GHT6dnzvW30TIVVIlPOHnx6scVs1Lw fexFfUQ/firAYA7i+L5QHYzTsWsHJXyvonZoG6WPv00sUCrmxEMmvTP+nErLHZmPhm7P 4jRrK0hTrtMKyKmIND0CS0S4U7PrU1bKyyb4YP7010kPHLe5eMxVHgpFZUj7Bn0g0t8n j6p7NCiF4QIuHpZYdHb/dA4Tv0siK4ABrMjYz028C3+qWDGwC9yeWcLgf6ZqWKeP2mqH O1bxNUxSMa144FA9/5K2zN/eOEj7EnEgCAhDaYzalAHEk9wNJzGdrYyaRHNHDfjW2AIa YM5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=szDrpMqpfTmd0bTtV19FrnGKTXelxS1H2D5cEIKOuFQ=; b=g4p3aAzRjKPaWUzS9lP0pWd+KlttPALvyg1JIrrgv3JgT9X99Fwz8xmuZj7te9r+5A U/Yk6t8z4NAyWDHqftWEeBk+jBw23sEAxRxHGM5Yp46WoverEJAioVShslpWmxdzEAjM EfAcgBlqBkKO8wuZ5oWvUSgt6RoPz1YWGH/K7a5lXHq/8+4VMxC9Dc7laZLd0h3MlZ3O LTVJcdWlPJyRwjgMIwkmIKrxVbCje/r/7KkAkCYuGRS6DtGgfm325FJLCOjhEvAxux9t hvVw/eJAxrsuCqWxUrxgxaib5gJYHPV4XLLRhtSg+OC1+1XOqf/4Bn47PMTp/SvolMvv 2JRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b="iFPGAf/q"; 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=bewilderbeest.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w22-20020a63f516000000b0043c1cb75c43si12607172pgh.34.2022.09.25.15.33.25; Sun, 25 Sep 2022 15:33:37 -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=@bewilderbeest.net header.s=thorn header.b="iFPGAf/q"; 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=bewilderbeest.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230168AbiIYWLE (ORCPT + 99 others); Sun, 25 Sep 2022 18:11:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232586AbiIYWKw (ORCPT ); Sun, 25 Sep 2022 18:10:52 -0400 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 844C624BFA; Sun, 25 Sep 2022 15:10:50 -0700 (PDT) Received: from hatter.bewilderbeest.net (97-113-250-99.tukw.qwest.net [97.113.250.99]) (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 83FCC72C; Sun, 25 Sep 2022 15:04:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1664143472; bh=szDrpMqpfTmd0bTtV19FrnGKTXelxS1H2D5cEIKOuFQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iFPGAf/qPA0PJjjaVSDRzpu0I92XjBaDPXzKaAznxrBuAyrK/ljD2JK71va+W5Zve inJnZ1p0tufMh6dJExFcnwCw3eQG1xwYTh8xwo62kF3Sk5AQ4POeJcYKVbuyWc9af5 cVKFTw2NTwkYhmHQyeOtoAeEOc0Oyz3Tg8dykseQ= From: Zev Weiss To: Mark Brown , Liam Girdwood , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org Cc: Zev Weiss , linux-kernel@vger.kernel.org, Naresh Solanki , Patrick Rudolph , Laxman Dewangan , openbmc@lists.ozlabs.org Subject: [PATCH 2/3] dt-bindings: regulator: Add regulator-output binding Date: Sun, 25 Sep 2022 15:03:18 -0700 Message-Id: <20220925220319.12572-3-zev@bewilderbeest.net> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220925220319.12572-1-zev@bewilderbeest.net> References: <20220925220319.12572-1-zev@bewilderbeest.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 This describes a power output supplied by a regulator, such as a power outlet on a power distribution unit (PDU). Signed-off-by: Zev Weiss --- .../bindings/regulator/regulator-output.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/regulator-output.yaml diff --git a/Documentation/devicetree/bindings/regulator/regulator-output.yaml b/Documentation/devicetree/bindings/regulator/regulator-output.yaml new file mode 100644 index 000000000000..40953ec48e9e --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/regulator-output.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/regulator/regulator-output.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Regulator output connector + +maintainers: + - Zev Weiss + +description: | + This describes a power output connector supplied by a regulator, + such as a power outlet on a power distribution unit (PDU). The + connector may be standalone or merely one channel or set of pins + within a ganged physical connector carrying multiple independent + power outputs. + +properties: + compatible: + const: regulator-output + + vout-supply: + description: + Phandle of the regulator supplying the output. + + regulator-leave-on: + description: | + If the regulator is enabled when software relinquishes control + of it (such as when shutting down) it should be left enabled + instead of being turned off. + type: boolean + +required: + - compatible + - vout-supply + +additionalProperties: false + +examples: + - | + output { + compatible = "regulator-output"; + vout-supply = <&output_reg>; + regulator-leave-on; + }; -- 2.37.3