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 CD5C4E7B5FB for ; Wed, 4 Oct 2023 12:10:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242306AbjJDMKS (ORCPT ); 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-Google-Smtp-Source: AGHT+IEw1AYTD1ITVBPDXdbNhagjO8bZw4GAvqGvtORm5qqx8YzluDcSo+X6mTFuHkedMAn8Cix9Lw== 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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