| /kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
| D | hdmi4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HDMI interface DSS driver for TI's OMAP4 family of SoCs. 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 9 #define DSS_SUBSYS_NAME "HDMI" 26 #include <sound/omap-hdmi-audio.h> 31 #include "hdmi.h" 33 static struct omap_hdmi hdmi; variable 41 r = pm_runtime_get_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 43 pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 56 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() [all …]
|
| D | hdmi5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HDMI driver for OMAP5 14 #define DSS_SUBSYS_NAME "HDMI" 31 #include <sound/omap-hdmi-audio.h> 37 static struct omap_hdmi hdmi; variable 45 r = pm_runtime_get_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 47 pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_get() 60 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 61 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 89 v = hdmi_read_reg(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL); in hdmi_irq_handler() [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
| D | hdmi4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HDMI interface DSS driver for TI's OMAP4 family of SoCs. 4 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 9 #define DSS_SUBSYS_NAME "HDMI" 26 #include <sound/omap-hdmi-audio.h> 31 #include "hdmi.h" 33 static struct omap_hdmi hdmi; variable 41 r = pm_runtime_resume_and_get(&hdmi.pdev->dev); in hdmi_runtime_get() 54 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 55 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() [all …]
|
| D | hdmi5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HDMI driver for OMAP5 14 #define DSS_SUBSYS_NAME "HDMI" 31 #include <sound/omap-hdmi-audio.h> 37 static struct omap_hdmi hdmi; variable 45 r = pm_runtime_resume_and_get(&hdmi.pdev->dev); in hdmi_runtime_get() 58 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put() 59 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() 87 v = hdmi_read_reg(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL); in hdmi_irq_handler() 90 hdmi_write_reg(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL, v); in hdmi_irq_handler() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
| D | hdmi4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HDMI interface DSS driver for TI's OMAP4 family of SoCs. 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com/ 10 #define DSS_SUBSYS_NAME "HDMI" 27 #include <sound/omap-hdmi-audio.h> 37 #include "hdmi.h" 39 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument 45 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get() 53 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument 59 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put() [all …]
|
| D | hdmi5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HDMI driver for OMAP5 5 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 14 #define DSS_SUBSYS_NAME "HDMI" 31 #include <sound/omap-hdmi-audio.h> 40 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument 46 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get() 54 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument 60 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put() 61 WARN_ON(r < 0 && r != -ENOSYS); in hdmi_runtime_put() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 select HDMI 34 dispc, dsi, hdmi and rfbi. 57 OMAP Video Encoder support for S-Video and composite TV-out. 63 bool "HDMI support for OMAP4" 67 HDMI support for OMAP4 based SoCs. 70 bool "Enable HDMI CEC support for OMAP4" 75 When selected the HDMI transmitter will support the CEC feature. 78 bool "HDMI support for OMAP5" 82 HDMI Interface for OMAP5 and similar cores. This adds the High [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/ |
| D | hdmi4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HDMI interface DSS driver for TI's OMAP4 family of SoCs. 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 10 #define DSS_SUBSYS_NAME "HDMI" 27 #include <sound/omap-hdmi-audio.h> 38 #include "hdmi.h" 40 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument 46 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get() 48 pm_runtime_put_noidle(&hdmi->pdev->dev); in hdmi_runtime_get() 54 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument [all …]
|
| D | hdmi5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HDMI driver for OMAP5 5 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/ 14 #define DSS_SUBSYS_NAME "HDMI" 31 #include <sound/omap-hdmi-audio.h> 41 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() argument 47 r = pm_runtime_get_sync(&hdmi->pdev->dev); in hdmi_runtime_get() 49 pm_runtime_put_noidle(&hdmi->pdev->dev); in hdmi_runtime_get() 55 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() argument 61 r = pm_runtime_put_sync(&hdmi->pdev->dev); in hdmi_runtime_put() [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 22 audio-cpu: 26 hdmi-out: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
| D | renesas,dw-hdmi.txt | 1 Renesas Gen3 DWC HDMI TX Encoder 4 The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP 7 These DT bindings follow the Synopsys DWC HDMI TX bindings defined in 9 following device-specific properties. 14 - compatible : Shall contain one or more of 15 - "renesas,r8a774a1-hdmi" for R8A774A1 (RZ/G2M) compatible HDMI TX 16 - "renesas,r8a774b1-hdmi" for R8A774B1 (RZ/G2N) compatible HDMI TX 17 - "renesas,r8a774e1-hdmi" for R8A774E1 (RZ/G2H) compatible HDMI TX 18 - "renesas,r8a7795-hdmi" for R8A7795 (R-Car H3) compatible HDMI TX 19 - "renesas,r8a7796-hdmi" for R8A7796 (R-Car M3-W) compatible HDMI TX [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/ |
| D | renesas,dw-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/renesas,dw-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car DWC HDMI TX Encoder 10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 13 The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP 17 - $ref: synopsys,dw-hdmi.yaml# 22 - enum: 23 - renesas,r8a774a1-hdmi # for RZ/G2M compatible HDMI TX [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/tegra/ |
| D | nvidia,tegra124-sor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra124-sor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 The Serial Output Resource (SOR) can be used to drive HDMI, LVDS, eDP 19 pattern: "^sor@[0-9a-f]+$" 23 - enum: 24 - nvidia,tegra124-sor [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
| D | sun4i_hdmi_tmds_clk.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 9 #include <linux/clk-provider.h> 16 struct sun4i_hdmi *hdmi; member 49 (rate - tmp_rate) < (rate - best_rate)) { in sun4i_tmds_calc_divider() 72 unsigned long rate = req->rate; in sun4i_tmds_determine_rate() 78 * clocked from it, and to have the same rate than our HDMI in sun4i_tmds_determine_rate() 88 for (j = tmds->div_offset ?: 1; in sun4i_tmds_determine_rate() 89 j < (16 + tmds->div_offset); j++) { in sun4i_tmds_determine_rate() 99 goto out; in sun4i_tmds_determine_rate() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
| D | sun4i_hdmi_tmds_clk.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 9 #include <linux/clk-provider.h> 16 struct sun4i_hdmi *hdmi; member 49 (rate - tmp_rate) < (rate - best_rate)) { in sun4i_tmds_calc_divider() 72 unsigned long rate = req->rate; in sun4i_tmds_determine_rate() 78 * clocked from it, and to have the same rate than our HDMI in sun4i_tmds_determine_rate() 88 for (j = tmds->div_offset ?: 1; in sun4i_tmds_determine_rate() 89 j < (16 + tmds->div_offset); j++) { in sun4i_tmds_determine_rate() 99 goto out; in sun4i_tmds_determine_rate() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/meson/ |
| D | aiu-codec-ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <sound/soc-dai.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-codec-glue.h" 30 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in aiu_codec_ctrl_mux_put_enum() 33 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]); in aiu_codec_ctrl_mux_put_enum() 34 changed = snd_soc_component_test_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum() 45 snd_soc_component_update_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum() 52 snd_soc_component_update_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum() 68 SOC_DAPM_ENUM_EXT("HDMI Source", aiu_hdmi_ctrl_mux_enum, [all …]
|
| /kernel/linux/linux-6.6/sound/soc/meson/ |
| D | aiu-codec-ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <sound/soc-dai.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-codec-glue.h" 30 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in aiu_codec_ctrl_mux_put_enum() 33 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]); in aiu_codec_ctrl_mux_put_enum() 34 changed = snd_soc_component_test_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum() 45 snd_soc_component_update_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum() 52 snd_soc_component_update_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum() 68 SOC_DAPM_ENUM_EXT("HDMI Source", aiu_hdmi_ctrl_mux_enum, [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| D | hdmigv100.c | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 #include "hdmi.h" 28 struct nvkm_device *device = ior->disp->engine.subdev.device; in gv100_hdmi_ctrl() 33 const u32 hdmi = head * 0x400; in gv100_hdmi_ctrl() local 42 nvkm_mask(device, 0x6f0100 + hdmi, 0x00000001, 0x00000000); in gv100_hdmi_ctrl() 43 nvkm_mask(device, 0x6f00c0 + hdmi, 0x00000001, 0x00000000); in gv100_hdmi_ctrl() 44 nvkm_mask(device, 0x6f0000 + hdmi, 0x00000001, 0x00000000); in gv100_hdmi_ctrl() 49 nvkm_mask(device, 0x6f0000 + hdmi, 0x00000001, 0x00000000); in gv100_hdmi_ctrl() 51 nvkm_wr32(device, 0x6f0008 + hdmi, avi_infoframe.header); in gv100_hdmi_ctrl() 52 nvkm_wr32(device, 0x6f000c + hdmi, avi_infoframe.subpack0_low); in gv100_hdmi_ctrl() [all …]
|
| D | hdmigk104.c | 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 24 #include "hdmi.h" 30 struct nvkm_device *device = ior->disp->engine.subdev.device; in gk104_hdmi_ctrl() 35 const u32 hdmi = head * 0x400; in gk104_hdmi_ctrl() local 44 nvkm_mask(device, 0x690100 + hdmi, 0x00000001, 0x00000000); in gk104_hdmi_ctrl() 45 nvkm_mask(device, 0x6900c0 + hdmi, 0x00000001, 0x00000000); in gk104_hdmi_ctrl() 46 nvkm_mask(device, 0x690000 + hdmi, 0x00000001, 0x00000000); in gk104_hdmi_ctrl() 51 nvkm_mask(device, 0x690000 + hdmi, 0x00000001, 0x00000000); in gk104_hdmi_ctrl() 53 nvkm_wr32(device, 0x690008 + hdmi, avi_infoframe.header); in gk104_hdmi_ctrl() 54 nvkm_wr32(device, 0x69000c + hdmi, avi_infoframe.subpack0_low); in gk104_hdmi_ctrl() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| D | meson-g12b-gtking.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b-w400.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 15 model = "Beelink GT-King"; 17 spdif_dit: audio-codec-1 { 18 #sound-dai-cells = <0>; 19 compatible = "linux,spdif-dit"; 21 sound-name-prefix = "DIT"; 25 compatible = "amlogic,axg-sound-card"; [all …]
|
| D | meson-g12a-x96-max.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 14 compatible = "amediatech,x96-max", "amlogic,g12a"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/ |
| D | meson-g12b-gtking.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b-w400.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 15 model = "Beelink GT-King"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; 26 sound-name-prefix = "DIT"; 30 compatible = "amlogic,axg-sound-card"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/media/ |
| D | cec.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 HDMI CEC 10 HDMI Transmitters: 12 - Exynos4 13 - Exynos5 14 - STIH4xx HDMI CEC 15 - V4L2 adv7511 (same HW, but a different driver from the drm adv7511) 16 - stm32 17 - Allwinner A10 (sun4i) 18 - Raspberry Pi [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
| D | sti_hdmi_tx3g4c28phy.c | 1 // SPDX-License-Identifier: GPL-2.0 70 * sti_hdmi_tx3g4c28phy_start - Start hdmi phy macro cell tx3g4c28 72 * @hdmi: pointer on the hdmi internal structure 76 static bool sti_hdmi_tx3g4c28phy_start(struct sti_hdmi *hdmi) in sti_hdmi_tx3g4c28phy_start() argument 78 u32 ckpxpll = hdmi->mode.clock * 1000; in sti_hdmi_tx3g4c28phy_start() 106 DRM_ERROR("output TMDS clock (%d) out of range\n", tmdsck); in sti_hdmi_tx3g4c28phy_start() 116 hdmi->event_received = false; in sti_hdmi_tx3g4c28phy_start() 118 hdmi_write(hdmi, (pllctrl | PLL_CFG_EN), HDMI_SRZ_PLL_CFG); in sti_hdmi_tx3g4c28phy_start() 121 wait_event_interruptible_timeout(hdmi->wait_event, in sti_hdmi_tx3g4c28phy_start() 122 hdmi->event_received == true, in sti_hdmi_tx3g4c28phy_start() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
| D | sti_hdmi_tx3g4c28phy.c | 1 // SPDX-License-Identifier: GPL-2.0 70 * Start hdmi phy macro cell tx3g4c28 72 * @hdmi: pointer on the hdmi internal structure 76 static bool sti_hdmi_tx3g4c28phy_start(struct sti_hdmi *hdmi) in sti_hdmi_tx3g4c28phy_start() argument 78 u32 ckpxpll = hdmi->mode.clock * 1000; in sti_hdmi_tx3g4c28phy_start() 106 DRM_ERROR("output TMDS clock (%d) out of range\n", tmdsck); in sti_hdmi_tx3g4c28phy_start() 116 hdmi->event_received = false; in sti_hdmi_tx3g4c28phy_start() 118 hdmi_write(hdmi, (pllctrl | PLL_CFG_EN), HDMI_SRZ_PLL_CFG); in sti_hdmi_tx3g4c28phy_start() 121 wait_event_interruptible_timeout(hdmi->wait_event, in sti_hdmi_tx3g4c28phy_start() 122 hdmi->event_received == true, in sti_hdmi_tx3g4c28phy_start() [all …]
|