Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2557949rdb; Wed, 4 Oct 2023 05:10:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEffEnzoOA4TzEhNa97JftsLxLRtyVnU0YBM2SlV0XohJXIzjgTJWu4/XO8GaderXkHnCKB X-Received: by 2002:a05:6300:8002:b0:161:8c5:37f with SMTP id an2-20020a056300800200b0016108c5037fmr1806194pzc.61.1696421421220; Wed, 04 Oct 2023 05:10:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696421421; cv=none; d=google.com; s=arc-20160816; b=WQxKILJ7VjkY+zKh+0SYCNiOqKcV77Ja/4ZcpiLHSaDJ/dsgWVk+SDvYpEhgUfgvg3 ZRSb8zc2sxJF0b2H1ZmlD5a4LRU68RtgOFwi9VGepMWJGSjuodSQzi/Dn4pyRAj0Tjz5 3qnlLo4hFYgAjxTJmi6hcFpubwGz2a3nIsR6s0f7vPZoIrImeupS71jvgFsEnNue0qqK Mw2WC0a2x3L48KGpln9kW5C7BzkCeBZlZmU7BvipLaGkX8mWSIhZ6bskqVU0egk2cLNg q6qFMzSt2nuDf/ZFNhB2ZExd/F2JIL+y4OXLWw9wDi9gUeSU2wFAOpa2cb48B8Uq323V cblA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=DcpgkwL12FHEODFIbiIinUiJz0ey3tDqVJ4nMPpi9XQ=; fh=RfWhGbypFTBtpGjdcWLfYJ57rivHGVWSibYa/VOfhW4=; b=EBuPXb5WDX3A73CDVCEEaewZudGHkbF0ftqQJOulO9S4nqYoHS3TiNKho84dGIt0wC UtVlcJ99sztm9t05CDGk+fQTNkJr4v3uGKD8UY0ukiVbH86l7pLYOboaRhTnzDivekL/ JAq+LzGVgrE54Jhuwe7vu/ioJNyIR1Ykg9+nJLSFy825MKS3pRLvazAnSp9fR5gEGdI2 i+LC9HKXLVliqTFSjXCc82wAHgVIWSVncHS/gMBjf3ecvJi/UFqHx6sYQx0SIBY4QRBF IX+iqRxbvWrXmCP6K6XEe2H22g0u/AQ1hu9BC3+ji21MsFNu4/yJNWABnw+DQPIKpAZq Mofw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=U+JNMQPu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id z12-20020a63190c000000b0057761dd9c56si3547085pgl.322.2023.10.04.05.10.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 05:10:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=U+JNMQPu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: from vger.kernel.org (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 17C5881C7AA1; Wed, 4 Oct 2023 05:10:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242297AbjJDMKS (ORCPT + 99 others); Wed, 4 Oct 2023 08:10:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233033AbjJDMKR (ORCPT ); Wed, 4 Oct 2023 08:10:17 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7981A1 for ; Wed, 4 Oct 2023 05:10:14 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-53406799540so3394799a12.1 for ; Wed, 04 Oct 2023 05:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1696421413; x=1697026213; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DcpgkwL12FHEODFIbiIinUiJz0ey3tDqVJ4nMPpi9XQ=; b=U+JNMQPuIoa1rt+1Y8+7XEgfbPY/Y9/ymgVsR0Y1ShzWaAB1AeGZr0Dq0JXGR7so3L wdl+/8pdiH1hV/qAVXPCqT3Jl345l9L5v9g4/EKIR3g99Bt72iLZGfUaxI50lhDSLd7M /P8/eZz048Pmhk4HSl7Q6JylZ/4ST/Xt1Ij+WUNjH7n6b69uPAnPs0dBO141rbuq7+38 8Vm41XgKRoETDAvY7zUmfp+aCvKIQFFkkyRHbHi0Wl192q9QOvx39CdFILE+HZlfgNSu 2iGW+E4HjAeuHIb7WceR88/aGtfnvZoJ1URWtU1eVrinubF9YLyJ3TbE0rv8T1nDqalk FouA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696421413; x=1697026213; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DcpgkwL12FHEODFIbiIinUiJz0ey3tDqVJ4nMPpi9XQ=; b=gLGebdIP1Dqh5/4l0KKLfcqgwEg4hV+YO2PwuNkbWgh9f1oiJsGktTACECOYnvic2U f7emzJtu5f4djjEgzNuXnRuO4wpoaS45MEN2uuFHboW9RwNGA4/y0zrNiB7yIdCfeFD1 0kW5xzvOE8eMKshFW9vxJH5VlNXyTsSCZydhGaL99EWjdLWnt9Yg2IYEB9gBUGb9g+KP gwOetMIVL7/nNx2C7uK2/mgrmT0og3pJtYcAiVm797qPpgZKJhQqDaojDqnkBwQE348n 2ggAn5itNx9e6qeupN+wyI7ZDsxhcpEiXMSnqpJp+QXayM2BECxomO2fIcYQmZRukWG2 sMDw== X-Gm-Message-State: AOJu0YwiVJRYh7FxFrFAUD8A76jdxDXHe0mKBiOvb1nL8vvuw1tutgRX +O8xIxSns3dW9cxRFdYedOXkrA== X-Received: by 2002:a05:6402:3445:b0:52f:a5d4:1f5b with SMTP id l5-20020a056402344500b0052fa5d41f5bmr1571327edc.9.1696421412940; Wed, 04 Oct 2023 05:10:12 -0700 (PDT) Received: from stroh80.sec.9e.network (ip-078-094-000-051.um19.pools.vodafone-ip.de. [78.94.0.51]) by smtp.gmail.com with ESMTPSA id d10-20020aa7ce0a000000b005288f0e547esm2354627edv.55.2023.10.04.05.10.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 05:10:12 -0700 (PDT) From: Naresh Solanki To: broonie@kernel.org, zev@bewilderbeest.net, Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Naresh Solanki , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/3] dt-bindings: regulator: regulator-output: Multiple supplies Date: Wed, 4 Oct 2023 14:10:07 +0200 Message-ID: <20231004121010.1192344-1-naresh.solanki@9elements.com> X-Mailer: git-send-email 2.41.0 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 04 Oct 2023 05:10:19 -0700 (PDT) Add support for multiple supplies. Signed-off-by: Naresh Solanki --- .../devicetree/bindings/regulator/regulator-output.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/regulator-output.yaml b/Documentation/devicetree/bindings/regulator/regulator-output.yaml index 078b37a1a71a..6d077f123729 100644 --- a/Documentation/devicetree/bindings/regulator/regulator-output.yaml +++ b/Documentation/devicetree/bindings/regulator/regulator-output.yaml @@ -21,13 +21,13 @@ properties: compatible: const: regulator-output - vout-supply: +patternProperties: + ".*-supply": description: Phandle of the regulator supplying the output. required: - compatible - - vout-supply additionalProperties: false @@ -37,3 +37,8 @@ examples: compatible = "regulator-output"; vout-supply = <&output_reg>; }; + output1 { + compatible = "regulator-output"; + sw0-supply = <&output_reg0>; + sw1-supply = <&output_reg2>; + }; base-commit: f9a1d31874c383f58bb4f89bfe79b764682cd026 -- 2.41.0