From patchwork Wed Jul 31 12:14:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume LA ROQUE X-Patchwork-Id: 11067629 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8285914E5 for ; Wed, 31 Jul 2019 12:15:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DA9A2885F for ; Wed, 31 Jul 2019 12:15:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 612EA288E5; Wed, 31 Jul 2019 12:15:42 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 0D2B12885F for ; Wed, 31 Jul 2019 12:15:42 +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=Xne3GggnvQvHryGn26q3uPDDuyHX01pY1Sm3fBZmNug=; b=FzzPMl0KY/zxKWM7GkB+kjdg3I mNfEH8ApxjnmrkfyXVmWVCbgdAZyc94gPGDvb+yWW9volRgNKCgtHMmsS6Exu4o/oGyldSTL6Gxac L7NDWFgwcCL3faUSLM6wGPVIrWuRA0i2G/MVXQFL+7y9Rw2U9YQ8dQZbnNhn12gIkibsZ+0r4iQkR fbscDrKpuRnm3CIknw//s0Kr0pgJDrAN44vHWtCeQbq4hZ6SXLvffX4B/zUtXmS89fQZUV6F5ZsmT QCzpcFxpcT0FuRn8dcpnODHB8XDkcYV2pP0e2Icc2grITK+ALi2DxytO+Z/OE08KJWoFvFRJAKo8h mDh1gCrQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hsnW1-00086b-1I; Wed, 31 Jul 2019 12:15:33 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hsnUp-0005RC-C2 for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2019 12:14:22 +0000 Received: by mail-wr1-x442.google.com with SMTP id n9so44350270wrr.4 for ; Wed, 31 Jul 2019 05:14:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BOF17YQQWl12xZ1QhY8MZFUcVRdvZruqxl9AoPVourc=; b=KOwU/VDLfH4d9hcV47fA2w/uqwOYT2FS68Y+GEZgeAIxQeMzox1GTF+0nrmfbwgok6 lFKgs6HQrZ5vHJV79TS3uRpfM7LBBpF/8oOwgSPwJoZn4uSGVeyYfnWNtxTN0cCnSKnA fwLcqzDLNkSmAbYJFRKWbisb1VHFrT9BBYe1njiRWWCpIVjSFXkGFjmG8l7ix6YGmBuO jmb5mztHtAF8AeFgsBIRAXSHH7dLXHH2WTPiyN1yejHwdxPZrwqe+2OU49FlyeZkQ6rT E+OVoUnb/VSTVGanCM84e147CCmhwhG/RaHrkLmA2+q2AMN+jbaHINtHsTQGrCX8cYtO lB1w== 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=BOF17YQQWl12xZ1QhY8MZFUcVRdvZruqxl9AoPVourc=; b=gBECxtasF4wkJ5uXz+VZTiYcPq7QxaHrs839GCYgcer7O4fJQOqiVOZ90By7f9854B VJQXXfFmVCIGEsYniy9mGLfrKZBWwJsHMRFI6V5vXamxDQwf6QvxJGeaYKsBrDZ5dMVG bQTkqE12DFe7GvSEdOJi8KbzM/lcfJEJ0/5MmTpu9WtMfN6SUJaW7Myz3fGW95MnFsk3 ApPmidK1c1yFIAOiyDDlpZIGG6zv2kCEAjI42EY8q7HG1or6uA55BRjnQPZZv5NOZruP I55vxAH9XPKQh64CDods0WzfO9SgTdk2gb11GQBQOCJmjepBvgbqCL0O2Qo5D9zDUjSx b4ZQ== X-Gm-Message-State: APjAAAVYNYg8QoI4j9jIk4lE97LGhF1AFMcKYBdLkZyKXKuzrCeZCXTr +6DF5Ez3HUeiF7P6xj+OvMjH2Q== X-Google-Smtp-Source: APXvYqw5Af6krHH2u8yfiDYnUo0PUK03ieMfQQIWsJDDVp5cTQO8+Z6dt5o79L+VaM5ofBQMkgnbuQ== X-Received: by 2002:adf:c803:: with SMTP id d3mr61363995wrh.130.1564575258197; Wed, 31 Jul 2019 05:14:18 -0700 (PDT) Received: from glaroque-ThinkPad-T480.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id a64sm3613713wmf.1.2019.07.31.05.14.17 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 05:14:17 -0700 (PDT) From: Guillaume La Roque To: daniel.lezcano@linaro.org, khilman@baylibre.com Subject: [PATCH 5/6] arm64: dts: amlogic: odroid-n2: add minimal thermal zone Date: Wed, 31 Jul 2019 14:14:08 +0200 Message-Id: <20190731121409.17285-6-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190731121409.17285-1-glaroque@baylibre.com> References: <20190731121409.17285-1-glaroque@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190731_051419_464019_F4F44ED1 X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.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 Add minimal thermal zone for DDR and CPU sensor Signed-off-by: Guillaume La Roque --- .../arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts index 81780ffcc7f0..4bd8d6d0c972 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts @@ -20,6 +20,19 @@ ethernet0 = ðmac; }; + thermal-zones { + soc_thermal { + polling-delay = <1000>; + polling-delay-passive = <100>; + thermal-sensors = <&cpu_temp 0>; + }; + ddr_thermal { + polling-delay = <1000>; + polling-delay-passive = <100>; + thermal-sensors = <&ddr_temp 1>; + }; + }; + chosen { stdout-path = "serial0:115200n8"; };