From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f174.google.com (mail-dy1-f174.google.com [74.125.82.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 855BC358363 for ; Sun, 28 Jun 2026 11:42:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782646980; cv=none; b=N6tAaNHCelPidjeUcBQv8E2MY5djOQwzUGzW/ZrzNvn+Q247LuYr9wpeeUvvRO9jW6cCeAgfcx7Md7iqBZSuq3kZLg7JojbPe656DcIrjoE9Qos93HC3MmYX71ikAan11TCv9QfeGOY55tNxkoLddwyH2ZMoSeY6FCUf9jPdq+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782646980; c=relaxed/simple; bh=nvJ+UiJkWWRyGy3f7wALOFyXqoMW/uxTv/G1syn/h+A=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=BBsweBcA+ntglQBrdTYo7R3UlW5Y+f3hGR2EFQZw+62mO71RtK4v4UUDUR5yCAncoqQaWyaX/eJGIC8XMfkO12qipZ8jcbLV6Y3zCgpWTm79x6wg97/bzucYdCuOQmYoIvaT+N/jTbZO8uCwEnZZDMIvv0kxS7SJDlE0ZQmtqT4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Xx5cHpSb; arc=none smtp.client-ip=74.125.82.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Xx5cHpSb" Received: by mail-dy1-f174.google.com with SMTP id 5a478bee46e88-30bf8b2bd20so5060343eec.0 for ; Sun, 28 Jun 2026 04:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782646977; x=1783251777; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=YAk8442Avxsgq6imq9OT/N27lrTKWAYKzGpnqp44Y+A=; b=Xx5cHpSbAtswxvMhaPWnK4kEf4TaCFTJ+KAedolNeXWGPPW/C1jTgZ2HFoUfviDryz VNxug4MpTOWK2Ej1S7Ydyu50TH2Zucy5FRjqm580DN4RSzDAmZQIRsWVDKE87zWdtPLQ AsgtcrnSzxB6vWpjOSZPcDtlHmpOyDBZyc+CsyNbppCjNtfWBnqYGiP9Elv+iaWAtA2y rFfbtotXYJBVShsAuMEAAgHAIbjJkPimGsa2FU11HYvyg9IDiLyZECz6k88I3Vx0TcKr /OpRb2AyfEh3kDaZLpBAHJUOoRoWgZUj4GRlTPtnRk4a0g3HmZGQT8kJUJV7cvEcUfTK FuSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782646977; x=1783251777; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YAk8442Avxsgq6imq9OT/N27lrTKWAYKzGpnqp44Y+A=; b=FVlJUZ+EmVuR6RZ2N6oVUpzbM49451tiHbS2x4JI1eJWp03ekY6YiGn/QSjpmLtqoa mYDRkn/+rFz7rIrMcmp6+qrqNRSXCjrcmgIjwKgbt9B8XQYx7t25+GJZ1zrWKdSae+nJ 0OiwnXD6OIGjZDZW+79KA4/5c8PYVOmFH24XYnr8xq/9pkuk9xHnAcp1Hak5foV+da8W RVqXqnqZFL8jEr8UNTrwp+znI0VF3+exSflQHsavLbIeDIuBazR9QUCNbGbecZ7/ql2s Ogy7GRUlDeZ+J3BVMcMFxhtSGtsarvqn2bjd4fCjg8kMbTYoRdex+Ip2gNe3CI7E5LlD a7fw== X-Forwarded-Encrypted: i=1; AHgh+RrN58QEyDZ2gA7bp98JtabwpyFTOai3UU08ntlLgTtA3y/a7jbEaYEGoOLJNrvLBYdDcBM70GEIyKP/xQA=@vger.kernel.org X-Gm-Message-State: AOJu0Yz/hgJzoR0BOzkabjBYDo4J4PVfTR/yrdTn+I3VknRcioHtVem+ JdUgX1yAXAOwJS7LvGz88pjjUbq+uM0p1zLSsyElCIukpFVuqtM6Ze5N X-Gm-Gg: AfdE7cm5/xwv1kJyb+P2DKgfK8nB4+RElLk9SlvLaMf3N21evtr69Axs6lSH/cTnmL0 gTvnIHcwV4Cx3MaupXR9l3x5y0TDjP46tsVTAkZIjY6Tx1dbzKmZ+m8JkIDwoUfuQzuUgF7TcoI bJpA39myfHyXRGbxEeIuWbIaxP3br3FhtPonnSrvJgka1Hd8mWCEHP7HoqOsom3sFpZUtCjjFqn H5Lku4srDC1/SI9eny2jHZCq65PEtlbEyKmBvTJZNexacawj2nUiSMP4PfHpUlfxAoxcUYykOqt VwS/Q46R1x4WkNj83s3SWJ8CP+2I4oKWFfzOEyVjPwK+iCBDMLVuOlAOV436FLGZwN9XYPzlAQl fGV3iFWPFgMDMKwpMrVpue/DgmCo7IQtf9yhfGyvce3QqIqQCtaQq61BLJsSp1rwjL3TLvWGv0Q +AwZ8X4GFis33TtsLwLALbE4RAqPgBmGV6ugwMTuzKk2p1gt9HXZbZftXlDu0Y7kNcrEQ1crAM2 YuhoV17rrO8/JUHLzAcU8uznICf6fThejo+d40M3ZS/1CiGHNgUxYihXDOU9cjDbQ== X-Received: by 2002:a05:7300:fb96:b0:2ef:9961:27fa with SMTP id 5a478bee46e88-30cab22afa3mr6894818eec.18.1782646976615; Sun, 28 Jun 2026 04:42:56 -0700 (PDT) Received: from [192.168.2.3] ([2403:581e:d87e:0:fc2d:ed31:e80e:412d]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-30c7c8b1a80sm34520756eec.18.2026.06.28.04.42.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jun 2026 04:42:55 -0700 (PDT) From: James Calligeros Subject: [PATCH v2 0/7] ASoC: apple: mca: support simultaneous I2S capture on the frontend Date: Sun, 28 Jun 2026 21:41:58 +1000 Message-Id: <20260628-apple-audio-redux-v2-0-6328269c9652@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yXMTQqEMAxA4atI1gZKFAe9irjoTxwjoqW1Ioh3t +Msv8V7F0QOwhG64oLAh0TZ1gwqC7CTXr+M4rKBFDWqoQq19wujTk42DOzSieZj6sq1VpEeIXc +8Cjn++yHv2MyM9v9N4L7fgCilGRWdQAAAA== X-Change-ID: 20260623-apple-audio-redux-b7b43d9c02af To: =?utf-8?q?Martin_Povi=C5=A1er?= , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: asahi@lists.linux.dev, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, James Calligeros , Hector Martin X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2468; i=jcalligeros99@gmail.com; h=from:subject:message-id; bh=nvJ+UiJkWWRyGy3f7wALOFyXqoMW/uxTv/G1syn/h+A=; b=owGbwMvMwCV2xczoYuD3ygTG02pJDFmOHMu0Q0wlmhdlRxYo5oZtW/1gmvuK9oW3qo7wHN7u0 m+96v65joksDGJcDJZiiiwbmoQ8Zhux3ewXqdwLM4eVCWSItEgDAxCwMPDlJuaVGukY6ZlqG+oZ GukY6xgxcHEKwFRnCTH8z3cOYzqkx550r0TqZeONfJ6Hy7lcT16vuZfP8kDh899VpxkZVn1zrxZ 9EzP/1KaN15Lidzc6fHtz/0mr245XRhNVH1cn8AIA X-Developer-Key: i=jcalligeros99@gmail.com; a=openpgp; fpr=B08212489B3206D98F1479BDD43632D151F77960 Hi folks, This is technically version 2 of a patchset that was supposed to have been applied quite some time ago, but seemingly never was. The original cover letter is as follows: This series introduces a number of changes to the ASoC driver for the Apple MCA peripheral to enable support for bidirectional I2S. This is achieved by allowing frontends to act as clock consumers and logically ORing data input lines when multiple backends are linked to a frontend. This allows the Texas Instruments speaker amps used on Apple Silicon Macs (Apple-specific revisions of TAS2764 and TAS2770) to send their IVSENSE data back to the SoC. Since these amps do not have any sort of integrated speaker protection logic, we must use the IVSENSE data and the Thiele/Small Parameters of the attached speaker(s) to implement our own in software. --- It is not so bad that these patches did not end up applied, as some changes ended up being necessary: --- Changes in v2: - Drop readx_poll_timeout use. It ended up being unreliable. Fall back to just bumping up the delay on SERDES reset :/ - Rebase on asoc/for-next - Drop the one patch that was applied - Drop clock shutdown relocation patch. This was not actually required and the incorrect thing to do anyway. --- Link to v1: https://lore.kernel.org/asahi/20250518-mca-fixes-v1-0-ee1015a695f6@gmail.com/ Regards, James To: Martin Povišer To: Liam Girdwood To: Mark Brown To: Jaroslav Kysela To: Takashi Iwai Cc: asahi@lists.linux.dev Cc: linux-sound@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- Hector Martin (2): ASoC: apple: mca: Do not mark clocks in use for non-providers ASoC: apple: mca: Add delay after configuring clock James Calligeros (1): ASoC: apple: mca: increase SERDES reset delay Martin Povišer (4): ASoC: apple: mca: Separate data & clock port setup ASoC: apple: mca: Factor out mca_be_get_fe ASoC: apple: mca: Support FEs being clock consumers ASoC: apple: mca: Support capture on multiples BEs sound/soc/apple/mca.c | 301 +++++++++++++++++-------- 1 file changed, 208 insertions(+), 93 deletions(-) --- base-commit: e67251245f42eb4479636d4c082cdbe60b23f5b3 change-id: 20260623-apple-audio-redux-b7b43d9c02af Best regards, -- James Calligeros