| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/ |
| D | hdmi_audio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/hdmi.h> 8 #include "hdmi.h" 10 /* maps MSM_HDMI_AUDIO_CHANNEL_n consts used by audio driver to # of channels: */ 13 /* Supported HDMI Audio sample rates */ 36 /* Audio constants lookup table for hdmi_msm_audio_acr_setup */ 37 /* Valid Pixel-Clock rates: 25.2MHz, 27MHz, 27.03MHz, 74.25MHz, 148.5MHz */ 67 if (arcs->pixclock == pixclock) in get_arcs() 74 int msm_hdmi_audio_update(struct hdmi *hdmi) in msm_hdmi_audio_update() argument 76 struct hdmi_audio *audio = &hdmi->audio; in msm_hdmi_audio_update() local [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/ |
| D | hdmi_audio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/hdmi.h> 8 #include "hdmi.h" 10 /* maps MSM_HDMI_AUDIO_CHANNEL_n consts used by audio driver to # of channels: */ 13 /* Supported HDMI Audio sample rates */ 36 /* Audio constants lookup table for hdmi_msm_audio_acr_setup */ 37 /* Valid Pixel-Clock rates: 25.2MHz, 27MHz, 27.03MHz, 74.25MHz, 148.5MHz */ 67 if (arcs->pixclock == pixclock) in get_arcs() 74 int msm_hdmi_audio_update(struct hdmi *hdmi) in msm_hdmi_audio_update() argument 76 struct hdmi_audio *audio = &hdmi->audio; in msm_hdmi_audio_update() local [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/synopsys/ |
| 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 …]
|
| 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 …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 tristate "Synopsys Designware AHB Audio interface" 17 Support the AHB Audio interface which is part of the Synopsys 18 Designware HDMI block. This is used in conjunction with 19 the i.MX6 HDMI driver. 22 tristate "Synopsys Designware I2S Audio interface" 27 Support the I2S Audio interface which is part of the Synopsys 28 Designware HDMI block. 31 tristate "Synopsys Designware GP Audio interface" 37 Support the GP Audio interface which is part of the Synopsys [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
| D | sti_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/hdmi.h> 25 #include <sound/hdmi-codec.h> 95 #define HDMI_IFRAME_CFG_DI_N(x, n) ((x) << ((n-1)*4)) /* n from 1 to 6 */ 163 struct sti_hdmi *hdmi; member 170 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() argument 172 return readl(hdmi->regs + offset); in hdmi_read() 175 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() argument 177 writel(val, hdmi->regs + offset); in hdmi_write() 181 * HDMI interrupt handler threaded [all …]
|
| D | sti_hdmi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/hdmi.h> 13 #include <media/cec-notifier.h> 25 bool (*start)(struct sti_hdmi *hdmi); 26 void (*stop)(struct sti_hdmi *hdmi); 45 * STI hdmi structure 50 * @regs: hdmi register 52 * @clk_pix: hdmi pixel clock 53 * @clk_tmds: hdmi tmds clock 54 * @clk_phy: hdmi phy clock [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
| D | sti_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/hdmi.h> 26 #include <sound/hdmi-codec.h> 96 #define HDMI_IFRAME_CFG_DI_N(x, n) ((x) << ((n-1)*4)) /* n from 1 to 6 */ 164 struct sti_hdmi *hdmi; member 177 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() argument 179 return readl(hdmi->regs + offset); in hdmi_read() 182 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() argument 184 writel(val, hdmi->regs + offset); in hdmi_write() 188 * HDMI interrupt handler threaded [all …]
|
| D | sti_hdmi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/hdmi.h> 13 #include <media/cec-notifier.h> 25 bool (*start)(struct sti_hdmi *hdmi); 26 void (*stop)(struct sti_hdmi *hdmi); 39 * STI hdmi structure 44 * @regs: hdmi register 46 * @clk_pix: hdmi pixel clock 47 * @clk_tmds: hdmi tmds clock 48 * @clk_phy: hdmi phy clock [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
| D | sii902x.txt | 1 sii902x HDMI bridge bindings 4 - compatible: "sil,sii9022" 5 - reg: i2c address of the bridge 8 - interrupts: describe the interrupt line used to inform the host 10 - reset-gpios: OF device-tree gpio specification for RST_N pin. 11 - iovcc-supply: I/O Supply Voltage (1.8V or 3.3V) 12 - cvcc12-supply: Digital Core Supply Voltage (1.2V) 14 HDMI audio properties: 15 - #sound-dai-cells: <0> or <1>. <0> if only i2s or spdif pin 16 is wired, <1> if the both are wired. HDMI audio is [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/ |
| D | sil,sii9022.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: Silicon Image sii902x HDMI bridge 10 - Boris Brezillon <bbrezillon@kernel.org> 15 - items: 16 - enum: 17 - sil,sii9022-cpi # CEC Programming Interface 18 - sil,sii9022-tpi # Transmitter Programming Interface 19 - const: sil,sii9022 [all …]
|
| /kernel/linux/linux-6.6/sound/soc/ti/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "Audio support for Texas Instruments SoCs" 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 [all …]
|
| /kernel/linux/linux-5.10/sound/soc/ti/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "Audio support for Texas Instruments SoCs" 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" 35 - daVinci devices 36 - Sitara line of SoCs (AM335x, AM438x, etc) 37 - DRA7x devices 38 - Keystone devices 39 - K3 devices (am654, j721e) [all …]
|
| /kernel/linux/linux-6.6/include/sound/ |
| 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.h> 21 * Protocol between ASoC cpu-dai and HDMI-encoder 45 * HDMI audio parameters 61 * Called when ASoC starts an audio stream setup. 67 * Configures HDMI-encoder for audio stream. 75 * Configures HDMI-encoder for audio stream. Can be called 85 * Shuts down the audio stream. [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_lpe_audio.c | 24 * Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> 31 * DOC: LPE Audio integration for HDMI or DP playback 34 * Atom platforms (e.g. valleyview and cherryTrail) integrates a DMA-based 36 * mode is unrelated to the LPE aka SST audio engine, the documentation refers 41 * subsystems, a bridge is setup between the hdmi-lpe-audio and i915: 44 * 3. Create IRQ chip to forward the LPE audio irqs. 45 * the hdmi-lpe-audio driver probes the lpe audio device and creates a new 50 * uninstall the hdmi-lpe-audio driver before uninstalling i915 module, 51 * otherwise we might run into use-after-free issues after i915 removes the 52 * platform device: even though hdmi-lpe-audio driver is released, the modules [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
| 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 Device Tree Bindings 10 - Eric Anholt <eric@anholt.net> 15 - brcm,bcm2711-hdmi0 16 - brcm,bcm2711-hdmi1 20 - description: HDMI controller register range 21 - description: DVP register range [all …]
|
| /kernel/linux/linux-5.10/include/sound/ |
| 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.h> 21 * Protocol between ASoC cpu-dai and HDMI-encoder 40 * HDMI audio parameters 56 * Called when ASoC starts an audio stream setup. 62 * Configures HDMI-encoder for audio stream. 70 * Shuts down the audio stream. 76 * Mute/unmute HDMI audio stream. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/ |
| 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 20 - description: HDMI controller register range 21 - description: DVP register range [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_lpe_audio.c | 24 * Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> 31 * DOC: LPE Audio integration for HDMI or DP playback 34 * Atom platforms (e.g. valleyview and cherryTrail) integrates a DMA-based 36 * mode is unrelated to the LPE aka SST audio engine, the documentation refers 41 * subsystems, a bridge is setup between the hdmi-lpe-audio and i915: 44 * 3. Create IRQ chip to forward the LPE audio irqs. 45 * the hdmi-lpe-audio driver probes the lpe audio device and creates a new 50 * uninstall the hdmi-lpe-audio driver before uninstalling i915 module, 51 * otherwise we might run into use-after-free issues after i915 removes the 52 * platform device: even though hdmi-lpe-audio driver is released, the modules [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | r600_hdmi.c | 26 #include <linux/hdmi.h> 38 * HDMI color format 88 dev_err(rdev->dev, "Unknown bits per sample 0x%x, using 16\n", in r600_audio_status() 113 * update all hdmi interfaces with current audio parameters 119 struct drm_device *dev = rdev->ddev; in r600_audio_update_hdmi() 124 if (rdev->audio.pin[0].channels != audio_status.channels || in r600_audio_update_hdmi() 125 rdev->audio.pin[0].rate != audio_status.rate || in r600_audio_update_hdmi() 126 rdev->audio.pin[0].bits_per_sample != audio_status.bits_per_sample || in r600_audio_update_hdmi() 127 rdev->audio.pin[0].status_bits != audio_status.status_bits || in r600_audio_update_hdmi() 128 rdev->audio.pin[0].category_code != audio_status.category_code) { in r600_audio_update_hdmi() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | r600_hdmi.c | 26 #include <linux/hdmi.h> 37 * HDMI color format 87 dev_err(rdev->dev, "Unknown bits per sample 0x%x, using 16\n", in r600_audio_status() 112 * update all hdmi interfaces with current audio parameters 118 struct drm_device *dev = rdev->ddev; in r600_audio_update_hdmi() 123 if (rdev->audio.pin[0].channels != audio_status.channels || in r600_audio_update_hdmi() 124 rdev->audio.pin[0].rate != audio_status.rate || in r600_audio_update_hdmi() 125 rdev->audio.pin[0].bits_per_sample != audio_status.bits_per_sample || in r600_audio_update_hdmi() 126 rdev->audio.pin[0].status_bits != audio_status.status_bits || in r600_audio_update_hdmi() 127 rdev->audio.pin[0].category_code != audio_status.category_code) { in r600_audio_update_hdmi() [all …]
|