From patchwork Sun Apr 10 23:44:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 559524 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 38EDEC43217 for ; Sun, 10 Apr 2022 23:45:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233665AbiDJXrQ (ORCPT ); Sun, 10 Apr 2022 19:47:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233573AbiDJXrP (ORCPT ); Sun, 10 Apr 2022 19:47:15 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 766BB21265 for ; Sun, 10 Apr 2022 16:45:02 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id u19so3680277lff.4 for ; Sun, 10 Apr 2022 16:45:02 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=fGAwW8cyDnSHOVehGo3+DcIdw3tvgSiqRKqWSvsRZR4=; b=FOOJaRLlUNZd0KK6bRpwCQ8WZzRzp2oCsuyLnHH769uv4l7F+pRXJdqGGozoNID7FJ heacOzN0kIOm3Yi/JvXg2jq1oU1qewueHvnpFmymy7fp4+zuiGLX3Xomk1vCdTYvk749 1WLnwaj+WIiymsckEg9joMm8ay6skA4fHrPiNUY9Aj/p5Ucjj0YFejt8w3EQPKjhsxhs uiZO1fVNez7ilgCHtXPAhSO8MxSLvxzjvv+lAdNLngh2NjzZDh53i1c0McNEAfGHRFiV jbKCOtJVAKapJHyxhJL3JmXWpse3h70GVioH1vWXOCIYnhBeBH1Oe7ABwS8ih4wbSkDk 0X9w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=fGAwW8cyDnSHOVehGo3+DcIdw3tvgSiqRKqWSvsRZR4=; b=LvMQbDaFJQXV44DIQYeS5Kik818W8kKcPOfbSusf57skFo3woG9tsXugT0x25SdyiS N33iXwZT4TOkwqw+lUW8oh8brTf33ZYHbyO11F2liq7EWhLWwW8yYnc4hdY7xG/1kfne mIbXGjW97IpJ3/gggv988GnkMkPHxLdD3M0D7/CxYzJYTAse6ZeyfRQhcIUrjNcX9oOY fReKUYXgqojoFNq3qiPzcTlrBH+NApu/9Edqst0U9zVOxXiD2qYsmvJUZH0BX3xvXffX 7iSJdYb55TC3Y8jOv+LiEZurm4DK3CBpOn6SRaXSFIlHXE0dUY4i+1O6WZP+I9/mSaSE i2YQ== X-Gm-Message-State: AOAM531uTT86bGJdXQtEp+RMAA2XnlZYntvgb+soOIJ4/aLw0Wv5Fh3Q ePnq5moRZ1QD2mbXKQ3LfBI3/w== X-Google-Smtp-Source: ABdhPJx9D0XNIvp6DPPfUOJPZuSw4mtta3d2pg8zFCrnr2Gny+Yf6gCla6TRsQ+SOcb2S7BFWQrPdw== X-Received: by 2002:a05:6512:3d24:b0:46b:9f95:9e57 with SMTP id d36-20020a0565123d2400b0046b9f959e57mr3956993lfv.246.1649634300518; Sun, 10 Apr 2022 16:45:00 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id m28-20020a19435c000000b00464f6d27ff1sm1153881lfj.103.2022.04.10.16.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 16:44:59 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Vladimir Zapolskiy Subject: [PATCH 1/3] arm64: dts: qcom: sm8450: Add thermal sensor controllers Date: Mon, 11 Apr 2022 02:44:56 +0300 Message-Id: <20220410234458.1739279-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220410234458.1739279-1-dmitry.baryshkov@linaro.org> References: <20220410234458.1739279-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Vladimir Zapolskiy The change adds description of two thermal sensor controllers found on SM8450. Signed-off-by: Vladimir Zapolskiy --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 934e29b9e153..b695ce824722 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -1021,6 +1021,28 @@ pdc: interrupt-controller@b220000 { interrupt-controller; }; + tsens0: thermal-sensor@c263000 { + compatible = "qcom,sm8450-tsens", "qcom,tsens-v2"; + reg = <0 0x0c263000 0 0x1000>, /* TM */ + <0 0x0c222000 0 0x1000>; /* SROT */ + #qcom,sensors = <16>; + interrupts = , + ; + interrupt-names = "uplow", "critical"; + #thermal-sensor-cells = <1>; + }; + + tsens1: thermal-sensor@c265000 { + compatible = "qcom,sm8450-tsens", "qcom,tsens-v2"; + reg = <0 0x0c265000 0 0x1000>, /* TM */ + <0 0x0c223000 0 0x1000>; /* SROT */ + #qcom,sensors = <16>; + interrupts = , + ; + interrupt-names = "uplow", "critical"; + #thermal-sensor-cells = <1>; + }; + aoss_qmp: power-controller@c300000 { compatible = "qcom,sm8450-aoss-qmp", "qcom,aoss-qmp"; reg = <0 0x0c300000 0 0x400>;