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: 514549 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp844703jao; Thu, 23 Sep 2021 14:22:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2596jkAH5JmRJ6SVP2TMx5r3pNpNEwhwGpdLDLKNLoyBwZ2wCEutWNuRV1l34kZU4HKGS X-Received: by 2002:a17:906:ed1:: with SMTP id u17mr7580432eji.304.1632432156532; Thu, 23 Sep 2021 14:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632432156; cv=none; d=google.com; s=arc-20160816; b=wY7gSYrM6zmR5Bk5Eg1tEosRU7MBcjHq/NVt2u5yAtjvSMuC0FTSvtyIlyl6hoA65B p23dhJuSkfOreShzxRgUIgYIJ+k0KzZWHexEZjw8K66mt70WanHaag2RUpvh/sdoPidI /lkq5SSmzNqZ55a/XaX93Rr7UcXQxNNjMr04wkvcA+pZRquEuIolor9vTHKy9/HeCBVa 29dZGeyBNCgPCqLpPYZvW8xqSHlt4ZeT8Ms55cNj7DB3AONBIHQ1RDYXhTSEFrhbMUnr 7NecbX6Mvbs1/DZk61k4Gb1PU3evZBPaiWKhrYxRSFIZnmLPKaU6iRleH/mKFIBhOmu0 fx8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=i3MYig+t76yXS3PKKNnmxfZV0vUCyZOrKe0JE9dsF3Y=; b=pwhZpSTl88NwoqACr2WJVjNWlHtFDI/sWh365BQMcf0Nm5RTHN+CH4y7oS7oLBVIyz O7VqPT7RIw8DbBr89XfE+2YLPIHbILqsJzNs/8TAmjBBBgZFcx12EUyxtoLWLOGrcj+/ N8W6gwqVx2GClySFp81hh28dk1lycZoNYQLm4f+knfz09wBrJOCx4RGeKEMay75owhmO Ia4rCBt+18ssg7kKNXkQgVjQDLlHAGdgPB2mYdfI/JmLDeNc26nmVEO5WXRPd0xdmzgb vEvi1G5vBXAjU5c+WvDYmgkug4JKs+JtFA5RTfNavfpihhnFHyL03u8Y0NXqMaGWbH3D noxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="q6DQ/uLh"; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d19si7426194edn.202.2021.09.23.14.22.36; Thu, 23 Sep 2021 14:22:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="q6DQ/uLh"; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243241AbhIWVYH (ORCPT + 17 others); 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-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 -- 2.29.2