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: 13931385 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 75EEEE7719A for ; Wed, 8 Jan 2025 17:12:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EA28A10EC27; Wed, 8 Jan 2025 17:12:19 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.b="2ca3nq+o"; dkim-atps=neutral Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8182F10EC25 for ; Wed, 8 Jan 2025 17:12:16 +0000 (UTC) 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 MIME-Version: 1.0 X-Originating-IP: [10.252.9.41] 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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