From patchwork Tue Jun 18 00:36:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 805304 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id D7E9FC27C79 for ; Tue, 18 Jun 2024 00:37:25 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 3D959A4A; Tue, 18 Jun 2024 02:37:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3D959A4A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1718671043; bh=XBM1Semt3LcPyAGbrWTnEAQty4kR0wtd9GxW6NwZugo=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=HUzo+LIBO/4tJ0TojQjBCKrsPyqMjjfpYR/D1OjlUFoNmD6DY+VoI4JZOQ4Mg98iI PG6soKAgmXvS7j9uOMqiCEJCrPtpoCxE3GdK2YGYAMYsrSkhPQw3YBUqtzTk0nnYhG eRkFrCm6PpcT7EwR9jwWLmrW0OLmLokGzIVi3s6s= Received: by alsa1.perex.cz (Postfix, from userid 50401) id A4441F805B2; Tue, 18 Jun 2024 02:36:51 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 247C7F805AB; Tue, 18 Jun 2024 02:36:51 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B7C8EF8023A; Tue, 18 Jun 2024 02:36:45 +0200 (CEST) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on20600.outbound.protection.outlook.com [IPv6:2a01:111:f403:2019::600]) (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 94C2FF800ED for ; Tue, 18 Jun 2024 02:36:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 94C2FF800ED Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=renesas.com header.i=@renesas.com header.a=rsa-sha256 header.s=selector1 header.b=ZFJOP56O ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C7yHxe6KO/ZD22tRXYebqeBKaspa29Y0D8HIugn+qA5a3Un03StnAhe4rhRrSATGd2G6141McBT3lMiwatt/r4EwM8JhAsyszhkupOMK91OnShj5ILuyb5YaBrW5CmfVEUcLsPjn7Ic4F56KkNAPrARUCRWXyH/34MgZEn/gVZxkSirS4wQzLsXOnmEdpynIfeB/5yazVagdaZPrMYbufGshOT9itlgeeiE2R4nWvB22W+LglzBIrjcKpvmQom6BlqFP99BgKfCpDhoZycpFpmvJEj1nLioUNLV1H6jRWfrzBgSjfr3xhdyU4V+DwmR5widldqfRcjEvWdNxzfpVeA== 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=N1hfEIeXgQoYrNZhEEhZswvU6a/jCaZnvmy2TMUX/Pk=; b=Urvmy5kcuAvP8GadwGRoTF1PUGlP7I2Q+2MZ4UBuOW6oWl4s3LexfRU/m43+1rqz7RkCpHWqFLU3Q6KKxpHL+PzqvaKK6txV/VeuVZcU+Rnbor1s6SbPhX5gd1AtXGTY20tXBf054dUDxCcSeTjNPgcSYvTIWmMz9YBhzI/YqOUvC+z9q+k5DZGCR/EiCqEZ063u7uvxy73ij4P6u9+M1LpXVqb5YBZg2iw1gdvMhYSwPbwql6cAJkQjcoCNfRRKFW+cCkOKl8lcSZ0r5sWRTN9F8wNARzR53YzcMpgSpFMoZ1x8clOMtE2yVJlU0lPncKzIyNgJ2bsmuOVF60+HxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N1hfEIeXgQoYrNZhEEhZswvU6a/jCaZnvmy2TMUX/Pk=; b=ZFJOP56OqSgON5l8XZqYBqFb++AqdpqL8X/jJaT4mF+AvC7kAl9+UV8KNBT9ue3Acx7qpj42MdezCJ1I8F3UfhabPSuCCO27MvsqyPYA5iZVYhbm145No/co+9u40NEO2ccHUT/YD9fIo5KhPXWoEJSWyD8xGpLEdZhRG24jgVw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by TY3PR01MB11574.jpnprd01.prod.outlook.com (2603:1096:400:374::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Tue, 18 Jun 2024 00:36:27 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.7677.030; Tue, 18 Jun 2024 00:36:27 +0000 Message-ID: <87frtb3x4k.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Mark Brown , Rob Herring , Krzysztof Kozlowski Cc: Linux-ALSA , devicetree@vger.kernel.org, Khanh Le Subject: [PATCH v2 0/2] ASoC: Add ak4619 codec support User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 Date: Tue, 18 Jun 2024 00:36:27 +0000 X-ClientProxiedBy: TYCP286CA0156.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:383::20) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TY3PR01MB11574:EE_ X-MS-Office365-Filtering-Correlation-Id: fcdce077-2d94-408c-7b1f-08dc8f2eb0cf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|1800799021|366013|52116011|376011|38350700011; X-Microsoft-Antispam-Message-Info: skj+KF0RJ+ZzN5S1PHYGI1kD2wegUmVgH1UELxlW7PHN0GHKkI67tigSyUTyUHxBc/4hGRO1ZgO/d9ca2EGRl96XHftz1hZ+hOVl+el/tH4Ciz7OC5wJCCCfipbsfn4nK0iqEY67nvaHdFVt9yW4AW1QcuOeJx/voTPA0bjQwnBowpwzDPqzP5q8ZiQLFYTkzwSmkWLqXhfLgytXA1wl1gE3TO82m3fonh1ejeKkehdcFUdVeuWz4pzNPHvkY9T5Almt+1L4KtZu9CwDpKByO4l2Ns+Cj2Im53szJLfzhZHwAkOn/QfCx8/VsJkQr3QCYPdMvEunDoyZHZXhzwx8Qs127PGiMkaV0zwni6PqLrEwSkhrXtcGgHb31ZPGM0kLohWqk+SgGh4L0x3rnJ1T5lAIgt4ZRBDTjWIDxe+L9jxOan6bpgWVMM/fRaGym/SVGK7edS8VZfcbfIZXtQiHHqLvDw5xV7gCA+LrgMIpIDZvIyFUu8UAGmhtUfDwlP8d3sV/uPTPK6eD3iO2IAgGOz/p6CGPSgyN9jCNUbo74tzVQ+DyhtIb1hQ37B8Yw4pIuzZsAa/bpC8oV2EkhDaBBkYH7agyP+Fb7dTJPk+z/scRFUj9Bzk1FLz7VLaExSfoOHB9SUcWC1sCku+SYiSYfWp25L3zkYap1cmck7WZmOuJd1VjIaaYY03bLqZyTOeC7My9DBerPgoAmwmH+vMgmLhstQVi7PmMi7BgkyRTDdJED9Se8/0XwWEJ/vrIp6hfcNRMNyAgrqza7VoHnv48ReXhkNnL5hZbV7nCeVpEJi3+PgT7d7HnCPzVT1tv99gHOc41SnK/3F4aIfJksqaIvC141F28NC2/9YidnVAJdi8JALQxnKtoQphMIupGYe8w4KM4+meXXi3G5fgGRvH1Mw4I0Ybh3jmVEcPA62nmkBMnBrM2FNpQZAJbgumNknc3euslmfL5Yd6ExCKrtth14P/sPzO7cTwQ2FJKPz8OdxBG4RIwWBSWqsu/SBGA8wuE0Vd8LyC1mwbV/9ujTrC4iO4MyoIpwmJlEfTDYvjrS/f382qiqAhqWn6W1GtNhlW8LmeOTt+JqnsT0bBKOm9qrHSiHKZ5byrRzvLiGh79FHY4dz8hSc8+Umb2uSWBZK2+Q7bD3qZl9OSaSXwHxn2XTDjbE0C601Q5jVQ8dEu4+cXyAN6zYFAahtmZPAd1F6Z2e+keaZMY1nt90okKSeT9t3fUC6Uow+BIWC81aAiZ3dzrR2TPNMDjKCDWsNdviYJgdytXylZxqs9p2vUjorToFnMV5blMPiYfopLll+WvOdOp5994tSkxrQpgxKbikxBJ X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:TYCPR01MB10914.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230037)(1800799021)(366013)(52116011)(376011)(38350700011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exch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CQ49xPN9NhTXsoH9K3HAiTEV44ybO01S37UpDgllcITi9Lwmbc8OZc+kyNIoz0zqxa026xF6pYcGv61uEKtcPF7HUkhwyZrlk71jbRISWWK7gst9CLiTGIevmQerhrXGlCpntyNBMcRRlwbe5KnWDlrYlucrX6QOTfiKmsYQBi0sYkOgVsD4EIpSrpEEO/Y7KU/YSJlYc2stdax78Boh7Xu4G/O1TW22ZXF1Hyy6oDligKYX3OypCQuJFg+kR96Yj1yPTjgxxJ/aEUjP4vKtm8XzQ/wxvACby3/MGgTbV0X8AFASx8AG0xdgxSoxVOGlfknTMUx1tfVqCMAu3eBvSKrZqS9UMrmKKOyub+zHIE+TTvhcXm28Ia1vsY4bQOPt+1n/2Q448FXb1XPEaWfFKxJivHZfXCYZhSoVovYUbyDoXPy5v3YV9n8CLrdoQ/PudGZvspWKIMR7Hg+4kfKyAB0sxXOjdl4TWmkmpOR+ku0OnLjCIoXXjz+CtOEZT/POW5Gz74WSLJlUvbP6YNu0UFJRK19eiXCNxqJvJ2hn5x730qr3D9lkBFWdw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: fcdce077-2d94-408c-7b1f-08dc8f2eb0cf X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2024 00:36:27.8700 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: npACvHL+YA4v9fUsLkxkbPJkeyhWqMsUA3qF+pSbFLgxu+BswVWLRzhs5TIpmViTYIm9m1DFxCgg7DuSHR1J1pB1c/eJy3fs2G/T+2CgTKo4qGYTf9xnEw3xGobxqo0g X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11574 Message-ID-Hash: HFM6MFAP3UTD3QA7IAHNMA5XKLO32OJR X-Message-ID-Hash: HFM6MFAP3UTD3QA7IAHNMA5XKLO32OJR X-MailFrom: kuninori.morimoto.gx@renesas.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi Mark This patch-set adds ak4619 driver. It was created by Khanh, and I updated/adjusted to upstream. It was tested on Renesas V4M GrayH Link: https://lore.kernel.org/r/877ceotnrg.wl-kuninori.morimoto.gx@renesas.com v1 -> v2 - fixup git-log style - add vendor prefix for Doc - remove "ports" from Doc - add examples on Doc - add missing property on Doc - add const on driver - use sizeof(*) on driver Khanh Le (1): ASoC: Add ak4619 codec support Kuninori Morimoto (1): ASoC: dt-bindings: ak4619: Add initial DT binding .../bindings/sound/asahi-kasei,ak4619.yaml | 62 ++ sound/soc/codecs/Kconfig | 5 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/ak4619.c | 903 ++++++++++++++++++ 4 files changed, 972 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/asahi-kasei,ak4619.yaml create mode 100644 sound/soc/codecs/ak4619.c