Home
last modified time | relevance | path

Searched +full:mediatek +full:- +full:device (Results 1 – 25 of 423) sorted by relevance

12345678910>>...17

/linux/sound/soc/mediatek/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
7 tristate "ASoC support for Mediatek MT2701 chip"
11 This adds ASoC driver for Mediatek MT2701 boards
13 Select Y if you have such device.
22 This adds ASoC driver for Mediatek MT2701 boards
24 Select Y if you have such device.
32 This adds ASoC driver for Mediatek MT2701 boards
34 Select Y if you have such device.
38 tristate "ASoC support for Mediatek MT6797 chip"
42 This adds ASoC driver for Mediatek MT6797 boards
[all …]
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_drv.c1 // 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"
51 if (info->num_planes != 1) in mtk_drm_mode_fb_create()
52 return ERR_PTR(-EINVAL); in mtk_drm_mode_fb_create()
327 .min_width = 2, /* 2-pixel align when ethdr is bypassed */
332 { .compatible = "mediatek,mt2701-mmsys",
[all …]
H A Dmtk_disp_color.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017 MediaTek Inc.
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
46 int mtk_color_clk_enable(struct device *dev) in mtk_color_clk_enable()
50 return clk_prepare_enable(color->clk); in mtk_color_clk_enable()
53 void mtk_color_clk_disable(struct device *dev) in mtk_color_clk_disable()
57 clk_disable_unprepare(color->clk); in mtk_color_clk_disable()
60 void mtk_color_config(struct device *dev, unsigned int w, in mtk_color_config()
[all …]
H A Dmtk_disp_rdma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2015 MediaTek Inc.
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()
106 static void rdma_update_bits(struct device *dev, unsigned int reg, in rdma_update_bits()
110 unsigned int tmp = readl(rdma->regs + reg); in rdma_update_bits()
[all …]
/linux/Documentation/devicetree/bindings/net/bluetooth/
H A Dmediatek,bluetooth.txt1 MediaTek UART based Bluetooth Devices
4 This device is a serial attached device to UART device and thus it must be a
13 - compatible: Must be
14 "mediatek,mt7663u-bluetooth": for MT7663U device
15 "mediatek,mt7668u-bluetooth": for MT7668U device
16 - vcc-supply: Main voltage regulator
19 control such as the most of MediaTek platform. Please use below properties.
21 - pinctrl-names: Should be "default", "runtime"
22 - pinctrl-0: Should contain UART RXD low when the device is powered up to
24 - pinctrl-1: Should contain UART mode pin ctrl
[all …]
H A Dmediatek,mt7622-bluetooth.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/net/bluetooth/mediatek,mt7622-bluetooth.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek SoC built-in Bluetooth
10 This device is a serial attached device to BTIF device and thus it must be a
11 child node of the serial node with BTIF. The dt-bindings details for BTIF
12 device can be known via Documentation/devicetree/bindings/serial/8250.yaml.
15 - Sean Wang <sean.wang@mediatek.com>
18 - $ref: bluetooth-controller.yaml#
[all …]
/linux/arch/arm/mach-mediatek/
H A Dmediatek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Device Tree support for Mediatek SoCs
23 if (of_machine_is_compatible("mediatek,mt6589") || in mediatek_timer_init()
24 of_machine_is_compatible("mediatek,mt7623") || in mediatek_timer_init()
25 of_machine_is_compatible("mediatek,mt8135") || in mediatek_timer_init()
26 of_machine_is_compatible("mediatek,mt8127")) { in mediatek_timer_init()
30 /* enable clock and set to free-run */ in mediatek_timer_init()
40 "mediatek,mt2701",
41 "mediatek,mt6589",
42 "mediatek,mt6592",
[all …]
H A Dplatsmp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-mediatek/platsmp.c
5 * Copyright (c) 2014 Mediatek Inc.
6 * Author: Shunli Wang <shunli.wang@mediatek.com>
7 * Yingjoe Chen <yingjoe.chen@mediatek.com>
22 unsigned int core_keys[MTK_MAX_CPU - 1];
23 unsigned int core_regs[MTK_MAX_CPU - 1];
45 { .compatible = "mediatek,mt8135", .data = &mtk_mt8135_tz_boot },
46 { .compatible = "mediatek,mt8127", .data = &mtk_mt8135_tz_boot },
47 { .compatible = "mediatek,mt2701", .data = &mtk_mt8135_tz_boot },
[all …]
/linux/Documentation/devicetree/bindings/thermal/
H A Dmediatek,thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/thermal/mediatek,thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek thermal controller for on-SoC temperatures
10 - Sascha Hauer <s.hauer@pengutronix.de>
13 This device does not have its own ADC, instead it directly controls the AUXADC
19 - $ref: thermal-sensor.yaml#
24 - mediatek,mt2701-thermal
25 - mediatek,mt2712-thermal
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dmediatek,mtu3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2020 MediaTek
4 ---
5 $id: http://devicetree.org/schemas/usb/mediatek,mtu3.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: MediaTek USB3 DRD Controller
11 - Chunfeng Yun <chunfeng.yun@mediatek.com>
14 - $ref: usb-drd.yaml
23 - enum:
24 - mediatek,mt2712-mtu3
[all …]
H A Dmediatek,mtk-xhci.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2020 MediaTek
4 ---
5 $id: http://devicetree.org/schemas/usb/mediatek,mtk-xhci.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: MediaTek USB3 xHCI
11 - Chunfeng Yun <chunfeng.yun@mediatek.com>
14 - $ref: usb-xhci.yaml
19 case 2: supports dual-role mode, and the host is based on xHCI driver.
25 - enum:
[all …]
/linux/drivers/gpu/drm/ci/
H A Dtest.yml1 .test-rules:
3 - if: '$FD_FARM == "offline" && $RUNNER_TAG =~ /^google-freedreno-/'
5 - if: '$COLLABORA_FARM == "offline" && $RUNNER_TAG =~ /^mesa-ci-x86-64-lava-/'
7 - !reference [.no_scheduled_pipelines-rules, rules]
8 - when: on_success
10 .lava-test:
12 - .test-rules
16 - rm -rf install
17 - tar -xf artifacts/install.tar
18 - mv install/* artifacts/.
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dmediatek,mt6357.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/mediatek,mt6357.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT6357 PMIC
10 - Flora Fu <flora.fu@mediatek.com>
11 - Alexandre Mergnat <amergnat@baylibre.com>
18 This is a multifunction device with the following sub modules:
19 - Regulator
20 - RTC
[all …]
H A Dmediatek,mt6397.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek MT6397/MT6323 PMIC
10 - Sen Chu <sen.chu@mediatek.com>
11 - Macpaul Lin <macpaul.lin@mediatek.com>
15 Please see the sub-modules below for supported features.
17 MT6397/MT6323 is a multifunction device with the following sub modules:
18 - Regulators
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dmtk,scp.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek SCP
10 - Tinghan Shen <tinghan.shen@mediatek.com>
13 This binding provides support for ARM Cortex M4 Co-processor found on some
14 Mediatek SoCs.
19 - mediatek,mt8183-scp
20 - mediatek,mt8186-scp
21 - mediatek,mt8188-scp
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dmediatek,mt7628-usbphy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/mediatek,mt7628-usbphy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek/Ralink USB PHY
10 - Sergio Paracuellos <sergio.paracuellos@gmail.com>
15 - mediatek,mt7620-usbphy
16 - mediatek,mt7628-usbphy
17 - ralink,rt3352-usbphy
22 "#phy-cells":
[all …]
/linux/drivers/clk/mediatek/
H A Dreset.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2022 MediaTek Inc.
9 #include <linux/reset-controller.h>
22 * enum mtk_reset_version - Version of MediaTek clock reset controller.
25 * @MTK_RST_MAX: Total quantity of version for MediaTek clock reset controller.
34 * struct mtk_clk_rst_desc - Description of MediaTek clock reset.
51 * struct mtk_clk_rst_data - Data of MediaTek clock reset controller.
53 * @rcdev: Reset controller device.
63 * mtk_register_reset_controller - Register mediatek clock reset controller with device
64 * @np: Pointer to device.
[all …]
/linux/Documentation/devicetree/bindings/media/
H A Dmediatek,vcodec-subdev-decoder.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/media/mediatek,vcodec-subdev-decoder.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Mediatek Video Decode Accelerator With Multi Hardware
11 - Yunfei Dong <yunfei.dong@mediatek.com>
14 Mediatek Video Decode is the video decode hardware present in Mediatek
16 parent and child device node.
20 +------------------------------------------------+-------------------------------------+
22 | input -> lat soc HW -> lat HW -> lat buffer --|--> lat buffer -> core HW -> output |
[all …]
/linux/Documentation/devicetree/bindings/spi/
H A Dmediatek,spi-mtk-snfi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/mediatek,spi-mtk-snfi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SPI-NAND flash controller for MediaTek ARM SoCs
10 - Chuanhong Guo <gch981213@gmail.com>
13 The Mediatek SPI-NAND flash controller is an extended version of
14 the Mediatek NAND flash controller. It can perform standard SPI
15 instructions with one continuous write and one read for up-to 0xa0
16 bytes. It also supports typical SPI-NAND page cache operations
[all …]
/linux/drivers/bluetooth/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 menu "Bluetooth device drivers"
71 bool "MediaTek protocol support"
76 The MediaTek protocol support enables firmware download
77 support and chip initialization for MediaTek Bluetooth
80 Say Y here to compile support for MediaTek protocol.
98 This driver is required if you want to use Bluetooth device with
130 device and host. This protocol is required for most Bluetooth devices
145 device and host. This protocol is required for Bluetooth devices
156 between Bluetooth device and host. This protocol is required for non
[all …]
/linux/drivers/memory/
H A Dmtk-smi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2015-2016 MediaTek Inc.
4 * Author: Yong Wu <yong.wu@mediatek.com>
6 #include <linux/arm-smccc.h>
9 #include <linux/device.h>
18 #include <linux/soc/mediatek/mtk_sip_svc.h>
19 #include <soc/mediatek/smi.h>
20 #include <dt-bindings/memory/mt2701-larb-port.h>
21 #include <dt-bindings/memory/mtk-memory-port.h>
66 * or non-security.
[all …]
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2022 MediaTek Inc.
4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
10 #include <media/v4l2-device.h>
11 #include <media/v4l2-mem2mem.h>
12 #include <linux/soc/mediatek/mtk-mmsys.h>
13 #include <linux/soc/mediatek/mtk-mutex.h>
14 #include "mtk-mdp3-comp.h"
15 #include "mtk-mdp3-vpu.h"
17 #define MDP_MODULE_NAME "mtk-mdp3"
[all …]
/linux/drivers/regulator/
H A Dmtk-dvfsrc-regulator.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020 MediaTek Inc.
13 #include <linux/soc/mediatek/dvfsrc.h>
38 static inline struct device *to_dvfs_regulator_dev(struct regulator_dev *rdev) in to_dvfs_regulator_dev()
40 return rdev_get_dev(rdev)->parent; in to_dvfs_regulator_dev()
43 static inline struct device *to_dvfsrc_dev(struct regulator_dev *rdev) in to_dvfsrc_dev()
45 return to_dvfs_regulator_dev(rdev)->parent; in to_dvfsrc_dev()
58 return -EINVAL; in dvfsrc_get_cmd()
67 struct device *dvfsrc_dev = to_dvfsrc_dev(rdev); in dvfsrc_set_voltage_sel()
81 struct device *dvfsrc_dev = to_dvfsrc_dev(rdev); in dvfsrc_get_voltage_sel()
[all …]
/linux/drivers/cpufreq/
H A Dmediatek-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Pi-Cheng Chen <pi-cheng.chen@linaro.org>
30 * on each CPU power/clock domain of Mediatek SoCs. Each CPU cluster in
31 * Mediatek SoCs has two voltage inputs, Vproc and Vsram. In some cases the two
33 * 100mV < Vsram - Vproc < 200mV
41 struct device *cpu_dev;
42 struct device *cci_dev;
71 if (cpumask_test_cpu(cpu, &info->cpus)) in mtk_cpu_dvfs_info_lookup()
81 const struct mtk_cpufreq_platform_data *soc_data = info->soc_data; in mtk_cpufreq_voltage_tracking()
82 struct regulator *proc_reg = info->proc_reg; in mtk_cpufreq_voltage_tracking()
[all …]
/linux/Documentation/devicetree/bindings/soc/mediatek/
H A Dmediatek,mutex.yaml1 # 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
19 MUTEX device node must be siblings to the central MMSYS_CONFIG node.
[all …]

12345678910>>...17