From patchwork Fri Jan 26 15:19:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10186361 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5EA8F60383 for ; Fri, 26 Jan 2018 15:23:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F6C629C19 for ; Fri, 26 Jan 2018 15:23:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 429FB29C2A; Fri, 26 Jan 2018 15:23:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9BFAB29C19 for ; Fri, 26 Jan 2018 15:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=TfyfQM9MXWlzUXDk/laUEyjkgy9+b5d9QiYmcdtAB44=; b=BF1YY0Y5GySzr8amL1OaKNGkYm w+09YztvZFE6NuEmKCDSDEGtQKfMwpqmL/8AIDix5vcf6KBvLM1p65VIoiTr6hHoAekoy7nEgfX7G 1sb4lH0fQYiGuFr+tpdPtpi9hh7+2pd9ix8NZESRKcXkLvAJfW8qeKNJDrFMrbLhmVRJWdloOm2Ba 0BW8ax7ASst8T4bulJxjNsRktL2LWxF4fHceGltGo4RJcjY09VlFGgl2pB9Vi3yk5umSRJS9UHV1Z r9N3qvpuBM38Tleou8A3bqxIR44AV6rMYjPZ8MZE6RdLCnQFIlgLyrmB33zwyFgg9cv1jci3LGt5C K1lb7VyA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ef5qz-0005ih-Sz; Fri, 26 Jan 2018 15:23:45 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ef5ng-0001RJ-7y for linux-arm-kernel@lists.infradead.org; Fri, 26 Jan 2018 15:20:23 +0000 Received: by mail-wr0-x242.google.com with SMTP id v31so817487wrc.11 for ; Fri, 26 Jan 2018 07:20:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=g61JScaEOzqyAkzOl5H2jDONPw41Hfux8fDovMvXXps=; b=A2U3B2s/PrTqU6nI8FPUtErKFib3Wi0vOe4IlZLNnIzsWRQ1yhPQVe1/RHt5p7C06l du7H3xdK9o+dPECZCeDoxiWQMPWFrLPVf9c3ITTbV7ixhN5ncG0h3mq5FTSR1qTJfyy/ Vfg4A/yHAdGWeI5iXWM2dTzAvnnyno67l/IwxoKuEChQIVRm5dSdZWtC6lSw+29lc/Gr MeFzKPAH24JBMcJvzXw8c+eYUEknRiA/MhG1m+KA90Le/Wt3rqbIPK7HdnsMRhLATImW PWPeURfvndMzVImeZoPsn7UWAf6FfoLSRx7v44Il/ayt5u7LPjSGC1hDAdZ8ItKt7NlE bjSA== 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; bh=g61JScaEOzqyAkzOl5H2jDONPw41Hfux8fDovMvXXps=; b=YrmmQ3Zojoi7GWIGAOceW8Ko93mfAj7QFvqL9LRg40gHYBRgzNbT29uy3T2pb7dc0n u3aAEjaRJIgJF2ll0+bQouB6XOcdYw0GxEIQkmf2vvxluFw0C/HaZxftYRWliLsggdhy nA0ZuYXOb7rGfgQV51vQhePZmMdCj5/wrxj+7+3pM33DK0pHRsA6/7EnjVnJLP/6IpFJ K4GM9s+9jY4ufusv8RiGlesdIeIvXG+1h/1EUWJ0/fSQ+0AGnQImUIrvpVLT+4ssZ10s 3ApH2jRUTKdGMWeEklA6/HrdrOOAWaLsGtDWIDpDOKNAW7Y3p3aXFutqNEd9xJ/+5n+8 VfIA== X-Gm-Message-State: AKwxytfQM8jOQPoruGksumb1eJmCh0f2TB54rXUgohAnbG/gNJXFqCP7 dz+XUnI9ygavSZoSoUXliVI= X-Google-Smtp-Source: AH8x224dU7HmwP4FiopqtyXzSd3y+GNCHrtXGx3kapGPcA8UOxmigPsq2TbSPG+V6Ec8qmzTESvZ9w== X-Received: by 10.223.198.198 with SMTP id c6mr11752793wrh.159.1516980008820; Fri, 26 Jan 2018 07:20:08 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id e15sm4586130wmd.26.2018.01.26.07.20.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 07:20:08 -0800 (PST) From: Philipp Rossak To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, davem@davemloft.net, hans.verkuil@cisco.com, mchehab@kernel.org, rask@formelder.dk, clabbe.montjoie@gmail.com, sean@mess.org, krzk@kernel.org, quentin.schulz@free-electrons.com, icenowy@aosc.io, edu.molinas@gmail.com, singhalsimran0@gmail.com Subject: [PATCH 13/16] arm: dts: sun8i: h3: add thermal zone to H3 Date: Fri, 26 Jan 2018 16:19:38 +0100 Message-Id: <20180126151941.12183-14-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180126151941.12183-1-embed3d@gmail.com> References: <20180126151941.12183-1-embed3d@gmail.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the thermal zones to the H3. We have only one sensor and that is placed in the cpu. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-h3.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index fbb007e5798e..3f83f6a27c74 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -72,6 +72,15 @@ }; }; + thermal-zones { + cpu-thermal { + /* milliseconds */ + polling-delay-passive = <250>; + polling-delay = <1000>; + thermal-sensors = <&ths 0>; + }; + }; + timer { compatible = "arm,armv7-timer"; interrupts = ,