Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp485516ioo; Sat, 21 May 2022 05:09:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxdwYwJ4Jq+fCBf4RhrEJjSq2qa37frJkZxfarTLSdcHV3wNt5RGUWs7JKiyQo1L1bcs3m X-Received: by 2002:a17:907:3e8e:b0:6f4:ff62:a399 with SMTP id hs14-20020a1709073e8e00b006f4ff62a399mr12929634ejc.298.1653134958561; Sat, 21 May 2022 05:09:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653134958; cv=none; d=google.com; s=arc-20160816; b=Ob6XKplJ9nQsDmXkvQR+8bR24VnU6WypTRGx5Dmmnlt4BXom2fHlwS/808nH6UkPxQ AAePtG8tyBjWuUgtFFlk7DiM65Raumt+iIUjZ9UeO4FuTrn9LaMGXhr9zlyWRrexkvjy aBXqxw+5d5yo+MqvDwBWQyTDrAYV80JwJjEF0icyr641V1kyP9Bzi+O5EOjpQxNng7VS D3wTcZJ8xQY0lf5lZ5NBwIbODAYuMj7Dz9XO4/tQ3gaiQYsf7m5uBSx6qiILupRz8DEC HPSdV9iduxs8fUf+6Uq7ZC+KRvkMGXRw7U8azv47KcrpSqmmtFnYjMFOGVqD6UbxfDUa IV4A== 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=xr7nl5Yk+zcGrg9aCU8T0HxBUXVU0QmG0bk0A0BZMBE=; b=IHBtQ2+JUGsha4WLYYREoV0Z1LjVoDH94ctIiPscbdzC6DYCdHpxbrnlpgQQYZhYOE E3el4w5r27TV4zMMVnjxpfAZW/KdN/g5I4wDmWNBB7g0daU2sSEA5G7TJY4kpsEQDH5D fe6zgr3w2xCXZ4Bcan+CAsdsYGY+I16A8ILeelCCfAUg0HEfqy3G2xs9hM0ZmkpbBy6+ 0/5+w/1K1JSKgsU11KyFf7UBx8Rr2IziyhD9/ObYDhYUOuPgZIecbtp4TMthxlUEhKQP tcfS4DYZad/su981NDEqukPQFm/mCcI/cM9svzOvtUTZ7KZ96whJKMzThdOeqY8Oz7cs XtDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=tv0JWAYt; 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 i6-20020a05640242c600b0042ae7984dcasi12949420edc.58.2022.05.21.05.08.51; Sat, 21 May 2022 05:09:18 -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=tv0JWAYt; 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 S1348400AbiETKvF (ORCPT + 99 others); Fri, 20 May 2022 06:51:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348330AbiETKue (ORCPT ); Fri, 20 May 2022 06:50:34 -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 B7D30153536; Fri, 20 May 2022 03:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1653043833; x=1684579833; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=xr7nl5Yk+zcGrg9aCU8T0HxBUXVU0QmG0bk0A0BZMBE=; b=tv0JWAYtN/KbTPr67dMOnyVRZnl4Tt5H2i675cQlLZS1A2IaSKM0XC8S iJO1ALpxGDDL1I3MwWV8l2687gudWf+qOV0bHuNlPQB+OzYbBD5KQtFJZ AjAdsK8fJgWx69LD9OBvOADyZx/7A1+29yUEdMX0nNjhaY9tLhtI5SOti E=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 20 May 2022 03:50:33 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2022 03:50:32 -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; Fri, 20 May 2022 03:50:32 -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; Fri, 20 May 2022 03:50:28 -0700 From: Satya Priya To: Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , , , , , , , , Satya Priya Subject: [PATCH V13 8/9] arm64: dts: qcom: pm8008: Add base dts file Date: Fri, 20 May 2022 16:19:36 +0530 Message-ID: <1653043777-24003-9-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1653043777-24003-1-git-send-email-quic_c_skakit@quicinc.com> References: <1653043777-24003-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 base DTS file for pm8008. Signed-off-by: Satya Priya Reviewed-by: Stephen Boyd --- Changes in V13: - None. Changes in V12: - None. 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. 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