Message ID | 20200210095817.13226-4-daniel.baluta@oss.nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=5/4N=36=alsa-project.org=alsa-devel-bounces@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6A08817F0 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 10 Feb 2020 10:01:54 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F3CD52070A for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 10 Feb 2020 10:01:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="AvfvyDk2"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="EIPyLTY3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F3CD52070A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.nxp.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 04C65167D; Mon, 10 Feb 2020 11:01:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 04C65167D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1581328912; bh=IAn70pj4cKSj6n71C7QSq3YTS7iJMuOAfsvPsv34G8A=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=AvfvyDk2TXskkoZquMvl+wLruk81yUHCYBrioj8VuPxHXx0Z+ezlt4Jg0c8WG9PuW z/L3fKSyYsu46AV1ZUvvD9kv5T24NuZIMmmFLJZRejiWHV8W2A1Rb3urf4fGQCFRaT 3u6mHJG6mx2MjyHkKBAJv2Y2PYSnOgGkQ60tXyV8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 181A0F8028B; Mon, 10 Feb 2020 10:58:47 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id EDDC4F80118; Mon, 10 Feb 2020 10:58:43 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS,SURBL_BLOCKED,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00083.outbound.protection.outlook.com [40.107.0.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AE4A3F80118 for <alsa-devel@alsa-project.org>; Mon, 10 Feb 2020 10:58:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AE4A3F80118 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="EIPyLTY3" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SlfpE32ZdAP9XOleWyDw5xDkGzpEXIELGvHblT98w+v/+EAgD8AfWU5o/gDsVOptQ05MbTE19eiy8+Lnn0J1STZBaxhbpT9LLdZZc4tMoc6pPxu9o0KJw5xJz0ZMfKiihxr+4y1fqcT82JOljVPnQ4ua5teDZrRDPwIdB+uXrOp0Olobcz09oriNdrupb31oVwDqT24W6r+xlJTe6rnho5KpGEyD6WQJci+iq3/D84wjsRsyutrQLSq3gp0i+YadplrSTgdarxcFUon59SxDIMIgLMWxtk7ZNQpI6Q+1DE1PT2qyvs3c6rlvrJG3PfsbOYeoCJFy7FPnI7QyCEjWIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JjDwim/uyhWWlLhuC7Xq+RqeP2hI25frptHsd3WLor4=; b=KciP2phuNXo3Uy7WVFz7DYLKZ/dWd/ygqLvZJ5viczUMrK/EYkPxwGcvAKumDb1d2LK1N106SSszYJCPIE+Wrya4oYpSwsTFu3hSto44GTQIQ6yt2jzNIEauJ+UsSWkw/reWT9nkC2dZVMkMOySIkCaGkFU2+NmTKrcalaJix6d3yR9/TpeiJi6TF2j086RIOEVny3J1kSB7qhhFa63MUzA1vPznBKf8D18qMHH/OIums9aRsyR2jkflE1nY31uKv+VZ4r17LI338sQSSakaUg08jjvmK8ho2bl+naKkIY6g33CrCC0nBvhT+ml9ZMMvZUwZnmIwLdYGtczVed+67Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JjDwim/uyhWWlLhuC7Xq+RqeP2hI25frptHsd3WLor4=; b=EIPyLTY3Wk2TXeem1x9yJbtMefY2LLiGFmg+992bqSoVRTVDpNUcUO/DCZDY3qroZpZusVP8VxWU/9rPv4xXduzihoCs5+3C76VpVmLVD4b0qfrJ+S8WkehhzbKjzFwM0TAX1PUsz4Rv0V9TxOTCs1tu9cD6Zx5JnOkBQhv9fOY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=daniel.baluta@oss.nxp.com; Received: from VI1PR0402MB3839.eurprd04.prod.outlook.com (52.134.16.147) by VI1PR0402MB3599.eurprd04.prod.outlook.com (52.134.1.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.26; Mon, 10 Feb 2020 09:58:37 +0000 Received: from VI1PR0402MB3839.eurprd04.prod.outlook.com ([fe80::8881:e155:f058:c0d1]) by VI1PR0402MB3839.eurprd04.prod.outlook.com ([fe80::8881:e155:f058:c0d1%4]) with mapi id 15.20.2707.028; Mon, 10 Feb 2020 09:58:37 +0000 From: Daniel Baluta <daniel.baluta@oss.nxp.com> To: broonie@kernel.org, robh+dt@kernel.org Date: Mon, 10 Feb 2020 11:58:16 +0200 Message-Id: <20200210095817.13226-4-daniel.baluta@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200210095817.13226-1-daniel.baluta@oss.nxp.com> References: <20200210095817.13226-1-daniel.baluta@oss.nxp.com> X-ClientProxiedBy: AM3PR07CA0076.eurprd07.prod.outlook.com (2603:10a6:207:4::34) To VI1PR0402MB3839.eurprd04.prod.outlook.com (2603:10a6:803:21::19) MIME-Version: 1.0 Received: from fsr-ub1864-103.ro-buh02.nxp.com (89.37.124.34) by AM3PR07CA0076.eurprd07.prod.outlook.com (2603:10a6:207:4::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.9 via Frontend Transport; Mon, 10 Feb 2020 09:58:36 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [89.37.124.34] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 858d1dad-4b2f-4b2d-256b-08d7ae0fcc15 X-MS-TrafficTypeDiagnostic: VI1PR0402MB3599:|VI1PR0402MB3599: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <VI1PR0402MB35998D79A93B192D337BCE20B8190@VI1PR0402MB3599.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:293; X-Forefront-PRVS: 03094A4065 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(39860400002)(376002)(396003)(136003)(366004)(199004)(189003)(956004)(2616005)(54906003)(16526019)(44832011)(6506007)(186003)(26005)(6486002)(66556008)(66946007)(66476007)(86362001)(4326008)(2906002)(478600001)(6512007)(81156014)(81166006)(8676002)(8936002)(316002)(1076003)(5660300002)(6666004)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0402MB3599; H:VI1PR0402MB3839.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1; Received-SPF: None (protection.outlook.com: oss.nxp.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wJTEuaLlNIXFVpdzFy42uG1bKW1V+hp0npVwTES44iwByaRLBLFcx/IV2pakM60+Z0xZrSZ7mu6vyoBUt1/lxLAqGduC0xFbqyLNk1PhMEqJd6mlQsuZ6murtXeRLsE62CKxuu8xulGturDwM2luYnWBzuDc4YZUoU9Y0hgD7ivma1fn2T3ILhTN+eYth9YSV8B/2n5j+lO6jh4IGvOSzAgKDxuzLtk9dl95E3S4oF2zmbEER1wzTiQR40snDTaYI9zzl7elUGtYgqI8exfoRQJ3Rstu72tEVYjv8KpUqp0ZOJxmppwLLXYl9/FzY82EhjQRWnUlsLd0rUaiLmbvDS0giLihu7FoqFVVrYNA4esMyovBQReen3DPnF0k4tdvG1m1p/83Y6pqTaW2vy8NN5M8bZMmrr+d+6wuYphOYcx+iAqXpaMKpNLCIcooyBKw X-MS-Exchange-AntiSpam-MessageData: 4JFqxVsiHu7XqTs3OrXGt82ynmjbLLHGRQDqp3uT9Yd/zaPEzZZM8NfJSF5EFRa5xv05weBasGbQON6lIqMY7jDpUAaUMz9Lm2f/8dODS8E0pvbZpuzxiVCsj5Ree7vzo1EL3A0W/+dTayPyXPZO5w== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 858d1dad-4b2f-4b2d-256b-08d7ae0fcc15 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2020 09:58:37.0103 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LrmT4UdZ27ZBT8HniUaW3c+Lj8mmlE+TH63fXaj50mtSDg11xcPk97afsHBe9UowW0B03un8roPEbu6ZTdLJ4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3599 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Daniel Baluta <daniel.baluta@nxp.com>, linux-kernel@vger.kernel.org, Paul Olaru <paul.olaru@nxp.com>, linux-imx@nxp.com, festevam@gmail.com Subject: [alsa-devel] [RESEND 3/4] ASoC: SOF: Add i.MX8QM device descriptor X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <https://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <https://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" <alsa-devel-bounces@alsa-project.org> |
Series |
Add a better separation between i.MX8 families
|
expand
|
diff --git a/sound/soc/sof/sof-of-dev.c b/sound/soc/sof/sof-of-dev.c index 2da1bd859d98..16e49f2ee629 100644 --- a/sound/soc/sof/sof-of-dev.c +++ b/sound/soc/sof/sof-of-dev.c @@ -13,6 +13,7 @@ #include "ops.h" extern struct snd_sof_dsp_ops sof_imx8_ops; +extern struct snd_sof_dsp_ops sof_imx8x_ops; /* platform specific devices */ #if IS_ENABLED(CONFIG_SND_SOC_SOF_IMX8) @@ -23,6 +24,14 @@ static struct sof_dev_desc sof_of_imx8qxp_desc = { .nocodec_tplg_filename = "sof-imx8-nocodec.tplg", .ops = &sof_imx8x_ops, }; + +static struct sof_dev_desc sof_of_imx8qm_desc = { + .default_fw_path = "imx/sof", + .default_tplg_path = "imx/sof-tplg", + .default_fw_filename = "sof-imx8.ri", + .nocodec_tplg_filename = "sof-imx8-nocodec.tplg", + .ops = &sof_imx8_ops, +}; #endif static const struct dev_pm_ops sof_of_pm = { @@ -103,6 +112,7 @@ static int sof_of_remove(struct platform_device *pdev) static const struct of_device_id sof_of_ids[] = { #if IS_ENABLED(CONFIG_SND_SOC_SOF_IMX8) { .compatible = "fsl,imx8qxp-dsp", .data = &sof_of_imx8qxp_desc}, + { .compatible = "fsl,imx8qm-dsp", .data = &sof_of_imx8qm_desc}, #endif { } };