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: 5059691 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@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 054439F65C for ; Thu, 9 Oct 2014 16:40:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D12A20200 for ; Thu, 9 Oct 2014 16:40:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 647292021A for ; Thu, 9 Oct 2014 16:40:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757328AbaJIQke (ORCPT ); Thu, 9 Oct 2014 12:40:34 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:58917 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118AbaJIQkc (ORCPT ); Thu, 9 Oct 2014 12:40:32 -0400 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>; 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 Cc: "linux-samsung-soc@vger.kernel.org" , linux-arm-kernel@lists.infradead.org, Linux PM list , Kukjin Kim , Bartlomiej Zolnierkiewicz , Lukasz Majewski , Amit Daniel Kachhap , Kyungmin Park , Chanwoo Choi , Lukasz Majewski 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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", }, {