From patchwork Sun Jan 28 23:29:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10188619 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 F2FA160383 for ; Sun, 28 Jan 2018 23:34:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ECB56286D1 for ; Sun, 28 Jan 2018 23:34:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0F8D286D7; Sun, 28 Jan 2018 23:34:09 +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 806C4286D1 for ; Sun, 28 Jan 2018 23:34:09 +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=h+DzEozccppeuKqPASn5raJGlL +lB549XH52rPRI1w8XBGhRWuTrGWVXCctYZC8QkbyfCRYlh8ORFv8bsovmMY75xvnkucbt8isUVi3 G/NS3bHFawU5cOVMuJcyxyEwdP4yJ3l08pBQUwnBDf94TtKTAlKzqAAubCKVMXTD0yexkSs0u3W0P a0IHJ664nVj47aTU+fvHzCl44F+dnOpVODcEWXbRMj8XE0NCSC/xPuDaC16IWjdMk5w0BzRAPPPCg NTNyoK1YuNa87qr1RKojiZ7RsX4THWiSdZyc5BK6hCS3TLX6iwrSko6T616q1TrtwYcv6hgrClQko ymGmMZrg==; 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 1efwSa-0001Cl-FS; Sun, 28 Jan 2018 23:34:04 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1efwOc-0004SG-CJ for linux-arm-kernel@lists.infradead.org; Sun, 28 Jan 2018 23:29:59 +0000 Received: by mail-wr0-x241.google.com with SMTP id i56so5273252wra.7 for ; Sun, 28 Jan 2018 15:29:47 -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=ErmVdAMUrzJlGY9GkoRZa7HaY57Odu80o20htr8SSv82BQmj11B0bpvcW5lBndaQYz 72K1+i8JYV4dYz3H/fmtqi9e/TMs1dt2/iJ3oMDXWisRDPK4Ce/Weec6dyVDWxvGM2A+ XazIld2xRhAeEvGRegGdJr7Yt0mfLSurmUf/iU7y9tfwef4CDApvw5ABaD/yrEloePZf p6sIeXVWVZgoLg17C0931z+T+p0LsxC7YX5vDneD3opORbdcu6muPIiOB1wBnqySLppY DklPdGZcw1geArWRFCTwuArxZ34hDzPoiDp6sgpJAKVCXRdAI6oDleysExp8LSAq+W7+ Ol7g== 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=CaHmpMse1UDGk1Vuoq7HD+1L6WMJPwJtknzENsWrzIZiRHS6E9Oe0W3d3C2eqnspSp mzlM/4C6YXK6hzpqf6Eqx1yX8CI4FAKdQPA5uSKRGCtGgN/IDy3mNe6NTNoa4ryaUmtl /E/k4RqdU3RELloLCPR0UmTYQVc2HACrM6QUWQRz9WTKVmqsTme/eKAJkPZhcBWEFDWZ 8loYhCt5j3iFjEqw/Fu2nV482ZXZ+ar6xCxYRWEbd8/Jv0UFGNiGVSduTr9Ta/WsIGus jJrwgR06tJQvfRyiLIJQb1EJ8R89BK7ype6WBkxYJEb0fdc27m08j0iZKUt/jcDRBe3g 80lQ== X-Gm-Message-State: AKwxytcjYjhHW5VfGJ4FNfYRyCAn1y130Wz99maqYRGLNORvFF7MhbMK B7/mJmBkyu8c3KfeKoekHdU= X-Google-Smtp-Source: AH8x225mtnOEeVNoJNFsSdddaNQCZQtCDNqNKrrbOyiaQKRJ2hkwtAPGFJgdwIPK68h7UMqPJdEi+g== X-Received: by 10.223.158.194 with SMTP id b2mr19001620wrf.265.1517182186708; Sun, 28 Jan 2018 15:29:46 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id m86sm11839223wmi.40.2018.01.28.15.29.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jan 2018 15:29:46 -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 v2 13/16] arm: dts: sun8i: h3: add thermal zone to H3 Date: Mon, 29 Jan 2018 00:29:16 +0100 Message-Id: <20180128232919.12639-14-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180128232919.12639-1-embed3d@gmail.com> References: <20180128232919.12639-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 = ,