From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi2-f7.google.com (mail-oi2-f7.google.com [74.125.231.199]) (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 37E4435E1A3 for ; Tue, 25 Aug 2026 22:47:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.231.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787698044; cv=none; b=WbvYhMuzanh1MiSqm3agv3vpj9c4n7QaXhJSBI5b1rZBSAPksLtHH6eugTbQ/RVbocIyTTSESpTaNs9qsSmnR/FX8KzAKgY8EDariK7SJrBuU/+TQUaL/dM5hexf1yFEaifM9FjbBgYgDnpuLJqenzsosJ4nU9wX+8Gfr5Y0j7E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787698044; c=relaxed/simple; bh=Fxvq7gQ60qitRizSTiYHYRhZYnUwZB4x+KoZbC2IxkE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kCwkwYrdWsrLRu8MJhJ+IZwG4jeeYliC4/0vNxFSxX/8xYm2KOUv/wgl48vYG8rZ5zCH5AO0JJQtduSn+DAPqCrGcathyfj8NZhS+gunfuiwPdG1siCR+D6xHFFIZqVM+6OHIL3qYzqek1RjRVr1Q6SPBgHaLrDEuEv9usvYlCU= 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=qZKB1Qvf; arc=none smtp.client-ip=74.125.231.199 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="qZKB1Qvf" Received: by mail-oi2-f7.google.com with SMTP id 46e09a7af769-7eb6411c01aso53698a34.0 for ; Tue, 25 Aug 2026 15:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787698042; x=1788302842; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=LX7C2JtoUw7wWfepZV1wqe5dnaVfwK5xCAuLp0sm/78=; b=qZKB1QvfsZ3CWBeZLiim77itHBXcmIAuhsfnvXsBD1i0oWg2Pj1MWKs7BlHezQQoGb sL2slKsCGIFn5qrCKwas90rbY5qrgKVJbHtWgo7xgXKtbsTJKVJqZxM245tuztNCAUHb rCjspAn4D8hNmycDn1ERydJNv2RcI6RXzDdtB3p17lnPPBKaWNxZyRJe92wBF8iCFgc7 RfPncLyMFuoC+aKPU39RosueveGV3r5xE96zvr3vvs3AhpoCLh1Nl0WHmLN+5X9QQHKf m/JCd79HMxIKGLC/ldk0EZVsz6bqy7QGv1MtZ8FPvqM3PW+LUSYzUVkj0aNUpgSaf+o2 PKGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787698042; x=1788302842; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=LX7C2JtoUw7wWfepZV1wqe5dnaVfwK5xCAuLp0sm/78=; b=RkozX2vnVOqL5nuqoX4fglsTUKVjHnxymUSrNKc3tfl9ygPdvHT6PkYEm89X7gSBxI GeaebGusHlTJPlpOeoXtz1VTqQhdWtWcSSnlKQ5GIpvzAr1DssUuH384DR4xqdLVRETM kzhXVaSEVQJudwyhRJZeMSN7EJB/hkRRREOYkhJ/P2XaukR9iRcB1F/f3gYqRHm6uRJd Wf8vRvbux9t7a8qKuqBzsGXtqlkuwVK0HzWNjges+YoE09OJ/XuPK3xzuNwej/LWMCwu lSK3BfdGATwpOx+R6xNC7ABEhphIe/+Mr0pLBFOp43My7r2dhgtU+XqdPE114WQ0B4Dz Bqkw== X-Forwarded-Encrypted: i=1; AHgh+RrpcaNKg97rn2DT/PHRcJoNGBU2PcNsi+D3lsiDbKRxf0hiUHpmy4pJLt1hVxSvsL6XI9rjdmTZgFnJpfY=@vger.kernel.org X-Gm-Message-State: AFuF++l6W0IYLuhX+zjkUdB5ZGKn21++LXxl4LNuT5H7muNHWWu2QYut 49Jso1lZfOkLtkS2d1KLpSSWTC8xwppRyvt/jevMztrsnjb5xj9chamD X-Gm-Gg: AR+sD11K6lNjRdx7UmE1yZDn7I5Do0vBp+Rb0BsTvr4Rto4ECl1eV0Lc8tacx4Khzwj l2s1Tn/mHT2V3oLciAQQjXZjiy/n8kkmGcuoVCbfMlgVwSvoVZk1lAROufGFicl+zYoNoXkgLi8 Jl66/vgfzMl9X+mrbAupLLN7foY6TMnc2HfV4DxrIs785NyGygIOtxG6oJtNpN1yTzOnX5GenWf SoPoUo7P6Ch4IMSniJSZlWSnAKRiC3WbALXcrixtRSuSbvs/IsHGu7KasqoTpeYe74YzOsTrVEl LDge92n1DE3IjEXZoBURnZ9qhr6DJrBStQasx2vTR7LVU1Y6yYyrjVlVPCusvx+9fIOn2RGttqI PqkKjvZfaJLCtsx98Evy1TU5CfPVPTh9UVaXXd4NMRGjmaBnqC6WVqrgTIXQPmceZU67rS/LN4A QuufQx0B/zEErKEyqVztkE4QApiE0KohpoYsbtnmsmaUgin+GG63LCttXl8ch/0K29U17MJ9zOa CuVQ6t+XQ8qXx7wmTE6+480bvVtwdRxlgYmx5z2CAgtAR8X8Q== X-Received: by 2002:a05:6830:a1ce:20b0:7f4:c88c:7b10 with SMTP id 46e09a7af769-7f4c88c8104mr392073a34.12.1787698042042; Tue, 25 Aug 2026 15:47:22 -0700 (PDT) Received: from cachyos-test (74-194-119-6.rstncmta01.res.dyn.suddenlink.net. [74.194.119.6]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7f4c81d7c76sm196644a34.4.2026.08.25.15.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2026 15:47:21 -0700 (PDT) From: Sehat Mahde To: Vijendar Mukunda Cc: Venkata Prasad Potturu , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Sehat Mahde Subject: [PATCH] ASoC: amd: acp-config: force SoundWire probe on HP OmniBook X Flip 16 Date: Tue, 25 Aug 2026 17:46:40 -0500 Message-ID: <20260825224640.13662-1-hskmahde@gmail.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The BIOS on the HP OmniBook X Flip 16-cc0xxx (board 8EA2) reports acp-audio-config-flag = FLAG_AMD_LEGACY_ONLY_DMIC. This binds the legacy ACP driver and registers a PDM-only card, so the SoundWire links are never scanned and the two TAS2783 speaker amplifiers and RT712-VB codec do not enumerate. Add a DMI entry for board 8EA2 to the ACP70 ACPI flag override table so the firmware-provided flag is overridden and snd_pci_ps probes instead. On the affected system, an otherwise identical upstream kernel without this entry binds snd_acp_pci, enumerates no SoundWire slave devices and exposes no internal speaker PCM. With the entry added, snd_pci_ps binds, both TAS2783 amplifiers and the RT712-VB enumerate over SoundWire, and the amd-soundwire card exposes the internal speaker playback PCM. Developed with AI assistance. ChatGPT helped analyze the ACP and SoundWire behavior, structure the controlled A/B testing, and draft the patch changelog. All hardware measurements, kernel builds, reboots and playback tests were performed by the submitter. The submitter has reviewed the change, understands it and takes responsibility for it. Assisted-by: ChatGPT:GPT-5.6 Sol Signed-off-by: Sehat Mahde --- sound/soc/amd/acp-config.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/amd/acp-config.c b/sound/soc/amd/acp-config.c index 3021dc498..28a7283cb 100644 --- a/sound/soc/amd/acp-config.c +++ b/sound/soc/amd/acp-config.c @@ -70,6 +70,13 @@ static const struct dmi_system_id acp70_acpi_flag_override_table[] = { DMI_MATCH(DMI_BOARD_NAME, "8EA1"), }, }, + { + /* HP OmniBook X Flip 16-cc0xxx */ + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "HP"), + DMI_MATCH(DMI_BOARD_NAME, "8EA2"), + }, + }, {} }; base-commit: 66498c75b4f8017f62d720d9b59675bdf3abce91 -- 2.55.0