From patchwork Fri Mar 29 10:12:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161408 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1834179jan; Fri, 29 Mar 2019 03:12:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5IP0xZDIlivH8YUCEi+HSpB+Oi/gE91OO4bPL1b6BauN7z4dbEXQW0Hvb70moul5pkWEP X-Received: by 2002:a63:751d:: with SMTP id q29mr9456090pgc.215.1553854356868; Fri, 29 Mar 2019 03:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854356; cv=none; d=google.com; s=arc-20160816; b=SFC8/hWBVGSylNvid5pTG3B8BVJ7wMqbraZ4PMr1+8jrEWP8rpyHwSi88RlQ8QcmiQ oMdH0eTVQkvzxzqslyS5Zen38mvtIinoxP0o1QBOdCZvGGZ+Q/ENJZ6RNQEVEJb0are1 k4KoSCRQxci2OpNteU/ivncy7tenVfQXKGSmvFx+lZgI4Hosao1Ak1Fa18WcSQh9KYNG 07WXIIvLpyMtkNT/mUI3FX7o0hRNswssiddRAI0aZxMizBhmVIFyEzrvMO8njgRd7WWq PK920FVgF3SH7mV+eeirXyAKIYVbm3pfQygut7JFtTSY9xg6khoovtQKrkf7ClS8/APx vVlA== 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=+TYtSQVH2QGKxuvpbRnS7W6hHgOIHYvxh6y+HNRyviU=; b=akD2F0/QkqNnQuqElBbWffWmOoICKSdWLurtWI91dx3UnFbUUBJwjmFcFO9PNfVZaG 1AJd62wYeNnJjVSXTPNvMPDQcOg7voWAk2tQwFZH5MOaPc9XUvHyRpLiKHApWrPNdiQw RsSe2BWmEfxIjy7DnHkVYfh5V4WSdq2RmTCkHGk6cl4mBfymK0dGHLDT+ZHmlbVqtYkk 2B1/ADAdapbllDfVyieIYTqURRvYlyCqL2FlyRlboF+Srcq8hcoGzonC55c33XtbcNnN nEQnKwHfXh9MoFId7DMuQyR8BL22zbUIN09lGooWFV8eaMxbi7n5MEN9qMTOIMyPblH+ Gftg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ey4hlv9N; 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 d62si1534791pfc.104.2019.03.29.03.12.36; Fri, 29 Mar 2019 03:12:36 -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=Ey4hlv9N; 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 S1728828AbfC2KMg (ORCPT + 7 others); Fri, 29 Mar 2019 06:12:36 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37715 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728793AbfC2KMg (ORCPT ); Fri, 29 Mar 2019 06:12:36 -0400 Received: by mail-wr1-f65.google.com with SMTP id w10so1866768wrm.4 for ; Fri, 29 Mar 2019 03:12:34 -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=+TYtSQVH2QGKxuvpbRnS7W6hHgOIHYvxh6y+HNRyviU=; b=Ey4hlv9NkuLcAMge47eh2MgZLE/ZAhUcJW3vteVwHV9CdE/I3Fn8mh2zYtUxUh/jn7 lsNANyD/GLLLsGjgBKeTHR4AhZxK1s2OO8+L++84vvmN1xvJPkJ9/dYXjmx9qDccsDvZ X3zQQHf0EPOBRP6hfJxGYc48/usdTnc9AyHO32engsqayS+/yJv7Yy2RYaBF8lQr5ZHS Tm8dKV85wfToe+JUgl+BUTO7ufj2i/8FrC2vWzvO6nesj7DMgRg1uXxwuXpcUO9ufRWo xVdp2ihtNb1LF+GYLGT1FBtlohypH6HuHbaY9o5b0cklgheOMfGV/NiH3B9sa3XOHF5r GIZQ== 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=+TYtSQVH2QGKxuvpbRnS7W6hHgOIHYvxh6y+HNRyviU=; b=P8YBXBpcoR+3Yf974lg/qcYUR7WcEDs40+CZPR3T/wd4EXpuWgAygdzXUIFfvyrdNk V4LnKOlqPSskOG/kgQBggWtFeIvN23dQ+pBZOqhszSKk0j5p3F3vDeECGxKrcPq/fyk1 /IGgE+8naQAupmJ5m8ukS1Y3o8utwoEuE3zLCDFvsfpQISxjEc920FbFBttSZ1DBozPZ qgV/cu8pkQU9xqKaTAfYqDWL+DO+AcoqToR0cqFj7dRIaPpKDkN/q8pruLZcJQhH7wgS h2xN0//h7isACgNotyjs7E7pHt0v8UggESnXQbIJB00ajlaytxDgLdXXoqLrykEANnzr ZFeA== X-Gm-Message-State: APjAAAUu53My3DNnWxJSrKaUMAPe8AECLKNn/mJ2IY/5FSYivo4x57Yo 4akX+CYFx7RRXVOfAxqS3ukBRcPOdg0= X-Received: by 2002:adf:ec11:: with SMTP id x17mr29398866wrn.120.1553854354201; Fri, 29 Mar 2019 03:12:34 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id l12sm1912888wrt.31.2019.03.29.03.12.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:12:33 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, David Brown Cc: devicetree@vger.kernel.org Subject: [PATCH v2 01/13] arm64: dts: msm8998: thermal: split address space into two Date: Fri, 29 Mar 2019 15:42:07 +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 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 msm8998 that has a similar register layout. The order is important (TM before SROT) because we make an assumption that SROT is always the second address space in order to support legacy DTs. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 3fd0769fe648..ac25e9142cbd 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -590,17 +590,19 @@ cell-index = <0>; }; - tsens0: thermal@10aa000 { + tsens0: thermal@10ab000 { compatible = "qcom,msm8998-tsens", "qcom,tsens-v2"; - reg = <0x10aa000 0x2000>; + reg = <0x10ab000 0x1000>, /* TM */ + <0x10aa000 0x1000>; /* SROT */ #qcom,sensors = <12>; #thermal-sensor-cells = <1>; }; - tsens1: thermal@10ad000 { + tsens1: thermal@10ae000 { compatible = "qcom,msm8998-tsens", "qcom,tsens-v2"; - reg = <0x10ad000 0x2000>; + reg = <0x10ae000 0x1000>, /* TM */ + <0x10ad000 0x1000>; /* SROT */ #qcom,sensors = <8>; #thermal-sensor-cells = <1>; From patchwork Fri Mar 29 10:12:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161409 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1834272jan; Fri, 29 Mar 2019 03:12:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzR5iTkEx1+x0Nucbt9hIUQumgK7JPenZCjj1aGRjIiYAfKj0z1vbZN05GrlJ/YZ/rwVN9m X-Received: by 2002:a17:902:e5:: with SMTP id a92mr47429779pla.326.1553854363111; Fri, 29 Mar 2019 03:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854363; cv=none; d=google.com; s=arc-20160816; b=ipKJyS32k+1pRWgoBoYnf7qvKxHr8B9Iws20hYBhBXTeSgunF00SVOzWJNe9OlkFvV gm/Pf4YAfp/RRoVQB7LVdUC/8NKL6qvivS9TVavbw70X50VrAJ6Kn2+OQ2uCBYX92QvI kWLCP6MABfMldN8xXPTnv0To7FAdQ0OnKfg6dbCWUWHHRAs5UbShPJFa1vOaIBrNBAPV ioOceMApyFzgB+I8bDkS2oonurklNmAzLYiBZ32AAz6h8f+qfege0wKOSh7TwMQ7G2PL 0yrxMFv1L0VtgAit3rm/ubHGItei5D+kZIcusBkK76Yc59R5cRYIgBciklmvFTgkCS6z 6pKA== 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=yMk7UlBf/9xSKlIqns7qRwCnHRkwDfcRdV2w4dM4dNo=; b=Ht6R29uOIrCeIi604SZZk6y1P2bDRums3gezPP6cYcifYfwz385xYspFpOYbvGsGLa YeCNyzKktTDYbpo0gaxouiPQb7B/2mrlZwJ7mIAUPpAzbFPv2WDtXFynGyu7rsdph6kb J+0SjsfK4COgeeIA4ZahpVZ30lp38zL8OPeUKh7Amnz1HQiFzc/Z9uK4eU7GXsx+sgtk rhB2dO6ti/L3mt/2PsBvJrgnIErBjYAE9ekpH9fUlYqLaoGAb0V/lSEZgaR6KWHpt3C+ wgu1fuoWaIz9A5WzqrClOuipp5hWKngqjaaoJiwo5qgREa3S2F9m1SM0cPbDHwkU5UXh /pSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MgnTj6v8; 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 t66si1494705pfb.178.2019.03.29.03.12.42; Fri, 29 Mar 2019 03:12:43 -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=MgnTj6v8; 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 S1728909AbfC2KMm (ORCPT + 7 others); Fri, 29 Mar 2019 06:12:42 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53746 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728815AbfC2KMm (ORCPT ); Fri, 29 Mar 2019 06:12:42 -0400 Received: by mail-wm1-f67.google.com with SMTP id q16so1897261wmj.3 for ; Fri, 29 Mar 2019 03:12:41 -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=yMk7UlBf/9xSKlIqns7qRwCnHRkwDfcRdV2w4dM4dNo=; b=MgnTj6v8T9TOquiXtlbl+r4u2teiTGEDT+R3C/rt+OVrMN4mFSn9AJG4LIIThTeNFU vAaO9JB+e9R6PSoKSy8NR/GZzswo6soZXPmjl3yQQ0CLj+yheeRuZa6ExnOV9YDPSBmT 59Xq+C3lYC61lPdaSf8dZhjug3I6SQ6TF1mYxcUNmrij9OZtTstqeWRo7pbsGdna4729 aomgKCd8ZPvyDCV5jRGvGu+UmrRi+a1scLIGqLSLPDF2uyXztsgzu4g9twt7HEYDameY zw11VSDY+oKcnEpipI2I0ELtEUbz87q6dnhS6MScHslkKwpnxhHJg93K+wZRqRNAwvSI c1GQ== 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=yMk7UlBf/9xSKlIqns7qRwCnHRkwDfcRdV2w4dM4dNo=; b=AbTqtNxBn10atY3BT9hlhQ5D/IsrgTSaEN4x8UKSV0DuyX8/PRb8CqeAJstVDWWe2j qH7Ldu6vSk4MPqLEz9C/+YOFf9AaX7jwGRrYY31feU5Qu0eY9iYrLpR5AiBVA8zoL6ip vXK/FN3xBqL6o0rps4B7DixLZWAbc1n6pbesjLyZAHDk9cj6SxAt1RwDlfb1WHSIuL+A dTnCFadDcQpp+t3pKFMZN5KEOU4JEFDHl4WdfR66yoyNASk8qup91wwa74N0HY4xr1tZ nrlcLuSDhmnlXgiaNODLHhoVIYkS14RQQdkVoJp+Jg2W5zu3NLgkn+opLzMd/QIJI/V6 0lkA== X-Gm-Message-State: APjAAAX2RSd7E22G6vdD7I2Yowz0ydmwGgzcP3YAByqLuTNwCeCrtlG0 V5aTICaH4DR1gLXssvhHC0yyvA== X-Received: by 2002:a1c:9a41:: with SMTP id c62mr2943482wme.108.1553854360434; Fri, 29 Mar 2019 03:12:40 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id e1sm2904064wrw.66.2019.03.29.03.12.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:12:39 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, David Brown Cc: devicetree@vger.kernel.org Subject: [PATCH v2 02/13] arm64: dts: msm8998: efficiency is not valid property Date: Fri, 29 Mar 2019 15:42:08 +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 efficiency comes from downstream. The valid upstream property is capacity-dmips-mhz but until we can come up with those numbers, remove this property. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 8 -------- 1 file changed, 8 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index ac25e9142cbd..0b6de0c29ee8 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -78,7 +78,6 @@ compatible = "arm,armv8"; reg = <0x0 0x0>; enable-method = "psci"; - efficiency = <1024>; next-level-cache = <&L2_0>; L2_0: l2-cache { compatible = "arm,arch-cache"; @@ -97,7 +96,6 @@ compatible = "arm,armv8"; reg = <0x0 0x1>; enable-method = "psci"; - efficiency = <1024>; next-level-cache = <&L2_0>; L1_I_1: l1-icache { compatible = "arm,arch-cache"; @@ -112,7 +110,6 @@ compatible = "arm,armv8"; reg = <0x0 0x2>; enable-method = "psci"; - efficiency = <1024>; next-level-cache = <&L2_0>; L1_I_2: l1-icache { compatible = "arm,arch-cache"; @@ -127,7 +124,6 @@ compatible = "arm,armv8"; reg = <0x0 0x3>; enable-method = "psci"; - efficiency = <1024>; next-level-cache = <&L2_0>; L1_I_3: l1-icache { compatible = "arm,arch-cache"; @@ -142,7 +138,6 @@ compatible = "arm,armv8"; reg = <0x0 0x100>; enable-method = "psci"; - efficiency = <1536>; next-level-cache = <&L2_1>; L2_1: l2-cache { compatible = "arm,arch-cache"; @@ -161,7 +156,6 @@ compatible = "arm,armv8"; reg = <0x0 0x101>; enable-method = "psci"; - efficiency = <1536>; next-level-cache = <&L2_1>; L1_I_101: l1-icache { compatible = "arm,arch-cache"; @@ -176,7 +170,6 @@ compatible = "arm,armv8"; reg = <0x0 0x102>; enable-method = "psci"; - efficiency = <1536>; next-level-cache = <&L2_1>; L1_I_102: l1-icache { compatible = "arm,arch-cache"; @@ -191,7 +184,6 @@ compatible = "arm,armv8"; reg = <0x0 0x103>; enable-method = "psci"; - efficiency = <1536>; next-level-cache = <&L2_1>; L1_I_103: l1-icache { compatible = "arm,arch-cache"; From patchwork Fri Mar 29 10:12:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161412 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1834607jan; Fri, 29 Mar 2019 03:13:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvlT8noSIc8hfcfnOLppFriPSwldDITA32jTyLEmmWCS2eR3+5RsO4MngBotUBR37Y0IJc X-Received: by 2002:a63:e310:: with SMTP id f16mr43672180pgh.93.1553854382340; Fri, 29 Mar 2019 03:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854382; cv=none; d=google.com; s=arc-20160816; b=SlqBcuc1rX5rdXHAS8ySAWpmQWuQBb4RLOLk6lVREVI3pFMK79GAljg09sBrgcp5rB WGdQU9d3C4KBs3OWNcYqk/MKUsS03JeXN8wzrWerzMBUpqL2y1ehq4J31s+D57v8BRd1 Ue1WbsBM1oaAwiNZ8g2Tp8DIi1DSWBhI5uYDugX35EosnKyfVGbd7KV7AKvO2PAqHFc/ 44aV/Ro0NZar9LxZKSd7oJ7yCvgdXqTmonJSiInkoQQS1XJX/PAyhWAkbQqrniQpbE3Q f/eRgtYKSG7VB0nXUnyP2ORn3Ue6Uqse5QR0RGBNMpmBlg4tOiP1I1Tt0rzWT8etwKln 5stA== 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=Et6sor8PU+KdoioSjuhpGkTFWSasdTtvhbgyNeM0Xbk=; b=e8C5LLLfgEIEXr58E2qNQdCrSzmMpbjMfRkQjrs5OX8bz2040Mx8YJebENq0oUUiXO G4zfXaKPBZ20fRNc3G/OedrW9wj74OpECN9ARjFnacM9C/OICZH3gUhGEMeR+Zf2rbyL Vu6BqfX2ET5W7uJ+wKWx0neArLX6sFSM3RvYO7c9w1pk3xxZlj9tyVxUEYq7Y4OOlBAf KFDbYiWwnRKoTIHF1N+AEB8tpyuk26qgbEt53tQwcsPWamy5XpAqdZ8fnAxk0xTXzsi3 d7e5Nlbj/bOeyV8IBdPqFBRuXnABQ8RJvT7xOpr5fGuyQq20UwX35dulk0M3xLnTwpgU ZcYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ptIWrNy3; 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 m8si1471348pgp.68.2019.03.29.03.13.02; Fri, 29 Mar 2019 03:13:02 -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=ptIWrNy3; 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 S1729084AbfC2KNB (ORCPT + 7 others); Fri, 29 Mar 2019 06:13:01 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41216 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729048AbfC2KNB (ORCPT ); Fri, 29 Mar 2019 06:13:01 -0400 Received: by mail-wr1-f66.google.com with SMTP id r4so1855388wrq.8 for ; Fri, 29 Mar 2019 03:13:00 -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=Et6sor8PU+KdoioSjuhpGkTFWSasdTtvhbgyNeM0Xbk=; b=ptIWrNy39lKQlHnJMU7bkY1sU969gX4anhjptaOirIAR61aZCNrI+D7JwpwmRiRG8O 3/3fgxy7+vxkHgJu3F/GniVGK1yMDUg7IkC1M1rp4H9+PmHkhEsjw2YnWWY3QscPL/e9 Wr4yuJ24hHs6uFwJn6PQp1pAw90JmzH8b8bcUnNYgVhkng0jJM1FNROjCwpwAdtHK/Ij r3CW03FuFNxXbNxF3XatX7LNg3RiJIVsMI6i69hx/MFvKsOPrqg7+TEaAITVSR/G1dw9 RE+iHvKbbmZ5EPenlCWpeBa8SWrAf6ozpng17mIAX0MvfLw+QvQfrLcvdOi8MehR8DIV 4ciA== 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=Et6sor8PU+KdoioSjuhpGkTFWSasdTtvhbgyNeM0Xbk=; b=JYJGzwsWS2uGUu8RvEnnOfiHCtk6vc/6l0E0dzjm35Tm5/MX3a62WKg7Di6enwBjrV sbEfd8j1ai/Fq7JvJ2KZeVCtoimntAp+H/z5h9Ih7XML+z7NLhgrQKgJ9TGcHquw64Io ZqnR5NKfhZzk+UjomKYS0Kj4Gc7DVgIM0Sn9b3mKZKwmz58nnUfsxJB9uFgkC+tLMvmr MBFVmyX3LmYMuNdvf9RYIHkspwkd2AAahBb6NXzFeHUe1ptndE3b04Ftf63q749EYGv2 rHy+PPgNgJ7nox1vnNNXVYUQAoqi5+UJcLVcN4x6x9rg37dCrTGouexWHE4WSIgyXByG 1ESQ== X-Gm-Message-State: APjAAAVQeb/7HOF/wve7trJCCTNv29qFPjF/at/a0w3zNv9yfPo8j1WY 3eMDs55ZJ+icM5B/zou1I80ECg== X-Received: by 2002:adf:ba81:: with SMTP id p1mr29163589wrg.192.1553854379291; Fri, 29 Mar 2019 03:12:59 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id g8sm3005774wro.77.2019.03.29.03.12.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:12:58 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, David Brown Cc: devicetree@vger.kernel.org Subject: [PATCH v2 05/13] arm64: dts: msm8998: thermal: Fix the cpu sensor numbers Date: Fri, 29 Mar 2019 15:42:11 +0530 Message-Id: <50441c28c22290ed9df7ab394d773a77603caed5.1553853990.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 The silver cluster (typically cpu0-3) are monitored by sensor IDs 1-3 on tsens controller 0. The gold cluster (typically cpu4-7) are monitored by sensor IDs 7-10 on tsens controller 0. Fixes: 4449b6f248d9a1 ("arm64: dts: qcom: msm8998: Add tsens and thermal-zones") Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 0b6de0c29ee8..108a5aa146a2 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -342,7 +342,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 6>; + thermal-sensors = <&tsens0 1>; trips { cpu_alert0: trip0 { @@ -363,7 +363,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 7>; + thermal-sensors = <&tsens0 2>; trips { cpu_alert1: trip0 { @@ -384,7 +384,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 8>; + thermal-sensors = <&tsens0 3>; trips { cpu_alert2: trip0 { @@ -405,7 +405,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 9>; + thermal-sensors = <&tsens0 4>; trips { cpu_alert3: trip0 { @@ -426,7 +426,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 10>; + thermal-sensors = <&tsens0 7>; trips { cpu_alert4: trip0 { @@ -447,7 +447,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 11>; + thermal-sensors = <&tsens0 8>; trips { cpu_alert5: trip0 { @@ -468,7 +468,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens1 0>; + thermal-sensors = <&tsens0 9>; trips { cpu_alert6: trip0 { @@ -489,7 +489,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens1 1>; + thermal-sensors = <&tsens0 10>; trips { cpu_alert7: trip0 { From patchwork Fri Mar 29 10:12:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161413 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1834718jan; Fri, 29 Mar 2019 03:13:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaKpKLOPp4j6G8YlDdI1piDvTr9oRE1O4jogGNJEz6cd179Yba/i1Yrg4fk6LFDyRLeW5L X-Received: by 2002:a63:190d:: with SMTP id z13mr44404412pgl.432.1553854388635; Fri, 29 Mar 2019 03:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854388; cv=none; d=google.com; s=arc-20160816; b=yIYIMIFj2xXijFruxEanikGCrMmfEh5Qm5JtsYbBQS8sXolJx20sCW7M8uJFdGZDiP uLw7zLJMlkQecc2kzcvfSaEiIA5cAn6PYnNR+r+VFpTfpAGwBkfbOQ/Sgt5kqBb96xMG fhTC8ZEOtxRdP+trzoX6bIPHj6FWxR9pUfN8sbYcSZM8YlIUq3JSV9HBNGpnO+q0oAwL fwf9yC0KafWB3VokJSIgj9xrcsB8qPBqvGtPemYO9X5Yudvmmpl61eGsORhMU0zwzEIo JJxj6CnukFLFddb3jlidVUydZ0hFccHLOTrVPNqcsIaUzkkqWvT0Sa7AEhJ19wPC6Tj8 O/aQ== 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=vvH6TxvABMt17Q7J8MfZHqwxVAuEjNaW4KGdEaboHS0=; b=zKq0QL5Tn54ytgZ5EpSG72F7Mm364uXPd9C28aJ+LE4rzbeTM3IoeICI4jLeM6y5+b 1d2eufcEzmo27MKqEajZm9nxnWgAPBkS9TjbjHAS3v5/sltiLhuPwwmr6DLQ5wIlBMLA 9gCOjuoVxxrdGp0vJoq3y+PjpLPOZyB55vghiukrGoQH4UQA0xKJ2GUBeO5Aau9H4nq/ vx2Z1xS6nCbAlukfCFrQjG6jppXCh6u3rq4o5nzLvQrpFm8XnE3Y4ZAvS9WpzXTbn1px bvSNEokztNWRedktrMc2P0K3FQVx5tRqZ+86gNzDsUtIz7Cjdkhkpq9FcjUdtIWOFtfM 38YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H57jkGuk; 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 g2si1557245plo.354.2019.03.29.03.13.08; Fri, 29 Mar 2019 03:13: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=H57jkGuk; 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 S1729107AbfC2KNH (ORCPT + 7 others); Fri, 29 Mar 2019 06:13:07 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:35104 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729104AbfC2KNH (ORCPT ); Fri, 29 Mar 2019 06:13:07 -0400 Received: by mail-wr1-f65.google.com with SMTP id w1so1886275wrp.2 for ; Fri, 29 Mar 2019 03:13: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=vvH6TxvABMt17Q7J8MfZHqwxVAuEjNaW4KGdEaboHS0=; b=H57jkGuk0D29CiXmW88I/aT2HO823+vuj3EiitBm7MLZeWixvlewjVEx3WSCzbGUwY O8wT03ne/Nb6t4+uH+csM0WRuQPFdGBpHx3JNFtsErUCsLU4qLpbCvf6d7hxEBpNYJUm 6ujVwHEf14wKZTaR4cLaWYbB8DbhjOoWuQT7H8371bpu41H2Atr6KO5joHrdAthOyHFi LZBSmLrIqVzEuedms/zbPlAYL9+/2q+hmHjyToJ/TJ6ELD4gCGuGv8WiQHGDsI4qthZc uKMTRUGFlOjzCxznxTvF3YoIw+T2koUdqpudEHE8GY5aH2xtqIy4bg9EDGsxoqjJvamn zIMg== 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=vvH6TxvABMt17Q7J8MfZHqwxVAuEjNaW4KGdEaboHS0=; b=ZZ4+Q6HfJwk11zX7TMan/Aoi/GWYT8qjn9C8GMQyk2w6lal716qeLqk6+WfZ88suin rQzN+RDpQfCY1B4OuQQkzEuK7YtizPhvj+e+fPSRZ74/1zlIvU1B6BIG3nq5uSRdp6Cm WdwovYhT8JW25JW4sXmIiD2/IY2UUCcuwAaC8tEsQywwX3ccevqEno0fBIU5xIMudbnu j+RcCSKqqyM+41CbhjrzV9zeYHk9F2eVNSircSDgagmuOPWKtODTvHZoTxiEQi0n/5pD f1hS5AZuVyuXdaLl7uJWExPTpm4p4MhO5oEWg4RXLXqirYxMjqoi4NH861bUtusjgfLq TZmg== X-Gm-Message-State: APjAAAXuVd7qxwGIPtfikIVPJiiAyzagU4GPWJAA3NNAtSNQvE65BA5R scs6GTJM+CmhLsup55BuHfjJVQ== X-Received: by 2002:a5d:5190:: with SMTP id k16mr13275120wrv.10.1553854385649; Fri, 29 Mar 2019 03:13:05 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id h84sm2260804wmf.15.2019.03.29.03.13.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:13:04 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, David Brown Cc: devicetree@vger.kernel.org Subject: [PATCH v2 06/13] arm64: dts: msm8998: thermal: Fix the gpu sensor number Date: Fri, 29 Mar 2019 15:42:12 +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 The GPU sensor is sensor ID 13 on controller 0 Fixes: 4449b6f248d9a1 ("arm64: dts: qcom: msm8998: Add tsens and thermal-zones") Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 108a5aa146a2..56ca9ecdb0bf 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -510,7 +510,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens1 3>; + thermal-sensors = <&tsens0 13>; }; };