Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp504084pxb; Fri, 15 Apr 2022 04:58:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnYiyjCZqBwaKvj9UFgq02yKPpRel49cg5GfYZPGDUFoqrQDXQ4DZTXGY+pcofDjd9QDWE X-Received: by 2002:aa7:c9d2:0:b0:41d:b49:fbc3 with SMTP id i18-20020aa7c9d2000000b0041d0b49fbc3mr7949855edt.245.1650023903681; Fri, 15 Apr 2022 04:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650023903; cv=none; d=google.com; s=arc-20160816; b=ur3zS+LmSqJVdyYNOl9lF/Jg0kTTY3RAYPsBq2dgifsuyoOjOaqXrgPcuu/fvBbt5t 97YcvJOnViO+/PIFfXxYjV6UW8DFqAc+Y90xYHmWz6sOlcbs+K64hpJxuuDYuUmaBdEM hALBA+uGIWyOYH5YsHC+aazEwmUTqIaHrcXMBagE7t3iXPHkG6qdTM/Z2Pyfh12hTTIP v0yKeZ4PHhuZPFfU6fPLdc5za4rCFtKyze7pgFKgLgRiwpOvI33sbLl59KdAphfE7cMc PihOUzM+YX+KU+pQhL9lLU2wOHu8MTrIT0yTk9Ap8Wct708Weu5zZ6mpb8TyfCuuCMP+ BQpA== 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=mol9L4z7TxFFL5K9se+ZnR6/rfEU2d6sk/+M8yAFBRU=; b=g8DOJxFXrnzWcZBWgPzAhHx8iQDsWc2M9/J82AtOK3giBCs/5n5eeAY8y5kj2BypAN 0OrjdGdZHtN+6K24bqdqa3NyuWGk6BEA8sxgRGGTK6//q+pBnZokt6cCNVWI/RiPAVbf LgupfPsgAZK78HvKVkXcvBysuy2yFgvTZsAebCE0MV/V0iD2fzvd2Y/eBsVBt1YlnKSd 0gJIF/7Y3RkpY1H9oosaarWaClHq3j5lntXvJZzuFW7aANr0/u3xJ9Kllxy/LfoWhsUQ sV/wZWyA5ycvIRvBJuUgH65KfwoHij0lv/CMaNPpgaZGB0mEQD/LDuPZdpR0QBMjkZHi EBBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=C1tVC4QL; 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 g7-20020a170906520700b006e8971a05ebsi958147ejm.63.2022.04.15.04.57.58; Fri, 15 Apr 2022 04:58:23 -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=@quicinc.com header.s=qcdkim header.b=C1tVC4QL; 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 S243362AbiDNMdk (ORCPT + 99 others); Thu, 14 Apr 2022 08:33:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243371AbiDNMdd (ORCPT ); Thu, 14 Apr 2022 08:33:33 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A7B1340F2; Thu, 14 Apr 2022 05:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649939466; x=1681475466; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=mol9L4z7TxFFL5K9se+ZnR6/rfEU2d6sk/+M8yAFBRU=; b=C1tVC4QLLQwoA+LL//tkQm7mxAZtAW55m+dr8X0Bkm1RcsuML4lwR/hQ rqWLWsTw6ZwrUC5gwK09UL3teC7UZbGS4dzOQIF5u63y6asZdatJRTyNh CSuozmYCi160Az/OK2l7p+/oytYACX+ehXt4o3w35nmV674/4SJOhFGi7 A=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 14 Apr 2022 05:31:06 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2022 05:31:06 -0700 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.986.22; Thu, 14 Apr 2022 05:31:05 -0700 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.986.22; Thu, 14 Apr 2022 05:31:01 -0700 From: Satya Priya To: Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , , , , , , , , Satya Priya Subject: [PATCH V10 3/9] dt-bindings: mfd: pm8008: Add regulators Date: Thu, 14 Apr 2022 18:00:12 +0530 Message-ID: <1649939418-19861-4-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1649939418-19861-1-git-send-email-quic_c_skakit@quicinc.com> References: <1649939418-19861-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 regulators for pm8008 with example. Signed-off-by: Satya Priya --- Changes in V10: - Add regulators under main mfd node as in DT. Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml index 3312784..060cc35 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml @@ -44,6 +44,9 @@ properties: "#size-cells": const: 0 + regulators: + $ref: "/schemas/regulator/qcom,pm8008-regulators.yaml#" + reset-gpios: maxItems: 1 @@ -129,6 +132,20 @@ examples: interrupt-controller; #interrupt-cells = <2>; }; + + regulators { + vdd_l1_l2-supply = <&vreg_s8b_1p2>; + vdd_l3_l4-supply = <&vreg_s1b_1p8>; + vdd_l5-supply = <&vreg_bob>; + vdd_l6-supply = <&vreg_bob>; + vdd_l7-supply = <&vreg_bob>; + + ldo1 { + regulator-name = "pm8008_l1"; + regulator-min-microvolt = <950000>; + regulator-max-microvolt = <1300000>; + }; + }; }; }; -- 2.7.4