From patchwork Fri Mar 3 21:58:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 659110 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 88C25C61DA3 for ; Fri, 3 Mar 2023 22:09:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233238AbjCCWJj (ORCPT ); Fri, 3 Mar 2023 17:09:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233703AbjCCWJS (ORCPT ); Fri, 3 Mar 2023 17:09:18 -0500 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 6EA1C65C7D for ; Fri, 3 Mar 2023 13:59:47 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id i28so5468525lfv.0 for ; Fri, 03 Mar 2023 13:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677880706; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=fr1OHq/Y0F9EXyjJfE+Cc02kHVOPdqYGSbtmI+oAs6M=; b=pRvM+gIeSgtnlYrRoFIdElbtBzUiuQwz+LV5wM73gaxinA5ttuqtYh5CuGjVQMsUor YLkFtivdC+lEVy+4R5mGFdd1IDiRBnkLsi63GSJpYwEyQDlY5QDVofUoRn2FJe1FL7ER 3/hYaNjkhS3zafyTtcFEXJCVX+mDfkBi+jrlnO2Od89s9HHzphqhRRBoe6MJpvIzkSGI vGnZmdfbUD99uTmN4wOs6CtjV9lLallN58TDwjVe2LYr6ZJygYJf/hX70Dd5iDjy2MDN qAbXCBYi0rnNz60NOoGVuQI5/Wa0tD31MTU0hMnNN2CNrNw7JBSLFny1Wdp4wCamQ09z q0+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677880706; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fr1OHq/Y0F9EXyjJfE+Cc02kHVOPdqYGSbtmI+oAs6M=; b=35u+yqr5aP9jW5pVGhxxAXh02ELP+qZe+QDb/8EcyhdZd5KE5iJhSZTj07MrlJf9Ll 3Q0V6PzXIq0DJOgpLlr45xLbIEwmofc3b7hwYX7RlNA7AFNt971xilURGFSaDKN4O0d9 fI/B9Sp35Y6BMF1P4YG3XLFcLSnE+smE+KoExxPXxeSkR4QmZo/OY4uMYIOLqmU+UOEy aHlJmfsyJMczLLVEWAXpCvNeSe4fX8r19Wy8XkwkpN0j5t2gkK7C1s9RQzJDajsZdhqD oGbr1kXbpXlzeOso4OhHso22w7z1sW8canwOZO3qei6VLnNkT79xZekXuIj6ylCvZdv4 qifQ== X-Gm-Message-State: AO0yUKWtmpHeFkikbz45VL3acvdYEo1udtCZwr6Zh13zybrgG4qD14Z8 MaqOG0amRBXfh2CwzAcqe6FRcA== X-Google-Smtp-Source: AK7set/KN+z2wYZVudX97d+dJPyqeM+XXZtoDSsCz75EJroknIj9hAlhYIxSV4JdraOf6EDZuvTcnw== X-Received: by 2002:a19:550c:0:b0:4b6:a6e4:ab7a with SMTP id n12-20020a19550c000000b004b6a6e4ab7amr1007164lfe.8.1677880706328; Fri, 03 Mar 2023 13:58:26 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:26 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:10 +0100 Subject: [PATCH 10/15] arm64: dts: qcom: sm6375: Add TSENS MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-10-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> To: Amit Kucheria , Thara Gopinath , Andy Gross , Bjorn Andersson , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Rob Herring , Krzysztof Kozlowski , Georgi Djakov , Sibi Sankar Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=1456; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ykqp5bp58crzGqyySJ//g66g5IA2DYwCTKLczf3b59w=; b=uFCnBJBBP4ewL8ml3Oy7ai20aaNMelzJwBlm11SPgm7brQB3chwmE71EgPCT7XYgYzRUSXyCbGLT b95LkYqxBl/7PTHaW35MVOjC0W2Ovl/W8xe1jF5QpJRsO43rhznr X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add nodes for the two TSENS v2.8.0 controllers present on the SoC. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 59d7ed25aa36..a88ed6467e68 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -764,6 +764,28 @@ spmi_bus: spmi@1c40000 { #interrupt-cells = <4>; }; + tsens0: thermal-sensor@4411000 { + compatible = "qcom,sm6375-tsens", "qcom,tsens-v2"; + reg = <0 0x04411000 0 0x140>, /* TM */ + <0 0x04410000 0 0x20>; /* SROT */ + interrupts = , + ; + interrupt-names = "uplow", "critical"; + #thermal-sensor-cells = <1>; + #qcom,sensors = <15>; + }; + + tsens1: thermal-sensor@4413000 { + compatible = "qcom,sm6375-tsens", "qcom,tsens-v2"; + reg = <0 0x04413000 0 0x140>, /* TM */ + <0 0x04412000 0 0x20>; /* SROT */ + interrupts = , + ; + interrupt-names = "uplow", "critical"; + #thermal-sensor-cells = <1>; + #qcom,sensors = <11>; + }; + rpm_msg_ram: sram@45f0000 { compatible = "qcom,rpm-msg-ram"; reg = <0 0x045f0000 0 0x7000>;