Home
last modified time | relevance | path

Searched +full:mt8173 +full:- +full:cec (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/display/mediatek/
Dmediatek,cec.yaml1 # 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 Device Tree Bindings
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
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dmt7623n.dtsi1 // 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 …]
/Linux-v6.1/drivers/gpu/drm/mediatek/
Dmtk_cec.c1 // SPDX-License-Identifier: GPL-2.0-only
60 static void mtk_cec_clear_bits(struct mtk_cec *cec, unsigned int offset, in mtk_cec_clear_bits() argument
63 void __iomem *reg = cec->regs + offset; in mtk_cec_clear_bits()
71 static void mtk_cec_set_bits(struct mtk_cec *cec, unsigned int offset, in mtk_cec_set_bits() argument
74 void __iomem *reg = cec->regs + offset; in mtk_cec_set_bits()
82 static void mtk_cec_mask(struct mtk_cec *cec, unsigned int offset, in mtk_cec_mask() argument
85 u32 tmp = readl(cec->regs + offset) & ~mask; in mtk_cec_mask()
88 writel(tmp, cec->regs + offset); in mtk_cec_mask()
95 struct mtk_cec *cec = dev_get_drvdata(dev); in mtk_cec_set_hpd_event() local
98 spin_lock_irqsave(&cec->lock, flags); in mtk_cec_set_hpd_event()
[all …]
Dmtk_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/arm-smccc.h>
24 #include <sound/hdmi-codec.h>
192 return readl(hdmi->regs + offset); in mtk_hdmi_read()
197 writel(val, hdmi->regs + offset); in mtk_hdmi_write()
202 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_clear_bits()
212 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_set_bits()
222 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_mask()
241 * MT8173 HDMI hardware has an output control bit to enable/disable HDMI in mtk_hdmi_hw_make_reg_writable()
246 if (hdmi->conf && hdmi->conf->tz_disabled) in mtk_hdmi_hw_make_reg_writable()
[all …]
/Linux-v6.1/drivers/pinctrl/mediatek/
Dpinctrl-mtk-mt8173.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include "pinctrl-mtk-common.h"
15 NULL, "mt8173",
25 NULL, "mt8173",
35 NULL, "mt8173",
45 NULL, "mt8173",
55 NULL, "mt8173",
65 NULL, "mt8173",
76 NULL, "mt8173",
86 NULL, "mt8173",
[all …]
/Linux-v6.1/arch/arm64/boot/dts/mediatek/
Dmt8173.dtsi1 // 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 …]
Dmt8173-evb.dts1 // 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 compatible = "mediatek,mt8173-evb", "mediatek,mt8173";
30 compatible = "hdmi-connector";
36 remote-endpoint = <&hdmi0_out>;
42 compatible = "linux,extcon-usb-gpio";
43 id-gpio = <&pio 16 GPIO_ACTIVE_HIGH>;
[all …]
Dmt8173-elm.dtsi1 // 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 …]