From patchwork Thu Jun 22 11:34:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sameer Pujar X-Patchwork-Id: 695313 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 345D9EB64D8 for ; Thu, 22 Jun 2023 11:36:22 +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 ECAB783B; Thu, 22 Jun 2023 13:35:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz ECAB783B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1687433780; bh=BLzcRTcCu+4Q+ixJXbBPG8cz8sdKa+vdro7tGC7SscQ=; h=From:To:CC:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=SPKymKIU4bM0ALaS7+LtsHA2adIgc7yB5kls3/LE9q7Zg7sYRpsoqONmT5w6ayyn+ cvcOFjI/eLeAGF16kdJCBzunPwm+tkH0db0ftUCZFOsCoIDz3p54ouWihHLWYDOmIv nXx+7ML5Wvb9GCrmhSQakG1NJbk5SPJ5Ltpk3L/4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5C617F80549; Thu, 22 Jun 2023 13:34:59 +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 920E3F80141; Thu, 22 Jun 2023 13:34:58 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0386FF80141; Thu, 22 Jun 2023 13:34:52 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on20628.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::628]) (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 CDEDEF80124 for ; Thu, 22 Jun 2023 13:34:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CDEDEF80124 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=Nvidia.com header.i=@Nvidia.com header.a=rsa-sha256 header.s=selector2 header.b=ZYmON/r9 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U0Xb6IR7OZIUoYgAqAhwjUNci90KcRPHZojXZ4V0yfJQik0V/Ebju+xhs1UKKofzs8DCIAawQrtLOsZjqkm3rodccwxKCg3edgH4yVnPGOzbGIl5wvl9zqs5F9dfrgIhUd/EJNE9vK0gzFLguZz+nRjTN76GZZa+svLSU4Qhd7MbmkJYvi9wPoFWi5ITZD/66G6IMaG+ttLijS2jTEYRAPZ5ROrcCMxknT6v8L+ZVb3qkToexqixH83vXlDfWCt8KWuyOXbJ0izZguhAdrP1igLXkL6G1zTfWZDWmhQ13psjhex1chsYAxdFyd92ESfoJ1VBNTGyQKTE56q6KiFcxA== 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=nEKvLS3cg3CPxxl4nbks+hp8xaKbrWhMMmp+O7VzhMs=; b=hBCgJ97AqC/tYE7VSD1FW7QPGF2sERcipnncWUHxRgLoSab10Ob4YEKzTuJUdNQq0kLXzZmsW48VsYDsICSFpHOT5BkAZJeNWf6b18vKVtTu93O9XYbHQPPHOt6yzKYXunjz8GYBIajfOgec255sBhgN8gEcjAY9zquaG9/aLRqlc3UssKl4UsShsrhlvtTo2DAKPtA12iAPN4wy0oFtnEwHLpYSVOgMfbHN71rbk9ngqQ8SPgDSPQpk1DLVSRp8leVf+FtYeybanqInvNiCnEuf8y+o+YwGjjOL5lBw43us0nRbczLY+0y0K53MhkNs2OXg91RtjOKz+IhbnABtjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nEKvLS3cg3CPxxl4nbks+hp8xaKbrWhMMmp+O7VzhMs=; b=ZYmON/r95asQDiHkO1kJRuF2e7keJFUcwchzMkx2dR8klvky8IcC5c9O3PeS6EQyJh4jDcWfJ56dh9mjUfbeqALnFu9KLEEj52lSJ02pUSqF2GiaA2sVL3VWlh9uNeZjMLTrcmOtIPn3dN5GL3ib4+a6v0j/gdcaTC4dGlbphgDaKRcnHweJyMW6jnkiEKTzI9Kjj+oow3ecUGzFEr183GmULoBMyVtE1ceqgVVh8w4JmgxBsHu6aZ3VwVCCaMOn8ntER61E+OoYgusZq1VZOI+gbRllWvlPB3h4UQSRH0kvl9nFva2xbHthGe9rY0NDF9oqeB/isRXrlOu3o9PRAg== Received: from CYZPR14CA0011.namprd14.prod.outlook.com (2603:10b6:930:8f::23) by PH7PR12MB8107.namprd12.prod.outlook.com (2603:10b6:510:2bb::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.37; Thu, 22 Jun 2023 11:34:33 +0000 Received: from CY4PEPF0000E9CF.namprd03.prod.outlook.com (2603:10b6:930:8f:cafe::15) by CYZPR14CA0011.outlook.office365.com (2603:10b6:930:8f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.24 via Frontend Transport; Thu, 22 Jun 2023 11:34:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CY4PEPF0000E9CF.mail.protection.outlook.com (10.167.241.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.21 via Frontend Transport; Thu, 22 Jun 2023 11:34:33 +0000 Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Thu, 22 Jun 2023 04:34:25 -0700 Received: from rnnvmail203.nvidia.com (10.129.68.9) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Thu, 22 Jun 2023 04:34:24 -0700 Received: from audio.nvidia.com (10.127.8.10) by mail.nvidia.com (10.129.68.9) with Microsoft SMTP Server id 15.2.986.37 via Frontend Transport; Thu, 22 Jun 2023 04:34:21 -0700 From: Sameer Pujar To: , , , , , , CC: , , , , , , , Sameer Pujar Subject: [PATCH 0/8] Few audio fixes on Tegra platforms Date: Thu, 22 Jun 2023 17:04:08 +0530 Message-ID: <1687433656-7892-1-git-send-email-spujar@nvidia.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9CF:EE_|PH7PR12MB8107:EE_ X-MS-Office365-Filtering-Correlation-Id: dc206e8b-f70e-412a-c059-08db7314a6a8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +6RxKpbAe31XkSNBZChDSALKjGTmxg1Zg5yXpZQk2FxpODKmYUBlYetcuo2GURIE/jMeEo1+o1AhWxa7IUdFjL7jmRHw3cPlJ6ZDqQCeAKheZi9GCTufSdssPxHsZHx5IyQikkDHCoTpW/zc/Ql8w88oGt29taZTZ1AZrXGr6ZCIWTdZ6OXOjs5RXKdilGMMxNJ2RPk5G7ZzXucGAVGENcA59L7lX1oHN6PLmHh0EbTIEY/9XqU3J6/LPqVSAU+pI/hM/Ba11KZm9siTbYU5qgN3pHdEdfeeQmc273EbpQJ7rTfxw5D0d/zDVHf4t7xS1HdOPg/XCdPHjPqq3rJPA3U878QQQIGgh5UX9alMmuOz6kRAV/6w+XUkmgQDrIIE82YHgZnUzw1I+LjeXpkRFNp/jDi8JsC7jhOMRbGkNIi32orpICjcvDxxWYSjESXaEtMptFmPphC6/2Oe2BgxGqKOBrZbp8r1Wlg3Q5aA9M4nJvQ60x6sdJVYhGKim+JaF6JOFE2YCUs18obpXQmWRqNO352eWZD7fVJ+hCiURsOa1zBiMnkZd+n+nKZCtVqJqqQHmPE4CdQmrjG3UCHyCsybb6thXPceKxf93F8K82ZWxOm6TYKAXRaU0l28uIw9mHPVLkz6Eh4Z5J9WTROrE7aAY5L9Ix2a7uOwJl9z3xuizsHQRLtCeHZJBrSH10lx8UmSUFF5r5PylW5kV10kphU3zUqBQTqL0vGLj5ABmXN7+ZkCLlikV1dY3iaL9h4x X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(346002)(376002)(396003)(136003)(39860400002)(451199021)(36840700001)(40470700004)(46966006)(336012)(26005)(2616005)(36860700001)(4326008)(70206006)(70586007)(7636003)(2906002)(6666004)(426003)(356005)(36756003)(7416002)(47076005)(83380400001)(86362001)(8676002)(8936002)(186003)(41300700001)(107886003)(40460700003)(82310400005)(316002)(478600001)(40480700001)(7696005)(5660300002)(82740400003)(54906003)(110136005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2023 11:34:33.4580 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dc206e8b-f70e-412a-c059-08db7314a6a8 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000E9CF.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB8107 Message-ID-Hash: 4FL3MDB2R5CXEDS6GPLPGXYSG6W7ROQP X-Message-ID-Hash: 4FL3MDB2R5CXEDS6GPLPGXYSG6W7ROQP X-MailFrom: spujar@nvidia.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.8 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: This series fixes some of the issues which were observed during an attempt to enhance automated test coverage on Jetson AGX Orin. Below is a short summary of the issues and fixes: * Sample rate coversion failures above 48kHz. * AMX and ADX test cases failures due to incorrect byte mask. * Atomic sleep in RT5640 codec which is present on Jetson AGX Orin. * AHUB clock fixes on Tegra234 and previous chips. * Minor cleanups in ASRC and AHUB driver. Sameer Pujar (4): ASoC: rt5640: Fix sleep in atomic context ASoC: tegra: Use normal system sleep for ASRC ASoC: tegra: Remove stale comments in AHUB arm64: tegra: Update AHUB clock parent and rate Sheetal (4): ASoC: tegra: Fix SFC conversion for few rates ASoC: tegra: Fix AMX byte map ASoC: tegra: Fix ADX byte map arm64: tegra: Update AHUB clock parent and rate on Tegra234 arch/arm64/boot/dts/nvidia/tegra186.dtsi | 3 ++- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 3 ++- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 3 ++- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 3 ++- sound/soc/codecs/rt5640.c | 20 ++++++++++++-------- sound/soc/tegra/tegra186_asrc.c | 4 ++-- sound/soc/tegra/tegra210_adx.c | 24 ++++++++++++------------ sound/soc/tegra/tegra210_ahub.c | 10 ---------- sound/soc/tegra/tegra210_amx.c | 30 ++++++++++++------------------ sound/soc/tegra/tegra210_sfc.c | 31 ++++++++++++++++++++++++++++++- sound/soc/tegra/tegra210_sfc.h | 4 ++-- 11 files changed, 78 insertions(+), 57 deletions(-)