From patchwork Wed Jun 7 00:29:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 9770263 X-Patchwork-Delegate: geert@linux-m68k.org 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 3F12F6034B for ; Wed, 7 Jun 2017 00:29:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1ECBF2834A for ; Wed, 7 Jun 2017 00:29:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12CCB28520; Wed, 7 Jun 2017 00:29:14 +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,DKIM_SIGNED, DKIM_VALID,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 CC0082834A for ; Wed, 7 Jun 2017 00:29:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751554AbdFGA3M (ORCPT ); Tue, 6 Jun 2017 20:29:12 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:52473 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751547AbdFGA3K (ORCPT ); Tue, 6 Jun 2017 20:29:10 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 07 Jun 2017 09:29:08 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id B501B59CA1; Wed, 7 Jun 2017 09:29:08 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.39,308,1493650800"; d="scan'208";a="245639263" Received: from mail-sg2apc01lp0242.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.242]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 07 Jun 2017 09:29:07 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=3DbIg/JBh6Tv2t7ZrNqZKBn88PVBK15ogF9Elr+g6DU=; b=XsrnSBnJx5v50+nVV67qaAzvSbOkj7v0g9kVK/QJPDi7NLr6ujq3+e6njYJuWpJdfI7s1WmeI1uUX60+rqve4rgjt+clprtkaPkzGfAXtsdwGpPPwyv1ViYx3TAQWw1wDnaicSm9nkPkQIZtMY0u+rNBcku7+8blzfu5TQ+n2G8= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by KL1PR0601MB1877.apcprd06.prod.outlook.com (2603:1096:802:7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Wed, 7 Jun 2017 00:29:05 +0000 Message-ID: <874lvs4pd4.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/5] ASoC: simple_card_utils: add asoc_simple_card_clk_enable/disable() User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown CC: Linux-ALSA , Simon , In-Reply-To: <8760g84pe4.wl%kuninori.morimoto.gx@renesas.com> References: <8760g84pe4.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Wed, 7 Jun 2017 00:29:05 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: KL1PR0201CA0011.apcprd02.prod.outlook.com (2603:1096:800::21) To KL1PR0601MB1877.apcprd06.prod.outlook.com (2603:1096:802:7::22) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: KL1PR0601MB1877: X-MS-Office365-Filtering-Correlation-Id: 18305dc9-1426-4e2e-dd32-08d4ad3c3516 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(201703131423075)(201703031133081); SRVR:KL1PR0601MB1877; X-Microsoft-Exchange-Diagnostics: 1; KL1PR0601MB1877; 3:e0hC04VCJ3Ortjgonis/fAwFrLP1dGBtQIUf6rNtvX7Ka69WeXKb83iPqmgEYLXt6qCtHWuVucyscF2JGfpvv7aBZU4n5LfLCCkb02iI2JjbjzKicwtaX155gnLWio36CFIskMniFIj5gfG/qS8tON/9h0ULATWdyDcq/N6eRa7r3AjVKte5vjCjAypEG1qUWwv1G5D78ZtraYNH/mxri/DK2rLxEH01Q16phVJcWsCCc3ERHjGib0rA/iNEvxW/9kwXaJyGeblazRoiI/PYnF+rSVcidYv5bOjtJvz4Pt5B4hbuIcb0E/WHdY7jhqyRQ6Q90JgBsmpdWLDyXq6JhI286WMJpYaxWD7LPNQUcFM=; 25:QZe5G2RKvhBTKm6JEjGiFps+DSj8yggIdLNdSoNDGG2PfDIjL6AbxepuxnjuEaFicryRuU8yfMAneQ76yUZT+jpBGkOFEXX75qL8eB0IXt9Y6ulP4xVFn7+xGnq+ktn/lXzJJxqitDTL8I/yRCdiX0X5o2+ZrzAOMfX4Fsqv7+QYtvDU/ZpPFUBopRaM7uMpD2CdtL9sbxT5qJpi90UH0jPwnjFqUY21IjNvh3EYUkFF6j9wuLg3F78Jxp6Qi78StTlHVHgntQbtJUXnoAtm1hJxgNDdZt3Ft9J+jS7UFJYEzX1rthb4TlcYVpDoZ0xKbOrmylBj0qMQ8fuXL3TvNVoq9TlcBBajbd+QKxMGFXLfqNxd0M1Ivzln6dRy6WA1pMQruE7BW9fhzOUzA3KOZHpbICp3t9H3h8wrPF1bUJOdxgfr/vug4vzH6SK2kX7epcv7B9Rvm/txmDTXd9+9XOa9w1cYDyicYm6QuavdFAQ= X-Microsoft-Exchange-Diagnostics: 1; KL1PR0601MB1877; 31:3X77owYTjIL0g+4M5oT49Vh2dKE1sC2wgmatiTn9x9jFMfGYuOZnv5dbz3uE1mQtVNm5OUDpsXM7gPomD0Ew1RjL9ZPJh/iu2nVqmURq1eUKJMJHV1+kb5jZjJ7F1psIRXLCNdybFARV/YDTwTlupMDfF7mWEmZZwaIAjS/KCM8FiMlZ9KJYARmYNc1ws3NkDn0VQjohRg/FzWkfzBc5md+OvCIiFKL7SJF4JmuweyRCfO4X03GX6j6dpiFewTPwrqHyX7jRFZwvgvEiDK8JPg==; 20:ViH4FxRs5szcVZM3/lc4P1Kw3TpGKG2ASytMy1epwXQqqdeM6t0rHffF/NumKhFrx13Fz0gpcZw20+LeAGR5b22fAJ/Yszk++zKwVhHujP5DUfM6aLYF7d9VIuNGo9T2J1mmlhXwMwh1Su1ta672e473LavXyPdy1GEJQgUpxTv9oOpLn9UDQa6Vs9CPYLl/U58EUxqDah+uLaidiUWB/KNPy76xx/y7KLx/CndROhOHUo0FxwZD3IAiy7QI8E9wRsTWlKnKIigSfAIUU1SJRJv3qYlEYlOxKrplOBSoME4otMYl54XKjZyKuVQn16paWWwEbMUSvmDn8J8N7npQ0MIhe2OUrpmztU+Q0zKqWJGX0KbfQC2+E7yKwBoCmQOZxVyqbD3AkbeICh0iOXHcI07LTjiqfspv8qlqofKyEn5P0p/KihiZrV7Bga8XDQyTpwQ8+abRo8CzpxD1MSQzfLeBgvZknpRav9aks+mRkuWng21B0d+rOWTAiJQhPk+c X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123560025)(20161123564025)(20161123558100)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:KL1PR0601MB1877; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:KL1PR0601MB1877; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; KL1PR0601MB1877; 4:RDY1v4Vhyh+5AW4FkICZucsO07IguYdHfULnE1JM?= =?us-ascii?Q?VW0QDKLy61fmvIKqgCQprAm7Q9Hdfp371IdHXgLA2uI1uBmKJJr4ZuN8lgTK?= =?us-ascii?Q?/MbOyW/27lqEgESC60VE3HfOOFWmSZYXwYrjpoj/Y0doIVIt5XSexiM5Nq9a?= =?us-ascii?Q?w1NwMFm0JNA9U5pODmjh2efRRFu0epsYfyv3x7VaDB8vm4rPwqBnWA721Uuj?= =?us-ascii?Q?/WhturVClc7Ebi/2Bw7Dv8G1DVgHy1ziNqo+H/ozOn7Ki5Km5wOrKksGWcYF?= =?us-ascii?Q?GC3Wk1MyCy/Iv8K2j1+V40+P8GDbHvbWQ3K4+cRYt5htLHF67W6/ulu1qCHE?= =?us-ascii?Q?Gd3ClkGIhZA8Tc1oYEMBG/p7qT8L+HjGq9KLX/TxkfztGjx7hpTaeu3+Ur8s?= =?us-ascii?Q?g9yjd1O07s7RMEioP3QAK7K4yK7BwVm5A6i0UFIsrE9VW7Smlte6j0GhTYAi?= =?us-ascii?Q?cpBtlsiHqzetdlTGlcsdR/PauNmX78vpVEWaZSP+nXAiyJ9CvyLIyswkc7UM?= =?us-ascii?Q?RQ4y4Lu0XwQvQmY5YRNpPiJdLyvaXkY27jLWwSJ5nBErP2yQ+HP/6sfkX6M2?= =?us-ascii?Q?rzPZJ37aByJ2qtSv6xs+99QcvTnOLZYceqBZzl6UVDJ8lFFD9nnYX3pJi65O?= =?us-ascii?Q?rp5NbnFpjgVT8s6ScZO0CiZTbDlxCMMDDQoFN1cfPbpxvh/X5XJTM8XCUH+i?= =?us-ascii?Q?HHJQlzEkroPvEtrs1qaZneZCh20RkF48fAj+HEeM21sMoZUQsrXDSfuPlErQ?= =?us-ascii?Q?qGkYglGtCSb9OtSFsK4ezHq1oaU0pj7Y4+V4t6sRAuQm8hsoNZEA0jBCYHZn?= =?us-ascii?Q?jfCQyBSOg/z++gPvNOvfim2iUITMC3YUgcGpmAe918L30C73dBaswoq1S8cD?= =?us-ascii?Q?e83YWk5HKjEfXN+t/OZP3fjQ/j8WshGPvEdCbAkxpJVB27DIHsiqTVWwtRdC?= =?us-ascii?Q?u8KozgFDYomQ9IMvNrHGxPZEW3Ni/TSNZutAouwA66HI2SkAorupLmpehJYa?= =?us-ascii?Q?dnBcRxcf3hv8gbbiCLZPmYqdlL0IQyIL0GyMvBqYZ5hfHC6LUK3JUTpA7iV8?= =?us-ascii?Q?bg2w6lnXaYdl56ZLEDVSrkf3TCKNdysT2cf7r/t9Xp4WsR5TQgtowgTAXLgG?= =?us-ascii?Q?u8MQtU7j0YBm62/4IhwUWUtgL4r52gJZ1E2z2foLgv1sv+RD4YdYNA=3D=3D?= X-Forefront-PRVS: 03319F6FEF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39840400002)(39450400003)(39850400002)(39400400002)(39410400002)(7736002)(305945005)(8676002)(33646002)(81166006)(76176999)(54356999)(2906002)(50466002)(6486002)(36756003)(83506001)(66066001)(50986999)(47776003)(478600001)(46406003)(86362001)(4001350100001)(53416004)(189998001)(110136004)(4326008)(38730400002)(42186005)(25786009)(5660300001)(23726003)(6116002)(54906002)(2950100002)(3846002)(6916009)(53936002)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:KL1PR0601MB1877; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; KL1PR0601MB1877; 23:KC6hDzfUtp8HqN82EwlKhHAKV61Y4NtqezTNJNC?= =?us-ascii?Q?E4u+UgXNOtQ1RdTY3uJv7qXeGoV7D3oNlW9aTUKVKQSoGGbPASKucXReCvuR?= =?us-ascii?Q?7S29rD/Ih/n0P4hC6fLiOC+Y2TdhJXYcFm+zr0DOVl38kdi/bPTVs6FSzpsL?= =?us-ascii?Q?JGsWDkhc1k7dK2O8DOkrOsN95ZHFOB4Piq4231XKCVTA6czXX+K4BzGLqexF?= =?us-ascii?Q?zTPotqiTDnSC6xtR5Rq1sQ+WzVwSQ85AXr8kp1JEbSCX3TS7JQDOrY6YVCLf?= =?us-ascii?Q?hiwfl+L2Jcj0XvwMdZrPhMdgvyeZIRN+dwWiwUJMF+V8PEMT6mD3LHucCNkW?= =?us-ascii?Q?7bMojOhjt4hyBg77bZLExEhUUDIzXXWnM2jsSSsHLW+xfCtb1Dl/30OzoSSC?= =?us-ascii?Q?L665MKcrkhcSnYYD6FavgndyrAijh961ZIgip+RUBXNdtoZc2H09hPAYGOdC?= =?us-ascii?Q?qOMEUgVQiRy6Nq5+MXennfDlGV0RvZaD9Njr51+A5Si8MBxiFVtZzQN5iYRU?= =?us-ascii?Q?3l76tu9yLD7K8CPO9IFf8UeenGjn/Uf+4d61Je+0k9YG3ZrW2HGk4ScF24M7?= =?us-ascii?Q?70DKqLHdcQpqWfuaFYrWKVkRrIeN/mFCsuucHJSFaNoGsdLsbJ/bPI8+KHMK?= =?us-ascii?Q?YERNF2rS/vM/RQGY+XY5CSpzZ950SKuhEuDpxf43mBzmnqEJDL4yOp3GRgKH?= =?us-ascii?Q?c3F8/R1SNpgBb3OPuLRpSkcNxuHOBoVsUTTIgy/BYMJfJqPe6aMq8junLeO0?= =?us-ascii?Q?Yrm13ObLc43PvZ+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FLbWnqgSuUE43To+tHGwn56ssb7iKQw45wf0x7/dOPmHkCLCRejidzwPD9QJVknTnWqjf84zC4UTz3PQ= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2017 00:29:05.9890 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB1877 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto Current simple-card-utils sets asoc_simple_dai::clk via asoc_simple_card_parse_clk(), and requested parameter is only simple_dai. But current simple card drivers are using simple_dai::clk directly for clk_enable/disable. Encapsulation is one of simple card util's purpose. Let's encapsulate it. Signed-off-by: Kuninori Morimoto --- include/sound/simple_card_utils.h | 2 ++ sound/soc/generic/simple-card-utils.c | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h index 108cae4..9e8e829 100644 --- a/include/sound/simple_card_utils.h +++ b/include/sound/simple_card_utils.h @@ -45,6 +45,8 @@ int asoc_simple_card_parse_clk(struct device *dev, struct device_node *dai_of_node, struct asoc_simple_dai *simple_dai, const char *name); +#define asoc_simple_card_clk_enable(dai) clk_prepare_enable((dai)->clk) +#define asoc_simple_card_clk_disable(dai) clk_disable_unprepare((dai)->clk) #define asoc_simple_card_parse_cpu(node, dai_link, \ list_name, cells_name, is_single_link) \ diff --git a/sound/soc/generic/simple-card-utils.c b/sound/soc/generic/simple-card-utils.c index d9d8b8a..f7df08b 100644 --- a/sound/soc/generic/simple-card-utils.c +++ b/sound/soc/generic/simple-card-utils.c @@ -128,6 +128,12 @@ int asoc_simple_card_parse_clk(struct device *dev, clk = devm_get_clk_from_child(dev, node, NULL); if (!IS_ERR(clk)) { simple_dai->sysclk = clk_get_rate(clk); + + /* + * This enables + * asoc_simple_card_clk_enable() + * asoc_simple_card_clk_disable() + */ simple_dai->clk = clk; } else if (!of_property_read_u32(node, "system-clock-frequency", &val)) { simple_dai->sysclk = val;