/openbmc/linux/Documentation/devicetree/bindings/display/mediatek/ |
H A D | mediatek,hdmi-ddc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,hdmi-ddc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek HDMI DDC 10 - CK Hu <ck.hu@mediatek.com> 11 - Jitao shi <jitao.shi@mediatek.com> 14 The HDMI DDC i2c controller is used to interface with the HDMI DDC pins. 19 - mediatek,mt7623-hdmi-ddc 20 - mediatek,mt8167-hdmi-ddc [all …]
|
H A D | mediatek,hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek HDMI Encoder 10 - CK Hu <ck.hu@mediatek.com> 11 - Jitao shi <jitao.shi@mediatek.com> 14 The Mediatek HDMI encoder can generate HDMI 1.4a or MHL 2.0 signals from 20 - mediatek,mt2701-hdmi 21 - mediatek,mt7623-hdmi [all …]
|
H A D | mediatek,cec.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: Mediatek HDMI CEC Controller 10 - CK Hu <ck.hu@mediatek.com> 11 - Jitao shi <jitao.shi@mediatek.com> 14 The HDMI CEC controller handles hotplug detection and CEC communication. 19 - mediatek,mt7623-cec 20 - mediatek,mt8167-cec 21 - mediatek,mt8173-cec [all …]
|
H A D | mediatek,dpi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - CK Hu <ck.hu@mediatek.com> 11 - Jitao shi <jitao.shi@mediatek.com> 15 subsystem and provides 8-bit RGB/YUV444 or 8/10/10-bit YUV422 pixel data on a 21 - enum: 22 - mediatek,mt2701-dpi 23 - mediatek,mt7623-dpi 24 - mediatek,mt8173-dpi [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | mediatek,hdmi-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/mediatek,hdmi-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: MediaTek High Definition Multimedia Interface (HDMI) PHY 11 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 12 - Philipp Zabel <p.zabel@pengutronix.de> 13 - Chunfeng Yun <chunfeng.yun@mediatek.com> 16 The HDMI PHY serializes the HDMI encoder's three channel 10-bit parallel 17 output and drives the HDMI pads. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | mt8173-rt5650-rt5676.txt | 1 MT8173 with RT5650 RT5676 CODECS and HDMI via I2S 4 - compatible : "mediatek,mt8173-rt5650-rt5676" 5 - mediatek,audio-codec: the phandles of rt5650 and rt5676 codecs 6 and of the hdmi encoder node 7 - mediatek,platform: the phandle of MT8173 ASoC platform 12 compatible = "mediatek,mt8173-rt5650-rt5676"; 13 mediatek,audio-codec = <&rt5650 &rt5676 &hdmi0>;
|
H A D | mt8173-rt5650.txt | 1 MT8173 with RT5650 CODECS and HDMI via I2S 4 - compatible : "mediatek,mt8173-rt5650" 5 - mediatek,audio-codec: the phandles of rt5650 codecs 6 and of the hdmi encoder node 7 - mediatek,platform: the phandle of MT8173 ASoC platform 10 - codec-capture : the subnode of rt5650 codec capture 11 Required codec-capture subnode properties: 12 - sound-dai: audio codec dai name on capture path 13 <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1) 14 <&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2) [all …]
|
/openbmc/linux/drivers/phy/mediatek/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 obj-$(CONFIG_PHY_MTK_DP) += phy-mtk-dp.o 7 obj-$(CONFIG_PHY_MTK_PCIE) += phy-mtk-pcie.o 8 obj-$(CONFIG_PHY_MTK_TPHY) += phy-mtk-tphy.o 9 obj-$(CONFIG_PHY_MTK_UFS) += phy-mtk-ufs.o 10 obj-$(CONFIG_PHY_MTK_XSPHY) += phy-mtk-xsphy.o 12 phy-mtk-hdmi-drv-y := phy-mtk-hdmi.o 13 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt2701.o 14 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt8173.o 15 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt8195.o [all …]
|
H A D | phy-mtk-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "phy-mtk-hdmi.h" 30 ret = clk_prepare_enable(hdmi_phy->pll); in mtk_hdmi_phy_power_on() 34 hdmi_phy->conf->hdmi_phy_enable_tmds(hdmi_phy); in mtk_hdmi_phy_power_on() 42 hdmi_phy->conf->hdmi_phy_disable_tmds(hdmi_phy); in mtk_hdmi_phy_power_off() 43 clk_disable_unprepare(hdmi_phy->pll); in mtk_hdmi_phy_power_off() 52 if (hdmi_phy->conf->hdmi_phy_configure) in mtk_hdmi_phy_configure() 53 return hdmi_phy->conf->hdmi_phy_configure(phy, opts); in mtk_hdmi_phy_configure() 61 if (hdmi_phy && hdmi_phy->conf && in mtk_hdmi_phy_dev_get_ops() 62 hdmi_phy->conf->hdmi_phy_enable_tmds && in mtk_hdmi_phy_dev_get_ops() [all …]
|
H A D | phy-mtk-hdmi-mt8173.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include "phy-mtk-hdmi.h" 8 #include "phy-mtk-io.h" 90 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_prepare() 108 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_unprepare() 126 hdmi_phy->pll_rate = rate; in mtk_hdmi_pll_round_rate() 139 void __iomem *base = hdmi_phy->regs; in mtk_hdmi_pll_set_rate() 146 dev_dbg(hdmi_phy->dev, "%s: %lu Hz, parent: %lu Hz\n", __func__, in mtk_hdmi_pll_set_rate() 182 hdmi_ibias = hdmi_phy->ibias; in mtk_hdmi_pll_set_rate() 187 hdmi_ibias = hdmi_phy->ibias_up; in mtk_hdmi_pll_set_rate() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8173.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <dt-bindings/clock/mt8173-clk.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/memory/mt8173-larb-port.h> 11 #include <dt-bindings/phy/phy.h> 12 #include <dt-bindings/power/mt8173-power.h> 13 #include <dt-bindings/reset/mt8173-resets.h> 14 #include <dt-bindings/gce/mt8173-gce.h> 15 #include <dt-bindings/thermal/thermal.h> [all …]
|
H A D | mt8173-evb.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include "mt8173.dtsi" 12 model = "MediaTek MT8173 evaluation board"; 13 chassis-type = "embedded"; 14 compatible = "mediatek,mt8173-evb", "mediatek,mt8173"; 31 compatible = "hdmi-connector"; 32 label = "hdmi"; 37 remote-endpoint = <&hdmi0_out>; [all …]
|
H A D | mt8173-elm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/regulator/dlg,da9211-regulator.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include "mt8173.dtsi" 25 compatible = "pwm-backlight"; 27 power-supply = <&bl_fixed_reg>; 28 enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>; 30 pinctrl-names = "default"; [all …]
|
/openbmc/linux/sound/soc/mediatek/mt8173/ |
H A D | mt8173-rt5650.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt8173-rt5650.c -- MT8173 machine driver with RT5650 codecs 25 /* 0 = external oscillator; 1 = internal source from mt8173 */ 116 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_init() 117 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_init() 118 const char *codec_capture_dai = asoc_rtd_to_codec(runtime, 1)->name; in mt8173_rt5650_init() 125 if (!strcmp(codec_capture_dai, "rt5645-aif1")) { in mt8173_rt5650_init() 129 } else if (!strcmp(codec_capture_dai, "rt5645-aif2")) { in mt8173_rt5650_init() 134 dev_warn(card->dev, in mt8173_rt5650_init() 150 dev_err(card->dev, "Can't new Headset Jack %d\n", ret); in mt8173_rt5650_init() [all …]
|
H A D | mt8173-rt5650-rt5676.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt8173-rt5650-rt5676.c -- MT8173 machine driver with RT5650/5676 codecs 90 struct snd_soc_card *card = runtime->card; in mt8173_rt5650_rt5676_init() 91 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in mt8173_rt5650_rt5676_init() 92 struct snd_soc_component *component_sub = asoc_rtd_to_codec(runtime, 1)->component; in mt8173_rt5650_rt5676_init() 117 dev_err(card->dev, "Can't new Headset Jack %d\n", ret); in mt8173_rt5650_rt5676_init() 148 DAILINK_COMP_ARRAY(COMP_CPU("HDMI")), 154 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "rt5645-aif1"), 155 COMP_CODEC(NULL, "rt5677-aif1")), 160 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "i2s-hifi")), [all …]
|
H A D | mt8173-afe-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/dma-mapping.h> 19 #include "mt8173-afe-common.h" 20 #include "../common/mtk-base-afe.h" 21 #include "../common/mtk-afe-platform-driver.h" 22 #include "../common/mtk-afe-fe-dai.h" 115 #define AFE_TDM_CON1_LRCK_WIDTH(x) (((x) - 1) << 24) 193 return -EINVAL; in mt8173_afe_i2s_fs() 202 return -EINVAL; in mt8173_afe_set_i2s() 205 regmap_update_bits(afe->regmap, AFE_ADDA_TOP_CON0, 0x1, 0x1); in mt8173_afe_set_i2s() [all …]
|
/openbmc/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt7623n.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright © 2017-2020 MediaTek Inc. 10 #include <dt-bindings/memory/mt2701-larb-port.h> 19 compatible = "mediatek,mt7623-g3dsys", 20 "mediatek,mt2701-g3dsys", 23 #clock-cells = <1>; 24 #reset-cells = <1>; 28 compatible = "mediatek,mt7623-mali", "arm,mali-450"; 41 interrupt-names = "gp", "gpmmu", "pp0", "ppmmu0", "pp1", 46 clock-names = "bus", "core"; [all …]
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/arm-smccc.h> 10 #include <linux/hdmi.h> 24 #include <sound/hdmi-codec.h> 190 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() argument 192 return readl(hdmi->regs + offset); in mtk_hdmi_read() 195 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() argument 197 writel(val, hdmi->regs + offset); in mtk_hdmi_write() 200 static void mtk_hdmi_clear_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_clear_bits() argument 202 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_clear_bits() [all …]
|
H A D | mtk_hdmi_ddc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 68 writel(readl(ddc->regs + offset) | val, ddc->regs + offset); in sif_set_bit() 74 writel(readl(ddc->regs + offset) & ~val, ddc->regs + offset); in sif_clr_bit() 80 return (readl(ddc->regs + offset) & val) == val; in sif_bit_is_set() 89 tmp = readl(ddc->regs + offset); in sif_write_mask() 92 writel(tmp, ddc->regs + offset); in sif_write_mask() 99 return (readl(ddc->regs + offset) & mask) >> shift; in sif_read_mask() 109 readl_poll_timeout(ddc->regs + DDC_DDCMCTL1, val, in ddcm_trigger_mode() 115 struct device *dev = ddc->adap.dev.parent; in mtk_hdmi_ddc_read_msg() 122 sif_write_mask(ddc, DDC_DDCMD0, 0xff, 0, (msg->addr << 1) | 0x01); in mtk_hdmi_ddc_read_msg() [all …]
|
H A D | mtk_cec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 65 void __iomem *reg = cec->regs + offset; in mtk_cec_clear_bits() 76 void __iomem *reg = cec->regs + offset; in mtk_cec_set_bits() 87 u32 tmp = readl(cec->regs + offset) & ~mask; in mtk_cec_mask() 90 writel(tmp, cec->regs + offset); in mtk_cec_mask() 100 spin_lock_irqsave(&cec->lock, flags); in mtk_cec_set_hpd_event() 101 cec->hdmi_dev = hdmi_dev; in mtk_cec_set_hpd_event() 102 cec->hpd_event = hpd_event; in mtk_cec_set_hpd_event() 103 spin_unlock_irqrestore(&cec->lock, flags); in mtk_cec_set_hpd_event() 111 status = readl(cec->regs + RX_EVENT); in mtk_cec_hpd_high() [all …]
|
/openbmc/linux/ |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |
H A D | opengrok2.0.log | 1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms) 2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c' 3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms) 4 2024-1 [all...] |
/openbmc/ |
D | opengrok1.0.log | 1 2025-02-04 03:00:48.334-0600 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-02-04 03:00:48.456-0600 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
D | opengrok2.0.log | 1 2025-02-03 03:00:38.941-0600 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-02-03 03:00:39.061-0600 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |