From patchwork Fri Jul 7 12:30:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 700411 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53622EB64D9 for ; Fri, 7 Jul 2023 12:30:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232314AbjGGMai (ORCPT ); Fri, 7 Jul 2023 08:30:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbjGGMah (ORCPT ); Fri, 7 Jul 2023 08:30:37 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C3D71FEA for ; Fri, 7 Jul 2023 05:30:30 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2b69923a715so28428151fa.0 for ; Fri, 07 Jul 2023 05:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688733028; x=1691325028; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gmXjq+lZDDi5wHIfZAKrYV8paKDWneNEfPxiISQS6NE=; b=XOSa70+wk+Lty0gEPkhazGIf7+F4pS2SiBZxztcvIFnBiKkV0lljeWrnhwWq4cMyEa JDWoWqg6wvMSz2aKBP4NYhgA8WHxVFgXGxdwQCurk/KsfXkPbK8pvlSXApCX+ZyjsBpT 7CMUAFUPhQbZBFf/CqloEpf4/mvmPWfTxD4dauyibJa1z8F6/P/3twWJwI86aTiHTsqK IC9HFrgM8RY1UrTw3nzgNkk1uIka85UZQb7rAFe21mztAEBi9EdAiMv1coyq1akhqV2F IX4xDpNjozorNqkIhdMXB5B9HDiR99KAi3vM9k6dkTeIk8M+ifMzqMHvjbLC9kdvHlOb W5kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688733028; x=1691325028; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gmXjq+lZDDi5wHIfZAKrYV8paKDWneNEfPxiISQS6NE=; b=V9Kn1t67uKihvdErY91c7UXCLu7JMYrkNfyJO31N8WkxWMhaxMw816JC/VEyavn8Tp fZUpHaK8YXRxg8DPoApmjr2uCiOb2ysEPkHZjsFeB+RWKuTTkPeVEhYfY1tCcXkJknny QrMdzbdPop//K9/J/HSBcW9HYvM+WvGwPrmy1W3G0BeRvgCI+oJk3vHRfk4rf0OthvBW 5MMDueZ3s0E2QpM9AuzTob12FPxyVPf6cPTpACT5eVUJyM3CYUNdLLCVGR1V9pP5E6Cd SVn4TKzo7SoxbkY4syJd9+S3VbJH4O0Q/DNAnIbK2rtnfWtsOed8idIsFJJIUORB/hTT /73Q== X-Gm-Message-State: ABy/qLbFL6GNfY4WekzeMaMipWQ/Il8G1Xehf2cLWZQtlykPMh7Ozmea PTskuIcXbYJXPxuSjoijNbn9Zg== X-Google-Smtp-Source: APBJJlHrhmdapKSALakQpoWLTAY/y9XSprAW9775cun1XROaeEXf3/t59oYBpF5l0yX1T2DE9+4SRg== X-Received: by 2002:a2e:998a:0:b0:2b6:df00:b371 with SMTP id w10-20020a2e998a000000b002b6df00b371mr4273446lji.6.1688733028403; Fri, 07 Jul 2023 05:30:28 -0700 (PDT) Received: from eriador.lan (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id l5-20020a2e8685000000b002b6ee99fff2sm756803lji.34.2023.07.07.05.30.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jul 2023 05:30:27 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , linux-iio@vger.kernel.org Subject: [PATCH v2 0/8] arm64: dts: qcom: sm8450-hdk: improve thermal monitoring Date: Fri, 7 Jul 2023 15:30:19 +0300 Message-Id: <20230707123027.1510723-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Improve thermal monitoring on 8450-HDK board. First set of patches fix c&p typos in PMIC include files (mea culpa). The rest of patches enable ADC-TM usage on the SM8450 HDK. This patchset contains a dt-bindings header change requested by Konrad. There is no direct dependency on the patch order between it (patch #1) and the rest of the series, so either all the parts can go through msm / arm-soc, or the patch #1 can go through iio indepenently of the rest of the series. Changes since v1: - Reworked ADC7 channel bindings to use already defined channel IDs instead of having the same numbers in all adc7 bindings headers (Konrad). Dmitry Baryshkov (8): dt-bindings: iio: adc: qcom,spmi-adc7: use predefined channel ids arm64: dts: qcom: pm8350: fix thermal zone name arm64: dts: qcom: pm8350b: fix thermal zone name arm64: dts: qcom: pmr735b: fix thermal zone name arm64: dts: qcom: pmk8350: fix ADC-TM compatible string arm64: dts: qcom: sm8450-hdk: remove pmr735b PMIC inclusion arm64: dts: qcom: sm8450-hdk: define DIE_TEMP channels arm64: dts: qcom: sm8450-hdk: add ADC-TM thermal zones arch/arm64/boot/dts/qcom/pm8350.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm8350b.dtsi | 2 +- arch/arm64/boot/dts/qcom/pmk8350.dtsi | 2 +- arch/arm64/boot/dts/qcom/pmr735b.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 288 +++++++++++++++++- .../dt-bindings/iio/qcom,spmi-adc7-pm8350.h | 88 +++--- .../dt-bindings/iio/qcom,spmi-adc7-pm8350b.h | 124 ++++---- .../dt-bindings/iio/qcom,spmi-adc7-pmk8350.h | 50 +-- .../dt-bindings/iio/qcom,spmi-adc7-pmr735a.h | 22 +- .../dt-bindings/iio/qcom,spmi-adc7-pmr735b.h | 22 +- 10 files changed, 449 insertions(+), 153 deletions(-)