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>; }; };