From patchwork Tue Apr 18 14:50:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naresh Solanki X-Patchwork-Id: 674663 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 AF6F2C77B75 for ; Tue, 18 Apr 2023 14:51:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230423AbjDROvJ (ORCPT ); Tue, 18 Apr 2023 10:51:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231492AbjDROu7 (ORCPT ); Tue, 18 Apr 2023 10:50:59 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95373C16C for ; Tue, 18 Apr 2023 07:50:58 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-3f17b967bfbso9828585e9.1 for ; Tue, 18 Apr 2023 07:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1681829457; x=1684421457; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kIM8LW6yI6V143LdhT1FdSGC5xNGvUqWMyNhdIh0gqk=; b=ciG0U0QRb/NtYe41cCi/q6OdFth5UhsN/iDd2EGKEg6ZiIMqhZOrtWTKm4RzjQ7V4x SG6tPhxsMBoSPyg/USw2sFeZX47bslwOoMGthdyWnTrxhINAm1Sx09QYoEU0j8FQqj3m w9x2HmKD97bO91i2W8MbRHmEOMPKXlqiafPsO62wWViGAoof8j+vvGIxqY+eoceb9RiR fAlY0EpLzv8fYDgH/UEAXCo6XElzwjMOI69zF0v0EaMYPcu2kffTndwIIvfUbzT+eiU5 Ss1BfG0RuANMUIHkDV8gkfDGi18LYQW5TrbVBBOEQp6eC+0McS70skcwRRla1ybCEkpV Nirw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681829457; x=1684421457; 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=kIM8LW6yI6V143LdhT1FdSGC5xNGvUqWMyNhdIh0gqk=; b=DemsLfNYCXSi6axzR6X1nJMLaR4npIHc5y4yKcMkFeAePP7yhzY2g6I0W45PXqNseX P5/XK+vESZNSuW/0fKRRwHWHY+aG5rOfn9rr8F91AfD1fCsuJCQhiT1ZCVbVuemkj57q V7VGXfKH24GmdZcHLMH7gm/jzEHJ51RX+EgYx08nW9MRDzEV8ky4SjpJxefSz02UwgTh MTIiu1mij2qApS/mvY95wAntPccIRlaCQ6TJW/2FBhi3DkEg++4VKiIB6PxxkioTZOCu TjPyBOjb6lq5LO0PHBkdu/UKD+QKCvOquWA62YOIMLEiTcUeHtmHI9cc7AzYi2OCmgUn hYsg== X-Gm-Message-State: AAQBX9diqOqUguNVG3wCUcILA3E8RTAEQjyPWRCF2YIWxd63PSCnJh0N NX17jVc89Z4OFmW4N2TQATjH4A== X-Google-Smtp-Source: AKy350akkeZYqk9h4w91WZNPH0iayM5/fKMO5t5pZUNl/63Lsn9FR0tYXFPO4A0GVAQnAPL7l63wJg== X-Received: by 2002:adf:dfc3:0:b0:2fb:b869:bc08 with SMTP id q3-20020adfdfc3000000b002fbb869bc08mr2181140wrn.23.1681829457063; Tue, 18 Apr 2023 07:50:57 -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 z16-20020adff750000000b002fb6a79dea0sm3787823wrp.7.2023.04.18.07.50.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 07:50:56 -0700 (PDT) From: Naresh Solanki X-Google-Original-From: Naresh Solanki To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Zev Weiss Cc: Naresh Solanki , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: regulator: Add dt property Date: Tue, 18 Apr 2023 16:50:50 +0200 Message-Id: <20230418145051.4192963-1-Naresh.Solanki@9elements.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add DT property regulator-supplies. This enables us to couple one or more regulator output to gether. This is use in case of Single connector having 2 or more supplies. Signed-off-by: Naresh Solanki --- .../bindings/regulator/regulator-output.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) base-commit: c55470f8b0616b0adb758077dbae9b19c5aac005 diff --git a/Documentation/devicetree/bindings/regulator/regulator-output.yaml b/Documentation/devicetree/bindings/regulator/regulator-output.yaml index 078b37a1a71a..17f683d3c1f3 100644 --- a/Documentation/devicetree/bindings/regulator/regulator-output.yaml +++ b/Documentation/devicetree/bindings/regulator/regulator-output.yaml @@ -21,13 +21,19 @@ properties: compatible: const: regulator-output - vout-supply: + regulator-supplies: description: - Phandle of the regulator supplying the output. + Specifies the name of the output supply provided by the regulator. + Defaults to "vout". + default: "vout" + +patternProperties: + ".*-supply": + description: + Specified the phandle for various supplies required: - compatible - - vout-supply additionalProperties: false