Message ID | 20230131184653.10216-4-mario.limonciello@amd.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 47dc601a067d9a79989310c8a1f93ea390ae9ead |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> 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 BE5C2C636CC for <alsa-devel@archiver.kernel.org>; Tue, 31 Jan 2023 18:49:10 +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 E83B574C; Tue, 31 Jan 2023 19:48:18 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E83B574C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1675190949; bh=XTU7PWPdZemAoAS2RVaHCh1sbBfbaKW90TZSL+67l6k=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=SeSoSvKkZhJuI5kNWlIYwFwJjbEGcBAoxH2z0BLC0uO6i5xwjXFDVUKPe6ZBI2YUU tMuda0iLRq11RoOLji11ZxkkjoRbzIgEju/ozR9qdq3zsKsHu70uJLedmULP53pKdY d5QRScv8rx4yppFQWoS91vwUFJHu+V2HwKcnZKS0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B79C1F80544; Tue, 31 Jan 2023 19:47:32 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2B843F80548; Tue, 31 Jan 2023 19:47:31 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2060e.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::60e]) (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 74EA1F804C2 for <alsa-devel@alsa-project.org>; Tue, 31 Jan 2023 19:47:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 74EA1F804C2 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=UUcBpi9y ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nofyHf5USCnkGALJOuSvgFUb5FzaqeDRqW8RCDJKYGRjysXUYxSZNLb809Xt8HJ2+DWNuYuwAMCgLFy3xnd7oq+wQoAqkdxp6N4oL+eF07na+wYi/XqYhChMTyLu1SDyzuJ093ENYN94Xx5jG1D71BLpc+uzGYy1eo0fFHeV313JP9QkpCVOTClrGW9Me43d3s2EbuPIRw/jyCsQap/sNylHGPpCgPTJzmYoOqX7f4t/9y7vPH24nwZ9yzJ/RaNuY1f6HfW6Rd/k8ohGYfH1DPg9/SQBzC1rfpQgolBlZNslMMKhHabMdX0kbPXvYc8jtKIX8hY7eFa85N/vX58miw== 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=jtTA9PwUwiy3U/Dloa2J49BaxS2dkptgUr+JvrRziMg=; b=KSizRSBe5+c6ucIGMyIgcyUZbM9kGh5QUDRjbwujWfghKjGsLjs6u5C+uHzrBXL6Xm3rU78ZgKwVBeQG0RdNmzc+PfcJLQ/ZXMxW0gY5/2LQNy8rcrLJP5f5C+fYUtNONK2xkpN8XRq1TO0xAw+g5FzJdYYAcuXxOerwUs1Tk/AcARX9j2x1PxQY9a/Lkz1tlwv7tSVUOAa8BeFOCPuwhB1ko1jqfuvHPcJWzY7962OIneKXVNRNxhN0KqxaMVwkE5Q7RoqbgHjR0mbc/MeT/QdMSIJ1aPok2v4hNo8E2fNNsmvQbRP0gg6KPm/kgcE+wy27eW7SO9KRioNLGcMGxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=redhat.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); 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=jtTA9PwUwiy3U/Dloa2J49BaxS2dkptgUr+JvrRziMg=; b=UUcBpi9yFDF/R8YIgYDR7Rl5Iv+x3XyTJAdZN2F2we4Qs+iqfz9reoGO9eIsVXVsMhuOjV9/fxyVerX1tjf44/tG9Mgr19rjv1SY42oUDDlog4qwHs4LfULcYUEGRDJ4wciQyd4B7vNy9br4kHWvskvCyWTzL4lbKLoMNIN8deM= Received: from BL0PR05CA0011.namprd05.prod.outlook.com (2603:10b6:208:91::21) by MN2PR12MB4126.namprd12.prod.outlook.com (2603:10b6:208:199::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.38; Tue, 31 Jan 2023 18:47:10 +0000 Received: from BL02EPF0000C405.namprd05.prod.outlook.com (2603:10b6:208:91:cafe::7d) by BL0PR05CA0011.outlook.office365.com (2603:10b6:208:91::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.21 via Frontend Transport; Tue, 31 Jan 2023 18:47:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL02EPF0000C405.mail.protection.outlook.com (10.167.241.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6064.17 via Frontend Transport; Tue, 31 Jan 2023 18:47:10 +0000 Received: from AUS-LX-MLIMONCI.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 31 Jan 2023 12:47:08 -0600 From: Mario Limonciello <mario.limonciello@amd.com> To: Jaroslav Kysela <jkysela@redhat.com>, Mukunda Vijendar <Vijendar.Mukunda@amd.com>, Saba Kareem Syed <Syed.SabaKareem@amd.com>, <linux-kernel@vger.kernel.org> Subject: [PATCH v3 3/6] ASoC: amd: renoir: Adjust the gain for PDM DMIC Date: Tue, 31 Jan 2023 12:46:49 -0600 Message-ID: <20230131184653.10216-4-mario.limonciello@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230131184653.10216-1-mario.limonciello@amd.com> References: <20230131184653.10216-1-mario.limonciello@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF0000C405:EE_|MN2PR12MB4126:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d9adc26-c6f8-4066-f61d-08db03bb8f48 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cYoIZVCYmkcBCE6qpf+E/Jqe8jB8Dvpmo1zxeVlXIwygl/mn9obPLzTEJpfx9G1GocysZI0Y9qf+H9Oo6YSM2rzq8Jairc4ZGflJgGbQl3mksLqFJxvQ+Vk7/Shb6EicupKS9y/uZ92B5bi8oZaSYIWIHno4/kN0nITTAVwnDpURpXQ03TKCUfoRQcgzh3NVTnbfOVqIv5SOgSZ+zd4nLSI10PKbeOJ3H4oMk5ToU0UQlJy2UAmqwqCZqNnhQOiJ9i34aNhvRMsD25CmS+KJScf9yYGPunzgX6n9hFdYFp6fU+EN66686OvqcA4wQXMppJj0rgG4bWHnYlWveeLN/5cIldm9i68GdVn5rruUS9D3MgtID0Ot6aBuofHHInTVPf0zntIcxuK6uE5cIwwncdYInbsEZNusUkDoZXjKzm3cuRf8h/O3PLeYZz7Wh7iLRoQu6kEQdvrjj6ad4VvALeKvDuVC9zkJ9hFbbaH1g6y7vUxKeerDHlHICF1dtKEKmKd08Wd/Y1Fh/hlGcJOZ5BSC/zw5ids87POyGpQqsEdxqImZEujTtxr+WEFebpezKAmXPiUWRtPkXwuBFOuqy7ZjWpnce1jliDx8HWMvTxDuvQSL46RMa97y/gPP3LV3dgAw086/sXA9CWSv3NbtwMZZw3ddxZquHJ4ycu+w1jDj5vnMIRjYm6iYkTA16/wwc80XbhgNV7UTahwm+mkeKtA3I+L/bsCKb71rGsBOw7Y= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230025)(4636009)(396003)(346002)(376002)(136003)(39860400002)(451199018)(36840700001)(46966006)(40470700004)(6666004)(1076003)(186003)(26005)(4326008)(478600001)(16526019)(8676002)(70586007)(70206006)(7696005)(336012)(2616005)(47076005)(41300700001)(426003)(83380400001)(2906002)(40460700003)(82740400003)(8936002)(86362001)(36860700001)(81166007)(82310400005)(36756003)(40480700001)(356005)(4744005)(44832011)(316002)(5660300002)(110136005)(54906003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2023 18:47:10.0278 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4d9adc26-c6f8-4066-f61d-08db03bb8f48 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF0000C405.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4126 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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> Cc: alsa-devel@alsa-project.org, Pananchikkal Renjith <Renjith.Pananchikkal@amd.com>, Takashi Iwai <tiwai@suse.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Mario Limonciello <mario.limonciello@amd.com>, Mark Pearson <mpearson@lenovo.com> Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" <alsa-devel-bounces@alsa-project.org> |
Series |
Fix default DMIC gain on AMD PDM drivers
|
expand
|
diff --git a/sound/soc/amd/renoir/rn_acp3x.h b/sound/soc/amd/renoir/rn_acp3x.h index ca586603d7203..c174f84650d24 100644 --- a/sound/soc/amd/renoir/rn_acp3x.h +++ b/sound/soc/amd/renoir/rn_acp3x.h @@ -34,7 +34,7 @@ #define ACP_ERROR_STAT 29 #define PDM_DECIMATION_FACTOR 0x2 #define ACP_PDM_CLK_FREQ_MASK 0x07 -#define ACP_WOV_MISC_CTRL_MASK 0x10 +#define ACP_WOV_MISC_CTRL_MASK 0x18 #define ACP_PDM_ENABLE 0x01 #define ACP_PDM_DISABLE 0x00 #define ACP_PDM_DMA_EN_STATUS 0x02
A similar issue that was reported on Rembrandt based laptops with low DMIC volume is also being reported for Barcelo based laptops that use renoir acp3x. Increase the PDM gain to overcome this problem. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> --- sound/soc/amd/renoir/rn_acp3x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)