xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/s5p-cec.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Samsung HDMI CEC driver
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe HDMI CEC module is present is Samsung SoCs and its purpose is to
4*4882a593Smuzhiyunhandle communication between HDMI connected devices over the CEC bus.
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunRequired properties:
7*4882a593Smuzhiyun  - compatible : value should be following
8*4882a593Smuzhiyun	"samsung,s5p-cec"
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun  - reg : Physical base address of the IP registers and length of memory
11*4882a593Smuzhiyun	  mapped region.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun  - interrupts : HDMI CEC interrupt number to the CPU.
14*4882a593Smuzhiyun  - clocks : from common clock binding: handle to HDMI CEC clock.
15*4882a593Smuzhiyun  - clock-names : from common clock binding: must contain "hdmicec",
16*4882a593Smuzhiyun		  corresponding to entry in the clocks property.
17*4882a593Smuzhiyun  - samsung,syscon-phandle - phandle to the PMU system controller
18*4882a593Smuzhiyun  - hdmi-phandle - phandle to the HDMI controller, see also cec.txt.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunOptional:
21*4882a593Smuzhiyun  - needs-hpd : if present the CEC support is only available when the HPD
22*4882a593Smuzhiyun		is high. See cec.txt for more details.
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunExample:
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunhdmicec: cec@100b0000 {
27*4882a593Smuzhiyun	compatible = "samsung,s5p-cec";
28*4882a593Smuzhiyun	reg = <0x100B0000 0x200>;
29*4882a593Smuzhiyun	interrupts = <0 114 0>;
30*4882a593Smuzhiyun	clocks = <&clock CLK_HDMI_CEC>;
31*4882a593Smuzhiyun	clock-names = "hdmicec";
32*4882a593Smuzhiyun	samsung,syscon-phandle = <&pmu_system_controller>;
33*4882a593Smuzhiyun	hdmi-phandle = <&hdmi>;
34*4882a593Smuzhiyun	pinctrl-names = "default";
35*4882a593Smuzhiyun	pinctrl-0 = <&hdmi_cec>;
36*4882a593Smuzhiyun};
37