Home
last modified time | relevance | path

Searched +full:cec +full:- +full:clk (Results 1 – 25 of 109) sorted by relevance

12345

/linux-6.12.1/drivers/media/cec/platform/tegra/
Dtegra_cec.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Tegra CEC implementation
5 * The original 3.10 CEC driver using a custom API:
7 * Copyright (c) 2012-2015, NVIDIA CORPORATION. All rights reserved.
9 * Conversion to the CEC framework and to the mainline kernel:
11 * Copyright 2016-2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
21 #include <linux/clk.h>
27 #include <linux/clk/tegra.h>
29 #include <media/cec-notifier.h>
33 #define TEGRA_CEC_NAME "tegra-cec"
[all …]
/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_cec.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk.h>
54 struct clk *clk; member
62 static void mtk_cec_clear_bits(struct mtk_cec *cec, unsigned int offset, in mtk_cec_clear_bits() argument
65 void __iomem *reg = cec->regs + offset; in mtk_cec_clear_bits()
73 static void mtk_cec_set_bits(struct mtk_cec *cec, unsigned int offset, in mtk_cec_set_bits() argument
76 void __iomem *reg = cec->regs + offset; in mtk_cec_set_bits()
84 static void mtk_cec_mask(struct mtk_cec *cec, unsigned int offset, in mtk_cec_mask() argument
87 u32 tmp = readl(cec->regs + offset) & ~mask; in mtk_cec_mask()
90 writel(tmp, cec->regs + offset); in mtk_cec_mask()
[all …]
/linux-6.12.1/drivers/media/cec/platform/sti/
Dstih-cec.c1 // SPDX-License-Identifier: GPL-2.0
3 * STIH4xx CEC driver
7 #include <linux/clk.h>
17 #include <media/cec.h>
18 #include <media/cec-notifier.h>
20 #define CEC_NAME "stih-cec"
22 /* CEC registers */
126 struct clk *clk; member
135 struct stih_cec *cec = cec_get_drvdata(adap); in stih_cec_adap_enable() local
139 unsigned long clk_freq = clk_get_rate(cec->clk); in stih_cec_adap_enable()
[all …]
/linux-6.12.1/drivers/media/cec/platform/s5p/
Ds5p_cec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* drivers/media/platform/s5p-cec/s5p_cec.c
4 * Samsung S5P CEC driver
8 * This driver is based on the "cec interface driver for exynos soc" by
12 #include <linux/clk.h>
23 #include <media/cec.h>
24 #include <media/cec-notifier.h>
27 #include "regs-cec.h"
30 #define CEC_NAME "s5p-cec"
34 MODULE_PARM_DESC(debug, "debug level (0-2)");
[all …]
Ds5p_cec.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* drivers/media/platform/s5p-cec/s5p_cec.h
4 * Samsung S5P HDMI CEC driver
12 #include <linux/clk.h>
22 #include <media/cec.h>
25 #include "regs-cec.h"
28 #define CEC_NAME "s5p-cec"
46 /* CEC Rx buffer size */
48 /* CEC Tx buffer size */
63 struct clk *clk; member
/linux-6.12.1/Documentation/devicetree/bindings/media/cec/
Dst,stih-cec.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/media/cec/st,stih-cec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STIH4xx HDMI CEC
10 - Alain Volmat <alain.volmat@foss.st.com>
13 - $ref: cec-common.yaml#
17 const: st,stih-cec
22 clock-names:
24 - const: cec-clk
[all …]
/linux-6.12.1/drivers/media/cec/platform/stm32/
Dstm32-cec.c1 // SPDX-License-Identifier: GPL-2.0
3 * STM32 CEC driver
8 #include <linux/clk.h>
16 #include <media/cec.h>
18 #define CEC_NAME "stm32-cec"
20 /* CEC registers */
68 struct clk *clk_cec;
69 struct clk *clk_hdmi_cec;
79 static void cec_hw_init(struct stm32_cec *cec) in cec_hw_init() argument
81 regmap_update_bits(cec->regmap, CEC_CR, TXEOM | TXSOM | CECEN, 0); in cec_hw_init()
[all …]
/linux-6.12.1/drivers/media/cec/platform/meson/
Dao-cec-g12a.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for Amlogic Meson AO CEC G12A Controller
11 #include <linux/clk.h>
25 #include <media/cec.h>
26 #include <media/cec-notifier.h>
27 #include <linux/clk-provider.h>
29 /* CEC Registers */
46 * [14:12] Filter_del. For glitch-filtering CEC line, ignore signal
49 * glitch-filtering CEC line signal.
50 * - 0=Use T(xtal)*3 = 125ns;
[all …]
Dao-cec.c2 * Driver for Amlogic Meson AO CEC Controller
8 * SPDX-License-Identifier: GPL-2.0+
12 #include <linux/clk.h>
24 #include <media/cec.h>
25 #include <media/cec-notifier.h>
27 /* CEC Registers */
31 * - 0 = Disable clk (Power-off mode)
32 * - 1 = Enable gated clock (Normal mode)
33 * - 2 = Enable free-run clk (Debug mode)
47 * - 0 = Read
[all …]
/linux-6.12.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
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-6.12.1/Documentation/devicetree/bindings/display/bridge/
Dfsl,imx8mp-hdmi-tx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/bridge/fsl,imx8mp-hdmi-tx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lucas Stach <l.stach@pengutronix.de>
17 - $ref: /schemas/display/bridge/synopsys,dw-hdmi.yaml#
22 - fsl,imx8mp-hdmi-tx
24 reg-io-width:
30 clock-names:
32 - const: iahb
[all …]
/linux-6.12.1/drivers/gpu/drm/bridge/adv7511/
Dadv7511_cec.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * adv7511_cec.c - Analog Devices ADV7511/33 cec driver
11 #include <linux/clk.h>
13 #include <media/cec.h>
36 unsigned int offset = adv7511->info->reg_cec_offset; in adv_cec_tx_raw_status()
39 if (regmap_read(adv7511->regmap_cec, in adv_cec_tx_raw_status()
47 cec_transmit_attempt_done(adv7511->cec_adap, in adv_cec_tx_raw_status()
63 if (regmap_read(adv7511->regmap_cec, in adv_cec_tx_raw_status()
75 cec_transmit_done(adv7511->cec_adap, status, in adv_cec_tx_raw_status()
80 cec_transmit_attempt_done(adv7511->cec_adap, CEC_TX_STATUS_OK); in adv_cec_tx_raw_status()
[all …]
/linux-6.12.1/Documentation/driver-api/gpio/
Ddrivers-on-gpio.rst6 the right in-kernel and userspace APIs/ABIs for the job, and that these
10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO
13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger,
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with
29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from
31 off/on, for an actual PWM waveform, see pwm-gpio below.)
33 - pwm-gpio: drivers/pwm/pwm-gpio.c is used to toggle a GPIO with a high
[all …]
/linux-6.12.1/arch/arm/boot/dts/st/
Dstm32f746.dtsi2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
43 #include "../armv7-m.dtsi"
44 #include <dt-bindings/clock/stm32fx-clock.h>
45 #include <dt-bindings/mfd/stm32f7-rcc.h>
48 #address-cells = <1>;
49 #size-cells = <1>;
52 clk_hse: clk-hse {
53 #clock-cells = <0>;
54 compatible = "fixed-clock";
[all …]
Dstih410.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "stih410-clock.dtsi"
7 #include "stih407-family.dtsi"
8 #include "stih410-pinctrl.dtsi"
9 #include <dt-bindings/gpio/gpio.h>
16 compatible = "st,stih407-usb2-phy";
17 #phy-cells = <0>;
21 reset-names = "global", "port";
27 compatible = "st,stih407-usb2-phy";
28 #phy-cells = <0>;
[all …]
Dstm32f7-pinctrl.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
7 #include <dt-bindings/pinctrl/stm32-pinfunc.h>
8 #include <dt-bindings/mfd/stm32f7-rcc.h>
13 #address-cells = <1>;
14 #size-cells = <1>;
16 interrupt-parent = <&exti>;
20 gpio-controller;
21 #gpio-cells = <2>;
22 interrupt-controller;
[all …]
/linux-6.12.1/drivers/gpu/drm/sti/
Dsti_hdmi.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <media/cec-notifier.h>
60 * @audio_pdev: ASoC hdmi-codec platform device
71 struct clk *clk_pix;
72 struct clk *clk_tmds;
73 struct clk *clk_phy;
74 struct clk *clk_audio;
/linux-6.12.1/drivers/clk/meson/
Dclk-dualdiv.c1 // SPDX-License-Identifier: GPL-2.0
10 * 32,768KHz clock for low-power suspend mode and CEC.
13 * | Div1 |-| Cnt1 |
15 * -| ______ ______ X--> Out
17 * | Div2 |-| Cnt2 |
24 #include <linux/clk-provider.h>
27 #include "clk-regmap.h"
28 #include "clk-dualdiv.h"
31 meson_clk_dualdiv_data(struct clk_regmap *clk) in meson_clk_dualdiv_data() argument
33 return (struct meson_clk_dualdiv_data *)clk->data; in meson_clk_dualdiv_data()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx8mn-beacon-kit.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
9 #include "imx8mn-beacon-som.dtsi"
10 #include "imx8mn-beacon-baseboard.dtsi"
14 compatible = "beacon,imx8mn-beacon-kit", "fsl,imx8mn";
17 stdout-path = &uart2;
21 compatible = "hdmi-connector";
26 remote-endpoint = <&adv7535_out>;
31 reg_hdmi: regulator-hdmi-dvdd {
32 compatible = "regulator-fixed";
[all …]
Dimx8mm-beacon-kit.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
9 #include "imx8mm-beacon-som.dtsi"
10 #include "imx8mm-beacon-baseboard.dtsi"
14 compatible = "beacon,imx8mm-beacon-kit", "fsl,imx8mm";
17 stdout-path = &uart2;
21 compatible = "hdmi-connector";
26 remote-endpoint = <&adv7535_out>;
31 reg_hdmi: regulator-hdmi-dvdd {
32 compatible = "regulator-fixed";
[all …]
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm2711.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/soc/bcm2835-pm.h>
10 #address-cells = <2>;
11 #size-cells = <1>;
13 interrupt-parent = <&gicv2>;
16 compatible = "brcm,bcm2711-vc5";
20 clk_27MHz: clk-27M {
21 #clock-cells = <0>;
22 compatible = "fixed-clock";
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Dam335x-boneblack.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include "am335x-bone-common.dtsi"
9 #include "am335x-boneblack-common.dtsi"
10 #include "am335x-boneblack-hdmi.dtsi"
14 compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
23 opp-1000000000 {
25 opp-supported-hw = <0x06 0x0100>;
30 gpio-line-names =
[all …]
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DesignWare High-Definition Multimedia Interface (HDMI) driver
5 * Copyright (C) 2013-2015 Mentor Graphics Inc.
6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc.
9 #include <linux/clk.h>
20 #include <linux/dma-mapping.h>
23 #include <media/cec-notifier.h>
25 #include <uapi/linux/media-bus-format.h>
39 #include "dw-hdmi-audio.h"
40 #include "dw-hdmi-cec.h"
[all …]
/linux-6.12.1/arch/arm64/boot/dts/amlogic/
Dmeson-gxl-s905x-khadas-vim.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-gxl-s905x-p212.dtsi"
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/sound/meson-aiu.h>
13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl";
16 adc-keys {
17 compatible = "adc-keys";
18 io-channels = <&saradc 0>;
19 io-channel-names = "buttons";
[all …]
/linux-6.12.1/drivers/gpu/drm/sun4i/
Dsun4i_hdmi.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Maxime Ripard <maxime.ripard@free-electrons.com>
15 #include <media/cec-pin.h>
37 #define SUN4I_HDMI_VID_TIMING_X(x) ((((x) - 1) & GENMASK(11, 0)))
38 #define SUN4I_HDMI_VID_TIMING_Y(y) ((((y) - 1) & GENMASK(11, 0)) << 16)
135 #define SUN4I_HDMI_DDC_FIFO_CTRL_RX_THRES_MAX (BIT(4) - 1)
138 #define SUN4I_HDMI_DDC_FIFO_CTRL_TX_THRES_MAX (BIT(4) - 1)
143 #define SUN4I_HDMI_DDC_BYTE_COUNT_MAX (BIT(10) - 1)
187 /* DDC CLK bit fields are the same, but the formula is not */
257 struct clk *bus_clk;
[all …]

12345