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: 658562 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 3A517C61DA4 for ; Fri, 3 Mar 2023 22:43:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231755AbjCCWnN (ORCPT ); Fri, 3 Mar 2023 17:43:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232024AbjCCWnL (ORCPT ); Fri, 3 Mar 2023 17:43:11 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7233712599 for ; Fri, 3 Mar 2023 14:42:34 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id x3so16066572edb.10 for ; Fri, 03 Mar 2023 14:42:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677883282; 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=h/Cas00z0Rv6pu4Q7Py88Zsn8/ipAkqWSL8cdRQaktY50jcaQU/RDuohc1gZvpn6or NxszYu0h4h1bnN9b5lzK0ebHaR33yx+m+aSgXxPJG6oQ+T6/QU5SyenO4NeMIsFfe4A5 3B2z+5QYbGHEZHJrFGGaGlzILHSVhQqM+YUUrpG4U15WhdThCFXfmm3YTM5ykWhZBNgQ iSrIMcaDBQ1aexQW17FzusVWQXEnMLNStitqZPTn44USK12Byky6OhjMwQzLXRgLufE0 lLKywX1yrtQGNAcXNHOPBElNj3443WmVNRXgsOLXW87DB9xAmFouzhXx95KRBjHixUjR PyAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677883282; 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=6y5+H/eo4ns5k54R34Okak+9XhG6yrckUbdqCjsigVUpbQIPY2MFgehcY9qFdQQjoq TX8GVngKq1BNyitu37vEYqBiIWu29gfkKi4fQqf+J9Xvh1Crh+HGDCxwo7Gz1pcC5f+0 1kR8C9sh7VZWHLw9TeRo8uWgvOHIigvcpHvcVIRexgJlH5GkDNuz5UREHEc08IaxBeJX 2J/gLWDUtJh7oPjTG4QubBe2qBl+ic8gG+8Qqe3bcjtdsVWHUcQvRGIjziG8xQH5UWFv YYBv6FXhCaD5PEs3f0lmshpZV8AWX/ONtt+22gouEcaKb9SVXlRkMuAF0GcBDNXgGDYh 8GHA== X-Gm-Message-State: AO0yUKUaxpwmU0UXfJw//zjuhnDymSxu//ABYRSBdyvyfvPduaMhiMkg X4GWfOR8yyKlO2vPb9Q6fJgak1zW1QAcgUZNjDU= 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: devicetree@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>;