mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
By default HDMI codec registers all formats supported on the I2S bus. Allow bridges (and connectors) to limit the list of the PCM formats supported by the HDMI codec. Reviewed-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20250517-drm-hdmi-connector-cec-v6-2-35651db6f19b@oss.qualcomm.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
24 lines
619 B
C
24 lines
619 B
C
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef DRM_DISPLAY_HDMI_AUDIO_HELPER_H_
|
|
#define DRM_DISPLAY_HDMI_AUDIO_HELPER_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct drm_connector;
|
|
struct drm_connector_hdmi_audio_funcs;
|
|
|
|
struct device;
|
|
|
|
int drm_connector_hdmi_audio_init(struct drm_connector *connector,
|
|
struct device *hdmi_codec_dev,
|
|
const struct drm_connector_hdmi_audio_funcs *funcs,
|
|
unsigned int max_i2s_playback_channels,
|
|
u64 i2s_formats,
|
|
bool spdif_playback,
|
|
int sound_dai_port);
|
|
void drm_connector_hdmi_audio_plugged_notify(struct drm_connector *connector,
|
|
bool plugged);
|
|
|
|
#endif
|