From patchwork Wed Jan 8 17:03:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Moysan X-Patchwork-Id: 13931382 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78E4C1FFC44; Wed, 8 Jan 2025 17:12:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736356346; cv=none; b=DfUFN/Jz1Kx9isb6JLJCPibNoMBjOx3uvVj85whIaSbXykg89d0gizJe2sMO0wBbmuWdpMcX5s229Hrui5Px90efq58bBaiJHG3eplHBs0Sg4sXZfReiqQof5oVpyEvEf4NgilMqWof9cTC3h3hr6yR21aWrEcU6StSEZzrJsc4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736356346; c=relaxed/simple; bh=v7AdpopRqDKlTTeEPVwlJWJ91Mmeu/wSOyA6cioT7c8=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=N5cdv8eq1X4O285/ZGBI367LSulKaV3yfPknmvoCwsiHcpoBtJukcputBAQgidp+gjkxxgvfFmOo8f1WMaAUjGbYEd8+acSkFZVAnbynyVSR5YRyoEl+e7ulI+lcszFd9cXxkxL3SCTP/gfhWv3Yz8T8oqB7e+l+PdBToq2y1/M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=2ca3nq+o; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="2ca3nq+o" Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 508GBj4C015726; Wed, 8 Jan 2025 18:12:04 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=selector1; bh=cq6IxiPnwzMaITNPkaDFnP A8wtn03dwB+70RTIKXb3Y=; b=2ca3nq+oHwyKr0boVB97VnJw1zm3C5DAUFpeUK DVFN2Y2qyNQp5N02f2to4CgufWJB9tT3hBKxMwMuOVWJHXGm4/RXc+/gFYqudgYN gDB73lWJIpjYA0Dv8uiBB/yz8AeaHLO2fCS2KU/a7CyLqp3ZL0Gs/S+Gq75HG6m+ DMImjpaDs3YcyREuFq4iHC/lzgyS/RBiW9oydBLQkWCUcyPEv1TF6Fnr/LEP3FQt gqLhLbGlClkJc6ytzgAZXXQ3jSyksFbnO7rOZwPnDW2FnfZQFzYqqrp62r68UqiE jwELFpZWRtQVio0j2GLj+gTQi6mX/+Eh19icMTA6hSDnWNAA== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 441vnw06y9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Jan 2025 18:12:04 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 7E9134004F; Wed, 8 Jan 2025 18:10:35 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A590E28B217; Wed, 8 Jan 2025 18:04:07 +0100 (CET) Received: from localhost (10.252.9.41) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Wed, 8 Jan 2025 18:04:07 +0100 From: Olivier Moysan To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown CC: Olivier Moysan , , , Subject: [PATCH v2 0/3] drm: bridge: adv7511: refine actual capabilities Date: Wed, 8 Jan 2025 18:03:53 +0100 Message-ID: <20250108170356.413063-1-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 The STM32MP257F DK board features an ADV7535 HDMI bridge, which belongs to the ADV7511 bridges family. At startup the Pipewire audio framework parses the audio devices to discover their capabilities. The capabilities reported by the ADV7511 driver are not accurate enough, which results in warning messages from Pipewire. Adjust the capabilities reported by the ADV7511 driver, to more accurately reflect its actual capabilities. Changes in v2: - Re-order patches - Set no_spdif_capture flag Olivier Moysan (3): drm: bridge: adv7511: fill stream capabilities ASoC: hdmi-codec: allow to refine formats actually supported drm: bridge: adv7511: remove s32 format from i2s capabilities drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 5 +++++ include/sound/hdmi-codec.h | 1 + sound/soc/codecs/hdmi-codec.c | 4 ++++ 3 files changed, 10 insertions(+) base-commit: 08767822ac114d510cf6861349e805a4c156dcbc