| /linux/drivers/gpu/drm/msm/hdmi/ |
| H A D | hdmi_audio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/hdmi.h> 12 #include <sound/hdmi-codec.h> 14 #include "hdmi.h" 16 int msm_hdmi_audio_update(struct hdmi *hdmi) in msm_hdmi_audio_update() argument 18 struct hdmi_audio *audio = &hdmi->audio; in msm_hdmi_audio_update() local 19 bool enabled = audio->enabled; in msm_hdmi_audio_update() 23 if (!hdmi->connector->display_info.is_hdmi) in msm_hdmi_audio_update() 24 return -EINVAL; in msm_hdmi_audio_update() 26 DBG("audio: enabled=%d, channels=%d, rate=%d", in msm_hdmi_audio_update() [all …]
|
| H A D | hdmi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 #include <linux/hdmi.h> 20 #include "hdmi.xml.h" 33 struct hdmi { struct 39 /* audio state: */ 40 struct hdmi_audio audio; member 67 /* the encoder we are hooked to (outside of hdmi block) */ argument 98 struct hdmi *hdmi; member 103 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on); 105 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() argument [all …]
|
| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-hdmi-i2s-audio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dw-hdmi-i2s-audio.c 9 #include <linux/dma-mapping.h> 15 #include <sound/hdmi-codec.h> 17 #include "dw-hdmi.h" 18 #include "dw-hdmi-audio.h" 20 #define DRIVER_NAME "dw-hdmi-i2s-audio" 22 static inline void hdmi_write(struct dw_hdmi_i2s_audio_data *audio, in hdmi_write() argument 25 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_write() local 27 audio->write(hdmi, val, offset); in hdmi_write() [all …]
|
| H A D | dw-hdmi-gp-audio.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * dw-hdmi-gp-audio.c 5 * Copyright 2020-2022 NXP 12 #include <linux/dma-mapping.h> 17 #include <sound/hdmi-codec.h> 26 #include "dw-hdmi-audio.h" 28 #define DRIVER_NAME "dw-hdmi-gp-audio" 29 #define DRV_NAME "hdmi-gp-audio" 43 * The default mapping of ALSA channels to HDMI channels and speaker 44 * allocation bits. Note that we can't do channel remapping here - [all …]
|
| H A D | dw-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DesignWare High-Definition Multimedia Interface (HDMI) driver 5 * Copyright (C) 2013-2015 Mentor Graphics Inc. 6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. 13 #include <linux/hdmi.h> 21 #include <linux/dma-mapping.h> 24 #include <media/cec-notifier.h> 26 #include <linux/media-bus-format.h> 40 #include "dw-hdmi-audio.h" 41 #include "dw-hdmi-cec.h" [all …]
|
| H A D | dw-hdmi-qp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2021-2022 Rockchip Electronics Co., Ltd. 6 * Author: Algea Cao <algea.cao@rock-chips.com> 10 #include <linux/hdmi.h> 29 #include <sound/hdmi-codec.h> 31 #include "dw-hdmi-qp.h" 43 * slow so we pre-compute values we expect to see. 46 * the recommended N values specified in the Audio chapter of the HDMI 93 /* For 297 MHz+ HDMI spec have some other rule for setting N */ 102 * These are the CTS values as recommended in the Audio chapter of the HDMI [all …]
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 tristate "HD-audio HDMI codec support" 6 Say Y or M here to include HD-audio HDMI/DislayPort codec support. 8 This will enable all HDMI/DP codec drivers as default, but you can 15 tristate "Generic HDMI/DisplayPort HD-audio codec support" if EXPERT 20 Say Y or M here to include Generic HDMI and DisplayPort HD-audio 24 to assure the multiple streams for DP-MST support. 27 tristate "Simple HDMI/DisplayPort HD-audio codec support" if EXPERT 30 Say Y or M here to include Simple HDMI and DisplayPort HD-audio 34 tristate "Intel HDMI/DisplayPort HD-audio codec support" if EXPERT [all …]
|
| H A D | tegrahdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Nvidia Tegra HDMI codec support 23 * accessed using vendor-defined verbs. These registers can be used for 24 * interoperability between the HDA and HDMI drivers. 27 /* Audio Function Group node */ 31 * The SCRATCH0 register is used to notify the HDMI codec of changes in audio 33 * be raised in the HDMI codec. The remainder of the bits is arbitrary. This 38 * +---------+-------+--------+--------+ 40 * +-----------------------------------| 45 * trigger to hdmi. [all …]
|
| H A D | nvhdmi-mcp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Legacy Nvidia HDMI codec support 31 /* set audio protect on */ 39 /* set audio protect on */ 52 struct hdmi_spec *spec = codec->spec; in nvhdmi_mcp_init() 54 if (spec->multiou in nvhdmi_mcp_init() [all...] |
| H A D | intelhdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Intel HDMI codec support 19 MODULE_PARM_DESC(enable_silent_stream, "Enable Silent Stream for HDMI devices"); 40 struct hdmi_spec *spec = codec->spec; in intel_haswell_enable_all_pins() 42 vendor_param = snd_hda_codec_read(codec, spec->vendor_nid, 0, in intel_haswell_enable_all_pins() 44 if (vendor_param == -1 || vendor_param & INTEL_EN_ALL_PIN_CVTS) in intel_haswell_enable_all_pins() 48 vendor_param = snd_hda_codec_read(codec, spec->vendor_nid, 0, in intel_haswell_enable_all_pins() 50 if (vendor_param == -1) in intel_haswell_enable_all_pins() 60 struct hdmi_spec *spec = codec->spec; in intel_haswell_fixup_enable_dp12() 62 vendor_param = snd_hda_codec_read(codec, spec->vendor_nid, 0, in intel_haswell_fixup_enable_dp12() [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | imx-audio-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX audio complex with HDMI 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 15 - fsl,imx-audio-hdmi 16 - fsl,imx-audio-sii902x 20 description: User specified audio sound card name 22 audio-cpu: [all …]
|
| H A D | rockchip-max98090.txt | 4 - compatible: "rockchip,rockchip-audio-max98090" 5 - rockchip,model: The user-visible name of this sound complex 6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's 10 - rockchip,audio-codec: The phandle of the MAX98090 audio codec. 11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is 12 required if there is rockchip,audio-codec. 13 - rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec. 17 /* For max98090-only board. */ 19 compatible = "rockchip,rockchip-audio-max98090"; 20 rockchip,model = "ROCKCHIP-I2S"; [all …]
|
| H A D | rockchip,rk3288-hdmi-analog.txt | 1 ROCKCHIP RK3288 with HDMI and analog audio 4 - compatible: "rockchip,rk3288-hdmi-analog" 5 - rockchip,model: The user-visible name of this sound complex 6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's 8 - rockchip,audio-codec: The phandle of the analog audio codec. 9 - rockchip,routing: A list of the connections between audio components. 16 - rockchip,hp-en-gpios = The phandle of the GPIO that power up/down the 18 - rockchip,hp-det-gpios = The phandle of the GPIO that detects the headphone 20 - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt 25 compatible = "rockchip,rk3288-hdmi-analog"; [all …]
|
| H A D | samsung,snow.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Google Snow audio complex with MAX9809x codec 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 16 - google,snow-audio-max98090 17 - google,snow-audio-max98091 18 - google,snow-audio-max98095 24 sound-dai: [all …]
|
| /linux/sound/soc/ti/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 19 tristate "daVinci Audio Serial Port (ASP) or McBSP support" 23 Say Y or M here if you want audio support via daVinci ASP or McBSP. 28 tristate "Multichannel Audio Serial Port (McASP) support" 36 - daVinci devices 37 - Sitara line of SoCs (AM335x, AM438x, etc) 38 - OMAP4 39 - DRA7x devices 40 - Keystone devices 41 - K3 devices (am654, j721e) [all …]
|
| /linux/include/sound/ |
| H A D | hdmi-codec.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * hdmi-codec.h - HDMI Codec driver API 5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com 14 #include <linux/hdmi [all...] |
| /linux/Documentation/devicetree/bindings/display/ |
| H A D | brcm,bcm2711-hdmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/brcm,bcm2711-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM2711 HDMI Controller 10 - Eric Anholt <eric@anholt.net> 15 - brcm,bcm2711-hdmi0 16 - brcm,bcm2711-hdmi1 17 - brcm,bcm2712-hdmi0 18 - brcm,bcm2712-hdmi1 [all …]
|
| H A D | allwinner,sun4i-a10-hdmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 HDMI Controller 10 The HDMI Encoder supports the HDMI video and audio outputs, and does 14 - Chen-Yu Tsai <wens@csie.org> 15 - Maxime Ripard <mripard@kernel.org> 20 - const: allwinner,sun4i-a10-hdmi 21 - const: allwinner,sun5i-a10s-hdmi [all …]
|
| H A D | brcm,bcm2835-hdmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom VC4 (VideoCore4) HDMI Controller 10 - Eric Anholt <eric@anholt.net> 14 const: brcm,bcm2835-hdmi 18 - description: HDMI register range 19 - description: HD register range 26 - description: The pixel clock [all …]
|
| /linux/sound/soc/fsl/ |
| H A D | imx-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright 2017-2020 NXP 8 #include <sound/hdmi-codec.h> 12 * struct cpu_priv - CPU private data 36 struct imx_hdmi_data *data = snd_soc_card_get_drvdata(rtd->card); in imx_hdmi_hw_params() 37 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in imx_hdmi_hw_params() 39 struct snd_soc_card *card = rtd->car in imx_hdmi_hw_params() [all...] |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 comment "Common SoC Audio options for Freescale CPUs:" 17 This option is only useful for out-of-tree drivers since 18 in-tree drivers select it automatically. 21 tristate "Synchronous Audio Interface (SAI) module support" 27 Say Y if you want to add Synchronous Audio Interface (SAI) 29 This option is only useful for out-of-tree drivers since 30 in-tree drivers select it automatically. 40 This option is only useful for out-of-tree drivers since 41 in-tree drivers select it automatically. [all …]
|
| /linux/drivers/gpu/drm/bridge/analogix/ |
| H A D | analogix-anx78xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 #include "analogix-i2c-dptx.h" 10 #include "analogix-i2c-txcommon.h" 32 /* HDMI Status Register */ 39 /* HDMI Mute Control Register */ 49 * Audio and Video Auto Control 52 /* Auto Audio and Video Control register */ 59 /* Audio Exception Enable Registers */ 60 #define SP_AUD_EXCEPTION_ENABLE_BASE (0x24 - 1) 61 /* Bits for Audio Exception Enable Register 3 */ [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mn-beacon-kit.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 9 #include "imx8mn-beacon-som.dtsi" 10 #include "imx8mn-beacon-baseboard.dtsi" 14 compatible = "beacon,imx8mn-beacon-kit", "fsl,imx8mn"; 17 stdout-path = &uart2; 21 compatible = "hdmi-connector"; 26 remote-endpoint = <&adv7535_out>; 31 reg_hdmi: regulator-hdmi-dvdd { 32 compatible = "regulator-fixed"; [all …]
|
| H A D | imx8mm-beacon-kit.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 9 #include "imx8mm-beacon-som.dtsi" 10 #include "imx8mm-beacon-baseboard.dtsi" 14 compatible = "beacon,imx8mm-beacon-kit", "fsl,imx8mm"; 17 stdout-path = &uart2; 21 compatible = "hdmi-connector"; 26 remote-endpoint = <&adv7535_out>; 31 reg_hdmi: regulator-hdmi-dvdd { 32 compatible = "regulator-fixed"; [all …]
|
| /linux/Documentation/sound/soc/ |
| H A D | dapm-graph.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 4 <!-- Generated by graphviz version 2.43.0 (0) 5 --> 6 <!-- Title: G Pages: 1 --> 11 <polygon fill="white" stroke="transparent" points="-4,4 -4,-626 896,-626 896,4 -4,4"/> 14 <polygon fill="none" stroke="dodgerblue" points="8,-537 8,-614 102,-614 102,-537 8,-537"/> 15 <text text-anchor="middle" x="55" y="-598.8" font-family="sans-serif" font-size="14.00">ROOT</text> 18 <title>4000b000.audio-controller</title> 19 <polygon fill="none" stroke="dodgerblue" points="120,-378 120,-455 312,-455 312,-378 120,-378"/> [all …]
|