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: 12513729 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 1B0B4C433EF 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 E7AC361090 for ; Thu, 23 Sep 2021 21:22:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243241AbhIWVYH (ORCPT ); Thu, 23 Sep 2021 17:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243174AbhIWVYG (ORCPT ); Thu, 23 Sep 2021 17:24:06 -0400 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A73C9C061574 for ; Thu, 23 Sep 2021 14:22:34 -0700 (PDT) Received: by mail-ot1-x331.google.com with SMTP id 5-20020a9d0685000000b0054706d7b8e5so10471177otx.3 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=pEjzdfGx8Zm5904Bf643b2IgtHbtdzpmm00rxCmYFdZsmi3AQ4H7Fk7E0zsXajMRdl Sczv/kZbEmDNQf5yGlBEYVQwngIM6P6hmOu0Wzu918q9l5Zz3y86shbRSOSapeBf8BQ2 uQhDtim75RpqfsqRwPBD5TyG9k34YxB7YxpZz8ngpeBlZ0e8NkniqnWdBslX/UMFEpCY eDh3hlgpQC6Fx8rIPNfphC32zOLgTemhdYj+KeLEdcFDy78dk1h0Ix7YJiwi6aOnJ5eu sFgaQINHwAZF8GwyweRMK4BFCJ7l/j7PHuOsLoknnrbRgMKZiYi5eGQyfr1CvXtI7V0Q C3wQ== X-Gm-Message-State: AOAM530aoafp9vfAxOke8LY9v8kbvW+qdK+yJu99q0DJCRFbs/kjxMX2 qlC8uOKAqLfOm/otb0bfnBCPhA== 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-arm-msm@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