From patchwork Fri Dec 7 23:15:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 1852061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id BE0B3DFAC4 for ; Fri, 7 Dec 2012 23:06:11 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Th6xA-0002bd-6z; Fri, 07 Dec 2012 23:03:32 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Th6x6-0002aw-KT for linux-arm-kernel@lists.infradead.org; Fri, 07 Dec 2012 23:03:29 +0000 Received: by mail-pb0-f49.google.com with SMTP id un15so606332pbc.36 for ; Fri, 07 Dec 2012 15:03:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=+IaJ922xVO+ZbgiabEZl87Hd1mQwuAO+XnNnn9lcwJI=; b=LePT1McCTjCjLp/b04L98Glv9OoFvREHETtSsOgCWh8620TZpySpIw1NGwDXKtO2Tn jIYesBnuT9MoC3k3mIAeP2ziplg4lscV4c7UtOSW0suNVaXTl37htaZCtGhRoo578jH5 lZbGV6C5qsSWY+S0KJwznYSEBqEIKe5OSO3Wno6mhrxu76XWczP3EgPahzr5/waY6/yI au8WLtsQvpgHZ+Ordz9RsudqXirvivnz53j4ipgOHMuEuB10NjOvMCV3YfvXHBKr6/sE oP8pnXDc773IQvaM5iFwNOdlOGgpRCHI0CVaJaEBto11abh8xqc8Kcdw5a2ASr+C0X1q B+Wg== Received: by 10.68.253.230 with SMTP id ad6mr19916152pbd.84.1354921406110; Fri, 07 Dec 2012 15:03:26 -0800 (PST) Received: from chimagu (y104036.dynamic.ppp.asahi-net.or.jp. [118.243.104.36]) by mx.google.com with ESMTPS id rk6sm4619991pbc.20.2012.12.07.15.03.23 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 07 Dec 2012 15:03:25 -0800 (PST) Received: from iwamatsu by chimagu with local (Exim 4.80) (envelope-from ) id 1Th797-0000r4-K5; Sat, 08 Dec 2012 08:15:53 +0900 From: Nobuhiro Iwamatsu To: linux-pm@vger.kernel.org Subject: [PATCH 2/2] ARM: Kirkwood: Add support thermal sensor for 88F6282 and 88F6283 Date: Sat, 8 Dec 2012 08:15:51 +0900 Message-Id: <1354922151-3250-2-git-send-email-iwamatsu@nigauri.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1354922151-3250-1-git-send-email-iwamatsu@nigauri.org> References: <1354922151-3250-1-git-send-email-iwamatsu@nigauri.org> X-Gm-Message-State: ALoCoQmXyBBpL+Czy8ZGNqg6QCGd2bJHbcMUhZcQDg45WIIzcWRms/8bfIP/1l7Tcn9vbrybAO8I X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121207_180328_898198_55934BB0 X-CRM114-Status: GOOD ( 10.23 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Nobuhiro Iwamatsu , rui.zhang@intel.com, jason@lakedaemon.net, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 88F6282 and 88F6283 has thermal sensor. This patch enables DT and kernel config. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/boot/dts/kirkwood-6282.dtsi | 6 ++++++ arch/arm/configs/kirkwood_defconfig | 2 ++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/kirkwood-6282.dtsi b/arch/arm/boot/dts/kirkwood-6282.dtsi index 9ae2004..4d9cd74 100644 --- a/arch/arm/boot/dts/kirkwood-6282.dtsi +++ b/arch/arm/boot/dts/kirkwood-6282.dtsi @@ -41,5 +41,11 @@ clock-frequency = <100000>; status = "disabled"; }; + + thermal@10078 { + compatible = "marvel,thermal-kirkwood"; + reg = <0x10078 0x4>; + status = "okay"; + }; }; }; diff --git a/arch/arm/configs/kirkwood_defconfig b/arch/arm/configs/kirkwood_defconfig index 93f3794..3d8667f 100644 --- a/arch/arm/configs/kirkwood_defconfig +++ b/arch/arm/configs/kirkwood_defconfig @@ -118,6 +118,8 @@ CONFIG_SPI=y CONFIG_SPI_ORION=y CONFIG_GPIO_SYSFS=y # CONFIG_HWMON is not set +CONFIG_THERMAL=y +CONFIG_KIRKWOOD_THERMAL=y CONFIG_WATCHDOG=y CONFIG_ORION_WATCHDOG=y CONFIG_HID_DRAGONRISE=y