/openbmc/linux/Documentation/devicetree/bindings/display/mediatek/ |
H A D | mediatek,wdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 24 - enum: 25 - mediatek,mt8173-disp-wdma 26 - items: 27 - const: mediatek,mt6795-disp-wdma 28 - const: mediatek,mt8173-disp-wdma [all …]
|
H A D | mediatek,aal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 24 - enum: 25 - mediatek,mt8173-disp-aal 26 - mediatek,mt8183-disp-aal 27 - items: 28 - enum: [all …]
|
H A D | mediatek,gamma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 24 - enum: 25 - mediatek,mt8173-disp-gamma 26 - mediatek,mt8183-disp-gamma 27 - items: 28 - enum: [all …]
|
H A D | mediatek,ovl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 24 - enum: 25 - mediatek,mt2701-disp-ovl 26 - mediatek,mt8173-disp-ovl 27 - mediatek,mt8183-disp-ovl 28 - mediatek,mt8192-disp-ovl [all …]
|
H A D | mediatek,color.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 25 - enum: 26 - mediatek,mt2701-disp-color 27 - mediatek,mt8167-disp-color 28 - mediatek,mt8173-disp-color 29 - items: [all …]
|
H A D | mediatek,rdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 15 data into DMA. It provides real time data to the back-end panel 26 - enum: 27 - mediatek,mt2701-disp-rdma 28 - mediatek,mt8173-disp-rdma 29 - mediatek,mt8183-disp-rdma [all …]
|
H A D | mediatek,merge.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 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. 24 - enum: 25 - mediatek,mt8173-disp-merge 26 - mediatek,mt8195-disp-merge [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mailbox/ |
H A D | mediatek,gce-mailbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/mediatek,gce-mailbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Houlong Wei <houlong.wei@mediatek.com> 13 The Global Command Engine (GCE) is used to help read/write registers with 15 vblank. The GCE can be used to implement the Command Queue (CMDQ) driver. 20 - enum: 21 - mediatek,mt6779-gce 22 - mediatek,mt8173-gce [all …]
|
/openbmc/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 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 15 Start Of Frame (SOF) / End Of Frame (EOF) to each sub-modules on the display 27 - mediatek,mt2701-disp-mutex 28 - mediatek,mt2712-disp-mutex 29 - mediatek,mt6795-disp-mutex 30 - mediatek,mt8167-disp-mutex [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 | mt6795.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/mediatek,mt6795-clk.h> 10 #include <dt-bindings/gce/mediatek,mt6795-gce.h> 11 #include <dt-bindings/memory/mt6795-larb-port.h> 12 #include <dt-bindings/pinctrl/mt6795-pinfunc.h> 13 #include <dt-bindings/power/mt6795-power.h> 14 #include <dt-bindings/reset/mediatek,mt6795-resets.h> 18 interrupt-parent = <&sysirq>; [all …]
|
H A D | mt8183.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/clock/mt8183-clk.h> 9 #include <dt-bindings/gce/mt8183-gce.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/memory/mt8183-larb-port.h> 13 #include <dt-bindings/power/mt8183-power.h> 14 #include <dt-bindings/reset/mt8183-resets.h> 15 #include <dt-bindings/phy/phy.h> 16 #include <dt-bindings/thermal/thermal.h> [all …]
|
H A D | mt8186.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 * Author: Allen-KH Cheng <allen-kh.cheng@mediatek.com> 6 /dts-v1/; 7 #include <dt-bindings/clock/mt8186-clk.h> 8 #include <dt-bindings/gce/mt8186-gce.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/memory/mt8186-memory-port.h> 12 #include <dt-bindings/pinctrl/mt8186-pinfunc.h> 13 #include <dt-bindings/power/mt8186-power.h> [all …]
|
H A D | mt8195.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/clock/mt8195-clk.h> 9 #include <dt-bindings/gce/mt8195-gce.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/memory/mt8195-memory-port.h> 13 #include <dt-bindings/phy/phy.h> 14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 15 #include <dt-bindings/power/mt8195-power.h> [all …]
|
H A D | mt8192.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/clock/mt8192-clk.h> 9 #include <dt-bindings/gce/mt8192-gce.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/memory/mt8192-larb-port.h> 13 #include <dt-bindings/pinctrl/mt8192-pinfunc.h> 14 #include <dt-bindings/phy/phy.h> 15 #include <dt-bindings/power/mt8192-power.h> [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/mediatek/ |
H A D | mediatek,mmsys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matthias Brugger <matthias.bgg@gmail.com> 18 pattern: "^syscon@[0-9a-f]+$" 22 - items: 23 - enum: 24 - mediatek,mt2701-mmsys 25 - mediatek,mt2712-mmsys 26 - mediatek,mt6765-mmsys [all …]
|
/openbmc/linux/drivers/mailbox/ |
H A D | mtk-cmdq-mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 8 #include <linux/dma-mapping.h> 17 #include <linux/mailbox/mtk-cmdq-mailbox.h> 21 #define CMDQ_NUM_CMD(t) (t->cmd_buf_size / CMDQ_INST_SIZE) 95 WARN_ON(clk_bulk_enable(cmdq->pdata->gce_num, cmdq->clocks)); in cmdq_sw_ddr_enable() 98 writel(GCE_DDR_EN | GCE_CTRL_BY_SW, cmdq->base + GCE_GCTL_VALUE); in cmdq_sw_ddr_enable() 100 writel(GCE_CTRL_BY_SW, cmdq->base + GCE_GCTL_VALUE); in cmdq_sw_ddr_enable() 102 clk_bulk_disable(cmdq->pdata->gce_num, cmdq->clocks); in cmdq_sw_ddr_enable() 107 struct cmdq *cmdq = container_of(chan->mbox, struct cmdq, mbox); in cmdq_get_shift_pa() [all …]
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_aal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/soc/mediatek/mtk-cmdq.h> 39 return clk_prepare_enable(aal->clk); in mtk_aal_clk_enable() 46 clk_disable_unprepare(aal->clk); in mtk_aal_clk_disable() 55 mtk_ddp_write(cmdq_pkt, w << 16 | h, &aal->cmdq_reg, aal->regs, DISP_AAL_SIZE); in mtk_aal_config() 56 mtk_ddp_write(cmdq_pkt, w << 16 | h, &aal->cmdq_reg, aal->regs, DISP_AAL_OUTPUT_SIZE); in mtk_aal_config() 63 if (aal->data && aal->data->has_gamma) in mtk_aal_gamma_set() 64 mtk_gamma_set_common(aal->regs, state, false); in mtk_aal_gamma_set() 71 writel(AAL_EN, aal->regs + DISP_AAL_EN); in mtk_aal_start() 78 writel_relaxed(0x0, aal->regs + DISP_AAL_EN); in mtk_aal_stop() [all …]
|
H A D | mtk_disp_color.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/soc/mediatek/mtk-cmdq.h> 22 #define DISP_COLOR_START(comp) ((comp)->data->color_offset) 34 * struct mtk_disp_color - DISP_COLOR driver structure 50 return clk_prepare_enable(color->clk); in mtk_color_clk_enable() 57 clk_disable_unprepare(color->clk); in mtk_color_clk_disable() 66 mtk_ddp_write(cmdq_pkt, w, &color->cmdq_reg, color->regs, DISP_COLOR_WIDTH(color)); in mtk_color_config() 67 mtk_ddp_write(cmdq_pkt, h, &color->cmdq_reg, color->regs, DISP_COLOR_HEIGHT(color)); in mtk_color_config() 75 color->regs + DISP_COLOR_CFG_MAIN); in mtk_color_start() 76 writel(0x1, color->regs + DISP_COLOR_START(color)); in mtk_color_start() [all …]
|
H A D | mtk_disp_gamma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/soc/mediatek/mtk-cmdq.h> 34 * struct mtk_disp_gamma - DISP_GAMMA driver structure 47 return clk_prepare_enable(gamma->clk); in mtk_gamma_clk_enable() 54 clk_disable_unprepare(gamma->clk); in mtk_gamma_clk_disable() 65 if (state->gamma_lut) { in mtk_gamma_set_common() 70 lut = (struct drm_color_lut *)state->gamma_lut->data; in mtk_gamma_set_common() 78 diff[0] = (lut[i].red >> 6) - (lut[i - 1].red >> 6); in mtk_gamma_set_common() 79 diff[1] = (lut[i].green >> 6) - (lut[i - 1].green >> 6); in mtk_gamma_set_common() 80 diff[2] = (lut[i].blue >> 6) - (lut[i - 1].blue >> 6); in mtk_gamma_set_common() [all …]
|
H A D | mtk_disp_rdma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/soc/mediatek/mtk-cmdq.h> 52 #define RDMA_FIFO_SIZE(rdma) ((rdma)->data->fifo_size) 78 * struct mtk_disp_rdma - DISP_RDMA driver structure 96 writel(0x0, priv->regs + DISP_REG_RDMA_INT_STATUS); in mtk_disp_rdma_irq_handler() 98 if (!priv->vblank_cb) in mtk_disp_rdma_irq_handler() 101 priv->vblank_cb(priv->vblank_cb_data); in mtk_disp_rdma_irq_handler() 110 unsigned int tmp = readl(rdma->regs + reg); in rdma_update_bits() 113 writel(tmp, rdma->regs + reg); in rdma_update_bits() 122 rdma->vblank_cb = vblank_cb; in mtk_rdma_register_vblank_cb() [all …]
|
H A D | mtk_disp_ovl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <linux/soc/mediatek/mtk-cmdq.h> 47 #define DISP_REG_OVL_ADDR(ovl, n) ((ovl)->data->addr + 0x20 * (n)) 48 #define DISP_REG_OVL_HDR_ADDR(ovl, n) ((ovl)->data->addr + 0x20 * (n) + 0x04) 49 #define DISP_REG_OVL_HDR_PITCH(ovl, n) ((ovl)->data->addr + 0x20 * (n) + 0x08) 62 #define OVL_CON_CLRFMT_RGB565(ovl) ((ovl)->data->fmt_rgb565_is_0 ? \ 64 #define OVL_CON_CLRFMT_RGB888(ovl) ((ovl)->data->fmt_rgb565_is_0 ? \ 120 * struct mtk_disp_ovl - DISP_OVL driver structure 139 writel(0x0, priv->regs + DISP_REG_OVL_INTSTA); in mtk_disp_ovl_irq_handler() 141 if (!priv->vblank_cb) in mtk_disp_ovl_irq_handler() [all …]
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mtk-mmsys.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/reset-controller.h> 14 #include <linux/soc/mediatek/mtk-mmsys.h> 16 #include "mtk-mmsys.h" 17 #include "mt8167-mmsys.h" 18 #include "mt8173-mmsys.h" 19 #include "mt8183-mmsys.h" 20 #include "mt8186-mmsys.h" 21 #include "mt8188-mmsys.h" 22 #include "mt8192-mmsys.h" [all …]
|
H A D | mtk-mutex.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/soc/mediatek/mtk-mmsys.h> 13 #include <linux/soc/mediatek/mtk-mutex.h> 14 #include <linux/soc/mediatek/mtk-cmdq.h> 598 * So that MUTEX can not only send a STREAM_DONE event to GCE 722 if (!mtx->mutex[i].claimed) { in mtk_mutex_get() 723 mtx->mutex[i].claimed = true; in mtk_mutex_get() 724 return &mtx->mutex[i]; in mtk_mutex_get() 727 return ERR_PTR(-EBUSY); in mtk_mutex_get() 734 mutex[mutex->id]); in mtk_mutex_put() [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...] |