From patchwork Mon Oct 14 23:31:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ??? X-Patchwork-Id: 3041001 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 5AEEE9F243 for ; Mon, 14 Oct 2013 23:31:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8B6EF20218 for ; Mon, 14 Oct 2013 23:31:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 19FBB20212 for ; Mon, 14 Oct 2013 23:31:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757158Ab3JNXbQ (ORCPT ); Mon, 14 Oct 2013 19:31:16 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:60898 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756848Ab3JNXbP (ORCPT ); Mon, 14 Oct 2013 19:31:15 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MUO00F5LMO19PA0@mailout2.samsung.com>; Tue, 15 Oct 2013 08:31:13 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 31.10.02244.1CE7C525; Tue, 15 Oct 2013 08:31:13 +0900 (KST) X-AuditID: cbfee691-b7fe06d0000008c4-8c-525c7ec1c65f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id A8.9B.09055.1CE7C525; Tue, 15 Oct 2013 08:31:13 +0900 (KST) Received: from DOJAYSLEE01 ([12.23.121.88]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MUO00A8ZMO12N90@mmp1.samsung.com>; Tue, 15 Oct 2013 08:31:13 +0900 (KST) From: Jungseok Lee To: rjw@sisk.pl, viresh.kumar@linaro.org, amit.daniel@samsung.com Cc: linux-pm@vger.kernel.org, cpufreq@vger.kernel.org, kgene.kim@samsung.com Subject: [PATCH V2] cpufreq: exynos: Show a list of available frequencies Date: Tue, 15 Oct 2013 08:31:13 +0900 Message-id: <00a301cec935$786cf7e0$6946e7a0$%lee@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7JNXgxqwoVpdKiRm6gap1i10eqbg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDIsWRmVeSWpSXmKPExsVy+t8zA92DdTFBBuduylg0XA2xeNr0g92i d8FVNovPvUcYLfoX9jJZbPzq4cDmcefaHjaPvi2rGD0eLW5h9Pi8SS6AJYrLJiU1J7MstUjf LoEr48uf7WwFj9gqpuz5zdrAeJG1i5GTQ0LAROL71z9QtpjEhXvr2UBsIYFljBKzv2jD1Czc ugGohgsovohR4lvjSnYI5zejxKv3x5hAqtgENCUe3e1hB7FFBBwljj9bBWYzC/hIfF38Bmyq sICnxPI9H8G2sQioShw4/g7M5hWwlfjSd50FwhaU+DH5HgtEr5bE+p3HmSBseYnNa94ydzFy AF2kLvHory7EKj2JA8+7oFaJSOx78Y4R4uhd7BLv2tUgVglIfJt8iAWiVVZi0wFmiBJJiYMr brBMYBSbhWTxLCSLZyFZPAvJhgWMLKsYRVMLkguKk9KLTPWKE3OLS/PS9ZLzczcxQmJu4g7G +wesDzEmA62fyCwlmpwPjNm8knhDYzMjC1MTU2Mjc0sz0oSV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9n63S5Fglv1nCvrCzd3KP/vQ8ov0qcNebzP27NPjFV73v3loqc3qpwaUFgWctdU+f jUrVVGIpzkg01GIuKk4EABKf/OAuAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 This patch adds freq_attr to show a list of exynos5440 scaling available frequencies through sysfs. Common exynos driver already supports this attribute. Signed-off-by: Jungseok Lee Acked-by: Viresh Kumar --- Changes since v1: - Used a generic attribute, not a specific one. drivers/cpufreq/exynos5440-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c index 06b73e8..fecc3da 100644 --- a/drivers/cpufreq/exynos5440-cpufreq.c +++ b/drivers/cpufreq/exynos5440-cpufreq.c @@ -330,6 +330,7 @@ static struct cpufreq_driver exynos_driver = { .init = exynos_cpufreq_cpu_init, .exit = cpufreq_generic_exit, .name = CPUFREQ_NAME, + .attr = cpufreq_generic_attr, }; static const struct of_device_id exynos_cpufreq_match[] = {