From patchwork Wed Dec 10 12:09: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: 5468651 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F23BBBEEA8 for ; Wed, 10 Dec 2014 12:15:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 392B82011D for ; Wed, 10 Dec 2014 12:15:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 57BEC200D6 for ; Wed, 10 Dec 2014 12:14:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752193AbaLJMO6 (ORCPT ); Wed, 10 Dec 2014 07:14:58 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:61513 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751892AbaLJMO5 (ORCPT ); Wed, 10 Dec 2014 07:14:57 -0500 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NGD004BL8OWEX10@mailout3.samsung.com>; Wed, 10 Dec 2014 21:14:56 +0900 (KST) X-AuditID: cbfee61b-f79d76d0000024d6-63-548839404791 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 87.79.09430.04938845; Wed, 10 Dec 2014 21:14:56 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NGD004CJ8GLGMG0@mmp1.samsung.com>; Wed, 10 Dec 2014 21:14:56 +0900 (KST) From: Lukasz Majewski To: Eduardo Valentin , Zhang Rui Cc: Linux PM list , "linux-samsung-soc@vger.kernel.org" , Bartlomiej Zolnierkiewicz , Lukasz Majewski , Kukjin Kim , Amit Daniel Kachhap , Abhilash Kesavan , Abhilash Kesavan , Kyungmin Park , Chanwoo Choi , Lukasz Majewski Subject: [PATCH v2 17/17] thermal: exynos: Make Exynos3250 TMU compatible with Exynos4412 Date: Wed, 10 Dec 2014 13:09:56 +0100 Message-id: <1418213396-743-18-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1418213396-743-1-git-send-email-l.majewski@samsung.com> References: <1412872737-624-1-git-send-email-l.majewski@samsung.com> <1418213396-743-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPLMWRmVeSWpSXmKPExsVy+t9jAV0Hy44QgzUf5Cwer1nMZNFwNcRi 44z1rBbXvzxntZh/5RqrxZq/Sha9C66yWZxtesNu8eYRt8Wbh5sZLT73HmG0mHF+H5PFk4d9 bA68Hjtn3WX3WLznJZPHumlvmT36tqxi9Pi8SS6ANYrLJiU1J7MstUjfLoEr4+ONR4wFX7kq ll/namBs4exi5OSQEDCROLSkixnCFpO4cG89WxcjF4eQwCJGiW+HFrBDOF1MEr8v72cDqWIT 0JP4fPcpE4gtIuAt8XrfdEaQImaBLhaJHSvmgxUJC0RL9D1fzQhiswioSmz7cRSsgVfAVeJD 0wcWiHWKEt3PJoDVcwLFz5y6AVYjJFAvsWjxG9YJjLwLGBlWMYqmFiQXFCel5xrpFSfmFpfm pesl5+duYgQH4zPpHYyrGiwOMQpwMCrx8AZcbg8RYk0sK67MPcQowcGsJML7RrIjRIg3JbGy KrUoP76oNCe1+BCjNAeLkjivkn1biJBAemJJanZqakFqEUyWiYNTqoHR8+Opsr+uTAHbF1gs OP8gNOnE3OMd3Ef9PO97hK7+26P6c9+9wCqDbPFnN2T9xSfxeQtXRZow7d/06dOPFU48jYV/ S031TdYfyVreyZeRopG28dP65qMJ+y7M2KYQkaI4YedSjjep234tqpXeqjspIXqlt/Cn/cb7 xLzdzMQDz2yfsIylXWKWEktxRqKhFnNRcSIAU9kx40ICAAA= 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 Both SoCs have the same TMU IP block embedded on them. Necessary differences are specified via device tree. Therefore there is no need to maintain a separate compatible entry. Signed-off-by: Lukasz Majewski --- Changes for v2: - Update DTS TMU entry for Exynos3250 to be compatible with Exynos4412 --- arch/arm/boot/dts/exynos3250.dtsi | 2 +- drivers/thermal/samsung/exynos_tmu.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index 6edfa76..306d988 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -185,7 +185,7 @@ }; tmu: tmu@100C0000 { - compatible = "samsung,exynos3250-tmu"; + compatible = "samsung,exynos4412-tmu"; reg = <0x100C0000 0x100>; interrupts = <0 216 0>; clocks = <&cmu CLK_TMU_APBIF>; diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c index 05441fc..86728c5 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -759,9 +759,6 @@ static irqreturn_t exynos_tmu_irq(int irq, void *id) static const struct of_device_id exynos_tmu_match[] = { { - .compatible = "samsung,exynos3250-tmu", - }, - { .compatible = "samsung,exynos4210-tmu", }, {