From patchwork Wed Sep 12 09:52:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 146536 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4618875ljw; Wed, 12 Sep 2018 02:54:30 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdaytb8p1xzxSyFVeU3jy5RBlYs400ompQ8QpD7McOn7rAlu4anhiyWKkRQ8Uy6AP6BUPgcq X-Received: by 2002:a62:f208:: with SMTP id m8-v6mr1305042pfh.222.1536746070531; Wed, 12 Sep 2018 02:54:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746070; cv=none; d=google.com; s=arc-20160816; b=TONbQoW+X1PvZf2+49wvbQURSm6ZmvFuAy6yvhXbuJ1EU3wc4mZbac41q3aWDCnPg+ TVl0XiCedBoxgin9jsoxLwYsmXk2cSb2nlsjC8hAKmUjBmwcO9pa5PQYX75jwjw8uxkY dLpvdw8zxvVtCmuXfJvjV7JrqvSdAE9JQjBM08X72sJQjGX3av6TNTM4J3o4wsmOg3zb R6inhIf+Anvb6T62xg4A3oLaNW7Niv/wHTfLl/t8eWmgeCFPTnJdkgdc28G3BU3tSzCn gXkRr+eH6G46YIRicnDMpuD5xT8uac/oCYK1GragrYuvgjZkZaXkT++NkuvHuJLajcRi PaYg== 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; bh=riG+y2OQmTlvhmbDhsUEl+RI4V/hGhEUB0MS2rrQeBQ=; b=V655mkpa+HvxaXhrDDJqb51OW6Yq0UC6pnE7et0eAyXzVaaLLNZcFMwHMmE6cNRdeg 3JpSo50B9Uj0wDlZvsGhiBocJRVTz3H/+nOJd0/a+WSVBdkaJw3v07VmA1ALhgnLT1OW WVnUP0snV4DqWBRndQ5+fHI6msJQFn4ugOdZa7zyet1aBs3tpYn1pZsEPE7eEYOFtP+T 0QCvc62ApZk1IPi2tLiGGHRJmGrMyYKqnyEJaP273mrHP+Bc7Dy5uinlx2P+3I5UNjmg 8n7QBnWpARcaW82O5Q5VaPIHipMhyEPHerEBeZ6FFkR6l1fd6xvHnep0DmMBjPqySiQB tQ/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J7iNXgPx; 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 g5-v6si521608plm.445.2018.09.12.02.54.30; Wed, 12 Sep 2018 02:54:30 -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=J7iNXgPx; 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 S1727796AbeILO6P (ORCPT + 6 others); Wed, 12 Sep 2018 10:58:15 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:34833 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbeILO6O (ORCPT ); Wed, 12 Sep 2018 10:58:14 -0400 Received: by mail-ed1-f67.google.com with SMTP id y20-v6so1275892edq.2 for ; Wed, 12 Sep 2018 02:54:27 -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=riG+y2OQmTlvhmbDhsUEl+RI4V/hGhEUB0MS2rrQeBQ=; b=J7iNXgPxBSZ+pki5xkFgN0QR8tpRD4VGQACWhqUWNwi7rc+e0kureuFPWn+6dNadnw Gk8mV9fDNXq68e+GmyyOI1J/pAGAkSxokIpX33cahxTw07n8xjiU0hBVxu95NGfBefQc eK/B3u36f2wFA5kIQ6PwGQHuJqFwLVPFfi0OQ= 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=riG+y2OQmTlvhmbDhsUEl+RI4V/hGhEUB0MS2rrQeBQ=; b=qzpBGxq5bcN9NU0Roh35VZB+cTJsYAMRV98nLyh+u6xbp56o2KSsWp0TND0YR7Jx/L MZ89oAF2n2ERhu85p2CnPhR3txAQ0o8fzLPESeK43YDES4Kd/mfLG/lp6/1rmQdY6dZq Nf7E0bAzoQkcbX3Y9QwQvIZQh8f+xPeXnABhmIl9idPyB2t5aBO08sFmUfa4SqeS6BFM Ae3hEEKrZK7GKLp2NUI4DCr8chYa9K5czeVy1HQOEJfYOTeS+kUU6dZJ3hS10uS9LoRH 18murgHlZ4EZPoMxxemWrorAFXeZyRpC1U51Ja4brBDCgW19LJsB9wPGTi3So3wAlsRR 1YmQ== X-Gm-Message-State: APzg51CVqVj/cFl0GIlYcOS6KfKwfJ67NvNMm0VSQHQUhW6J7vFr9Vod AquD4PZhI4sCr3qnv05JSS4Wog== X-Received: by 2002:a50:d90e:: with SMTP id t14-v6mr1766863edj.241.1536746066927; Wed, 12 Sep 2018 02:54:26 -0700 (PDT) Received: from localhost ([49.248.190.214]) by smtp.gmail.com with ESMTPSA id x22-v6sm397969edb.8.2018.09.12.02.54.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 02:54:26 -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 v3 09/16] arm: dts: msm8974: thermal: split address space into two Date: Wed, 12 Sep 2018 15:22:54 +0530 Message-Id: <088724896f21d556ecf1e16a6c59c0e404444fa6.1536744310.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 msm8974 that has a similar register layout. 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 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.17.1 Acked-by: Andy Gross 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>; From patchwork Wed Sep 12 09:52:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 146538 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4619002ljw; Wed, 12 Sep 2018 02:54:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ1ss6zq8es8Vg/cXy5ObqSnfDG8vuFfXeqXhhVqOrICUjtX0LUlLn9kk+X16hWlke3BGTp X-Received: by 2002:a63:69c3:: with SMTP id e186-v6mr437402pgc.431.1536746082037; Wed, 12 Sep 2018 02:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746082; cv=none; d=google.com; s=arc-20160816; b=onOvSmohVGhqMmzeCAzradWmPMLx+I16siPrOJQF6BUoqdjSyF30M6g4YIHaw7LiWg TghBnBdySPIvcfUUUIc73kHQtKrwF6lA8x4N9xWlUaePNAgsxp7uOTBw3Qk+lQUqCy4a 1qAMjToK9V0iIjE2l1UBtSnLwfNoRvPNnBV+WxH31Dfz7kUKmV0yzl166YP2GCs82t8b Wxa0B5K2t2BbBWVEi4ibBh48XU+LIyIz5rdGtYZjxNCkqVWZYGTBffizX2f87gEmHIoz zxbk1dTbxt4xb0PCrLlbKCSnhQAG6GYZmA3ObbxJUF2dGQgu4P9j7CrFaRQ4dteIF6Nl Bulw== 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; bh=AoTONnO9gvGlM+s9G7sNikqckYDMU08TiwiZ5wtVpvo=; b=tFyW9vXHICBjHZWLKZHQSr/eqOJS8F4O5J2Li0eQJGD7GP9b9TpH2uzbwng2mgkcqE SHmdn+H4Owb6zOK7ZdjAmS9kYTS8s6Gwb/wmFiqZui+zl8Q/sGURwWIKfQ1BF+loPhSj Mkl2g+zRM3fQWX2M3955zcDzqkX9eiyZ0re2Al3PV/MiIhsdDRpv4hP1Etja8hwcQJ0N Q8QqXOKd+VUYk9AdWjJCLI7FeZA9ZGC1nvLyeDftwf6tmdlElDETW/mmjznnvB9mCwtK jSrZSooqvUqRzZvra5yLC06+anlHXVq4Th4N86pN5JBNsyCHCOHbbwBRQRqAMIewtW9/ sxvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L8Io+yXV; 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 w10-v6si524500ply.267.2018.09.12.02.54.41; Wed, 12 Sep 2018 02:54:42 -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=L8Io+yXV; 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 S1726821AbeILO61 (ORCPT + 6 others); Wed, 12 Sep 2018 10:58:27 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:42247 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726743AbeILO61 (ORCPT ); Wed, 12 Sep 2018 10:58:27 -0400 Received: by mail-ed1-f66.google.com with SMTP id l5so1245021edw.9 for ; Wed, 12 Sep 2018 02:54:40 -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=AoTONnO9gvGlM+s9G7sNikqckYDMU08TiwiZ5wtVpvo=; b=L8Io+yXVw7SDtN9uE3cEXmDzZK5wrsw2lyR4SN0SUevUW3WuCGrEcUliR/I5IFBiGx 5C19uVo4W8zfULGHF8fhTen1JWGLXs7EHg5coWe7uMK6YrrOGh/xLii2cEF9Q6bbX2p+ QMefehGoHxyDKuG9rdT6WfUEQcLvFd+GNk7eQ= 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=AoTONnO9gvGlM+s9G7sNikqckYDMU08TiwiZ5wtVpvo=; b=KRomiyvrteBWm/qut60KEZgkZbr4RB906xtDihRpmT4dRv5B7zhNEV9vL1pm+g3s2k KQONBzyLiBJxCZ2QxXvxKlpDlKY/AFn06DvzDOY/qQUup39za+GvIpkdnauWP4+RVzWv PAIcenlnORAsMFYUhrl0qmAxQwW+QGEG9ZeL++dgK13rFHMOX/wHguobrtku7bHz4emQ 55Y2qZ4sqnqDuLwK5ahGPHaEt7y3OzW9yacnrAwkPuBgAiGk9dGW0IhHxKDqzVuvG+CL gXnAv9XcC9boG2eOwvzbPt/dS8JueeJIIjW6Xcv5qhlluexanOu+DbFTsxdqw4KIlrxg dxvw== X-Gm-Message-State: APzg51D/9iLWy30GU30PX87BQI0D+3/kWagcaO+xTME/6WuMhE3nrkYR fkSq/NnXqt3kQv+bqdYsIIm5AwQFSgc= X-Received: by 2002:a50:c9c3:: with SMTP id c3-v6mr1865670edi.56.1536746079340; Wed, 12 Sep 2018 02:54:39 -0700 (PDT) Received: from localhost ([49.248.190.214]) by smtp.gmail.com with ESMTPSA id s36-v6sm457740edb.56.2018.09.12.02.54.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 02:54:38 -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 v3 11/16] arm: dts: msm8974: thermal: Add "qcom, sensors" property Date: Wed, 12 Sep 2018 15:22:56 +0530 Message-Id: <98b41f976cbedd0e93d7988f0b3cd3ae8b911414.1536744310.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 This new property allows the number of sensors to be configured from DT instead of being hardcoded in platform data. Use it. Signed-off-by: Amit Kucheria Reviewed-by: Matthias Kaehlcke Reviewed-by: Bjorn Andersson --- arch/arm/boot/dts/qcom-msm8974.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 56dbbf788d15..3c4b81c29798 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -433,6 +433,7 @@ <0xfc4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_calib>, <&tsens_backup>; nvmem-cell-names = "calib", "calib_backup"; + #qcom,sensors = <11>; #thermal-sensor-cells = <1>; }; From patchwork Wed Sep 12 09:52:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 146539 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4619086ljw; Wed, 12 Sep 2018 02:54:48 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda5B5L/44QMGMqw5mhsgCs4rzxx3/Y/6dfIznW7k/0cCQ0pbFDPDQkPfQgk+he0KZ4gsfY4 X-Received: by 2002:a17:902:b70f:: with SMTP id d15-v6mr1284012pls.53.1536746088120; Wed, 12 Sep 2018 02:54:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746088; cv=none; d=google.com; s=arc-20160816; b=F/sr8c+S7rpUeePZY0jsTdadhkx32ZuS9XN7TQHhjvfTz6r8J/L1jO4DbDaqQWS0E7 nUWiQ7puDGeMM6/lZqmY9pDGcIvtwTA8U//UXcz4k8UUDlb6y3EJxpiabF8Y/xmREP5E t2Dqf/ltDhXYqZLpJ1e7DsYiB71nPCgZRIr+rGsZFOV2lxg6iKnt2Kxo9rK3ROXwGUFk M4iOGPrFDie2SHHpUI7WP6+azEgd4PV6JpgOlcNCkOA1XBZOwGUA13D6seG4vdoLVFtd DNr5jzXcI+zdcHruTRr0RIJAusC3+jHtc3vN5atlOurU4OKxqCRwypf17KzaiYuLE8LT Rwkg== 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; bh=bVjNpCvKofUtyuEFgDB619KdrCitoQrvjqmhD8sWb0Q=; b=GC12SpDkvXgj8hwnzvCOfYmrdoV0Ha7VibVQmhqvGFpwZqjtjTbX8/1j6McyM394Eb 3y4o7Hqo1q+ZIRg615JdcUDn+e6VGV4qu2nC67DasFyQD4e9b41hC7J2l/ACd5T3+0Xf A7I+n2Swq3u0TxIFKy/xXnVFC93WK9f3Q8o7HdG2enKm56AnAaX7TfVUvibahQNwTH5r ykY+BbBm71l3X5siqirj6vkbXc95QapOP7f3VOOMpYloaIYLw46fso7euaNtlC8eXwa7 8O3IYr/hc27TqgE5C7qrYiUG9aMguq1yPJOF37rKGVtZjPQx63Vy5pyaeknsfzXmyPHe 5g8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IcSVCHTN; 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 68-v6si518950pff.55.2018.09.12.02.54.47; Wed, 12 Sep 2018 02:54:48 -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=IcSVCHTN; 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 S1727007AbeILO6d (ORCPT + 6 others); Wed, 12 Sep 2018 10:58:33 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:38367 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726642AbeILO6c (ORCPT ); Wed, 12 Sep 2018 10:58:32 -0400 Received: by mail-ed1-f65.google.com with SMTP id h33-v6so1261832edb.5 for ; Wed, 12 Sep 2018 02:54:46 -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=bVjNpCvKofUtyuEFgDB619KdrCitoQrvjqmhD8sWb0Q=; b=IcSVCHTNXhHda/x9tiTzq9MOaZs54JeUf+mlC3W5MO5gpC6vb5PMyqofYLAvqUI+ow jWBxwpgkZLSiyFj43C08+pry3/HcFCEijolxIerMwbojJVpxQgnmiWt57YPCQq0W93f8 rS/OYttZ+j/JAD/kKZcIEUEkVTbl491Os0Sns= 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=bVjNpCvKofUtyuEFgDB619KdrCitoQrvjqmhD8sWb0Q=; b=OrEcn3oxuA+WtESSo2qEMZyn5j77PbV5m6K0kFuLfGYz5E+AdAZyNb5y2Xo7q4QGOz 1O7gqU3bTxTAwy9qBbaZPnMHnGuQOXUm6a2uaYsEBjaIvyTmefWkm15l2xT4t8cRaW6k C6KNEFmwLKUeYpZKA/oAlylcSiHnQlBq7dIfgC/4H/9ivbG4ew3dv2aLH2BTKo9E4xiL fWn0f4PmIrwCeC7BqA6i9YZAgMQmd4wCglb37jvWDVLHHg+nfc6ZRsbZTkutllP0nF+4 59OS1KVmL8TdN8G/ihREdh1NL9sXncZeKDuskvN8uDkKuzSosmm78Y61pd8i3HENton9 rywg== X-Gm-Message-State: APzg51CKfT8jhGxPZHhjX7zzkBo3Ae9lmLCc3wKCf+KmQqezqtpN6nbC M4DjHeQDoQgsznomYVOjc6RAwQ== X-Received: by 2002:a50:96c4:: with SMTP id z4-v6mr1865390eda.14.1536746085454; Wed, 12 Sep 2018 02:54:45 -0700 (PDT) Received: from localhost ([49.248.190.214]) by smtp.gmail.com with ESMTPSA id i19-v6sm398734edg.64.2018.09.12.02.54.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 02:54:44 -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 v3 12/16] arm64: dts: msm8916: thermal: Add "qcom, sensors" property Date: Wed, 12 Sep 2018 15:22:57 +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 This new property allows the number of sensors to be configured from DT instead of being hardcoded in platform data. Use it. Signed-off-by: Amit Kucheria Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 6a277fce3333..be27d8dc9e6b 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -767,6 +767,7 @@ <0x4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; nvmem-cell-names = "calib", "calib_sel"; + #qcom,sensors = <5>; #thermal-sensor-cells = <1>; }; From patchwork Wed Sep 12 09:53:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 146542 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4619371ljw; Wed, 12 Sep 2018 02:55:07 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ+RKlfeNlIJFtMZ4QnFKXL7EZ11DllUo7CAsEQzS+/uhQCSfv38MOqgvEI6p7h9uhCBJ45 X-Received: by 2002:a63:8f17:: with SMTP id n23-v6mr1262820pgd.131.1536746107382; Wed, 12 Sep 2018 02:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746107; cv=none; d=google.com; s=arc-20160816; b=MjHmN9Yo4RuvbG0ztD33y7b6RsD+7vgmyaktu0zCc4OkOwmW89rOsM1y+26+3xg1Xd Bmp0Hl6iSnLgv1BB/t/plOr4SuC3jwNLqhFZFq+0BAkZgucIApkP1h/hJsLjxiqvnczI AdZl0DouKmXN6WEfMofXTq+JI+QZtLduETELetWa8/LYqwBd84VhwBSyynGJNXRfEa4e q8TinzIg2MxXx3viuh3OMQ7XXyFs5wGnuhod7emZS/Az2H0/A065+joHfeR0HQ5Hn5dp lUEqb1Czwpn3nIplXlh6ukUgltVukPxqmjtfWOwuGG37VWP4l0wg11JLutZaIqQi/EVP bVJg== 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; bh=YWY514Ho56MqP+3xVlX6Wcdqohkkp5DZVbhXeb5xcpo=; b=aYN3QixbUtrUZqC/2B6X5Z0bYMECH3bwzl4YZ4SGETbwxLRqMF5jncpcplwo7/dRg0 FaQtU08kdgwNoAw9DR5vOqYWWpdo2opZc3vjQUJnyI2qd5/NDZ/7yepGdU39Ym/hTyQF /T5Fk5sJJ+14riyCM/oPiwD8hvtHPeHZIjFA7fbJe5EJSdNc6Zqe+gFQLBlX3cyRLpXi wZ/rgeGO46MXqxdCvOycTkHYeB6VeypxVMYcM/yFNXrSs05n+MAsd5CcfJ5ldLFxfTsq EsPbA7yVYL9PsVVxYnEwCW4nXxT5o4Qpmv0mtg3wuFUYEdQn5udxmV/7t6p2UnGpxY/p 7CCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IxOuWwRY; 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 l1-v6si549672plg.285.2018.09.12.02.55.07; Wed, 12 Sep 2018 02:55:07 -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=IxOuWwRY; 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 S1726782AbeILO6w (ORCPT + 6 others); Wed, 12 Sep 2018 10:58:52 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:34297 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727150AbeILO6w (ORCPT ); Wed, 12 Sep 2018 10:58:52 -0400 Received: by mail-ed1-f68.google.com with SMTP id u1-v6so1279545eds.1 for ; Wed, 12 Sep 2018 02:55:04 -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=YWY514Ho56MqP+3xVlX6Wcdqohkkp5DZVbhXeb5xcpo=; b=IxOuWwRYpJkUsVrLRpCfzYi4uv8X52mWzMaPrOdfDb9B8/iwDZqUxEhV92wc6WOSW8 xXq2XobjiJ0f37w6Os+R307z+o+hXXiiQeFHSw0uteDUFfOxw6hv8Em9uuxK58Q4MrvF pcE+CCM4xtLnXq6WipI+5wvNp/v0PdTXPcTjA= 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=YWY514Ho56MqP+3xVlX6Wcdqohkkp5DZVbhXeb5xcpo=; b=sQseU3urubR5qiwqzZ/dGNBXOSbpnIfhHSaNEHIIZWw2FnAk4+8UKS3CYaKaS5XL3g OU9KJ3W6AP0F+aD/o8qxaG9KOgElDK143HaA1nVE0i/mC65QMNtu7mwlFbkuZMsFHpTB Nzwev3u0Q5H9ud9+8D7t2+PwqnPJg9HL0LeEEHVM3hxCeWPCibIbDqgnjNfUcDN+cFfT hD9v/qj+rCLlahGIwLsUInz7Lzay5gocwc7LqvJHd7hgrkpAZsiD0t8dowBdHVDzqEKd Vr9tvLC/gM+y5gxt/8zH7QMLtzftl+5CwUgnO6BUpbDIfFjCKWEgq2C3NolRO1VuIHf/ lOcg== X-Gm-Message-State: APzg51AdfKH82JvQiEEn9U/pZ1hWfFCBoVye9AgEHV07ob4rtQpj3+sC EgGGyLo8PCutvtbYIvKEyXWc6Q== X-Received: by 2002:a50:8a66:: with SMTP id i93-v6mr1786761edi.281.1536746104156; Wed, 12 Sep 2018 02:55:04 -0700 (PDT) Received: from localhost ([49.248.190.214]) by smtp.gmail.com with ESMTPSA id 25-v6sm557988edz.45.2018.09.12.02.55.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 02:55:03 -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 v3 15/16] arm64: dts: msm8916: Add camera thermal zone Date: Wed, 12 Sep 2018 15:23:00 +0530 Message-Id: <5c678cd9c1f9d531efa39e9edb6151106957a077.1536744310.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 Initialise the camera thermal zone to export temperature to userspace. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 62f079ae9ba3..3dc8b8aa76c7 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -257,6 +257,27 @@ }; }; + camera-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens 1>; + + trips { + cam_alert: trip0 { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + cam_crit: trip1 { + temperature = <95000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + + }; + }; cpu_opp_table: cpu_opp_table { From patchwork Wed Sep 12 09:53:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 146543 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4619479ljw; Wed, 12 Sep 2018 02:55:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYtYwM+f7W0+lgZr/xXY1HFrLATh1wYFm3d2ZRDve+A0Es/SHSPK9B5FT2OZZlZDHPVm86R X-Received: by 2002:a62:d94:: with SMTP id 20-v6mr1314935pfn.202.1536746114066; Wed, 12 Sep 2018 02:55:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536746114; cv=none; d=google.com; s=arc-20160816; b=zdoCo22r5dW2mz8cGR+7hVcPx5wsRXUr2bag+MZ9HHqWXX/RgqCUg3Q1I1xPwJboYn D9YQVbaySwFKZ5f6pZ2AFrUlusoeWLxUbrfR8s0p2Lc67JQvj/1gGS+2QfncSBH6vk2T a19Z/eAizrXw+zuwJUPmThkhB/7c6LAFlZ8S+bwDNb7aclgLTjOjTrN1nAZCmFyiONbB ZyBdacTvJ4nPJ2pScwEJdaPEN8Dni8mDBWLj2w5MTLutAUCxq9UrP7yEI4TYSq7PyDYI zgJkZw6+RJpxwIpCdLYtGqSaeOm6kUhqGwrm96iBPxZh6DNk7JsykJzwvkV1+10D0j5j uHmg== 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; bh=EUb5THd3UgJ5IPuekl8cUMvWQfdVuvfo2LR1O6+VsP4=; b=1LtGui9ujSnvh//hyBebrIUun5UcX++EKy69OCMECnqSXVvL+V6RZWUZ0718qAsilK jjyEzWKgaflBoULyw6Q8UdjbQcVD9wy8fw6xviWgqatUkOGBkAy/9T3u00KBW+Ise1/K bkeZ5JwFJSW0QOPks1FZwpBrYgxlCcXZGJ9TskUy2EnZdIr1F2+TYjS4XIaRZo3+tJCL xSmCa6f6OVaqiB6DbWHFsfYtMFa7SjXP1zwaArEcy/yHEPvGjO297aeJF3UUXlr4qiLM 1m5BR6Njidz+vWIiqTKQyxcEYqYwbxcXbiUVjol0Ot3Xf69YWWkZJVXc093xtu+qxwnX hEdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OiDQlIRb; 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 a186-v6si581761pge.408.2018.09.12.02.55.13; Wed, 12 Sep 2018 02:55:14 -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=OiDQlIRb; 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 S1727183AbeILO67 (ORCPT + 6 others); Wed, 12 Sep 2018 10:58:59 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:43010 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727403AbeILO67 (ORCPT ); Wed, 12 Sep 2018 10:58:59 -0400 Received: by mail-ed1-f66.google.com with SMTP id z27-v6so1243077edb.10 for ; Wed, 12 Sep 2018 02:55:11 -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=EUb5THd3UgJ5IPuekl8cUMvWQfdVuvfo2LR1O6+VsP4=; b=OiDQlIRb480dd4F72aX++iRYaxcsdd0KKt1rtjnU/ij1Rz/uxTpycMPaf+MZk9KSX1 P1rvdNEPrAOAJyVncXIgCIzxUYDhaOak0ZNcMJVFIENsv7QqiiYeWT5FG88ExBNpvpq4 bzuqvXOwEKgvd5icCivy/7cWN9AJjHQwXjnFI= 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=EUb5THd3UgJ5IPuekl8cUMvWQfdVuvfo2LR1O6+VsP4=; b=kTuizjQ/FTX1tbDNqZDv48ODQK+ajm2GSqnC6feHcK55QDPpk/7miv5rESGG4axoQ5 3TYyzp7YIe3+FWqYOfsdudTKfFf8yiKAhXefAvZE2HZiezeRUpOdHHx7oMffh1RRuoJP j8dxrmf/mvlJEH4dhKitBo6XI56O0tKqTz4agOxyNXC7n9gTrWnrw4h5yQJZEsZS5CbP Bj+6PZkiDearim4nxACPmguw50pCLox7snzQcxNtwgaNHLhE3xOnNjqAm3mALXaemKJI Zs25y7SRPUvNzXrVkOT+HBR2gG7IZ/Ix1Vef1CP7IqJXCmSfeUPRjCkRtmvYSwiLHy9O c7+g== X-Gm-Message-State: APzg51DUBVOyPM1YOhUMOwwIyhcu3ZzNl7MffHwYemfijoFNHL0HYcZj 4bhqcYTDi+jmtgiqG0xPHgaWmA== X-Received: by 2002:a50:cf42:: with SMTP id d2-v6mr1856096edk.242.1536746110735; Wed, 12 Sep 2018 02:55:10 -0700 (PDT) Received: from localhost ([49.248.190.214]) by smtp.gmail.com with ESMTPSA id i15-v6sm439968ede.66.2018.09.12.02.55.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Sep 2018 02:55:09 -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 v3 16/16] arm64: dts: sdm845: enable tsens thermal zones Date: Wed, 12 Sep 2018 15:23:01 +0530 Message-Id: <5e2d5fc463a5f5623c4fc1b18ccdf62adc954758.1536744310.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 One thermal zone per cpu is defined Signed-off-by: Amit Kucheria Reviewed-by: Matthias Kaehlcke Tested-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 170 +++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) -- 2.17.1 Acked-by: Andy Gross diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0c9a2aa6a1b5..eb801922f6bb 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1104,4 +1104,174 @@ }; }; }; + + thermal-zones { + cpu0-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 1>; + + trips { + cpu_alert0: trip0 { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_crit0: trip1 { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu1-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 2>; + + trips { + cpu_alert1: trip0 { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_crit1: trip1 { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu2-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 3>; + + trips { + cpu_alert2: trip0 { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_crit2: trip1 { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu3-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 4>; + + trips { + cpu_alert3: trip0 { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_crit3: trip1 { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu4-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 7>; + + trips { + cpu_alert4: trip0 { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_crit4: trip1 { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu5-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 8>; + + trips { + cpu_alert5: trip0 { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_crit5: trip1 { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu6-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 9>; + + trips { + cpu_alert6: trip0 { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_crit6: trip1 { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + + cpu7-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 10>; + + trips { + cpu_alert7: trip0 { + temperature = <75000>; + hysteresis = <2000>; + type = "passive"; + }; + + cpu_crit7: trip1 { + temperature = <110000>; + hysteresis = <1000>; + type = "critical"; + }; + }; + }; + }; };