From patchwork Fri Aug 7 06:23:53 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zidan Wang X-Patchwork-Id: 6965161 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 80CF3C05AC for ; Fri, 7 Aug 2015 06:25:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A7D7D20666 for ; Fri, 7 Aug 2015 06:25:25 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 78BDD20658 for ; Fri, 7 Aug 2015 06:25:24 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 73B6626163C; Fri, 7 Aug 2015 08:25:23 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id AC9DC2612AF; Fri, 7 Aug 2015 08:24:04 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id B47902612AF; Fri, 7 Aug 2015 08:24:03 +0200 (CEST) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0110.outbound.protection.outlook.com [157.56.111.110]) by alsa0.perex.cz (Postfix) with ESMTP id 6DBE62615F7 for ; Fri, 7 Aug 2015 08:22:33 +0200 (CEST) Received: from BLUPR0301CA0009.namprd03.prod.outlook.com (10.162.113.147) by BY1PR0301MB1256.namprd03.prod.outlook.com (10.161.203.28) with Microsoft SMTP Server (TLS) id 15.1.225.19; Fri, 7 Aug 2015 06:22:31 +0000 Received: from BY2FFO11OLC014.protection.gbl (2a01:111:f400:7c0c::130) by BLUPR0301CA0009.outlook.office365.com (2a01:111:e400:5259::19) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Fri, 7 Aug 2015 06:22:30 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11OLC014.mail.protection.outlook.com (10.1.15.48) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Fri, 7 Aug 2015 06:22:30 +0000 Received: from b50113.ap.freescale.net (b50113.ap.freescale.net [10.192.241.89]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t776MB6h030192; Thu, 6 Aug 2015 23:22:27 -0700 From: Zidan Wang To: Date: Fri, 7 Aug 2015 14:23:53 +0800 Message-ID: <065a754c8d3eae30ef492bd81fcfdc96df5475b8.1438928571.git.zidan.wang@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <35057b1d49085839cdd1c6514a6ed7b690c713e9.1438928571.git.zidan.wang@freescale.com> References: <35057b1d49085839cdd1c6514a6ed7b690c713e9.1438928571.git.zidan.wang@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC014; 1:0WCtwLsElLoQw8nDE29NBX93AdE2Aysr+BlbSGbF3cpRDu3xRQW5GhgGZpB9Q8q/hCJAQtdmHGP3yAaixHkuX7geXO1a+i4CnH5sG6BxcTzdc0rqHIMJAUgVrhYMsRm/t9nd614eA11VQBQZ7S121m0hYF2e25D9A+fHJoz0jsMBMqWf6/TDEptv+1tqHxr4Sqpkfwx3Tmv2XcGcCukhJWavh3KVWxV9WdO9ug9GtfPut9dqxt/jsVMeNYpIiAc/aRMlhSZ4YC3gaHxzUE4laSD1/TvXNy8GO9Y+TPK+jh9XjMNnNdrCiIb/dC8qgR+g0LwrUPs2A/UbmQRr9EFCjZ2Wle2ndBNh8+h3ebhF1iM= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(1060300003)(2980300002)(339900001)(199003)(189002)(76176999)(4001540100001)(46102003)(110436001)(2351001)(81156007)(50986999)(97736004)(104016003)(33646002)(118296001)(36756003)(5001960100002)(5001860100001)(86362001)(107886002)(5001830100001)(110136002)(69596002)(48376002)(2950100001)(5003940100001)(229853001)(77096005)(64706001)(68736005)(47776003)(105606002)(4290100001)(92566002)(50226001)(6806004)(19580405001)(19580395003)(85426001)(87936001)(50466002)(62966003)(77156002)(106466001)(32563001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB1256; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1256; 2:cdeoM+te+GIq5ISUQJFeQNbjlu42xeuWUdLEZwXqLDqzE4kFOI1zYxCAZ2EE2XOtoJYAT9FC4owaKDsmLYvfRAmD0zhx3pA973cPEzkxMqH/H919HmNhP4gBHCyraXIqufbkJvcE0drhsKYVnPqAwlUS/PSaFF4lWTsFG3rLNv4=; 3:jIrIc91tvOMChI5e0Rl9AATmhiPv6Izqrrm2m69EMNQmsRniTqlT0CcTKnU/jNTH43iK+EW98PbMcILH+FdkKZK1gj4bqgjfpwbzgXI4xfYh09YQSeRN/Ut9JzxZQRpl8pm0c7DQo+FbCHYFsFnl84ubx8tTAUFFuJArDSvF4Zz5JVwmwZzbpRk6C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UofhAqoYcLy4uHPwvK8yhMf0up2aGA2opVvVP X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:1; PCL:0; RULEID:(601004)(5005006)(1201001)(3002001); SRVR:BY1PR0301MB1256; BCL:1; PCL:0; RULEID:; SRVR:BY1PR0301MB1256; X-Forefront-PRVS: 066153096A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB1256; 23:ENIyw5KFsL0BWLlxtfYk3qsZo00TaI8va4AlsyY?= =?us-ascii?Q?6YGzmyXcDjlAO9erhttDAWwoebn/QZf+xsWewMBnZuYDpWscvfinaw2jVN2X?= =?us-ascii?Q?bJiJv+Cn8jfBTt63AQWQwu/C8chaGN1SQO4m+VtfIBxWNxKst/18R+fRwqF0?= =?us-ascii?Q?bPKNEUX87PGUZ2IMYxa7oauCM0pPvbvfUjaxpZDLYRwa/K8tpa/z3dO4kPMe?= =?us-ascii?Q?rcA12oEY/B1dXBHX0Ye2OeAmIPwnhX8tYxQzpFhTOHUa7mC/0HYaFz/vxThj?= =?us-ascii?Q?Fb5mh5mojcbzBpRlrF8FSjBXIASCZfsHzdyy1BG+3KQFzBTcfLvREA/6gOvQ?= =?us-ascii?Q?Z3bAw8LFBPSwk7NyuSdSi9ElCIhW4VrOmM33vttCmCNAnPrRIS3exGnFIq9m?= =?us-ascii?Q?s57pcxnQs9v8X5Y00pAmkb/sIuozyNeDhSZHXZ4MXgSzAgAyqgEbLB9IKWp0?= =?us-ascii?Q?NXzouiJqNlaQg8G33tyRkL6SQlZ47NuWQxDxbAAS0koPbyiO6L1ALUxXx+mS?= =?us-ascii?Q?qrd4gno645VnQ0qubKkcmL+jhrn7dJ8OSwYhmQA4upUm8ZRvtIL+zJtNJTeU?= =?us-ascii?Q?4X1alJhwlyQ47t297MgxZpbvZi/Hm+9cvrwkxcmtBXE/dXSiTZcwZ/tZvBtR?= =?us-ascii?Q?eNeT8bk9klI1mx2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giLaklEkJ6J/yuiYqb2+LEPllk7h9jdA+lrSLZPp1FQhd5ZQOlIjaOqXgNvepOD7aW6LAGVnfCxIk0/WmPANuQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2015 06:22:30.6868 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB1256 Cc: alsa-devel@alsa-project.org, timur@tabi.org, Zidan Wang , Xiubo.Lee@gmail.com, tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org Subject: [alsa-devel] [PATCH 3/3] ASoC: fsl_sai: Add imx6ul platform support X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP i.MX6ul SoC contains SAI module, so add imx6ul platform support. Signed-off-by: Zidan Wang --- sound/soc/fsl/fsl_sai.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 390197e..229a517 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -701,10 +701,9 @@ static int fsl_sai_probe(struct platform_device *pdev) sai->pdev = pdev; - if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx6sx-sai")) - sai->sai_on_imx = true; - - if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx7d-sai")) + if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx6sx-sai") || + of_device_is_compatible(pdev->dev.of_node, "fsl,imx6ul-sai") || + of_device_is_compatible(pdev->dev.of_node, "fsl,imx7d-sai")) sai->sai_on_imx = true; sai->is_lsb_first = of_property_read_bool(np, "lsb-first"); @@ -805,6 +804,7 @@ static int fsl_sai_probe(struct platform_device *pdev) static const struct of_device_id fsl_sai_ids[] = { { .compatible = "fsl,vf610-sai", }, { .compatible = "fsl,imx6sx-sai", }, + { .compatible = "fsl,imx6ul-sai", }, { .compatible = "fsl,imx7d-sai", }, { /* sentinel */ } };