Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1901316rwo; Thu, 3 Aug 2023 01:16:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfn0UzWVNwvBpOUAR6T+JYNkwBZGtNsk8cL/s8y9E6HsY6dOUn+2UZU9DRigNK7BT7PW+m X-Received: by 2002:a17:90a:3041:b0:269:18f5:683e with SMTP id q1-20020a17090a304100b0026918f5683emr253956pjl.3.1691050599061; Thu, 03 Aug 2023 01:16:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691050599; cv=pass; d=google.com; s=arc-20160816; b=yuPWnTES8ZgfUJyIbCO2vh8zsMud+L89lxXmH76z1QHs7OzluXYAcNF5HTBs4W+7Hv CPcP4+p90VH2oYdYCE0z1EBnj7Sfbw4rnXYBWKtvDYIoLU/muc6TdDdzeLDYcrr4mZlL Np4rtbAUSVTmhjFnkRgoiGA0jovyYdH0gcnxMr1hNBHxonotUeDBTZnga83zxN8CnpqI o9HgNG1hYH01s7YqqwAGzOqVKeZFZTOyBjR2YvLsws1il74Jwogrdm+7BCA4NsARKitc qPwOfb1cKpDTqnhRw4JOP/snpkKBoB6XXPCiWK6D80DAD+gRCpPCv8DOxjzaSROXEan4 dgvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=i6xZVWo+VAqKRi84PvtvOP4MObkyLAc9LaKFlb7R0Bg=; fh=wUYt4NB3kfCdIY4rqXBzHNItsjiAJpo/mWY7mAt9wKw=; b=FmmtS+t56+Zd5x8hw6mB6BhAJeQSRPnP3itgbpYV1/Okiq8IoJ8Ly4hjJrIeRWpuKK MfYtF8A6z13IBYAABSyi7iiBejUSCKTiYwMHSNcbXYdinfwbAvJ8IOWgqwkqmus2pUEE /EXh/KaMQrG37jumQhM6NBpkB0Noi9dSoaIrdYxeu3fYGzwkr5DevXEVgdk8B4Bx734s WhKKQcA9Ru7p3rHv/tRDT3iqEW2ivyx8D9F9ti+n/gbhq2QfagcNFwiZiFg8uwPhIEkb WcWC86IOA3kvWU01NNKJzIpFVWNLUkxKiPyUy8nzpguqoz8o4hc12+xD6X17I4WTwwHu DYhQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=UW7oH9Vt; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b23-20020a17090acc1700b00263e4949dbbsi2589802pju.29.2023.08.03.01.16.26; Thu, 03 Aug 2023 01:16:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=UW7oH9Vt; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231634AbjHCH1K (ORCPT + 99 others); Thu, 3 Aug 2023 03:27:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233958AbjHCH1D (ORCPT ); Thu, 3 Aug 2023 03:27:03 -0400 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2048.outbound.protection.outlook.com [40.107.15.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0659130C7 for ; Thu, 3 Aug 2023 00:26:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bJD15VOYznIStgj9GAAN1z7vu2hAf269yTmBtDcgbEAKWVK/L/0hJMIE+ldCO6nJE+Bun9csp/RXYWVfZPI/CjFV47Tgi+sNs35nyupguiqs5RvxTBLMehoHvmVjbFKRJ455nm31PkiZ71Qk2um+/T+lZ6cEZxFDn56ajRXUwW4USOKXCmzOsm557LCXvozLjjEJVPC8jSM5YJzBItxjZ8CvjIlsOoNwEw6WtRSckHTBVRur3oi0Bp2WHtPOta+Q/JPiWBbyZFQ/o8ednFfM4Z6TQPWcL+XeFAqoJgqtkXx1x9t+IFh8vbxvch/RJGlVyPLMustwYH9jJlkXxqqy6w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=i6xZVWo+VAqKRi84PvtvOP4MObkyLAc9LaKFlb7R0Bg=; b=cdhalbwPE4JELvdAIYClJLBsAKfg54cuzQg+mTX4GEBa2to5m4bLlm2BQIT8Bo9i1S3lzb1NKyFLavdUEBWps/xvOt1cZ24KiVqJMFAA/4aUUNUWUASkqLA7Tv1n2pwKbtC11POxfeYWvPzZ7toeDIUrjNVbP1bZfkI/tslYr6jXx+s2FVY3oC5BZr2amSEgBqjB5KBnQSm/k+6KNN8r3cP7xKtv2imM3FcdXSHnc8kr3L5OrgjYBSay0jm9L/gvUYZWPrAmuUYRffXiSWzPwH+9X/0RR2vyNeMHPa/rqj+Ebw/piotayG6+FWS+Yl2yHt8QM7yss6D9g/X3tTeUIA== 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=i6xZVWo+VAqKRi84PvtvOP4MObkyLAc9LaKFlb7R0Bg=; b=UW7oH9VtKgOH1KdKUoWc+w85ce42paODxcj6hZjsKN14LClH6S1BDSk43zRmfCJOGBeNfbs0f8QYOx5Oa35oK2TU7UfL2IkKpod5QAz7mkbOmeM07ktbsjRWAFOq8JOMz5MAk8t15RINk48qq3wbkl+ej0vaGZ9cpV3tajvlIus= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5151.eurprd04.prod.outlook.com (2603:10a6:803:61::28) by DU2PR04MB8631.eurprd04.prod.outlook.com (2603:10a6:10:2de::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.32; Thu, 3 Aug 2023 07:26:56 +0000 Received: from VI1PR04MB5151.eurprd04.prod.outlook.com ([fe80::d4e4:973a:b085:de93]) by VI1PR04MB5151.eurprd04.prod.outlook.com ([fe80::d4e4:973a:b085:de93%7]) with mapi id 15.20.6631.046; Thu, 3 Aug 2023 07:26:55 +0000 From: Daniel Baluta To: shengjiu.wang@gmail.com, broonie@kernel.org, alsa-devel@alsa-project.org Cc: Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: [PATCH] ASoC: fsl: micfil: Use dual license micfil code Date: Thu, 3 Aug 2023 10:26:38 +0300 Message-Id: <20230803072638.640789-1-daniel.baluta@oss.nxp.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: ZR2P278CA0072.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:52::9) To VI1PR04MB5151.eurprd04.prod.outlook.com (2603:10a6:803:61::28) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB5151:EE_|DU2PR04MB8631:EE_ X-MS-Office365-Filtering-Correlation-Id: 01e6ab90-ca91-48cd-f0b6-08db93f3037d X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: s6CDYNXGAlDUvgelTC7zRF4MifMgHPljwgKc7QO0T2da0ngGqISSqmC/5ywotDjTVdCfQNMdOp+Fl5iXxt7KkTuhJ44PNq1e8+3MTQ/6tecPEjP2mTAWmO/PHDHdEltg4jQkO/d2M3KjtZMjYW80Yst1ZkLN34pxOXKHIwMPHbp8AKFNJX/GcV22YDwJeGR6hqSwwa03rW0TND9YPkxt8TvTaDfXUqMrmfH2xNEy08gWxMv3JtKNRj3hA4zOQXn0LqdfxFNgjRlVJRaK0Kjmyd3ovsFnxnTNoeQXezP/83viqYyRb4txPwnyO+cJnyoPGAYw7Ufhl55bBmwP+JjNl2jC+k/blnuY1n5fRzc2yJV8TpHwDeVIKTRJPzlVluqzhJhUJZtsq32ZFuWFPPtPNaQp2GX93RxpwjoVIvoTazblwIfULY2F1FtfMRDmiY9Lxhu0DkWWfLj3yDC3nJRf6ZL/OZ0Er3MYNbC0CQGw5HgedsPZyRw+2Difh4de4sL7XUhBC0fu5iKRkUIiSEP5qt4QJmlUQlzoitcf30eBlLn+BDHWwOLohvrAyB/QbyAhuibox5Vdpjbnbn/1PidqQJx0dpmavqOF94c49zPCkK5jyvaNkUuVM+1Ax2+FRz2c X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5151.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(346002)(376002)(366004)(39860400002)(396003)(451199021)(6666004)(52116002)(478600001)(186003)(6512007)(6486002)(83380400001)(86362001)(26005)(38350700002)(8936002)(2906002)(4326008)(66946007)(1076003)(44832011)(2616005)(6506007)(5660300002)(66556008)(41300700001)(66476007)(38100700002)(8676002)(7416002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Mc8DfxdUxhQqSin3B5xTUTU/bCq6SeozcBMIuUAbo2nhyYDBsu6LYMd9Iw6u?= =?us-ascii?Q?DYC7pCOsxIzhNOW7XvXyz3npZY2o354pKmTv7vXhyk5fTLA4wwy5kk/wOgkq?= =?us-ascii?Q?Wcht8M3rNcrPk+N0VBAm8TFMKuWLT/eFeT4FVHZe+zXBfUqh+IXPyY7YKhLj?= =?us-ascii?Q?qrwbBJEgliUicU6UDv8QPcece/PeOO+JvwWrcwahOcoIVD1xiA+pGkf+mdsp?= =?us-ascii?Q?JhrHPzEgXqOoMLH2USEERBeEioZCN0sK5wAIjWz3IiuKN2hj8+6ev2qQaKRM?= =?us-ascii?Q?y2Y4jCtPtwPNRCu0CIfJyNF7vUoV4tlSeh32BcoAokrVucSaMzCwZfVCwINH?= =?us-ascii?Q?j1JSK4jnsoGMcQApEfhn48CKuAZP9srEciEslQokEMfcxtOQV2IJiIL5yK6E?= =?us-ascii?Q?n1MKPNQWcVyKrPsUsf3ibgZFKMBpHgVeTcdMXlHby4tjb10kfHWal/dta5Y2?= =?us-ascii?Q?2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lEupUsKs+ra?= =?us-ascii?Q?tTx5y+KEiRhLK7cVdyV+7CuD3oPpuBXb+FJ/7Z0dvJ+Z/7EEjJ7+0hWQTj6f?= =?us-ascii?Q?d49ci9nzbfuxrWIC4/BsU9UgH3QBlCLULPIg6tHlGo/yTc9WKutHYUP5T3F/?= =?us-ascii?Q?jHXJZodDPkb0JTf1gFLO9LXU/uCrm6bAoEU4sT2RbohXXDCTsxgRHUIIPxn+?= =?us-ascii?Q?xbyt3sQNbWY2d7YvlaYqqLzjIWWMWQOfgxmzM8ZI?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01e6ab90-ca91-48cd-f0b6-08db93f3037d X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5151.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2023 07:26:54.9926 (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: n7tVF/dyzBl0To7cg2xsE2GPFC8WCJfvx56V+kNxxCooe4AKX4LD3G2gPH+R0ETA3xvuTh7M/lj3ntK5627TZg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8631 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Baluta We need this in order to easily reuse register definitions and some functions with Sound Open Firmware driver. According to Documentation/process/license-rules.rst: "Dual BSD/GPL" The module is dual licensed under a GPL v2 variant or BSD license choice. The exact variant of the BSD license can only be determined via the license information in the corresponding source files. so use "Dual BSD/GPL" for license string. Signed-off-by: Shengjiu Wang Signed-off-by: Daniel Baluta --- sound/soc/fsl/fsl_micfil.c | 4 ++-- sound/soc/fsl/fsl_micfil.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c index fe28b27e50d0..97cf315781ab 100644 --- a/sound/soc/fsl/fsl_micfil.c +++ b/sound/soc/fsl/fsl_micfil.c @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause // Copyright 2018 NXP #include @@ -1254,4 +1254,4 @@ module_platform_driver(fsl_micfil_driver); MODULE_AUTHOR("Cosmin-Gabriel Samoila "); MODULE_DESCRIPTION("NXP PDM Microphone Interface (MICFIL) driver"); -MODULE_LICENSE("GPL v2"); +MODULE_LICENSE("Dual BSD/GPL"); diff --git a/sound/soc/fsl/fsl_micfil.h b/sound/soc/fsl/fsl_micfil.h index 9237a1c4cb8f..fee9fe3d9119 100644 --- a/sound/soc/fsl/fsl_micfil.h +++ b/sound/soc/fsl/fsl_micfil.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /* * PDM Microphone Interface for the NXP i.MX SoC * Copyright 2018 NXP -- 2.25.1