From patchwork Thu Oct 9 16:38:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 5059961 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2C0299F349 for ; Thu, 9 Oct 2014 16:52:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 62BBF201FE for ; Thu, 9 Oct 2014 16:52:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 84C28201FB for ; Thu, 9 Oct 2014 16:52:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XcGur-0006bf-RO; Thu, 09 Oct 2014 16:50:13 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XcGll-0004IP-D0 for linux-arm-kernel@lists.infradead.org; Thu, 09 Oct 2014 16:40:50 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0ND600K9JRNJRG50@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 10 Oct 2014 01:40:31 +0900 (KST) X-AuditID: cbfee61a-f79c06d000004e71-77-5436ba7f9516 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id D6.ED.20081.F7AB6345; Fri, 10 Oct 2014 01:40:31 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0ND600M6SRKZPK30@mmp2.samsung.com>; Fri, 10 Oct 2014 01:40:31 +0900 (KST) From: Lukasz Majewski To: Eduardo Valentin , Zhang Rui Subject: [PATCH 20/21] thermal: exynos: Make Exynos5250 TMU compatible with Exynos4412 Date: Thu, 09 Oct 2014 18:38:56 +0200 Message-id: <1412872737-624-21-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1412872737-624-1-git-send-email-l.majewski@samsung.com> References: <1412872737-624-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsVy+t9jQd36XWYhBk9OSVo0XA2x2DhjPavF 9S/PWS3mX7nGatG74CqbxdmmN+wWbx5xW7x5uJnRYtNjoPjn3iOMFjPO72OyePKwj82Bx2Pn rLvsHov3vGTy2Lyk3mPdtLfMHn1bVjF6fN4kF8AWxWWTkpqTWZZapG+XwJVx42p6wQnOijtf rrA2MP5h72Lk4JAQMJFoPZTfxcgJZIpJXLi3nq2LkYtDSGA6o8Stu+eYIZwuJokNLWuZQarY BPQkPt99ygRiiwh4S7zeN50RpIhZ4CqzxOXdK1lBEsICERJbFh8Fs1kEVCX+3/jLCGLzCrhK 7PrxjxlinaJE97MJbCA2J1D86ePVYHEhAReJ249esk9g5F3AyLCKUTS1ILmgOCk911CvODG3 uDQvXS85P3cTIzgUn0ntYFzZYHGIUYCDUYmH98E/0xAh1sSy4srcQ4wSHMxKIrzbZ5qFCPGm JFZWpRblxxeV5qQWH2KU5mBREuc90GodKCSQnliSmp2aWpBaBJNl4uCUamBc+ngP5zFRN/U1 DMEZxm+nB8SvkjLc/KekLtVOlePvy2DtbXWZ3AefVtes6mOq+sWs9+LYxsdHLz9q2cy+2fnW eu2FTzYI7m9Xe6P3pe/kuxtm2imaF57P91+4NJh5ndysT7EVjgvrema3NdS0zF/JdTbo59nz 20/0zD//I2Vzc0fOgacu24rXKbEUZyQaajEXFScCAHe02WhBAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141009_094049_627276_86F04C49 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Lukasz Majewski , Kukjin Kim , Bartlomiej Zolnierkiewicz , Lukasz Majewski , Linux PM list , Kyungmin Park , Chanwoo Choi , Amit Daniel Kachhap , "linux-samsung-soc@vger.kernel.org" , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since both SoCs have the same TMU IP block embedded on them, it is not necessary to maintain separate compatible entry. Signed-off-by: Lukasz Majewski --- arch/arm/boot/dts/exynos5250.dtsi | 2 +- drivers/thermal/samsung/exynos_tmu.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index e71ec78..3426bab 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -238,7 +238,7 @@ }; tmu: tmu@10060000 { - compatible = "samsung,exynos5250-tmu"; + compatible = "samsung,exynos4412-tmu"; reg = <0x10060000 0x100>; interrupts = <0 65 0>; clocks = <&clock CLK_TMU>; diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index e26042a..f1e8c9b 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -753,9 +753,6 @@ static const struct of_device_id exynos_tmu_match[] = { .compatible = "samsung,exynos4412-tmu", }, { - .compatible = "samsung,exynos5250-tmu", - }, - { .compatible = "samsung,exynos5260-tmu", }, {