From patchwork Tue Aug 28 13:38:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 145319 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1203698ljw; Tue, 28 Aug 2018 06:39:08 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYLV7iSFsrA/Tx+TxbE8e+nxhI69JJeu1W1Baa7EQ6GRkPg0s8dfOQWTL7vsD9YHBwcyux5 X-Received: by 2002:a17:902:24e:: with SMTP id 72-v6mr1686994plc.74.1535463548454; Tue, 28 Aug 2018 06:39:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535463548; cv=none; d=google.com; s=arc-20160816; b=ccMAixeQbRNDIf6FijAm48sH8UsuU/OKrrq6a66qhgWryARnhbjvl0EqAJjVbz/Zpp /BTQPUh2E81dqB8+aRO3UlWAOiI/czU6UKbFMTQtzqrq87W6hsqWBIHsWzjREKUrp3JP TSCmtXE+SIvKN4RZImApkSXZ45rxKTB4nTBbkmiqBuZcRnkEZO38vIug820Lv4GXf/1T egikGmmTje/u+44sY3Yjrkwjaa+dcVrtBaSFP9ff4itfH+LhUHVOLx8dYxdb0cUMjDr3 T7GUtlbDOFJ49KAj2iBfuUXPlpOQkCGL2KjpdJQPC78qblKWiBV6aNGnzEpVgeTV8wtf bY6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=68+Vu+lQWHojtoyEFuI2o+33g2Xv3HxIF7ejjTszY6c=; b=sELaetPZBeqmEO46NcaECXLvp2eAtTOOPQq2HMrbGV/ZStAHwPFfWjte2JoNm6YONq l0dKty41rui3At9ZQ95IhvuxhtlISKpPjtdt8Jmcx82E3s0FV8UaW0JLyq8afEeiEMLP lvEx89Xk3g0fQghrfH5h5rwimojGUwElQXP45AgYt2n+MVbcS6p7FhkZSTzSQd7a9S70 /cwb8wB8ebagchDiaMHBFDaq16tdnTQqRu56cUmtROHDlX9+5DsgKonN1QCnkLKCa0sF voRl9UW3ey8JuRxhPvyXda4KwH+XEyxCbrSoUuhLLqrMJ2bgVJcKN1qZdlHEGzz3dPGa uDuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SOGRxD30; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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. [209.132.180.67]) by mx.google.com with ESMTP id y193-v6si1043163pgd.512.2018.08.28.06.39.08; Tue, 28 Aug 2018 06:39:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SOGRxD30; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727385AbeH1Rat (ORCPT + 6 others); Tue, 28 Aug 2018 13:30:49 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:39082 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727342AbeH1Ras (ORCPT ); Tue, 28 Aug 2018 13:30:48 -0400 Received: by mail-ed1-f67.google.com with SMTP id h4-v6so1404364edi.6 for ; Tue, 28 Aug 2018 06:39:06 -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 :in-reply-to:references; bh=68+Vu+lQWHojtoyEFuI2o+33g2Xv3HxIF7ejjTszY6c=; b=SOGRxD30exOWpoDV2OGbRamp96wEPhPVG/dSE0/Rhpw1p3uWDu0VB1TU2fztYQduUa NicRk8TODj2x0Sy0bWFRWZLmUm+0RJLKO/Diavtim7ZEBkbSW+5EJ0f4iPqFOm27YJV5 jORaVpjrGWycYExZu6NIsRBFlLOoKcdSaJk5s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=68+Vu+lQWHojtoyEFuI2o+33g2Xv3HxIF7ejjTszY6c=; b=YqfqU3Qx/7xSq3+aq5MbDoS3m5ltgpxdIrfhhCDZ9Chj2mOaZhzNU15N1PZjVJ56cR Q6Le+r1lojW8iTjWNPYPIenJQK8YJ+mJmbtHVr4mh6oMJKs3448dfeL87Ao8FGijJ5oV BUHLFxjJQydQzQfrZYb8kOzRFy5HsVglYSfX7EcWOz61cOMTwyb0zbaaSCwa6YNu+AKP fmLv7NshqnEQBWP94aqw1BQsLxpvb+6MEQdfcz1NB5djv4cfyXCnZlmST3VAnvaPyXDG zknVyz2twBJdyizdHlsJ/ttwAu3c0f1ngJmtHNe8P4EE6ORu5XIMLly8zEd7/3YLqEjG nhJg== X-Gm-Message-State: APzg51Dug9pamDKwdJPLle5MrZ5YldtaUgeu9fX+Bb3SBvf2jGmLdXzo A9y4ZcFQvW3MI8AqVu86FRMRnw== X-Received: by 2002:a50:8ee4:: with SMTP id x33-v6mr2488157edx.252.1535463545430; Tue, 28 Aug 2018 06:39:05 -0700 (PDT) Received: from localhost ([49.248.200.109]) by smtp.gmail.com with ESMTPSA id c28-v6sm722599edc.52.2018.08.28.06.39.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Aug 2018 06:39:04 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, smohanad@codeaurora.org, andy.gross@linaro.org, dianders@chromium.org, mka@chromium.org, David Brown , Rob Herring , Mark Rutland , Zhang Rui , Daniel Lezcano , linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v2 01/11] arm/arm64: dts: msm8974/msm8916: thermal: Split address space into two Date: Tue, 28 Aug 2018 19:08:30 +0530 Message-Id: <882739b10bd0a3b655baef9b7ee1958680aa0b04.1535462942.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org We've earlier added support to split the register address space into TM and SROT regions. Split up the regmap address space into two for the remaining platforms that have a similar register layout and make corresponding changes to the get_temp_common() function used by these platforms. Since tsens-common.c/init_common() currently only registers one address space, the order is important (TM before SROT). This is OK since the code doesn't really use the SROT functionality yet. Signed-off-by: Amit Kucheria Reviewed-by: Matthias Kaehlcke --- arch/arm/boot/dts/qcom-msm8974.dtsi | 5 +++-- arch/arm64/boot/dts/qcom/msm8916.dtsi | 5 +++-- drivers/thermal/qcom/tsens-common.c | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index d9019a49b292..56dbbf788d15 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -427,9 +427,10 @@ }; }; - tsens: thermal-sensor@fc4a8000 { + tsens: thermal-sensor@fc4a9000 { compatible = "qcom,msm8974-tsens"; - reg = <0xfc4a8000 0x2000>; + reg = <0xfc4a9000 0x1000>, /* TM */ + <0xfc4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_calib>, <&tsens_backup>; nvmem-cell-names = "calib", "calib_backup"; #thermal-sensor-cells = <1>; diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 7b32b8990d62..6a277fce3333 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -761,9 +761,10 @@ }; }; - tsens: thermal-sensor@4a8000 { + tsens: thermal-sensor@4a9000 { compatible = "qcom,msm8916-tsens"; - reg = <0x4a8000 0x2000>; + reg = <0x4a9000 0x1000>, /* TM */ + <0x4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; nvmem-cell-names = "calib", "calib_sel"; #thermal-sensor-cells = <1>; diff --git a/drivers/thermal/qcom/tsens-common.c b/drivers/thermal/qcom/tsens-common.c index 6207d8d92351..478739543bbc 100644 --- a/drivers/thermal/qcom/tsens-common.c +++ b/drivers/thermal/qcom/tsens-common.c @@ -21,7 +21,7 @@ #include #include "tsens.h" -#define S0_ST_ADDR 0x1030 +#define STATUS_OFFSET 0x30 #define SN_ADDR_OFFSET 0x4 #define SN_ST_TEMP_MASK 0x3ff #define CAL_DEGC_PT1 30 @@ -107,8 +107,9 @@ int get_temp_common(struct tsens_device *tmdev, int id, int *temp) unsigned int status_reg; int last_temp = 0, ret; - status_reg = S0_ST_ADDR + s->hw_id * SN_ADDR_OFFSET; + status_reg = tmdev->tm_offset + STATUS_OFFSET + s->hw_id * SN_ADDR_OFFSET; ret = regmap_read(tmdev->map, status_reg, &code); + if (ret) return ret; last_temp = code & SN_ST_TEMP_MASK; From patchwork Tue Aug 28 13:38:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 145328 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1204692ljw; Tue, 28 Aug 2018 06:40:04 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYncoxCfzbmq9CopLSls+95gI7TAoQocm88lv0daMqQZKgzOmdJTtamuWaMxqq8xFEJD7UE X-Received: by 2002:a65:520d:: with SMTP id o13-v6mr1679225pgp.282.1535463603969; Tue, 28 Aug 2018 06:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535463603; cv=none; d=google.com; s=arc-20160816; b=FIbPROsxhvlxmwDVwUwds5OV1giKY8SobMJIYUytHbUhA92BOe/PDAGmGQ2nGLLYqS Epij8s2Z084rzHuTDheCF5UcHnEskrz5QkWsIfSzpfAZLHG5FnaB5hXwl6SHIE/QkOO8 VbduJProI/Uowt+kubVfie28bnwpQnx6RPaCubQerhBurPCBnWAF1DD2FpAshel4OXAl /h4VT6cJhHEthfRi/2ujZjG9LXNbae8QGlywXatR5MVEL10r4KcSRToWIvMJu4iBLwyS /6xxLpridQUc0mRsrTHnU72bv0Wp4KLZ6hVdASCUERJgpxzP7EKT5xjMldeqZ+tRDl+X qFWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=FWtE2KHAkIFSXULL6Im8GoFyV1IDELD6oCaUTCMaqb0=; b=HPXARuoYI6/I7KprxZqQ/n3semKTxNhxrBvJq27gfBHvej9fsXIf5st88FWQwGXtfF He3+cS44vwGRUp9Lgw3K6OJ1NLC36Tqadq9JTMxGMt7jJDOTkeUCQfKbcryjm0naCg+9 cX2yZeDngV3KdJg3F8DHmbArwrGyRfq/OzzbUN+RKYwFEQlzYHb7RFcXNHcQMozvdTrh WEcuasWDR6XWJ7X7i6u1uEF3CBneteiHKblKsWRxXFWONnqJLqt5TZd6qfVo/6XvyV+X WiuS5ic+DoX6HTbwDw+8OsvYNzeiRZQhrYMeZHdib9H5cSMf/5XytbyOl9ZrVUVgwGW8 DkKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TtaQQKn6; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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. [209.132.180.67]) by mx.google.com with ESMTP id g9-v6si1151575pli.494.2018.08.28.06.40.03; Tue, 28 Aug 2018 06:40:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TtaQQKn6; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1728251AbeH1Rbp (ORCPT + 6 others); Tue, 28 Aug 2018 13:31:45 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:44702 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728249AbeH1Rbp (ORCPT ); Tue, 28 Aug 2018 13:31:45 -0400 Received: by mail-ed1-f66.google.com with SMTP id s10-v6so1386605edb.11 for ; Tue, 28 Aug 2018 06:40:01 -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 :in-reply-to:references; bh=FWtE2KHAkIFSXULL6Im8GoFyV1IDELD6oCaUTCMaqb0=; b=TtaQQKn6E5T7uiOcfEEX2wR9pnXW3yLleJRbxUGSNtR47cytkF9HTdC2ARR5luJsYz 4inSqj/mFFEz13Q9FteyGEIx3caxj2oaPnyYDBOFwCzKG1FFNsBGw71GlilL8Ipvdv6S kOTsFgps83r6fnn7dgSzfkchVVkeqf86ufWe0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=FWtE2KHAkIFSXULL6Im8GoFyV1IDELD6oCaUTCMaqb0=; b=tM1oN9/QFx7/4oAc73X/xi14+IEHJyBk3Z4Qo6yiQwBNX5xaKVM/JB0N/G3tHEje71 3epQGjNIwELdi8RUZkBNinO9b5oKpeOoFDdXwN/dtPjwtlzKOFJ22U6LUzGo2kOxy56m M4DklAEO4v9ibFPYlCSb5ne8jhJ53kxaCwMkdFyGjInP/HZutknZsNBjH1U2HRYfHuOY qDvDeRiYq8TwNggkqQFMMZ9/NFuJnHq0yDd5iYSpvb34T+vVoxwCdRgCtlw1XHkNVqHc YV8tc9q5nkvgd2oSXfiHk0wMs/t/93rf95ekqJuueQEBCG2+a8GomfUprzvitL6ykBh4 Pa9g== X-Gm-Message-State: APzg51AOKGW6tw/1BlUWVJiMWHoE1Skx70SIY08c8jiUe+RbUHrFob54 baRxiuy/3rt9ug9LZHUpYNGxyA== X-Received: by 2002:a50:9aa4:: with SMTP id p33-v6mr2525342edb.156.1535463600983; Tue, 28 Aug 2018 06:40:00 -0700 (PDT) Received: from localhost ([49.248.200.109]) by smtp.gmail.com with ESMTPSA id v1-v6sm556567edf.3.2018.08.28.06.39.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Aug 2018 06:40:00 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, smohanad@codeaurora.org, andy.gross@linaro.org, dianders@chromium.org, mka@chromium.org, David Brown , Rob Herring , Mark Rutland , linux-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 10/11] arm64: dts: qcom: Add reg-names for all tsens nodes Date: Tue, 28 Aug 2018 19:08:39 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Instead of showing up as thermal-sensor@, the nodes will show up as tsens0_tm, tsen1_tm, tsens1_srot, etc. in /proc/iomem making it easier to read. IOW, 0c222000-0c2221fe : thermal-sensor@c263000 0c223000-0c2231fe : thermal-sensor@c265000 0c263000-0c2631fe : thermal-sensor@c263000 0c265000-0c2651fe : thermal-sensor@c265000 becomes 0c222000-0c2221fe : tsens0_srot 0c223000-0c2231fe : tsens1_srot 0c263000-0c2631fe : tsens0_tm 0c265000-0c2651fe : tsens1_tm Signed-off-by: Amit Kucheria Reviewed-by: Matthias Kaehlcke --- arch/arm/boot/dts/qcom-msm8974.dtsi | 1 + arch/arm64/boot/dts/qcom/msm8916.dtsi | 1 + arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 ++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++ 4 files changed, 6 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 3c4b81c29798..64c9f81ddd90 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -431,6 +431,7 @@ compatible = "qcom,msm8974-tsens"; reg = <0xfc4a9000 0x1000>, /* TM */ <0xfc4a8000 0x1000>; /* SROT */ + reg-names = "tsens_tm", "tsens_srot"; nvmem-cells = <&tsens_calib>, <&tsens_backup>; nvmem-cell-names = "calib", "calib_backup"; #qcom,sensors = <11>; diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index be27d8dc9e6b..c172731625f3 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -765,6 +765,7 @@ compatible = "qcom,msm8916-tsens"; reg = <0x4a9000 0x1000>, /* TM */ <0x4a8000 0x1000>; /* SROT */ + reg-names = "tsens_tm", "tsens_srot"; nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; nvmem-cell-names = "calib", "calib_sel"; #qcom,sensors = <5>; diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index cd3865e7a270..ac1d30006e6a 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -381,6 +381,7 @@ compatible = "qcom,msm8996-tsens"; reg = <0x4a9000 0x1000>, /* TM */ <0x4a8000 0x1000>; /* SROT */ + reg-names = "tsens0_tm", "tsens0_srot"; #qcom,sensors = <13>; #thermal-sensor-cells = <1>; }; @@ -389,6 +390,7 @@ compatible = "qcom,msm8996-tsens"; reg = <0x4ad000 0x1000>, /* TM */ <0x4ac000 0x1000>; /* SROT */ + reg-names = "tsens1_tm", "tsens1_srot"; #qcom,sensors = <8>; #thermal-sensor-cells = <1>; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0c9a2aa6a1b5..f1a36d6829cf 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -966,6 +966,7 @@ compatible = "qcom,sdm845-tsens", "qcom,tsens-v2"; reg = <0xc263000 0x1ff>, /* TM */ <0xc222000 0x1ff>; /* SROT */ + reg-names = "tsens0_tm", "tsens0_srot"; #qcom,sensors = <13>; #thermal-sensor-cells = <1>; }; @@ -974,6 +975,7 @@ compatible = "qcom,sdm845-tsens", "qcom,tsens-v2"; reg = <0xc265000 0x1ff>, /* TM */ <0xc223000 0x1ff>; /* SROT */ + reg-names = "tsens1_tm", "tsens1_srot"; #qcom,sensors = <8>; #thermal-sensor-cells = <1>; };