From patchwork Fri Jan 26 15:19:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Rossak X-Patchwork-Id: 10186375 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 C21F460383 for ; Fri, 26 Jan 2018 15:24:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B35AE29C19 for ; Fri, 26 Jan 2018 15:24:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A574729C2A; Fri, 26 Jan 2018 15:24:23 +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 3D26D29C19 for ; Fri, 26 Jan 2018 15:24:23 +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=uCT4dGB7s74+RhZCDZ5I2/XPs5IiidCl1M5wpZj+oWk=; b=umxSeMgGyBQ3fvcLKS3j9HpDg0 aNWjoBPBoTKSN1vEUzXEA1o4T8ApaX1Qo32mhiw47Nwc2vg5uxyXKwNtMrc4lRzZhFtlkpwvPf0Ii 8lYYRLsPwqGIF1ANumtHSgfZz8dBe7ONSv4xVG3OByCArSWzUYyAVep4MSUXpHMdgTFWsCnaJ1Qos lK0VuyO/BnaPf0qyUWvU5h8CpyPlp+wt52KXiSSyivi/tmqAhUHickZ7RRAk32awPrOnOAUcGcbCi Ivwn8GB7JOQW84O2YRyiUUGhiI//IfK2qOZFmG8n8hEBop1KqQQCTTqiZGpnhR8yvygU7z6SCt7gM ymXD9hdA==; 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 1ef5rW-0006HH-H0; Fri, 26 Jan 2018 15:24:18 +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 1ef5nm-0001yv-BW for linux-arm-kernel@lists.infradead.org; Fri, 26 Jan 2018 15:20:29 +0000 Received: by mail-wr0-x241.google.com with SMTP id z48so832401wrz.6 for ; Fri, 26 Jan 2018 07:20:15 -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=DZLovTWq7u5thpr01HljQNaJh4jp/OWcfONlE0dnmjg=; b=u8MeJJKcdnaVD7dVVI3MFQ8KLFWu8QRnH95H0wgLbZWhFUSE+igFlKpnUTOsPkDYjg +i0VH6GPhdXMRdWx88gY/w8bReA8rPaso6fdWEhZxdeHGuzxPLqO8clkhsIis68yEUly nXZEIJIFylAxDGaA/aiLHliPKEVW54LNWT39XZ4swbLahI5uk5Nb7iBdGvV9/vH032sM mW2sj2xUu/98pvvdkDA2POOrXRlflUYi+/czDz+IMWrEZpzLi7bBIduMEQxX8NSrwZ1l sgZUwNEkE1bftxrp7TqLZjMjywI+QFcoF/9ZGRU/4hB+kIjQIIyw5KTt5DPPn/omXQuR aQ3A== 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=DZLovTWq7u5thpr01HljQNaJh4jp/OWcfONlE0dnmjg=; b=BDOK8U+IiDlAt3kw9Wn/jyTAQ8cbBC03phdp0dQAbd0GO4vwk7axHPoabkXS8xSbTj uHuff5vXyYBhNq9jLgfFdABIEpgXdcAA+Sh8kvqZACm6ID+72zHRbtZcsEsZqqvCux1z oumJbtlvabo08ih09eLTZlLeRMVdu+UuYRFtw1E1ACgJf3zUCAT2kw1wAkeGhaxDoKBp A7MckRpOwbhPhoS4LFHXKeMBJWH95fseA42AnDvIXsqj/VSbszM/aSQAnpEZOFsY5qAf 8PE0P4KfJ9Tx65Z7fX6p0YC+D5vbGqWBZ69Cz6gmRQSbvSQPxTy3yKbAwlFln9SuSLmG JRTQ== X-Gm-Message-State: AKwxytehi33/2xt2OkrtExIlbY/H7OmndzmELPnhD1ptbxPqTFwBeHEz NBFSjq5QAIS5CkiqEY0h1s4= X-Google-Smtp-Source: AH8x224kz7yF1ZDeIp1Y+tA1b1xgAEyidJGASWfhogRnTwukBt7fYvyXQt0tl4jb81x3o9OKkvc+Og== X-Received: by 10.223.186.194 with SMTP id w2mr11484722wrg.154.1516980014360; Fri, 26 Jan 2018 07:20:14 -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.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 07:20:13 -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 16/16] arm: dts: sun8i: a83t: add thermal zone to A83T Date: Fri, 26 Jan 2018 16:19:41 +0100 Message-Id: <20180126151941.12183-17-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 A83T. Sensor 0 is located in the cpu cluster 0. Sensor 1 is located in cluster 1 and Sensor 3 is located in the gpu. Signed-off-by: Philipp Rossak --- arch/arm/boot/dts/sun8i-a83t.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 9e53ff5ac4ed..4259a8726031 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -747,4 +747,24 @@ #size-cells = <0>; }; }; + + thermal-zones { + cpu0_thermal: cpu0-thermal { + polling-delay-passive = <1000>; + polling-delay = <5000>; + thermal-sensors = <&ths 0>; + }; + + cpu1_thermal: cpu1-thermal { + polling-delay-passive = <1000>; + polling-delay = <5000>; + thermal-sensors = <&ths 1>; + }; + + gpu_thermal: gpu-thermal { + polling-delay-passive = <1000>; + polling-delay = <5000>; + thermal-sensors = <&ths 2>; + }; + }; };