From patchwork Tue May 18 06:20:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Satya Priya X-Patchwork-Id: 12263711 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A3C5C43462 for ; Tue, 18 May 2021 06:20:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7EDD4611CC for ; Tue, 18 May 2021 06:20:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346599AbhERGWE (ORCPT ); Tue, 18 May 2021 02:22:04 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:8690 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346543AbhERGWD (ORCPT ); Tue, 18 May 2021 02:22:03 -0400 Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 17 May 2021 23:20:46 -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; 17 May 2021 23:20:44 -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; 18 May 2021 11:50:25 +0530 Received: by c-skakit-linux.qualcomm.com (Postfix, from userid 2344709) id 7AE0E4B4F; Tue, 18 May 2021 11:50:24 +0530 (IST) From: satya priya To: Andy Gross , Bjorn Andersson , Rob Herring Cc: mka@chromium.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kgunda@codeaurora.org, satya priya Subject: [RESEND PATCH V4 0/8] Add PMIC DT files for sc7280 Date: Tue, 18 May 2021 11:50:14 +0530 Message-Id: <1621318822-29332-1-git-send-email-skakit@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Changes in V2: - As per Matthias comments: - I've Split the patch into per-PMIC patches and one sc7280 patch - Removed 2nd critical point, thermal-governer property - s/pm8325_tz/pm7325_temp_alarm and s/pm7325_temp_alarm/pm7325_thermal - Fixed few other minor errors. - As per Bjorn's comments, replaced '_' with '-' in node names and moved DT files inclusion to board dts. Changes in V3: - As per Matthias comments, changed commit text, modified critical interrupt node name like -crit for all pmics. - Moved pmk8350_vadc channel nodes to idp dts, as it is not guaranteed that a board with the pmk8350 will always have the other 3 PMICs Changes in V4: - PMR735A and PM8350C PMICS are used in sm8350 SoC. Added thermal_zones label for thermal-zones node to avoid compilation error while using the phandle in pmic dt files. - As per Matthias comments: - Changed commit text for pmk8350 pmic patch - Moved the header files inclusion for the on die tempertures of PMICs from pmk8350 dt file to sc7280-idp dts - Changed commit text and made a dedicated patch to include pmic dt files for sc7280-idp - Made separate patches for on die temp channel nodes and for adding thermal- zones node in sc7280 SoC dtsi satya priya (8): arm64: dts: qcom: sm8350: Add label for thermal-zones node arm64: dts: qcom: sc7280: Add thermal-zones node arm64: dts: qcom: pm7325: Add pm7325 base dts file arm64: dts: qcom: pm8350c: Add temp-alarm support arm64: dts: qcom: pmr735a: Add temp-alarm support arm64: dts: qcom: pmk8350: Add peripherals for pmk8350 arm64: dts: qcom: sc7280: Include PMIC DT files for sc7280-idp arm64: dts: qcom: sc7280: Add ADC channel nodes for PMIC temperatures to sc7280-idp arch/arm64/boot/dts/qcom/pm7325.dtsi | 53 +++++++++++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/pm8350c.dtsi | 32 +++++++++++++++++++- arch/arm64/boot/dts/qcom/pmk8350.dtsi | 51 ++++++++++++++++++++++++++++++- arch/arm64/boot/dts/qcom/pmr735a.dtsi | 32 +++++++++++++++++++- arch/arm64/boot/dts/qcom/sc7280-idp.dts | 34 +++++++++++++++++++++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 ++ arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 +- 7 files changed, 203 insertions(+), 4 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/pm7325.dtsi