Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp887482pxb; Thu, 30 Sep 2021 21:05:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC+vOv7/xb+ewEwmCPqb/3PcOH/9VijQdb8s5aSI50JSbNarLtI6fx2721TCyTLdZdqG0i X-Received: by 2002:a17:90a:f409:: with SMTP id ch9mr9968541pjb.50.1633061125025; Thu, 30 Sep 2021 21:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633061125; cv=none; d=google.com; s=arc-20160816; b=xh+2V7hBAIheOtKbPPMIsFl2KKbEwALpLtPRpQ7rh2DsWM8sW2JmRIwwTcmJpS2PRD ackAE0cfqv1H3L13+yD9qNbiIyjhTjL25tXbPbYt2xF0AuVA3VJPTrMEnsQTlU5zXsI2 YEksJ0nu7+ejZlBPQAcaRjgvhElaNbji7YZ62gSXctuKWApzPCFs7pfBZR+j76C3VCFs 9ykztdCNh7bypSqWRHjwC+9Mj5CubEOx87SFU11JZ81PXfTgkmC9DiW4mIZ5W004MJi8 DO9SXGtRfcgvNWyJ9Ui+lFPh6g05GdA27cK5WQCG4u0ShQza9AXhDSWsOgOcVmjxMGxS bTRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=w7tA/E+6uza0O3iL/gJOqkiB2dEGhDiZOUwEXQBCG5o=; b=p9oghoUdveZxv2+GuBUf6pA33xzk4AbPYgQJTRXazdH3pNmhhAKsMJ60Z9UxfQX35P 6o3SUHC6Cl6fnzbIxtz5nJXLZPuNBgebs4TNlFDeGp4gtS5nMwiLWxL6XRjuBk7aYfmn BbSJyEwtw7yH6j2hOP8kgfczKDhnLBtwVOpohDvhR5rEkCyuPsWZMm62JcV5oCdhdlgK skTJPb5lLe2gB1Io4kBilSmS7cc2Y8Ht8r8egfZhSLc4SjndSJPS48FM9TSpCUmE+CTX PlLh8S1+1a2gJ5uby5PYorw8kuAezun6app4DuNNdKahAwfgPA7We4pTJ/CngOjmcT/i VriQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f5si5426861pjk.75.2021.09.30.21.05.09; Thu, 30 Sep 2021 21:05:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237646AbhJAEDZ (ORCPT + 99 others); Fri, 1 Oct 2021 00:03:25 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:5008 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237622AbhJAEDY (ORCPT ); Fri, 1 Oct 2021 00:03:24 -0400 Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 30 Sep 2021 21:01:38 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/AES256-SHA; 30 Sep 2021 21:01:36 -0700 X-QCInternal: smtphost Received: from c-skakit-linux.ap.qualcomm.com (HELO c-skakit-linux.qualcomm.com) ([10.242.51.242]) by ironmsg02-blr.qualcomm.com with ESMTP; 01 Oct 2021 09:31:17 +0530 Received: by c-skakit-linux.qualcomm.com (Postfix, from userid 2344709) id 28BB85514; Fri, 1 Oct 2021 09:31:16 +0530 (IST) From: Satya Priya To: Bjorn Andersson , Rob Herring Cc: Lee Jones , Liam Girdwood , Mark Brown , Das Srinagesh , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mka@chromium.org, swboyd@chromium.org, collinsd@codeurora.org, subbaram@codeaurora.org, kgunda@codeaurora.org, Satya Priya Subject: [PATCH V2 2/4] dt-bindings: mfd: pm8008: Add pm8008 regulator node Date: Fri, 1 Oct 2021 09:30:57 +0530 Message-Id: <1633060859-22969-3-git-send-email-skakit@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1633060859-22969-1-git-send-email-skakit@codeaurora.org> References: <1633060859-22969-1-git-send-email-skakit@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add pm8008-regulator node and example. Signed-off-by: Satya Priya --- Changes in V2: - As per Rob's comments changed "pm8008[a-z]?-regulator" to "^pm8008[a-z]?-regulators". .../devicetree/bindings/mfd/qcom,pm8008.yaml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml index ec3138c..0c9665e 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml @@ -45,6 +45,10 @@ properties: const: 0 patternProperties: + "^pm8008[a-z]?-regulators$": + type: object + $ref: "../regulator/qcom,pm8008-regulator.yaml#" + "^gpio@[0-9a-f]+$": type: object @@ -122,6 +126,26 @@ examples: interrupt-controller; #interrupt-cells = <2>; }; + + pm8008-regulators { + compatible = "qcom,pm8008-regulator"; + #address-cells = <1>; + #size-cells = <0>; + + 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>; + + pm8008_l1: regulator@4000 { + reg = <0x4000>; + regulator-name = "pm8008_l1"; + regulator-min-microvolt = <950000>; + regulator-max-microvolt = <1300000>; + qcom,min-dropout-voltage = <96000>; + }; + }; }; }; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation