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