From patchwork Mon Feb 18 12:35:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 158602 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2439597jaa; Mon, 18 Feb 2019 04:35:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IarjEsJ2xGWQpDuimwtQ9WwWZ/cs0aaAQ2IV5CH36C+VLRI9r7oYMLMTMkbwCGdN1cjd7mM X-Received: by 2002:a63:7909:: with SMTP id u9mr18963517pgc.243.1550493345530; Mon, 18 Feb 2019 04:35:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493345; cv=none; d=google.com; s=arc-20160816; b=dFFbrfJ0mChDSz/EqwOJ804u5Uutk4OP9GQFymca9EMuUX3P6DfKbPD6GOL2wNbk3y axgQLcNeEYIGUGjVzts3G5jBI8wbh6ih1WCYtQKq4PzM+xVv7Iq9ESnwyhP8erQD2ob4 KUc5M7vzv6wPhp/2Bbyp7gHT2PrX2abAraMQ4SyJnn888REPYj7ecj5iEgJX6AIdQkHL hB/s/XqUIUHQop8lz+bKOLv7pcaiYXhNCyHfpoZ5oB/A1yNEsaHZ92RAsLJltWsx3FDY YlAegAGxzoZ5kpoFXb+EtPWIyj1mVCBTkPaJ1MUHYLUb3qUVtc57zIOxOqDczU8v9ql/ n2vQ== 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=KnqYkmaJQ2W98ZpgcSTL8cYq3Ka1/vJpxLFa+DKrwvs=; b=ALnV0tEPYJRFO3r3QKJuJQuVS5G3lsCmGj7qZM6czgQUqXCFH8YT2YmLVFIXurae/Q akdoB/OC81sKA1yfeuRsamgmTd2EaD2PQ06D5rzgoNkQvS+Mr/0FBrfIN7KP6sBIux6d zz54hYPIHVFVTDYC/q72M2lhY9Ir4oyLDeJO3QBL7geIEYTlrTzRTqVxj8vu+P8Ibo42 sxWY6+ssEtvl+JPlMPy63fNHu13MrSJMGD47oRDQnp9wN2lA1ZUBHzd3xvx3WYfgaliH 7YdjfF0Nuhis7MFIFvd147SyvM6oKpVagEqwoQPOtEWk5lZKTNHGDaAMclO/NpE87Fzv 0t8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cnBIEaGT; 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 j10si10944984plk.238.2019.02.18.04.35.45; Mon, 18 Feb 2019 04:35:45 -0800 (PST) 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=cnBIEaGT; 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 S1730366AbfBRMfo (ORCPT + 7 others); Mon, 18 Feb 2019 07:35:44 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:38170 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729767AbfBRMfo (ORCPT ); Mon, 18 Feb 2019 07:35:44 -0500 Received: by mail-wm1-f65.google.com with SMTP id v26so16934918wmh.3 for ; Mon, 18 Feb 2019 04:35:43 -0800 (PST) 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=KnqYkmaJQ2W98ZpgcSTL8cYq3Ka1/vJpxLFa+DKrwvs=; b=cnBIEaGT3S5Zm71+w6jkC8Ao6jj9Ck74dbdz6evQWOhloel+fmOSqF/vQpEDbmM0so WT9OQNNg50Vb3PO4hAHniS07F8Hq2ypcJpJ9iioD0RY8qt5ocl4H2WdhpjMNVd6ewOMo jWhX+7ebSt98fZah4Tf09J+kslYEX8IKCT1G6M0P92UsdJ1Vp1Ku9+Ywz6R02HqRKnqy R9IyobJ/RiQVnLn1dAGkkByy9j30VDifQode+zuaFo9GMJ2jwJVIQeJy8P+S3gogscZc TaMhnSXTesg1pRSrFccRyXG36+3Cg+J3b2mxYodM+EiS0S+6r1BULYLlu0he/2wf1ZbS Zrpg== 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=KnqYkmaJQ2W98ZpgcSTL8cYq3Ka1/vJpxLFa+DKrwvs=; b=Kvx9ZeSu72XMRoxRpxYPKTHxIQ/r57GvOlN8Ie2U7RlT1vRaQuNvCvUohdGd3gJuzM H7shGdkiZy7X08IOOIMzt5ZM1n09rWUlH2Hm4GGY+waguzJUOvnmQ1KugfXuay5m3USs /GleU1okJ/yH5RPSaaR4ULYFuBxO4J5Jm5X27vd8VeN4kdL+oxDSu11TEU7fAO+hOs30 5gqrgFiyCz88FaQ4JBc6jVJj0iqXQQcC8CyBX7HcEkwjKlGP22cKFWoBwh0pGp79EvS5 Rnooy/xb7/UlbgwWRRHA+HWIFrNUpb2Tayo7riFR+UyB4o7tSsnl06RN/OwnJFBVcAtY j9xg== X-Gm-Message-State: AHQUAuYrT7sfRVYO23xaUyp8CJn7xGFgecytI988Gn2hM2xZwxrdik2i HkJD97hrqGoxYRlCd5wm44bXfA== X-Received: by 2002:a1c:6c0c:: with SMTP id h12mr10339729wmc.35.1550493342790; Mon, 18 Feb 2019 04:35:42 -0800 (PST) Received: from localhost ([49.248.190.152]) by smtp.gmail.com with ESMTPSA id u12sm10040467wrt.2.2019.02.18.04.35.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 04:35:42 -0800 (PST) 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 v1 01/12] arm64: dts: msm8998: thermal: split address space into two Date: Mon, 18 Feb 2019 18:05:15 +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 8d41b69ec2da..3c5fb2509d5f 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -579,17 +579,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 Mon Feb 18 12:35:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 158603 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2439693jaa; Mon, 18 Feb 2019 04:35:51 -0800 (PST) X-Google-Smtp-Source: AHgI3IYYbBu6e5UKzTlcEgJkscypqTK77rU2QTuroxgor7iJObEnRGgsngE5w0Ucxa9S88NAi3dw X-Received: by 2002:a17:902:207:: with SMTP id 7mr19900891plc.142.1550493351759; Mon, 18 Feb 2019 04:35:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493351; cv=none; d=google.com; s=arc-20160816; b=cJ5a0hTrLkb+x0+dNYeuYIIqgcmH9RxxMlKU+emhEJEMs0GLThldL0RwRbqtng91A/ vXTWwUmvucJgUJ+y0jnT9beqZAlcSfywN5m7uqXPTPeo1vdBDgNnpu4dURPmVXGuCK0T vedlf/Ac+GodVSZwsoBLD1d757XQXEblEo/AqbHxS7ISLroSItTWJ1Jx08Lt5cYjLfiE 7usb2dLgL6GY/9IRBw5/DK1FukijxKaoclAdU6FKmVH4qLZ1t5fw1vMFTBWzZgE55ADf 9vIyrB/uUNCqULr9ADiwwkNsTGI7GM97VTSTS5+j5Y3g6BF1kIbnR+VuzinsyxIZo2jk Vpyg== 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=WHupAdGbaNN2KhrY3MhcPLqYgu11iPdgxPXK+ZNis4g=; b=XjUB3OyCxi/TBlCa/BDpzy1Z3hGnPumngUp1g6wVr3a4aJ9fqrFgsLFr88NZ2mo3zS 5FsYkKdRRITn7SIPl6prPoD/BygBhDPjy1GgxdW6ej5Zq4Ypsq54nbEl+4QdyV6yFpvT tARr6rkUJKEXe7Bjh5RJsqM0Dolih44x+CJnYjpk75tyWU41GWj0cC4CH7NLfRSKsI9D oguy6oftNvpMO1qhxIUnKuw1C9oHbqs4dsH9yKgF27rsj+B2YC+pJwi3xh3wh+xdJ/bf jkJWh6ID3nlOtUA1SgdRf4ahSKSNorpn0iO1jdj6h+zu06JJX8LbtKdaErpbYnwWNoSb lW0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rIV8R5Ae; 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 h1si4837134pll.75.2019.02.18.04.35.51; Mon, 18 Feb 2019 04:35:51 -0800 (PST) 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=rIV8R5Ae; 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 S1730525AbfBRMfv (ORCPT + 7 others); Mon, 18 Feb 2019 07:35:51 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:34825 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730523AbfBRMfu (ORCPT ); Mon, 18 Feb 2019 07:35:50 -0500 Received: by mail-wm1-f66.google.com with SMTP id y15so2296136wma.0 for ; Mon, 18 Feb 2019 04:35:49 -0800 (PST) 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=WHupAdGbaNN2KhrY3MhcPLqYgu11iPdgxPXK+ZNis4g=; b=rIV8R5Ae85ZTcMkMayu3fDcccmS7xZlTk6Qoq21ea3D+uUqqH7mDdyXwCUblPfnNqJ fYgrvSkVDtt03GHPDjkgBNk0qR8H52Jq3UZE+gzld5xiCXM7B4x633bsjtB1NNEvrmvI Rr50+1WblvHyPr4k7Q7vpxmt6MZ7k0Xcf3g/RpEJ70FdAEcyVLS9ygbNycKzRg7SkTk7 prSeYjOfcy+v9Z6Vy+PqlLYiuHiYPwU1NH/nAhxUH5wIAaGAkVdrlinPT+ebrU3ByuQ1 uuFhGzPYzyaKgQrNAk7hgW4XsYXxQ4hyynfc0684Hh6t/xjvLpT8VLs9jsWDeD/7I7vZ n0hg== 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=WHupAdGbaNN2KhrY3MhcPLqYgu11iPdgxPXK+ZNis4g=; b=UUDv99UjxdgEc9MydTHo/KvNZsHnTgkz2UJoCEn348k0iyT9VSBCNBM+DRuJTXvCPP dsCUX42zGNL8AQByQJP6V5pRHhWViAPyI9O6mo3w6MWPAle9EvN+SauVZskYzcjdtrdD 6J1ON4xCoZoJkZI68S3l71XozjIA4PVbd7Bqy9F+NX3Wc36gltcqq3Xhzso+P8ayShw3 OVMei6/schnfGI7foh1z0bi3t5f3AFT4YcYP+0giNhDOQU00t6BsBrk8AVqnuZIkt3Hx ZP08EZCrIgi9mkJbXRRyCsx0P0nWZd9Ja46EriD3erb5AOePkws+OpsoEFGIn1CirFQc wPVw== X-Gm-Message-State: AHQUAuY2TgHAm/Z3T7qihYWrOLnLZcFnURhPM73svqTL9Qe1bSfBbBmU Ayb5Gx68LpcxNkwcUBteXZQ/0YUMrMo= X-Received: by 2002:a1c:9c0a:: with SMTP id f10mr16101695wme.73.1550493348804; Mon, 18 Feb 2019 04:35:48 -0800 (PST) Received: from localhost ([49.248.190.152]) by smtp.gmail.com with ESMTPSA id o7sm9766816wmc.13.2019.02.18.04.35.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 04:35:48 -0800 (PST) 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 v1 02/12] arm64: dts: msm8998: efficiency is not valid property Date: Mon, 18 Feb 2019 18:05:16 +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 3c5fb2509d5f..db4cb687126b 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -77,7 +77,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"; @@ -96,7 +95,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"; @@ -111,7 +109,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"; @@ -126,7 +123,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"; @@ -141,7 +137,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"; @@ -160,7 +155,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"; @@ -175,7 +169,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"; @@ -190,7 +183,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 Mon Feb 18 12:35:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 158604 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2439786jaa; Mon, 18 Feb 2019 04:35:57 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib8J5U/ByMVlCrKGcDu38ULYR82nk+zd8hW159PA97TKO2Tcrkb/ZbdQRbENy/picP1/SGu X-Received: by 2002:a17:902:2ba8:: with SMTP id l37mr25082684plb.243.1550493357663; Mon, 18 Feb 2019 04:35:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493357; cv=none; d=google.com; s=arc-20160816; b=MJ/El7QbPzC93F4GarwUf3s3rxdw17tVXweOhb8LCuj3rN1yIANCX8X/H2teF+RGVD eMdxOjXPQDPXr76BvhYULszt0+8NtudftpHqZg2lthg8EWkSiXqv/rJYhopVcbgXnM3F gLzwXO9nl64KjiLr+AnSQAjRlKgX52kSlvDq8OlxpkIF6F5jgDqNv0/YPLUCgdpvCLy/ YzjS46BmWaEn6ho0UtAVLw/nx75AvXFeLxm2avvGGD36zRinnYSoLQ8acjDmRZ0vKW8p EOTX6NOWPxpQQlSCnzGztCMacHQl8hU3O7IyEhtWcZafPjIZGEJ9lJ+ttSdSQcVCHMso yxIg== 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=8W36gyptsb6IsQFqhC2cFgxce+VUuRSodxyYFDnxhiE=; b=lgGBBEJ4qPfXI/AeCrvGyYSgXiuhlZDIMtGW/pHl7CwzZllVjDLdaNz+166eizFZdj k7ARlHgL3P5BeTRXSJhZdlUIlQNkndF+Sc/J6tlVXuU4bzZmzm16Yq+VMQ2BbU8Qf0rF 5rRn2TrVyNnaJ8wvS9jcu2HSgwIqfrtAOFGol1bgJItxvkIgSDw2u3BVFuoe3+GukDhw hETPNmgLPSNTY1ScfB6Dctyb3O2ELd4Q/TOvOEfC5bg3xn+vgJtol3mXEsmH+AxLvlrP ne/NCapkBS866Q/ygEXQIiWwhLx5kmmnJsvn3aqk0d5c34ytddclraWj8v9zSei+gc7O kOeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s9cgG6UN; 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 y24si10735800pgf.555.2019.02.18.04.35.57; Mon, 18 Feb 2019 04:35:57 -0800 (PST) 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=s9cgG6UN; 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 S1730599AbfBRMf5 (ORCPT + 7 others); Mon, 18 Feb 2019 07:35:57 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36558 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730524AbfBRMf4 (ORCPT ); Mon, 18 Feb 2019 07:35:56 -0500 Received: by mail-wr1-f67.google.com with SMTP id o17so18197427wrw.3 for ; Mon, 18 Feb 2019 04:35:55 -0800 (PST) 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=8W36gyptsb6IsQFqhC2cFgxce+VUuRSodxyYFDnxhiE=; b=s9cgG6UNA993nmeX6ukOj6Icus3ZWKhIqEPmdbaUwMbHuQABXup+jvC2a3rGKXzpZf b3JfrFMzRaJbr6owH+j76bgROC2HnDhKrQmo+x1qlhgt2m2u81Zt8mUGad0wp5XR+Vvf YavEBQDRRjCaFb3bzF0tpkbLnnKsCZeHdoxRUA/XuKhdaPftFaZYcsxEaAt0m5F5JO3+ RnMaqZp3Kd+jbgKuCIxMHr7o0YnTG8OCFe4A/zZ5OO7aks/r2UJZPgjzihJDrZ/oSg32 72F0cP27DzYiM7T9IcMtYMygizXccoikS/uxyDhcIcK2igizSAgeeWkanU+0hgAwvoc5 7c6Q== 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=8W36gyptsb6IsQFqhC2cFgxce+VUuRSodxyYFDnxhiE=; b=JD7mLcioR428lctcSu4Uw2qERg5QiuIis0JjM3/Gq1cvbcy53ZcThf40kWaUsPFCe2 xZPXWFa6SzzAVe5I0pChpNRy01lFemomCuNjC0WA0TtAeXiFHNN2Ozfs+sffYXBbQ98U 9T3WeqiTFtRpp2Qt/UPeGB4c8A2txQ7gkEpc5X/4SeVSdcHDHRD65YhhFlgDk57++lOf TkNn+Q1D8oGsQ5cyS1OyTIwreB18PiMm5yI/bDM4Zo3FyWM/PL9BfqhlMenQzggilSnv +IoxH/0KBn65cOFfvv5K0fkDto5oys872+BTYTHERLz/947kjtJSVkd3OMioR0zaqWOQ FCDA== X-Gm-Message-State: AHQUAuYPiTMUpVBr2TyqCiuRJRH3VpPCmws1sv09msaF4UO94YaUkOLI 9hunNUnrqTKhm9uz/JVOVTeeXg== X-Received: by 2002:a5d:6b07:: with SMTP id v7mr4704012wrw.314.1550493354840; Mon, 18 Feb 2019 04:35:54 -0800 (PST) Received: from localhost ([49.248.190.152]) by smtp.gmail.com with ESMTPSA id n6sm10328481wmk.9.2019.02.18.04.35.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 04:35:54 -0800 (PST) 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 v1 03/12] arm64: dts: msm8916: thermal: Add sensor for modem Date: Mon, 18 Feb 2019 18:05:17 +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 On platforms that have a modem, sensor 0 monitors the modem. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 9e598ab438a1..9e4a82e5e0b4 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -278,7 +278,13 @@ type = "critical"; }; }; + }; + + modem-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + thermal-sensors = <&tsens 0>; }; }; From patchwork Mon Feb 18 12:35:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 158606 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2439981jaa; Mon, 18 Feb 2019 04:36:10 -0800 (PST) X-Google-Smtp-Source: AHgI3IZCuApHS1sv9XKWwR0oT4UGnkmZH+9tsuSMLiJ5TrJKwEkstihVFl+05fA1vYw2JOW70Hk/ X-Received: by 2002:a17:902:8686:: with SMTP id g6mr24695926plo.149.1550493369950; Mon, 18 Feb 2019 04:36:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493369; cv=none; d=google.com; s=arc-20160816; b=TOUexLD3jVsteTIY6onpjjyA6PpWlD1ozVZ7exTMgDbpA0TZDkAcjRPfIqQcsu6rlT glhWo79W0Sc1rvU0bdS8pRje7mYviYm87a5wR1WzDQAGR7QIbTrghWtT9yJGWWYNovsR fXkXplovN1h5WSLkUahbLY8cKSOu4E22JuIjXC0sGTIMQMkm2Y7edH/DSa4hKuvb38hE aYLEIzmaKc374r2CYVilfEO9NlKBQ33tCuUYY+yduYoFykw6lYdA0SLEHYUhy48V+ruB mJNnbH82WjtPPYhUcrAtIh2l/RudWLoWK8Bsl+waAmsEShaE09FT4QGxvtJvSnssRB2c hixA== 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=6+W3iADusyRfZQaowMEUR2yQLdWrhLi0wktJVeymUWU=; b=OrNiq0Fbxpc1C4esXhAG6KoyrgO1Q8mB4ZyRMyaoJLpeoTuaosyR0JPzOwzCyqEsg1 FURoiTBMqVo/25txCgXJoZCbtCz+wDeAnev0Iw17BGZpSeG/tEGmDi4CKYL2Ob0gYWKh o5lkHg+VoL3pPO1WCfMpFsk4K2NIafVowm/lY/HQ/dG3bxQdl+K1DMm7uMlgaHedasxj 15GMpl+7xGE+Va9/wq4ZJzhq2SN4nnbAZIQaWrLgQc5PTzC3b2UueBEI4Asndl8K+h+K Cc0cXRbwSepVrZtv36K+rT2/1Ns7H+Q8HQTINIAsh1B6RLflsYryjyOaRhQYMTPkpvVa B6Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nba7jT/2"; 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 1si11192676plb.103.2019.02.18.04.36.09; Mon, 18 Feb 2019 04:36:09 -0800 (PST) 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="nba7jT/2"; 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 S1730467AbfBRMgJ (ORCPT + 7 others); Mon, 18 Feb 2019 07:36:09 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38205 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730621AbfBRMgJ (ORCPT ); Mon, 18 Feb 2019 07:36:09 -0500 Received: by mail-wm1-f66.google.com with SMTP id v26so16936201wmh.3 for ; Mon, 18 Feb 2019 04:36:07 -0800 (PST) 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=6+W3iADusyRfZQaowMEUR2yQLdWrhLi0wktJVeymUWU=; b=nba7jT/2dh0/2lkbHb5+MNePevskH+gCETyXV2ryNqikCOV2wUBPeAyOt/sy/Q5fvM H7iwsRNNsmRt4YtJHc0o07GEv0i3d36UC75ra6/Odz2HXxaP+A6RTFqrDtChCbk8emlZ ayKylLJGN922b4L22tFYkNMyXgVilV56P/r4lgktbEtWDSii9GJ+nPGwSElEf3sQLDB7 FiiHlmvkNViic5FL50nb7Ev9Fq1hNhz6VmvFAu6sc325EuWHxi5JZna2dL0IuTaKDwv5 uQC0nzZb71ed3+tKf8Ql6Tu9dnme7g71dEUpDDXmf5hQBKkaizY3nBE+r09qvXrkwSYl P8WA== 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=6+W3iADusyRfZQaowMEUR2yQLdWrhLi0wktJVeymUWU=; b=pfEwWMMPVHuZUx9teRukYGLYLDlXk/uYuY1SbYIEr/X01NHI8ilExTfy1s2UMZ7h47 gk/LTI5ZPulzYgGocu2WEAnafZT+Jz3xe/VUX6sTUM9Jrd/qzG1bZTu3yJvTMxlHBxID L1CJg49m6AW91b3yYWhtv74C6fLC+qVknamtQJg2Hui1Eg5mmHQyazX8Z+OSmjcTL/rg GQ1TlDRyngXKHAybACbWBF/VJqCAYCW3LTSq9SQbyNseWiF/ADL3Z/hVVG8WXr/R6aK/ TlZP9ZF7yCevh+9NFzu4zjcAr530H/YRLHDXLut/BhKcQYDx1tpuXfzAwcmTjsqtBG7N yOpw== X-Gm-Message-State: AHQUAuYz19bnzrkifso5OjqZ7mnnrpKO5Tqa6KTr1j9oy0v45CBSP+h1 O5UK/0ulCqPtC7J7mLvWAHI5mg== X-Received: by 2002:a1c:6c0c:: with SMTP id h12mr10341068wmc.35.1550493366716; Mon, 18 Feb 2019 04:36:06 -0800 (PST) Received: from localhost ([49.248.190.152]) by smtp.gmail.com with ESMTPSA id c65sm19504082wma.24.2019.02.18.04.36.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 04:36:06 -0800 (PST) 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 v1 05/12] arm64: dts: msm8998: thermal: Fix the cpu sensor numbers Date: Mon, 18 Feb 2019 18:05:19 +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 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 db4cb687126b..662ca458e64a 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -336,7 +336,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 6>; + thermal-sensors = <&tsens0 1>; trips { cpu_alert0: trip0 { @@ -357,7 +357,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 7>; + thermal-sensors = <&tsens0 2>; trips { cpu_alert1: trip0 { @@ -378,7 +378,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 8>; + thermal-sensors = <&tsens0 3>; trips { cpu_alert2: trip0 { @@ -399,7 +399,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 9>; + thermal-sensors = <&tsens0 4>; trips { cpu_alert3: trip0 { @@ -420,7 +420,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 10>; + thermal-sensors = <&tsens0 7>; trips { cpu_alert4: trip0 { @@ -441,7 +441,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 11>; + thermal-sensors = <&tsens0 8>; trips { cpu_alert5: trip0 { @@ -462,7 +462,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens1 0>; + thermal-sensors = <&tsens0 9>; trips { cpu_alert6: trip0 { @@ -483,7 +483,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens1 1>; + thermal-sensors = <&tsens0 10>; trips { cpu_alert7: trip0 { From patchwork Mon Feb 18 12:35:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 158608 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2440192jaa; Mon, 18 Feb 2019 04:36:21 -0800 (PST) X-Google-Smtp-Source: AHgI3IZo0LCKOeDgiYxr9o057BONu68SvMsrtIOE5jNUspuC4zcytT1Acs4i3ZlCDcxJSFluZkvV X-Received: by 2002:a63:1204:: with SMTP id h4mr22512946pgl.51.1550493381575; Mon, 18 Feb 2019 04:36:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493381; cv=none; d=google.com; s=arc-20160816; b=uiJA8sRwTaPZedwX3hUK2I65kTlCpQRqPOs7l6ABx3KEndOf6zMC6i7roojbys5MzF fO9KucNO626OyV7nabkkW1X4RNr3BpUU0x7dH9DSyLFgLLcPKBJMG7dHHTu5SlBJPk89 nG/85GVhJy7M9/hIc9Suk4Y9DCPj2l8mAV2qm4EzlWq+kRbkwy4BUDUyT/+9eq4OspAJ JU6b4jNa4pyVfHWCqDbsBqptQfe6CnsrH0cunktS17Ggiz9r+vN+yE8iyR8qm9HWmlHc BJtg0xZh+7Tx9fotCzXMzcI4mPvR6qxY1gLr5LiQCYQHHE1g1xJ8us8aptl7kGMF45KJ 0bEQ== 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=E3zqoukVK+Ya0YkeW29Ko/3au5HBn1f79BzxBsWHcKk=; b=ua6zcXQV31Uq38eW+WmIG85Ja5Zla80Z7Tt5JWiTiMV/lIG+e1rfmEXOtRM/1WanqX oMf+hz1DGNt6NogJzVr0HsfjcMDieemjlpmqLWJrPaBnNRPpeSw1poh3CCLBm01VaCfM O+QFDEPp6cxuRYSYzGPPAO19Y3mvAqvhSGFYAdyINRC/3093XvppCphym9K1HSb0x0AQ Jpgm5O/X7ixByqeUIE53i1CBNYxbnSo6TYmwUit+VwG5ab6b2aAhwZDZVTX+1207OptC ipX+4qH1a0UcPjcnH8MOXZy8Rar+i4EDNU+9cQ9LJklRwZL2hW82QW5SW92cQmH8c1VK xMNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gikiozbg; 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 x14si3727322plr.259.2019.02.18.04.36.21; Mon, 18 Feb 2019 04:36:21 -0800 (PST) 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=gikiozbg; 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 S1730549AbfBRMgU (ORCPT + 7 others); Mon, 18 Feb 2019 07:36:20 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33225 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727084AbfBRMgU (ORCPT ); Mon, 18 Feb 2019 07:36:20 -0500 Received: by mail-wr1-f68.google.com with SMTP id i12so18237465wrw.0 for ; Mon, 18 Feb 2019 04:36:19 -0800 (PST) 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=E3zqoukVK+Ya0YkeW29Ko/3au5HBn1f79BzxBsWHcKk=; b=gikiozbg8GjHM+ZQFhlHYcrN5kXzfvbJO8awqTdiNQM6hhvOuNBWtPVf6ofBk1jDh2 osx0FGPr+RvcBftHozZQmzUItjSf0j9XaJ0Mflm7Su221HreN+yT3A+xJM28ICn6tRRM msYEn6+2njMvURNeGaXaJla7qNn8q9rgV1rePD/Ay4rcsGqL19Rvn3y8xHHlH+hMTa/X ga/kO5HSbsZU6Sr7Cwh3/qDLbWV9sEEl6RafR+w1l+M48c5Aqtk/aVcGfvsoscTOhSDa 1yG+h2aLpgiplJ+C2fIXyrZ73OQdxyRmcvpUPTzp18Qn2Q7OK1TKiLXaoxt8zebytys6 4gHA== 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=E3zqoukVK+Ya0YkeW29Ko/3au5HBn1f79BzxBsWHcKk=; b=Qp62c6XZzqX1pC9bBaMpW/FBvZEVgGzCY1BIduMm2QcZ5PHMyqljYCaKLPZ2QPKmAI DRMrHW8RqKNVkYukesn5i6CZv9sejC6yLoO7qhGFpLRTewk2TtpaNiPkHGzstKU6qYEW GaBMTuAyIlt+c1N/ACwuY5M9FfSuOu4rqHIlnGDwltzT+lnzAbZIdJhzWTVjSMA4xitl riu9kKTdX2EzXI5nGI+FYW8SOegATssmpq2Nt5wu44WQYzxGld67jZxeevZRlshdIlh0 g6M9zsbt9+210gcctq5QT73eIqdkHSWhjWuM/KO7ppQyMptb57auEEpODdbvGc8P4HEd DF/g== X-Gm-Message-State: AHQUAua7nWi0DiEjaBX/OxLnJ3kqxybr+Xe74s7iEqDSOUFpH8HSAiJc AZRBp3Q0rW2MgwP7Nwo36YNF9Q== X-Received: by 2002:adf:f487:: with SMTP id l7mr16017941wro.86.1550493378565; Mon, 18 Feb 2019 04:36:18 -0800 (PST) Received: from localhost ([49.248.190.152]) by smtp.gmail.com with ESMTPSA id d2sm9907391wrs.97.2019.02.18.04.36.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 04:36:18 -0800 (PST) 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 v1 07/12] arm64: dts: msm8998: thermal: GPU has two sensors, add the second Date: Mon, 18 Feb 2019 18:05:21 +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 first sensor is on top and the second sensor below the GPU Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index ba579cf10254..dc641523fcbd 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -500,7 +500,14 @@ }; }; - gpu-thermal { + gpu-thermal-bottom { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 12>; + }; + + gpu-thermal-top { polling-delay-passive = <250>; polling-delay = <1000>; From patchwork Mon Feb 18 12:35:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 158613 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2440678jaa; Mon, 18 Feb 2019 04:36:52 -0800 (PST) X-Google-Smtp-Source: AHgI3IaP4lyYQ3N+3IJyTwbIRGNKnF+8usJwUeyNJotz7yLNl3h57eTD7XT0LvSDDBjrSRp291ug X-Received: by 2002:a63:2a96:: with SMTP id q144mr18437025pgq.338.1550493412046; Mon, 18 Feb 2019 04:36:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493412; cv=none; d=google.com; s=arc-20160816; b=fRtypotHKWRiJr3Ofnz3omsXXpDef/taX70jD7uPaEIO3C7zIJti4g5S6a1DkZo2Eq jIiURpkpsHZ92KMZziKUnaD1bOPxKcFeAOCsbvsU8Pt/a7aORXbuiLXQh7XXS9hdXlMV b+VAPZ/VvV9SQuD6av4O8/PsjlqJFT/e50KaNyjJi9E2BwW7TZrVf395dBsDEM33SkNg ASHSvcrq5HljuE8MP4m5NtNY2fGky0xK+krPSJo7K26UCMpsXRaObPQB5mlX1dH7zcUv 6656EiEFQ5lAwBNqoTw2zno6b8jaZy/K4wkD6tMcZnNVfz9euIE0fHzYdvxka7jMx1kb eEWA== 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=ZwbKvS0X0Qv77slIXShMzIdWeL2cn1uriKE5mTqa5TE=; b=g+W1CjLcdjzjKwHDFZZuB8CPZcRJUVc8eW/9LJxVGRXBTIHDZkkSutwaMB63uuFmuU ripuTeGtF/gbuc6BnBc7gKOR3QIlWrauvg9z7N6hJ3eSjY3gL5Dz8tirA3Be1iovlhlR Tg2MHITk78CGwBPsX+/6qZ4oZ8Gd9FPjsYnwAWbTotBhLrfWLKieFWjq3F/ThIvaK5uv qY5d4EbFFXDO7wIkYUNlxXSKHlA5OqPaUNiAamv/cHG9gDOyA0dOM0+256A8HbhDxk0T 9eFL0wl/ZZ7TemS0d8wuSAoI3aA8kuoCno3jhnMwM7fOpqa4x1qEArM8NjNieeNLPuwX gFdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Cdi3n/vV"; 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 z13si13231618pgf.294.2019.02.18.04.36.51; Mon, 18 Feb 2019 04:36:52 -0800 (PST) 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="Cdi3n/vV"; 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 S1728293AbfBRMgu (ORCPT + 7 others); Mon, 18 Feb 2019 07:36:50 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51522 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730446AbfBRMgu (ORCPT ); Mon, 18 Feb 2019 07:36:50 -0500 Received: by mail-wm1-f65.google.com with SMTP id n19so5061759wmi.1 for ; Mon, 18 Feb 2019 04:36:49 -0800 (PST) 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=ZwbKvS0X0Qv77slIXShMzIdWeL2cn1uriKE5mTqa5TE=; b=Cdi3n/vV4GCuY8I0lh5d1n2i0aEGuAeW9ZeYDLoH8bBiP8F81OK2hAGG0lVLYH1OYZ jvkSMrEIYVeIwxcFYWc27L9vxCxsFwThcd0kf/OlP2Om5HnlFYydpuyZIFGXAyOAN2zD DKJXrgBk4A3Z2aa+G2/C8DG86kPgaimReBfDnqq3VVgtZWAzKsWzCo131kszkiplZkNN iEoD8zBUhfQfoOYrFmmnLWoN6zoWXK9JAy9s1U8cyMxo9nR2zQzF4fBTa3FS8c7fD0ip iXDX+X9jkEUf6Tih7d8N+H99Bj3cxjOFgzPBY+hcepU/ngXrXe2qD3svfSLvpf1cZXcj lPhQ== 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=ZwbKvS0X0Qv77slIXShMzIdWeL2cn1uriKE5mTqa5TE=; b=mRS/8Rv6TY0FjjfDOPhQPl/MDatxREC7TMJqK6r+SZAqe2/ZqZghMih4EjyPbuA2sC A2npI5uvOS46HC4cuy4yUh40Dbrv9KZ0pYTWubhbUkA/eHs7DXDSBhImbtAW0TODrj9H 6+vajTw7qdIWwEtJDpBcrqymAw/vmKz/GXbc+R5wmw4+xNisbh49OKpwl4GHVb/BWiqw Qr6lDXXx1BzkQAZnBCrbgwomshszWQVK1fDuBvWvCF4uCc3FEqxLTpcLH3KblBc3l+05 9e2EWV//CCYGcDD2CbRcU+TA7qaIw8/FTDuG2CzWNx858JtYuhnA5zwsG/RVUhHuCZSn 2BuQ== X-Gm-Message-State: AHQUAuYYj44MOGi+8Lvk7x8TVdP3vosXrea/xowxEBf/zppdVLggfiat YjjP6OBHK8fFe33hI5gKFVPEUg== X-Received: by 2002:a7b:cc93:: with SMTP id p19mr8130233wma.113.1550493408607; Mon, 18 Feb 2019 04:36:48 -0800 (PST) Received: from localhost ([49.248.190.152]) by smtp.gmail.com with ESMTPSA id q78sm5397508wme.43.2019.02.18.04.36.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 04:36:48 -0800 (PST) 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 v1 12/12] arm64: dts: msm8996: thermal: Make trip names consistent Date: Mon, 18 Feb 2019 18:05:26 +0530 Message-Id: <099a769da066d4e81a1f6087bf2c3eff41245adc.1550493113.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 Maintain naming consistency with what was landed for sdm845. Simplifies parsing for test tools. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8e36a39e1386..67ab6e31b0e5 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -154,20 +154,20 @@ }; thermal-zones { - cpu-thermal0 { + cpu0-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 3>; trips { - cpu_alert0: trip0 { + cpu0_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit0: trip1 { + cpu0_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -175,20 +175,20 @@ }; }; - cpu-thermal1 { + cpu1-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 5>; trips { - cpu_alert1: trip0 { + cpu1_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit1: trip1 { + cpu1_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -196,20 +196,20 @@ }; }; - cpu-thermal2 { + cpu2-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 8>; trips { - cpu_alert2: trip0 { + cpu2_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit2: trip1 { + cpu2_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical"; @@ -217,20 +217,20 @@ }; }; - cpu-thermal3 { + cpu3-thermal { polling-delay-passive = <250>; polling-delay = <1000>; thermal-sensors = <&tsens0 10>; trips { - cpu_alert3: trip0 { + cpu3_alert0: trip-point@0 { temperature = <75000>; hysteresis = <2000>; type = "passive"; }; - cpu_crit3: trip1 { + cpu3_crit: cpu_crit { temperature = <110000>; hysteresis = <2000>; type = "critical";