/linux/Documentation/devicetree/bindings/display/mediatek/ |
H A D | mediatek,merge.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,merge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek display merge 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 14 Mediatek display merge, namely MERGE, is used to merge two slice-per-line 15 inputs into one side-by-side output. 18 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml [all …]
|
H A D | mediatek,color.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,color.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek display color processor 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 14 Mediatek display color processor, namely COLOR, provides hue, luma and 19 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml 25 - enum: [all …]
|
H A D | mediatek,split.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,split.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek display split 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 14 Mediatek display split, namely SPLIT, is used to split stream to two 18 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml 24 - enum: [all …]
|
H A D | mediatek,aal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,aal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek display adaptive ambient light processor 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 14 Mediatek display adaptive ambient light processor, namely AAL, 18 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml 24 - enum: [all …]
|
H A D | mediatek,dp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,dp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek Display Port Controller 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Jitao shi <jitao.shi@mediatek.com> 14 MediaTek DP and eDP are different hardwares and there are some features 24 - mediatek,mt8188-dp-tx 25 - mediatek,mt8188-edp-tx [all …]
|
H A D | mediatek,padding.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,padding.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek Display Padding 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 16 width of a layer to be 2-pixel-align, or 4-pixel-align when ETHDR is enabled, 24 - enum: 25 - mediatek,mt8188-disp-padding [all …]
|
H A D | mediatek,cec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,cec.yaml# 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> 19 - mediatek,mt7623-cec 20 - mediatek,mt8167-cec 21 - mediatek,mt8173-cec [all …]
|
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> 19 - mediatek,mt7623-hdmi-ddc 20 - mediatek,mt8167-hdmi-ddc 21 - mediatek,mt8173-hdmi-ddc [all …]
|
H A D | mediatek,wdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,wdma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek Write Direct Memory Access 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 14 Mediatek Write Direct Memory Access(WDMA) component used to write 18 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml 24 - enum: [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 …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | mediatek,mdp3-tcc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/mediatek,mdp3-tcc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek Media Data Path 3 Tone Curve Conversion 10 - Matthias Brugger <matthias.bgg@gmail.com> 16 brightness range that standard display devices typically support. 21 - enum: 22 - mediatek,mt8195-mdp3-tcc 23 - items: [all …]
|
H A D | mediatek,mdp3-tdshp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/mediatek,mdp3-tdshp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek Media Data Path 3 Two-Dimensional Sharpness 10 - Matthias Brugger <matthias.bgg@gmail.com> 11 - Moudy Ho <moudy.ho@mediatek.com> 14 Two-Dimensional Sharpness (TDSHP) is a Media Profile Path 3 (MDP3) component 20 - enum: 21 - mediatek,mt8195-mdp3-tdshp [all …]
|
H A D | mediatek,mdp3-hdr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/mediatek,mdp3-hdr.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek Media Data Path 3 HDR 10 - Matthias Brugger <matthias.bgg@gmail.com> 11 - Moudy Ho <moudy.ho@mediatek.com> 20 - enum: 21 - mediatek,mt8195-mdp3-hdr 22 - items: [all …]
|
H A D | mediatek,mdp3-fg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/mediatek,mdp3-fg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek Media Data Path 3 Film Grain 10 - Matthias Brugger <matthias.bgg@gmail.com> 11 - Moudy Ho <moudy.ho@mediatek.com> 20 - enum: 21 - mediatek,mt8195-mdp3-fg 22 - items: [all …]
|
H A D | mediatek,mdp3-stitch.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/mediatek,mdp3-stitch.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek Media Data Path 3 STITCH 10 - Matthias Brugger <matthias.bgg@gmail.com> 11 - Moudy Ho <moudy.ho@mediatek.com> 20 - enum: 21 - mediatek,mt8195-mdp3-stitch 22 - items: [all …]
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2015 MediaTek Inc. 4 * Author: YT SHEN <yt.shen@mediatek.com> 13 #include <linux/dma-mapping.h> 34 #define DRIVER_NAME "mediatek" 35 #define DRIVER_DESC "Mediatek SoC DRM" 49 if (info->num_planes != 1) in mtk_drm_mode_fb_create() 50 return ERR_PTR(-EINVAL); in mtk_drm_mode_fb_create() 325 .min_width = 2, /* 2-pixel align when ethdr is bypassed */ 334 { .compatible = "mediatek,mt2701-mmsys", [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "DRM Support for Mediatek SoCs" 19 Choose this option if you have a Mediatek SoCs. 20 The module will be called mediatek-drm 25 tristate "DRM DPTX Support for MediaTek SoCs" 31 DRM/KMS Display Port driver for MediaTek SoCs. 34 tristate "DRM HDMI Support for Mediatek SoCs" 38 DRM/KMS HDMI driver for Mediatek SoCs
|
H A D | mtk_disp_aal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2021 MediaTek Inc. 12 #include <linux/soc/mediatek/mtk-cmdq.h> 40 * struct mtk_disp_aal - Display Adaptive Ambient Light driver structure 57 return clk_prepare_enable(aal->clk); in mtk_aal_clk_enable() 64 clk_disable_unprepare(aal->clk); in mtk_aal_clk_disable() 77 mtk_ddp_write(cmdq_pkt, sz, &aal->cmdq_reg, aal->regs, DISP_AAL_SIZE); in mtk_aal_config() 78 mtk_ddp_write(cmdq_pkt, sz, &aal->cmdq_reg, aal->regs, DISP_AAL_OUTPUT_SIZE); in mtk_aal_config() 82 * mtk_aal_gamma_get_lut_size() - Get gamma LUT size for AAL 91 if (aal->data && aal->data->has_gamma) in mtk_aal_gamma_get_lut_size() [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | platform-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 am437x-vpfe TI AM437x VPFE 18 aspeed-video Aspeed AST2400 and AST2500 19 atmel-isc ATMEL Image Sensor Controller (ISC) 20 atmel-isi ATMEL Image Sensor Interface (ISI) 24 cdns-csi2rx Cadence MIPI-CSI2 RX Controller 25 cdns-csi2tx Cadence MIPI-CSI2 TX Controller 26 coda-vpu Chips&Media Coda multi-standard codec IP 29 exynos-fimc-is EXYNOS4x12 FIMC-IS (Imaging Subsystem) 30 exynos-fimc-lite EXYNOS FIMC-LITE camera interface [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | mediatek,dsi-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2020 MediaTek 4 --- 5 $id: http://devicetree.org/schemas/phy/mediatek,dsi-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: MediaTek MIPI Display Serial Interface (DSI) PHY 11 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 12 - Philipp Zabel <p.zabel@pengutronix.de> 13 - Chunfeng Yun <chunfeng.yun@mediatek.com> 15 description: The MIPI DSI PHY supports up to 4-lane output. [all …]
|
/linux/Documentation/devicetree/bindings/soc/mediatek/ |
H A D | mediatek,mutex.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/mediatek/mediatek,mutex.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek mutex 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 14 Mediatek mutex, namely MUTEX, is used to send the triggers signals called 15 Start Of Frame (SOF) / End Of Frame (EOF) to each sub-modules on the display 21 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | mt8195-mt6359.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8195-mt6359.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek MT8195 ASoC sound card driver 10 - Trevor Wu <trevor.wu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8195_mt6359_rt1019_rt5682 22 - mediatek,mt8195_mt6359_rt1011_rt5682 23 - mediatek,mt8195_mt6359_max98390_rt5682 [all …]
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_vpu_if.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016 MediaTek Inc. 4 * Author: PC Chen <pc.chen@mediatek.com> 13 * struct vdec_vpu_inst - VPU instance for video codec 23 * @signaled : 1 - Host has received ack message from VPU, 0 - not received 49 * vpu_dec_init - init decoder instance and allocate required resource in VPU. 56 * vpu_dec_start - start decoding, basically the function will be invoked once 66 * vpu_dec_end - end decoding, basically the function will be invoked once 69 * and check if there is a new decoded frame available to display. 76 * vpu_dec_deinit - deinit decoder instance and resource freed in VPU. [all …]
|
/linux/drivers/pwm/ |
H A D | pwm-mtk-disp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MediaTek display pulse-width-modulation controller driver. 4 * Copyright (c) 2015 MediaTek Inc. 5 * Author: YH Huang <yh.huang@mediatek.com> 25 #define PWM_PERIOD_MASK ((1 << PWM_PERIOD_BIT_WIDTH) - 1) 60 void __iomem *address = mdp->base + offset; in mtk_disp_pwm_update_bits() 77 if (state->polarity != PWM_POLARITY_NORMAL) in mtk_disp_pwm_apply() 78 return -EINVAL; in mtk_disp_pwm_apply() 80 if (!state->enabled && mdp->enabled) { in mtk_disp_pwm_apply() 82 mdp->data->enable_mask, 0x0); in mtk_disp_pwm_apply() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | mediatek,mt6370.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/mediatek,mt6370.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek MT6370 SubPMIC 10 - ChiYuan Huang <cy_huang@richtek.com> 13 MT6370 is a highly-integrated smart power management IC, which includes a 14 single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C & 16 driver, a backlight WLED driver, a display bias driver and a general LDO for 21 const: mediatek,mt6370 [all …]
|