Documentation / devicetree / bindings / media / stih-cec.txt


Based on kernel version 6.2.16. Page generated on 2023-08-29 08:28 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
STMicroelectronics STIH4xx HDMI CEC driver

Required properties:
 - compatible : value should be "st,stih-cec"
 - reg : Physical base address of the IP registers and length of memory
	 mapped region.
 - clocks : from common clock binding: handle to HDMI CEC clock
 - interrupts : HDMI CEC interrupt number to the CPU.
 - pinctrl-names: Contains only one value - "default"
 - pinctrl-0: Specifies the pin control groups used for CEC hardware.
 - resets: Reference to a reset controller
 - hdmi-phandle: Phandle to the HDMI controller, see also cec.txt.

Example for STIH407:

sti-cec@94a087c {
	compatible = "st,stih-cec";
	reg = <0x94a087c 0x64>;
	clocks = <&clk_sysin>;
	clock-names = "cec-clk";
	interrupts = <GIC_SPI 140 IRQ_TYPE_NONE>;
	interrupt-names = "cec-irq";
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_cec0_default>;
	resets = <&softreset STIH407_LPM_SOFTRESET>;
	hdmi-phandle = <&hdmi>;
};