From patchwork Thu Jul 21 12:44:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Jaszczyk X-Patchwork-Id: 9241605 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 25E9A607D3 for ; Thu, 21 Jul 2016 12:46:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1755D27D85 for ; Thu, 21 Jul 2016 12:46:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BBDD27E71; Thu, 21 Jul 2016 12:46:22 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A5C3227D85 for ; Thu, 21 Jul 2016 12:46:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bQDLK-0004w3-61; Thu, 21 Jul 2016 12:44:46 +0000 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bQDHm-0001kO-KU for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2016 12:41:10 +0000 Received: by mail-lf0-x22e.google.com with SMTP id g62so60712163lfe.3 for ; Thu, 21 Jul 2016 05:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=B2POV6TFCpLc2vTNWqCaxdTmO6iSuIbcU3SkC1BDEmQ=; b=NyXYLrLTHVk9YGy+ZfL89lwdvDjnsJAaTGWOZmPxQdqOF5FL1teLwNEQbO3T87GbNU n9+wzKrJDUSOgDVpll9AGza1ojIsL4S2mPQig8+c1U5p/UDtAFSwNTi706zL7lH6VfLp 94CZy/vmmb7b8kqdxT7xh+HjeIrgjhKxSIu7MfYFDb+F7fCUH5TdTcm7h6xzEnbwLtDk qYjr6nCPE3TS/yZF9kdfQv+Vg7iapW1v1fFbu/Om73JvUrLM7B2dngTuaKU8AXj1RFxz 2gZFhwefgaEZZ1XGLAJwZzV7t6N202SCYhtcUZwk3zUwpFtjTv9pGB1WahgvJ+4Ts3Ji Mf/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=B2POV6TFCpLc2vTNWqCaxdTmO6iSuIbcU3SkC1BDEmQ=; b=iVyQe+Y6dnDYKVwH0kLLfmTkHwXLJayYDyS1MH3wRwKqbRZts/xmJ6Hv4SL2B62otk 3MqaovF8Za2qnPzmV1JbcRZOakf0rT5162YkrTQXBpvU2+Jmm2IDZo8prckTxyzxL/13 bc4wAxN3dll2FwmUJV5B/LXpZuCVFo2HOmCMt/BxdjnAeqySqC7fpvoj15sac95GoGVq 1sUwvj5qtg80Jj+W1f2kWbej1LjGkH60p/937WFphdgK7psM9g59zxmycT/VFTg7PaSO RKA6UFTXh+OhmBvrnyTTIYuOe/9SF2+JKfir8XMwK7AA3GU7VpjFYGyPKyP6ermJdD04 /Jbw== X-Gm-Message-State: ALyK8tLZ3DetEUy/15kZOo8PCYoQmrH/row2QZ0ppwROQyvvEeF18J5GYgLJznoxnk5j4g== X-Received: by 10.25.16.212 with SMTP id 81mr22374593lfq.174.1469104849155; Thu, 21 Jul 2016 05:40:49 -0700 (PDT) Received: from enkidu.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 196sm1759701ljf.5.2016.07.21.05.40.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 05:40:48 -0700 (PDT) From: Grzegorz Jaszczyk To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/18] ARM: mvebu: a39x: enable the thermal sensor in Armada-39x SoCs Date: Thu, 21 Jul 2016 14:44:06 +0200 Message-Id: <1469105055-25181-11-git-send-email-jaz@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1469105055-25181-1-git-send-email-jaz@semihalf.com> References: <1469105055-25181-1-git-send-email-jaz@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160721_054107_181196_AF151B75 X-CRM114-Status: UNSURE ( 8.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, andrew@lunn.ch, jason@lakedaemon.net, jaz@semihalf.com, linux@armlinux.org.uk, alior@marvell.com, robh+dt@kernel.org, gregory.clement@free-electrons.com, mw@semihalf.com, thomas.petazzoni@free-electrons.com, sebastian.hesselbarth@gmail.com 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 Signed-off-by: Grzegorz Jaszczyk Acked-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-39x.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi index 8a22c02..03dc0ec 100644 --- a/arch/arm/boot/dts/armada-39x.dtsi +++ b/arch/arm/boot/dts/armada-39x.dtsi @@ -413,6 +413,12 @@ clocks = <&mainpll>; clock-output-names = "nand"; }; + + thermal@e8078 { + compatible = "marvell,armada380-thermal"; + reg = <0xe4078 0x4>, <0xe4074 0x4>; + status = "okay"; + }; }; pcie-controller {