Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4600214iob; Sun, 8 May 2022 18:47:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRP9x67wezvY4Mdd6xlq8t2N1SSpyTvcU/rHKXWa73LT0drC3vwac6ujBGPbRUwxjFeqHT X-Received: by 2002:a17:902:e844:b0:15e:b2f4:497e with SMTP id t4-20020a170902e84400b0015eb2f4497emr13470086plg.43.1652060852687; Sun, 08 May 2022 18:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652060852; cv=none; d=google.com; s=arc-20160816; b=grGzBRkF6/3Kskdt9LU6TZpgCucPNazUWqM9M5/KA400R3vP0PAS/LBckd8QBrp/ym YkA0ynfgb1nOKRLxuYGLF0iVj47QLZFR8BbgWd3hhPDsZH5MAjGwJjAUwNl18lh6A7Tg Nqu5LjIrzgmr9mZbmThwPIvlJH7UmcjngWWwsP5z3ZAs6KR7/Q4EFYeIVkkMdKgH7Ayr tRnkDRgCtySFdu8CCUhoQseioTMlUnbArjLjagCPUHiAW7p3WZauboUEJuwfJegsc68t yceTm1qVciYGt8QwcHF84yTkUa6b4jjzKHafekOE3gzZv+A2tMxkLe2dS/JFgqbh6LHY i05g== 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=n4/MrGBFiSrpSzFByjXTkgmfR/sA8eH+SZmssKr3xD0=; b=KpO+EhjVe4s7+pkVGNffwhGxPvxuGiwDEBxCfYxKff77GqlH/1tfJiqtEcvtXXCOg9 71u6HpscvzdhXo2wEfLwariauR4rGYLUPXLjRhBxRYOtaI31i6BUjUqp3CQI/usAh+L4 bsdHmulzFqsG/9RW4YhXlPLEHlYWCZ5W5ddweQAPjLG3eD8B2IkUoRJKTDiEotCvTJYD h01V8OrLNcuJ3r4gxy99pwgtv5JMrN8Idc4Iu5rJi7D5bK76w7BX9vJnoR1kq6rZ2SkH 80Adj2jFHztg2LN/9xFbxW4Fgpe8rp+qQvEL4KylmWigbmbnX5/4Pnb/tQcMacG6GJom Oq+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=BLC9+DMP; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h5-20020a63c005000000b003c186ace435si12227526pgg.784.2022.05.08.18.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 18:47:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=BLC9+DMP; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A9EB340E7C; Sun, 8 May 2022 18:47:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354024AbiEEJbf (ORCPT + 99 others); Thu, 5 May 2022 05:31:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353396AbiEEJbB (ORCPT ); Thu, 5 May 2022 05:31:01 -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 945854F477; Thu, 5 May 2022 02:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651742832; x=1683278832; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=n4/MrGBFiSrpSzFByjXTkgmfR/sA8eH+SZmssKr3xD0=; b=BLC9+DMPvFqyX7eyYJixTVyCSOciQ+86K4PcdjNJzCdFC1vyy1js+cd4 l+GH6Szd47oohEqtN3Eb7/AisvSGI4gZktXqyytfmc4ZrBTNIfKqmah6/ NAmAmdQkiqAD12KfwD7ZBm/5Xvdj1c/9TvPtDAMKYH5RgF3nLFc46WV75 g=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 05 May 2022 02:27:12 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 02:27:11 -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, 5 May 2022 02:27:11 -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, 5 May 2022 02:27:07 -0700 From: Satya Priya To: Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , , , , , , , , Satya Priya Subject: [PATCH V11 8/9] arm64: dts: qcom: pm8008: Add base dts file Date: Thu, 5 May 2022 14:55:38 +0530 Message-ID: <1651742739-12338-9-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1651742739-12338-1-git-send-email-quic_c_skakit@quicinc.com> References: <1651742739-12338-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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 base DTS file for pm8008. Signed-off-by: Satya Priya --- Changes in V11: - Remove intermediate regulators node and add the ldos under pm8008@8 node. - change the address cells as 2 for pm8008 parent mfd node. - add compatible to register the ldos. - add reg with i2c client offset and address. Changes in V10: - Add regulators under pm8008@8 i.e main mfd node. Changes in V9: - Add single dt file for pm8008 instead of adding files like in V8. arch/arm64/boot/dts/qcom/pm8008.dtsi | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8008.dtsi diff --git a/arch/arm64/boot/dts/qcom/pm8008.dtsi b/arch/arm64/boot/dts/qcom/pm8008.dtsi new file mode 100644 index 0000000..5606344 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8008.dtsi @@ -0,0 +1,54 @@ +// SPDX-License-Identifier: BSD-3-Clause +// Copyright (c) 2022, The Linux Foundation. All rights reserved. + +&pm8008_bus { + pm8008: pmic@8 { + compatible = "qcom,pm8008"; + reg = <0x8>; + #address-cells = <2>; + #size-cells = <0>; + #interrupt-cells = <2>; + + pm8008_l1: ldo1@1,4000 { + compatible = "qcom,pm8008-regulator"; + reg = <0x1 0x4000>; + regulator-name = "pm8008_ldo1"; + }; + + pm8008_l2: ldo2@1,4100 { + compatible = "qcom,pm8008-regulator"; + reg = <0x1 0x4100>; + regulator-name = "pm8008_ldo2"; + }; + + pm8008_l3: ldo3@1,4200 { + compatible = "qcom,pm8008-regulator"; + reg = <0x1 0x4200>; + regulator-name = "pm8008_ldo3"; + }; + + pm8008_l4: ldo4@1,4300 { + compatible = "qcom,pm8008-regulator"; + reg = <0x1 0x4300>; + regulator-name = "pm8008_ldo4"; + }; + + pm8008_l5: ldo5@1,4400 { + compatible = "qcom,pm8008-regulator"; + reg = <0x1 0x4400>; + regulator-name = "pm8008_ldo5"; + }; + + pm8008_l6: ldo6@1,4500 { + compatible = "qcom,pm8008-regulator"; + reg = <0x1 0x4500>; + regulator-name = "pm8008_ldo6"; + }; + + pm8008_l7: ldo7@1,4600 { + compatible = "qcom,pm8008-regulator"; + reg = <0x1 0x4600>; + regulator-name = "pm8008_ldo7"; + }; + }; +}; -- 2.7.4