Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1006733pxb; Tue, 8 Feb 2022 07:19:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJy91drZj3JzKm1p++ygnMU6UJJ7IacZXldHEeFPzcBCQT1xP5S1B+UNgDKOHdg2e283m1Mk X-Received: by 2002:a17:902:b708:: with SMTP id d8mr4687575pls.67.1644333583556; Tue, 08 Feb 2022 07:19:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644333583; cv=none; d=google.com; s=arc-20160816; b=R1+XsZCLexviigpw3kmxd6mzsGqRs7K5TmRcCzQ0+J4JQ01Scg59/+DL2CCqEG9i5M eRvKATI2Z5uq4LzOlVi6s7QsvVfaXYAp59Vn8ma6rq7kbPLzI79KmEut0uCEXMJeAI+2 LnlrVwvv5TUXgjjCv32DChBXWZoPghB1bGpTnPVZzslELRJlPYyr/1RAIWLSu4qaQFqo Nh0lqT5b75oHj3scgQkHPBGP1NnCXcVxzhPe2WAXXdLdx8y5ejgfxzoJk/Kz1Bnw44UL qju4B74kP8KGyQFHu8DSn/T3GhMrhd44D3Xhl8MdFTd+qddgqDMo19HVDIr27kaIw//a MwHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=g9kql/hsklTzU+6PF+PhoobhgtTUfK4IfIjF8oYQwSs=; b=uODdYw6L3WnETQNM9jzCMLQdQoGvzH07iemWufa/U8+IRxpSZQVa6dT0hQ1IL+1+vn iRKdBQ60u2zb+ueew72kZxChfLmGznwqoNuWr8vGTdnNVCYFt2niBtYGbWcAuYiEB7uT d08/MFMOLbfAuup9hXPVD5eaixBIzUEn4hDS0iFlnMws3cKb2IwBKLZGGhvTG5iKaMZ7 d3/whzL3iHZ22r+sm8aozsvc2/h8IINwyRNnMrpRk4JhxQiX85m3SJiYS6LpM0VpQgoh ljM+Rbpv6wu7B4vMYSJUV4c/kU3MW00gXuu1T3YggSIW1jXo99/sXVANbgM3CF4RxK7j C1rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=Cn4WYgYB; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t6si13904798pfj.19.2022.02.08.07.19.27; Tue, 08 Feb 2022 07:19:43 -0800 (PST) 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=@quicinc.com header.s=qcdkim header.b=Cn4WYgYB; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378518AbiBHOy6 (ORCPT + 99 others); Tue, 8 Feb 2022 09:54:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378535AbiBHOyz (ORCPT ); Tue, 8 Feb 2022 09:54:55 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9047BC0612B9; Tue, 8 Feb 2022 06:54:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644332089; x=1675868089; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=g9kql/hsklTzU+6PF+PhoobhgtTUfK4IfIjF8oYQwSs=; b=Cn4WYgYByVemMahhYmk8yt88771yY/a68ghRgGI1Khohb5BcjSTmUyjt DLDHHZbhYuqOD7xyZW4YQ9D9RURBYTAuCdZzJUd6Lp49lojY6z53YW3yU ASPoudK+TVcKi9N6/JsI/LhXNh00/BI60rS6OCbOQ60A+NHdzpfm3Vr46 8=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 08 Feb 2022 06:54:49 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 06:54:48 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Tue, 8 Feb 2022 06:54:48 -0800 Received: from c-skakit-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Tue, 8 Feb 2022 06:54:43 -0800 From: Satya Priya To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski CC: Lee Jones , Liam Girdwood , Mark Brown , Das Srinagesh , , , , , , , , Satya Priya Subject: [PATCH V5 1/6] dt-bindings: regulator: Add pm8008 regulator bindings Date: Tue, 8 Feb 2022 20:22:15 +0530 Message-ID: <1644331940-18986-2-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1644331940-18986-1-git-send-email-quic_c_skakit@quicinc.com> References: <1644331940-18986-1-git-send-email-quic_c_skakit@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Add bindings for pm8008 pmic regulators. Signed-off-by: Satya Priya --- Changes in V2: - Moved this patch before "mfd: pm8008: Add pm8008 regulator node" to resolve dtschema errors. Removed regulator-min-microvolt and regulator-max-microvolt properties. Changes in V3: - As per Rob's comments added standard unit suffix for mindropout property, added blank lines where required and added description for reg property. Changes in V4: - Changed compatible string to "com,pm8008-regulators" - Moved "regulator-min-dropout-voltage-microvolt" to regulator.yaml as separate patch. Changes in V5: - Removed the separate compatible for pm8008 regulator driver. - Moved the supply nodes to chip level. - Removed min-dropout property. .../bindings/regulator/qcom,pm8008-regulator.yaml | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml diff --git a/Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml new file mode 100644 index 0000000..0098845 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/qcom,pm8008-regulator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. PM8008 Regulator bindings + +maintainers: + - Satya Priya + +description: + Qualcomm Technologies, Inc. PM8008 is an I2C controlled PMIC + containing 7 LDO regulators. + +patternProperties: + "^LDO[1-7]$": + type: object + $ref: "regulator.yaml#" + description: PM8008 regulator peripherals of PM8008 regulator device + + properties: + regulator-name: true + + required: + - regulator-name + + unevaluatedProperties: false + +additionalProperties: false +... -- 2.7.4