Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6617925rwl; Mon, 9 Jan 2023 10:35:56 -0800 (PST) X-Google-Smtp-Source: AMrXdXu4V8b1OFSCowa1inNR9HnGMCF5Gpd3EO9+kUimJJ1q5Jb/MocWpxWh7Fbs1RpOcEKTYVcE X-Received: by 2002:a17:906:2813:b0:829:59d5:e661 with SMTP id r19-20020a170906281300b0082959d5e661mr55832135ejc.29.1673289355943; Mon, 09 Jan 2023 10:35:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673289355; cv=pass; d=google.com; s=arc-20160816; b=o/9fsN4jY++m9UYe9KYmADR+MRM++4wPH3orC//YkFM25d/y1qzU6lvqenRLja5ee5 rhDeoyIqPauBDPKY8WpfE/UUIm1ZjhixrfmMF/47Ie1hws+ESOWIF93DurQdgkkr1WUm bMH5J9SqBUD4g3IAOQZc6EVfsYNm2WDuFq6Ekn+f0OqYyAXO5IKYtoFhEtsHQdCUhvDd YSXMRUpG6Jj2CQzslZhu1jFZbNKSMFqKLx6CfWUWjMSFe6zAvZINKa4aGEskjfhpupjm t7qYwH2ZOVlFyJY5HeLstP8ws2pYAAYGL1NIQEV6+dOWgJc0wN6dO0Iyz2zc2ZrVjFMJ jw/A== 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 :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=MWYVpLti9KyB865YlSqgk9jjDGBTYaYRdZtGjvdvMPU=; b=yrm7+9fNNt/sTXoeXczQ/0I+K3NQqdXYrGmVSL/65YAJow77n2swZWaVUwcBGmG3cM JPViZ/rNFUE7lvznyMN3wLudsJHKDBtRltTWmEwVqQ0IKpqWvE9kurAJWGH8ycIWrkwm 3cUjD+nSWxPkHdDwgACXqDKxvuVEazJhHEJQgB3uu3tbWf6mHaUWUzRHEnBrChYO7epx 3yEmHD6PIH0XATwasLK36PtmGB+LSlSHKPtkU2NWhmZRD2os1mcGX45y1XQUI+wTFkEG 08HAA6UXmEzMjLjlwX38Y7aeoKj6YgPthKTkmvGDBjOJcObUL8fZ7XwvY7PLxAcortKK W/bQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=bQFlTFvF; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wu4-20020a170906eec400b008269916aa9dsi9616614ejb.160.2023.01.09.10.35.43; Mon, 09 Jan 2023 10:35:55 -0800 (PST) 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=@amd.com header.s=selector1 header.b=bQFlTFvF; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236629AbjAISXp (ORCPT + 53 others); Mon, 9 Jan 2023 13:23:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235112AbjAISW6 (ORCPT ); Mon, 9 Jan 2023 13:22:58 -0500 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on20611.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5b::611]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 053A32625 for ; Mon, 9 Jan 2023 10:21:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b95q8r9PBIPX8HsuKLT9EN1wZVXnfnEdlRuSSqt06DB3EJ23s/77UlWjfXFUP2F2kQ//F/+z7lvJlre3X+QzKO7V8S2Yvkmg4Mb2pDTJrxfFMSL4CvZN883Q+x0i8ZZmmtP8q2MPqTTNf5te7Qf27ahqj5owyLvLEN85Svj/fa2dHgG2aAHjizFD4Ct+zfb8c5PXEaxKWCNSG5rtL/gmjHjbXf/FvcWvLOipeNILNm/6IuiuPWTCgOLvm7qeOxVoBUy27C9CmOBc47vroKr4ZtZhdmkiw46wB8RrJWE91ABCTNJLhINUmVo7M7cd0B4gQaxTyyNmgWFnPPqAvwbviw== 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=MWYVpLti9KyB865YlSqgk9jjDGBTYaYRdZtGjvdvMPU=; b=d8H6B9n3yrIzh/8UuDiADOkfuXwuNM2yglfgqOkV5GeAuC+ir8MNsEFque5S+5wTaotktSuFrfd2U8aIglxupeOGQgBuX1QQa3iFaTHg1qUC/XAdftJ8pLryrEVw5PhKs/v22uynNKnP0rBK73lx9OWXhZXYGKF9ioI2QahoJ1hqqhvl7/kqcvtair8v4VPVFz1zJjfkp5qdNdwydHATlZqS+N5fQl3LQ31hLw0KWeoEAzW7WlsQu6WhMQe4ZTQUk77KmGg2uPd2K5cF5cueq+4ZjRVBM1WWW57KRnRFWAoNPEef0rSkwt6t8tIMyBiLoB4NunQvOPdqaqRw7hOxPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MWYVpLti9KyB865YlSqgk9jjDGBTYaYRdZtGjvdvMPU=; b=bQFlTFvFv/k4Ao4/DVP/iuoZ7PpyJAcbPX/5M48RylfFReYtwi3yB9XOd8zXykFq/qp0oXDtTsX7YL6sj05U99Tm75EI3nPnI2vYB9tL/UcBcmRdZG5HBobk0to8GqWtAaEyQnBgt0m1vFmYKZv7zaxU6QROBlNar9zM+VCymD0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) by CH3PR12MB7738.namprd12.prod.outlook.com (2603:10b6:610:14e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Mon, 9 Jan 2023 18:21:53 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::ff3c:2d37:75f3:442a]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::ff3c:2d37:75f3:442a%7]) with mapi id 15.20.5986.018; Mon, 9 Jan 2023 18:21:53 +0000 Message-ID: <8349cf5f-1e26-f605-4404-978dbef9cee3@amd.com> Date: Mon, 9 Jan 2023 12:21:50 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [RFC] Sound support for Huawei line of AMD laptops using ACP and ES8336 codec To: "Reddy, V sujith kumar" , Marian Postevca , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vijendar Mukunda , syed sabakareem References: <871qo7fqjp.fsf@mutex.one> <598ca0a8-8aef-a030-7060-f76ba4700bbf@amd.com> Content-Language: en-US From: "Limonciello, Mario" In-Reply-To: <598ca0a8-8aef-a030-7060-f76ba4700bbf@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SN4PR0501CA0008.namprd05.prod.outlook.com (2603:10b6:803:40::21) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR12MB6101:EE_|CH3PR12MB7738:EE_ X-MS-Office365-Filtering-Correlation-Id: 44f0a64b-0c23-4cab-05bc-08daf26e61d1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HgeYXA3p9z81WWlVL3bkNxaHrWy6exq3ebuTfi4M8MP4r+y8i1SNuza75dzY2keguyT9o/6KGYVXm0+wdDglMbDxEaH8joxI23QdzJy1WmFZsgSKN7zdMpR5tfe9Ts6a8bN6ikOF3zVGQK59+zS4x20YY9OKiAekzgf3Nlp19eaxc9uPh7xbAqVfKwydTDDv3aImq68JbIfbJE1a9C9ybYtBUBbKKFER46HNuBppu5PLxflnrTS1mxXMesQF6UBM4ZjEtLxRhEDZ9Z56i3MFt/oLsJ8AbmIHXQgFPoofiNjDEYfvxfgEGbvGglsl6aw8GUVt2SmIrf3HDzRsA2zW8GUvBrJwhfYjAvPjGulcPYwtRAx+oadHtGtzoKOTLlXtcUGY/LGWFMQ1QCiFD2YI5lPbGY3Rq4GBeW2Gnvc84wZo/E3bObpJnLnKaUp9d0uWoPk6+7BVbeKFrXvHXmqJnt6en9wA93s1dpcquWihBtYoYazZ1l5UMpLl+GjJlG+38EU4tHRVCVvrB1PkrMbHyNzoxNMicB8UaRfy4hZiz5p3IrHor+JANV6w3RiS13Bl6HA3q8HSrLO7o3GFn8bcuhQr3sQymoeqZ8p/foK6EYMSfx+N93tJZc54exlWyu2oyjROuLhh3ouPCTU71Xjx0UoQPJzZ1t+iUL7x3iY1d5SyFk6idQ4iqXbDSu0HIiCxVNesa4YtVJdXgBHgf6L8pqpVGaO3AN4ROf/NNcgMtIpFPP7WN+dMaR+uiDP+movg X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR12MB6101.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(396003)(366004)(346002)(376002)(136003)(451199015)(8676002)(316002)(19627235002)(66946007)(66476007)(4326008)(66556008)(54906003)(110136005)(2906002)(5660300002)(8936002)(41300700001)(36756003)(31696002)(83380400001)(966005)(53546011)(6506007)(6486002)(478600001)(38100700002)(2616005)(186003)(26005)(6512007)(86362001)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RkpGT2Y0Tkp2b04vbUsySG1OY0xpVW9ZNXlwRGVzd3pCZnZxc3FlVXl5RU1W?= =?utf-8?B?c25kTnpCK1pJdEF2V1ZqMTFXcWRFVEp4ZlZxSmhHUDRSbWF5NXFoUHAwNklh?= =?utf-8?B?a3NNSVdsd3RPdlFtdTQwYTN0cWZSUUdDTjJqNEFpcGV1OUhETFNpUmp1bE45?= =?utf-8?B?R3gyQTlTd3FmbVdDZlI2aThvY3JnaWdLc0tieVlIQUxXaW4rZmUzU0dCckdN?= =?utf-8?B?TG05UkJBbUI5UThPeTcwV0dlckVDYStQTzBLRzVMN0FOcFNZVE9PSHl0Rk9l?= =?utf-8?B?b2FhcW9IN0VlQ3UvS0wxcmxxdmdOWDV4NHVlcFNnaDlHZXBTL3R5R2g0bmFw?= =?utf-8?B?dXJzckI3VGNZS1M0ZWRONjhEek82ZEV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c23-4cab-05bc-08daf26e61d1 X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 18:21:52.9321 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4dhLi+bRMrQXqVHQu3V4dC0fzLGyDQ+O5hG5Vy/VLofhClQw31nHTR1L6czV3W/vZrgmPghRyfF85GABFObzgg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB7738 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS 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 On 1/7/2023 00:58, Reddy, V sujith kumar wrote: > Hi Marian, > > Thanks for the query. > > On 1/7/2023 12:17 AM, Marian Postevca wrote: >> I have a Huawei Matebook 14 AMD 2021 laptop for which the sound isn't >> supported on Linux. On further investigation in Windows and ACPI tables >> I could determine that this particular SKU has an ES8336 codec connected >> to the CPU ACP module. >> The CPU of my laptop is an AMD Ryzen 5 5500U which seems to be codenamed >> Lucienne and is a derivation of the Renoir family. >> Acording to lspci the ACP is revision 1: >> >> 03:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor [1022:15e2] (rev 01) >> Subsystem: Device [1e83:3e4d] >> Kernel driver in use: snd_rn_pci_acp3x >> Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, >> snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, >> snd_sof_amd_renoir >> >> I have written a machine driver for this platform and managed to make >> the sound and internal microphone work. I am looking to integrate this >> support but there are some issues with the current implementation of ACP >> support. >> >> As far as I can tell there are 4 directions I could take to add support: >> >> 1. A standalone machine driver in sound/soc/amd that uses the platform >> drivers from sound/soc/amd/raven/ >> >> 2. An embedded driver in sound/soc/amd/acp/acp-legacy-mach.c >> >> 3. A standalone machine driver in sound/soc/amd that uses the platform >> drivers from sound/soc/amd/renoir >> >> 4. Use the SOF infrastructure >> >> Now as far as I can tell, all of these directions have issues: >> >> 1. The pci driver from sound/soc/amd/raven/pci-acp3x.c doesn't support Lucienne >> since it blocks rev 1 devices in : >> >> /* Raven device detection */ >> if (pci->revision != 0x00) >> return -ENODEV; >> >> This is the approach I took and just changed the check to add support >> for rev 1. >> The sound and internal microphone worked ok and I didn't encounter any >> issues with it. Of course I don't know the internals of ACP and >> don't know what are the differences between rev 0 and rev 1. > > > Not recommended > >> 2. This approach could work but I would need to change the structure >> acp_card_drvdata and struct snd_soc_dapm_widget acp_widgets, >> to add proper support for jack handling (and maybe some other >> modifications). >> This driver seems to support rev 1 (in sound/soc/amd/acp/acp-pci.c): >> >> switch (pci->revision) { >> case 0x01: >> chip->name = "acp_asoc_renoir"; >> chip->acp_rev = ACP3X_DEV; >> break; >> >> Also from the module description it seems that these drivers are >> meant only for chromebook support. > > > Recommended. Please add below code > > { > .flags = FLAG_AMD_LEGACY, > .device = ACP_PCI_DEV_ID, > .dmi_table = (const struct dmi_system_id []) { > { > .matches = { > DMI_MATCH(DMI_SYS_VENDOR, ""),///change accordingly DMI_MATCH(DMI_PRODUCT_NAME, ""),///change > accordingly > }, > }, > > > at > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git/tree/sound/soc/amd/acp-config.c#n50 > > As you said add the   structure static struct acp_card_drvdata and also > add the required dai_link of codec. > > > >> 3. This seems like it would the best approach in theory, but the problem >> is that the drivers inside only seem to add support for DMIC. >> >> 4. I tried to use SOF early when I started tinkering, but I always got a >> timeout during init phase when loading the renoir firmware. > > Could you please send  the error, we will check and let you know what is > missing. Just a guess here without seeing the error. Is this perhaps because the SOF F/W binary that was loaded was not signed with signature trusted by the platform and the platform required validation? SOF on AMD was first introduced for Chromebooks which don't use the same authority for firmware binary verification that general purpose UEFI notebooks would use.