From patchwork Wed Dec 10 12:09:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 5468631 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 92E04BEEA8 for ; Wed, 10 Dec 2014 12:14:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D4A92011D for ; Wed, 10 Dec 2014 12:14:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 21B2B20103 for ; Wed, 10 Dec 2014 12:14:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753513AbaLJMOl (ORCPT ); Wed, 10 Dec 2014 07:14:41 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:23280 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751442AbaLJMOk (ORCPT ); Wed, 10 Dec 2014 07:14:40 -0500 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 <0NGD002KM8OEWV90@mailout2.samsung.com>; Wed, 10 Dec 2014 21:14:39 +0900 (KST) X-AuditID: cbfee61a-f79c06d000004e71-2e-5488392ece39 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id B4.0E.20081.E2938845; Wed, 10 Dec 2014 21:14:38 +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:38 +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 16/17] thermal: exynos: Make Exynos5250 TMU compatible with Exynos4412 Date: Wed, 10 Dec 2014 13:09:55 +0100 Message-id: <1418213396-743-17-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+t9jAV09y44Qg0nfzS0er1nMZNFwNcRi 44z1rBbXvzxntZh/5RqrxZq/Sha9C66yWZxtesNu8eYRt8Wbh5sZLT73HmG0mHF+H5PFk4d9 bA68Hjtn3WX3WLznJZPHumlvmT36tqxi9Pi8SS6ANYrLJiU1J7MstUjfLoErY+ZrgYKFXBVP +6axNTAe5Ohi5OSQEDCRWHt9MzOELSZx4d56ti5GLg4hgUWMEts/PmWCcLqYJNrOHGYEqWIT 0JP4fBckwckhIuAt8XrfdEaQImaBLhaJHSvms4EkhAWiJS40dbKC2CwCqhKPmlawg9i8Aq4S Wx8+ZoVYpyjR/WwCWD0nUPzMqRtgQ4UE6iUWLX7DOoGRdwEjwypG0dSC5ILipPRcQ73ixNzi 0rx0veT83E2M4GB8JrWDcWWDxSFGAQ5GJR7egMvtIUKsiWXFlbmHGCU4mJVEeN9IdoQI8aYk VlalFuXHF5XmpBYfYpTmYFES51WybwsREkhPLEnNTk0tSC2CyTJxcEo1MOpunmR+aq3K3W83 XRSWZW7fa/jitFjKs10R10/Muv38x0Y9fZ5064go9nDOsKlf/nyaP2OPnOWBOwqLK+4F/9fN k3vj7vF3862Q2fHXTxq5rEp4rKjDVKjfun/asWMsD2usfXZtdGo8tvGlZr9G5M7gmcedGTxO uO+LSHnswh2rIcD+XupwkqMSS3FGoqEWc1FxIgBVsgEwQgIAAA== Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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: - None --- 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 2167394..7cb1a5b 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 dfbf9bd..05441fc 100644 --- a/drivers/thermal/samsung/exynos_tmu.c +++ b/drivers/thermal/samsung/exynos_tmu.c @@ -768,9 +768,6 @@ static const struct of_device_id exynos_tmu_match[] = { .compatible = "samsung,exynos4412-tmu", }, { - .compatible = "samsung,exynos5250-tmu", - }, - { .compatible = "samsung,exynos5260-tmu", }, {