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: 13304843 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 64E96C0015E for ; Fri, 7 Jul 2023 12:30:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229872AbjGGMai (ORCPT ); Fri, 7 Jul 2023 08:30:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230289AbjGGMah (ORCPT ); Fri, 7 Jul 2023 08:30:37 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36C14211D for ; Fri, 7 Jul 2023 05:30:30 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b70404a5a0so28181731fa.2 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=eXtoGhpKV5K/mUlDdK1RahzKc3B6NlN2LRwerQK1pwz2E+EyEnhP8VTdFHagv+seZm 1nIGW9qaNjYfOQH6ybBJyn2bPaOrnmRntBJ+KgbgFNuN7WIO4AXUOtZoAeSml/5QroLD 3DG48IrA2WxhHAHAI7ssqq4MXZEDsYtxaMe2WrvuChhtjhJr2qjiYAvjSQnm6vYq947A TstzxfJhQrXa4MZUeDfJ56dvJ9EQE4mhqXxDoeD/UsIiWJ1k1nF9T+H8s5Xe8DZqwGWD 83Akkog4mViA7uwg5L8GRn0K2OWzW5EI1VejwpG3QJEYBOL1meixYuaOgaG95+SPoAQI wfaw== X-Gm-Message-State: ABy/qLbnTwmPFLEsxvKFTBv1IQ/jIxqpgDdf69P/o+D+KOFkZFG112Nx cs9G4s0qmFtoUeA4aodb0GmmDA== 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: linux-iio@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(-)