From patchwork Thu Sep 23 21:23:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 12513719 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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 53CB1C433FE for ; Thu, 23 Sep 2021 21:22:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 30FE461267 for ; Thu, 23 Sep 2021 21:22:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243174AbhIWVYH (ORCPT ); Thu, 23 Sep 2021 17:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243233AbhIWVYG (ORCPT ); Thu, 23 Sep 2021 17:24:06 -0400 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C49F9C06175F for ; Thu, 23 Sep 2021 14:22:34 -0700 (PDT) Received: by mail-ot1-x335.google.com with SMTP id j11-20020a9d190b000000b00546fac94456so10437915ota.6 for ; Thu, 23 Sep 2021 14:22:34 -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=i3MYig+t76yXS3PKKNnmxfZV0vUCyZOrKe0JE9dsF3Y=; b=q6DQ/uLh+rOOIptl7Av8RCuOCTgOEjdj7GpDdnqxUyESYJRANG61gxUFHaU45agQ2m bGjgNCzq1UQ6g1pQGkjXiGaj7A6uEr1mP7jBABFaXd6cLeO+oDKL5CaX9PS72zl9s68Q U58lWIA+Qg2kFDZYUYonVYlWF3z5F4vg5ZQU7asFpX4pIuYLMs0YYhRP9Dju7t84GKkl 9hJ1gfTR22oWcY2KtTvlY2dS8MifcWxQK1Am/1cVJ5RU5Jq3cs/UDVqTOpDVwwVHc/ZE UKdsJkfMlGo8RjeEi33NarztHimYe5Z0iRVYzfJ2COnXbwJq/Be47z/eWn65n8uwfZye 1spQ== 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=i3MYig+t76yXS3PKKNnmxfZV0vUCyZOrKe0JE9dsF3Y=; b=LIwYPcb6SrNSThDeOwx7EjjD78EJgKlda0RC5+RjJSfoubna1G92fwc40RP7vijnWh 6mZy50IGwxvCgv9B8bLbwbMy3KpSO0g78M2Wb0MAK1LTVdkcj3zUUJ0pmE7UyI7Q5TQI qQorPbv1jHAs2dM33FvENeNyhEpe6fr43pg6/NrQffMMGLyihJnUUP3y1442Mdln8X2k zPnvFl+uNXcRQ7U4U+/Uxs2gbNX1CH5Tndreuhkjs0xn45LOTsNEA7N8QWTJyk+RbriO G4eiizyRKEeRVaAeF5qXeNBdf38icdDMkhG5lN4yIfDjCC5MIKu7bvqBmGQHTK56DVjd V/yw== X-Gm-Message-State: AOAM532K+pvXhoYfW+b2+K+76VJb9RJZAF4gaUwJCONLSJTZsYSH2qRc XJHdomiWCrPw5CTZWKWfDkpNxw== X-Google-Smtp-Source: ABdhPJw1+QXHT9g87r3Rk2jaH8Dne7oQjgMbwUcaYWZFTuBKwZWtlLl2TUADRgFUKsVb9eCo7tHKag== X-Received: by 2002:a9d:3e15:: with SMTP id a21mr831400otd.60.1632432154033; Thu, 23 Sep 2021 14:22:34 -0700 (PDT) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id e16sm1586820oie.17.2021.09.23.14.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 14:22:33 -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 v2 0/4] arm64: dts: qcom: sdm845: Add thermal zones for PM8998 ADC Date: Thu, 23 Sep 2021 14:23:07 -0700 Message-Id: <20210923212311.2877048-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 | 128 +++++++++++++++ drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 43 ++++- 4 files changed, 329 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml