From patchwork Tue Oct 5 03:25:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 12535429 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F51FC433EF for ; Tue, 5 Oct 2021 03:23:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3255461504 for ; Tue, 5 Oct 2021 03:23:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231535AbhJEDZk (ORCPT ); Mon, 4 Oct 2021 23:25:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230097AbhJEDZj (ORCPT ); Mon, 4 Oct 2021 23:25:39 -0400 Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAEEEC061749 for ; Mon, 4 Oct 2021 20:23:49 -0700 (PDT) Received: by mail-oi1-x22e.google.com with SMTP id v10so160670oic.12 for ; Mon, 04 Oct 2021 20:23:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CBGP4JeTMy9r2mkV+w8aOzY9PKCdfwV7F1VUUh8lVlM=; b=FhhkTJOlAJhYys1fMEptfl/Li9cuTs8I1DNR9tw/Sbeb1vPhjcYHd/XTb7aD7ea01Q Y8b5pqZQwKUfE709gXUZxjz4RrykK2uK2TDndpw8HomHu/2ynOq159XevNgUYYSfFxX/ nfAJr2otpn8vZ8Qh7AkahpjRnFzt8dNChpus6POrrF10IycKlw2rAw7JKxc+yRdP7p4c OKD/EWf+YA2liLpu7n6chdla928jth3x9Zs2N6nm63qo9qqu6+QBPiIE56U722XaqWfW GkzIZU2RU+nufQiFHTDoylHT8KOuugIO2jsSeE3j9FBavQSgQxooEs3JOgh21uDkNMdj /wbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=CBGP4JeTMy9r2mkV+w8aOzY9PKCdfwV7F1VUUh8lVlM=; b=2SDnqVGfA8vX+bH9TU6dZxYtQ4fIqSJgItMySq/0ZpZnlkdGup8XV9yphjPiQ3+FvM JvtE9nDkhKHViuAYlXJAwJ7f56oFCR4ZoYrIGX14ReuFRx3/E/uGHw0FC6kF80JBYVJu 0iQw5gaAGKXJqNBMtlgA4qaD7Sy3DGNAr4h3IgwvR2r/IwqgoK5u4sVgplyCSfg4JWZk mQYX9/a/keSnlt1GMhqPoxWm35xGMqLaUgxkKnjvw5patG5HyAxzVYSEJamKMslJdFA6 mx9gAj15vIlw3VFMDEwXVW/rT9S4ReDLcQQ4ep2JREwxbJJiIO8NbesZG0QhgYNk5hts w45Q== X-Gm-Message-State: AOAM533ux29f00CvMksg5Lh3jBtU6Cl2Cji96q7qPx2Gx0fikTOo9Ckg RBSFTi6RO0WYVXmGPGoS+OI5fw== X-Google-Smtp-Source: ABdhPJxXU4rXbiYbs+rxlcEX/8lrg/5Lz2+zgdU8UDjcOnils8Xy6v6OFR5DkN3v8CKf1NK53P6JZQ== X-Received: by 2002:aca:4b95:: with SMTP id y143mr624574oia.178.1633404229172; Mon, 04 Oct 2021 20:23:49 -0700 (PDT) Received: from localhost.localdomain ([2600:1700:a0:3dc8:205:1bff:fec0:b9b3]) by smtp.gmail.com with ESMTPSA id j4sm3111955oia.56.2021.10.04.20.23.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 20:23:48 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Zhang Rui , Daniel Lezcano , Amit Kucheria , Rob Herring , Thara Gopinath , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/4] arm64: dts: qcom: sdm845: Add thermal zones for PM8998 ADC Date: Mon, 4 Oct 2021 20:25:27 -0700 Message-Id: <20211005032531.2251928-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Describe ADC channels, related thermal monitor channels and add thermal zones for these. Bjorn Andersson (4): dt-bindings: thermal: qcom: add HC variant of adc-thermal monitor bindings thermal/drivers/qcom/spmi-adc-tm5: Add support for HC variant arm64: dts: qcom: pm8998: Add ADC Thermal Monitor node arm64: dts: qcom: sdm845: mtp: Add vadc channels and thermal zones .../bindings/thermal/qcom-spmi-adc-tm-hc.yaml | 149 ++++++++++++++++++ arch/arm64/boot/dts/qcom/pm8998.dtsi | 10 ++ arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 140 ++++++++++++++++ drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 41 ++++- 4 files changed, 339 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml