From patchwork Wed Dec 28 11:56:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 9490285 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D684E62AB7 for ; Wed, 28 Dec 2016 11:59:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBCA425F31 for ; Wed, 28 Dec 2016 11:59:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0ACF26246; Wed, 28 Dec 2016 11:59:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 364D12621E for ; Wed, 28 Dec 2016 11:59:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751786AbcL1L6p (ORCPT ); Wed, 28 Dec 2016 06:58:45 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:32790 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751380AbcL1L45 (ORCPT ); Wed, 28 Dec 2016 06:56:57 -0500 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OIW004Z296VLN30@mailout2.samsung.com>; Wed, 28 Dec 2016 20:56:55 +0900 (KST) Received: from epsmges1p1.samsung.com (unknown [182.195.40.68]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20161228115654epcas1p235e2615ae211ae943a329aa2b98e35d6~UaYkUKjTV1857118571epcas1p24; Wed, 28 Dec 2016 11:56:54 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id A5.DC.05883.688A3685; Wed, 28 Dec 2016 20:56:54 +0900 (KST) Received: from epcpsbgm1new.samsung.com (u26.gpu120.samsung.co.kr [203.254.230.26]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20161228115654epcas1p1fcd9be231f97e6782e06d75ace95a9ba~UaYkEGauI2753627536epcas1p1-; Wed, 28 Dec 2016 11:56:54 +0000 (GMT) X-AuditID: b6c32a35-f799b6d0000016fb-6b-5863a886d021 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 5C.50.28252.688A3685; Wed, 28 Dec 2016 20:56:54 +0900 (KST) Received: from localhost.localdomain ([10.113.62.212]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OIW009MN96TI400@mmp1.samsung.com>; Wed, 28 Dec 2016 20:56:54 +0900 (KST) From: Chanwoo Choi To: myungjoo.ham@samsung.com, kyungmin.park@samsung.com Cc: chanwoo@kernel.org, rjw@rjwysocki.net, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Chanwoo Choi , Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas , linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 4/8] PM / devfreq: exynos-ppmu: Show the registred device for ppmu device Date: Wed, 28 Dec 2016 20:56:48 +0900 Message-id: <1482926212-19223-5-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1482926212-19223-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGKsWRmVeSWpSXmKPExsWy7bCmrm7biuQIg5lzdC0m3rj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biuQIg9fTZC0m3rjCYnH9y3NW izdv1zBZ9D9+zWxx/vwGdouzTW/YLS7vmsNm8bn3CKPFjPP7mCxuN65gszhz+hKrA7fHplWd bB5b+u+ye2y52s7i0bdlFaPH501yAaxRbjYZqYkpqUUKqXnJ+SmZeem2SqEhbroWSgp5ibmp tkoRur4hQUoKZYk5pUCekQEacHAOcA9W0rdLcMuYf3IVU8Firor2Cz+ZGhgvc3QxcnJICJhI 7J+8gxHCFpO4cG89WxcjF4eQwFJGiaf3+phAEkICPxglnrxjAbHZBLQk9r+4wQZiiwiYS+xa +hPMZhZYzSRx4kkBiC0sECfx4stFVhCbRUBVorlxElgNr4CrxNY5K9ghlslJfNjzCMzmFHCT mHJ3CivELleJu+u+MU9g5F3AyLCKUSK1ILmgOCk91zAvtVyvODG3uDQvXS85P3cTIzj0n0nt YDy4y/0QowAHoxIP74obSRFCrIllxZW5hxglOJiVRHhnLE+OEOJNSaysSi3Kjy8qzUktPsRo CnTYRGYp0eR8YFzmlcQbmpibmBsbWJhbWpoYKYnzNs5+Fi4kkJ5YkpqdmlqQWgTTx8TBKdXA qB83g1lVoSZTunbflxXZ1rrvvexiVY9bfrCV0whMOFZz3a5ny7bYGXK/GmX28O1rfdVyW+mK /JRl6528BGp1rwRaXGHsTbg5c23A9QN/Tm+3eZ5xOvyEHPPm0uIM1ivHRJ8brPm7W1za/Abb pt8dTF5bviyPjhT9bnpVpmrn9tSS6s/T+iV8lViKMxINtZiLihMBswCToZMCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161228115654epcas1p1fcd9be231f97e6782e06d75ace95a9ba X-Msg-Generator: CA X-Sender-IP: 203.254.230.26 X-Local-Sender: =?UTF-8?B?7LWc7LCs7JqwG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbUzUo7LGF7J6EKS9DaGFuZ2UgQWdlbnQ=?= X-Global-Sender: =?UTF-8?B?Q2hhbndvbyBDaG9pG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtTNS9TZW5pb3IgRW5naW5lZXI=?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20161228115654epcas1p1fcd9be231f97e6782e06d75ace95a9ba X-RootMTR: 20161228115654epcas1p1fcd9be231f97e6782e06d75ace95a9ba References: <1482926212-19223-1-git-send-email-cw00.choi@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch just adds the simple log to show the PPMU device's registration during the kernel booting. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Javier Martinez Canillas Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Chanwoo Choi --- drivers/devfreq/event/exynos-ppmu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index fb3706faf5bd..9b5294d0bff4 100644 --- a/drivers/devfreq/event/exynos-ppmu.c +++ b/drivers/devfreq/event/exynos-ppmu.c @@ -591,7 +591,7 @@ static int exynos_ppmu_parse_dt(struct platform_device *pdev, info->ppmu.clk = devm_clk_get(dev, "ppmu"); if (IS_ERR(info->ppmu.clk)) { info->ppmu.clk = NULL; - dev_warn(dev, "cannot get PPMU clock\n"); + dev_dbg(dev, "cannot get PPMU clock\n"); } ret = of_get_devfreq_events(np, info); @@ -643,6 +643,9 @@ static int exynos_ppmu_probe(struct platform_device *pdev) "failed to add devfreq-event device\n"); return PTR_ERR(edev[i]); } + + pr_info("exynos-ppmu: new PPMU device registered %s (%s)\n", + dev_name(&pdev->dev), desc[i].name); } clk_prepare_enable(info->ppmu.clk);