Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp240944iob; Wed, 11 May 2022 13:23:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzc0F6u/7PEr+jqZBTkxm9eW9bVNTvRJEJHcMUSdwU1puvpVEB8vH1vIAAum+YLamNKQDM X-Received: by 2002:a17:90b:1d92:b0:1dc:3f14:f8d0 with SMTP id pf18-20020a17090b1d9200b001dc3f14f8d0mr7170748pjb.7.1652300625153; Wed, 11 May 2022 13:23:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652300625; cv=none; d=google.com; s=arc-20160816; b=un9UOPiJTTEVex/DKiE9LKnvMzCxcJjk5btSYVf2VuyeLwHJUbrI6cFJIO0M9ouYMj WRAG+ZrxMMYdzHEs08K76Pg3obBT/r804ZkpzzqAKitnCy8OJJAG0Or0SS0lNuVVDfN+ nOBMok1DofKZQo+a3YLL1UZbVuaFexkN36Ar9MfopCnqncb0+QwPmlFnv/ahg3PHsPOZ Mg2K3VTj3UArL5J4TGQiyLxqaq7VLSDfCv2YKEc3sqePM4/a0xXXYUg8vqja7xa2QJKP G8FHHc6kNGI0n0WtQbxKixzVpSS2G5OINurfHLBd2GuNt7Tthp9Qt2j8K1C2Jmywwswr Eq9Q== 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=WCxOupJ7jOWivGIb7XUrdsY4tpQco+HSUEbzzGV3I7E=; b=mbPE85y66TMcD7C7Ihbr3T/vQQdRC0uEDVz1x8HCjC1Gwi5x628g3v7TdWKuj316XA oIBdNYf1Qy1JT9kMkt0qhGBURdt6uf/oJXJ7wDQNAGE11fB4MMTIN/s1FoWrtUFAt6Vi FR2aneNq9kG7ToP/ZmHxTjyFf7OLaiBtQzBuauvEUkyhC0pv9wMeDBEHl8iuP8LXmegu nR2dA6MKWP3BSTAex8qcvuxPy0eOj5YjSntJiHgWOW59FUcRM+8umfdM2pZoTLdS1aek T9znm4heedOaX6IwZpBjDBLmLnNvZ7gq9/g2JKjjxUfnhfhEBpU87uz3UWJf/LY5Uo3K +JmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=fR3IcI6I; 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 m7-20020a170902db0700b0015e8e1a32d6si4056925plx.603.2022.05.11.13.23.30; Wed, 11 May 2022 13:23:45 -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=fR3IcI6I; 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 S240932AbiEKNUR (ORCPT + 99 others); Wed, 11 May 2022 09:20:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243738AbiEKNTa (ORCPT ); Wed, 11 May 2022 09:19:30 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 547CA2469CF; Wed, 11 May 2022 06:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1652275167; x=1683811167; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=WCxOupJ7jOWivGIb7XUrdsY4tpQco+HSUEbzzGV3I7E=; b=fR3IcI6IGf50QhN6BvFcToaqQ1uajW6hy1xiJcIHL5bL6+NDIsL3v2oH FV758P7OFCfNRp9GEwvU5KhnN9//8JbGl/4nQN84TJJ3p40TSVVk+PFFw 5PGAZn2ySAoGXAvsWYPwbB2zB4zCppJWew9AYmh5Q/v41g/JMSjcNqzyg k=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-01.qualcomm.com with ESMTP; 11 May 2022 06:19:26 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2022 06:19:26 -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; Wed, 11 May 2022 06:19:26 -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; Wed, 11 May 2022 06:19:21 -0700 From: Satya Priya To: Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , , , , , , , , Satya Priya Subject: [PATCH V12 8/9] arm64: dts: qcom: pm8008: Add base dts file Date: Wed, 11 May 2022 18:48:32 +0530 Message-ID: <1652275113-10277-9-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1652275113-10277-1-git-send-email-quic_c_skakit@quicinc.com> References: <1652275113-10277-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,URIBL_BLOCKED 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 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. 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