Message ID | 20230303-topic-sm6375_features0_dts-v1-10-8c8d94fba6f0@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp676712wrd; Fri, 3 Mar 2023 15:26:14 -0800 (PST) X-Google-Smtp-Source: AK7set9d2mKr8t0nrkhGYq8gAgIKHnLadhsvfXrFae2phWBpOOCE9Pcs/jXGgAG11jjjj7kvXVDQ X-Received: by 2002:a17:907:6f18:b0:8f8:5779:f1af with SMTP id sy24-20020a1709076f1800b008f85779f1afmr3561689ejc.15.1677885974188; Fri, 03 Mar 2023 15:26:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677885974; cv=none; d=google.com; s=arc-20160816; b=TXepqpIOhg9Lu2qFRVXtcsJBjizfHhVi5WqRBqiwfcIrdpjy9SWtmiNriPwNNEqQK1 h+JOtiBsbmr4W6IzAe/RUAxC/jX69w3h6WyRsUVHoOwaZAm0NJ4aIxD+MzjHuciN1C9T QpgbgkoZPrjLb6QzVqyYlDQsbjQsw7EC3SJcnLSde0ks7eVedvHJ+bJrsa/CZ+SuTByI eXOaYdICl8iJZrwwr/71658EE199oqWSx/jwPEz+fV6l+5w/5eiJP1y3fu63nLJQGSfj 7Mydu324wCwlqei66GrfBTA5HrV9io/R9KM8GXn/jJWK6UBK5YxsEXAE8mJqnnS7T3MC 7VLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=fr1OHq/Y0F9EXyjJfE+Cc02kHVOPdqYGSbtmI+oAs6M=; b=W3K63XDRoxo0SVWEWrzOBqcaq3032il/GWk9VhYBWRlpKVkdVOM5x3+ZfVqcwbDbo1 3MG3I9yMAt8xVqwd4/hMdhWO5ygDEA8+tcmCuyCHLrgRcGQ/blZVpkIWd2u7/9BU5k9G jTU0IHvI5QkMMHp3A4BpobfUpvCj3jrC6CIi4kQm4isud+eI1HNJXzxGkNHrVUMhPXwY 0+iEfgbgyyJNGcPDiaF0JVPHmjr8X0iBXHGBMDmhNU/sPbdeJljpgD/pLhAzNmI4otyQ 26sxDjoBG618uNtScknOmK2JJffSKWzzq+EwtRIMplYU/VU/2KLRWpJ6W9KCEwgyofBa Z1fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wEbweDm9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs17-20020a1709073e9100b008b2c034ca3dsi4228162ejc.744.2023.03.03.15.25.26; Fri, 03 Mar 2023 15:26:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wEbweDm9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S232378AbjCCWZe (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Fri, 3 Mar 2023 17:25:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232342AbjCCWZQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 3 Mar 2023 17:25:16 -0500 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D28258211A for <linux-kernel@vger.kernel.org>; Fri, 3 Mar 2023 14:17:49 -0800 (PST) Received: by mail-ed1-f41.google.com with SMTP id d30so16006163eda.4 for <linux-kernel@vger.kernel.org>; Fri, 03 Mar 2023 14:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677881511; 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=wEbweDm9TV33DH3ahVfY3Gs2bB/4ZYrFxDmyAsw/+BeixCRA0GpUxsrT2OMTJKnWON aixExO850/mBdmaSj7YtdF7i6ZNVj/8z39/Q076CYgC20x4SNM7f3BuJzOmAZAs+6LXk rotGfu+NedRGM8GzNuFDUp5MqSsI+/nX6o2ZmDRZ/H+BEdgr//qB2EmNv6qOE8jAjeMo fNvQHmSpx6J/AhiSzx34RBpzZI7aWhYwP6p2wGEpCr5RsMkaN3VwU/VOPesj+7EKmDsp PpY166FX0dVQoAxKXdmj5zwgEV8E5F9gpHTMUjbNAvxzRkM/9jNAZEf4T/MQ6jH3t7A6 nc8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677881511; 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=eBdOMFYsh8Z2/3pbuZk+MMXJx+c7WfV3KcDA7Faey9kuk3MiP0JqbigP1QNKEq1wM/ 6e/K+1nHc4VrhtQO9RUwSjtUEJGEI1/dNsu81MgZS97RYMRGoAwzKaEh5sOBQ5N+Bolz hQKWP9XZtha/ZiRNX3lHWYTzKhYla7vNsXXTJaQg1mZ0f8zXMO1HDwiRwBH19rqOc2Vz eahVfJigDBWBPZuqUZFx1pIa73V5UZZLu5x+WGSceYspcr2oMfSccwuKf5dTwjncQGMa PKi29h8xX+gdJUAbMAYDwcX+5CCKVz8lNeeZlRE6p5Tkd1Bv5xuKNeGSJUIgGv0Egb9C vkuA== X-Gm-Message-State: AO0yUKXC+bsX1/erafjc8qlOUSAdhYJwVZyAb13BoQ6SgPcr3aDKBkiL Pat/+T8R6KbqJ4+xaXO1hDyV60GH3jx0WEJYIP8= 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 <konrad.dybcio@linaro.org> Date: Fri, 03 Mar 2023 22:58:10 +0100 Subject: [PATCH 10/15] arm64: dts: qcom: sm6375: Add TSENS MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 <amitk@kernel.org>, Thara Gopinath <thara.gopinath@gmail.com>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, "Rafael J. Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Zhang Rui <rui.zhang@intel.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Georgi Djakov <djakov@kernel.org>, Sibi Sankar <quic_sibis@quicinc.com> Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> 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= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759390963238096445?= X-GMAIL-MSGID: =?utf-8?q?1759390963238096445?= |
Series |
SM6375 feature enablement (round one)
|
|
Commit Message
Konrad Dybcio
March 3, 2023, 9:58 p.m. UTC
Add nodes for the two TSENS v2.8.0 controllers present on the SoC.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
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 = <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; + 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 = <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>; + 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>;