18c2ecf20Sopenharmony_ciDevice-Tree bindings for drm hdmi driver
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: value should be one among the following:
58c2ecf20Sopenharmony_ci	1) "samsung,exynos4210-hdmi"
68c2ecf20Sopenharmony_ci	2) "samsung,exynos4212-hdmi"
78c2ecf20Sopenharmony_ci	3) "samsung,exynos5420-hdmi"
88c2ecf20Sopenharmony_ci	4) "samsung,exynos5433-hdmi"
98c2ecf20Sopenharmony_ci- reg: physical base address of the hdmi and length of memory mapped
108c2ecf20Sopenharmony_ci	region.
118c2ecf20Sopenharmony_ci- interrupts: interrupt number to the cpu.
128c2ecf20Sopenharmony_ci- hpd-gpios: following information about the hotplug gpio pin.
138c2ecf20Sopenharmony_ci	a) phandle of the gpio controller node.
148c2ecf20Sopenharmony_ci	b) pin number within the gpio controller.
158c2ecf20Sopenharmony_ci	c) optional flags and pull up/down.
168c2ecf20Sopenharmony_ci- ddc: phandle to the hdmi ddc node
178c2ecf20Sopenharmony_ci- phy: phandle to the hdmi phy node
188c2ecf20Sopenharmony_ci- samsung,syscon-phandle: phandle for system controller node for PMU.
198c2ecf20Sopenharmony_ci- #sound-dai-cells: should be 0.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciRequired properties for Exynos 4210, 4212, 5420 and 5433:
228c2ecf20Sopenharmony_ci- clocks: list of clock IDs from SoC clock driver.
238c2ecf20Sopenharmony_ci	a) hdmi: Gate of HDMI IP bus clock.
248c2ecf20Sopenharmony_ci	b) sclk_hdmi: Gate of HDMI special clock.
258c2ecf20Sopenharmony_ci	c) sclk_pixel: Pixel special clock, one of the two possible inputs of
268c2ecf20Sopenharmony_ci		HDMI clock mux.
278c2ecf20Sopenharmony_ci	d) sclk_hdmiphy: HDMI PHY clock output, one of two possible inputs of
288c2ecf20Sopenharmony_ci		HDMI clock mux.
298c2ecf20Sopenharmony_ci	e) mout_hdmi: It is required by the driver to switch between the 2
308c2ecf20Sopenharmony_ci		parents i.e. sclk_pixel and sclk_hdmiphy. If hdmiphy is stable
318c2ecf20Sopenharmony_ci		after configuration, parent is set to sclk_hdmiphy else
328c2ecf20Sopenharmony_ci		sclk_pixel.
338c2ecf20Sopenharmony_ci- clock-names: aliases as per driver requirements for above clock IDs:
348c2ecf20Sopenharmony_ci	"hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy" and "mout_hdmi".
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciRequired properties for Exynos 5433:
378c2ecf20Sopenharmony_ci- clocks: list of clock specifiers according to common clock bindings.
388c2ecf20Sopenharmony_ci	a) hdmi_pclk: Gate of HDMI IP APB bus.
398c2ecf20Sopenharmony_ci	b) hdmi_i_pclk: Gate of HDMI-PHY IP APB bus.
408c2ecf20Sopenharmony_ci	d) i_tmds_clk: Gate of HDMI TMDS clock.
418c2ecf20Sopenharmony_ci	e) i_pixel_clk: Gate of HDMI pixel clock.
428c2ecf20Sopenharmony_ci	f) i_spdif_clk: Gate of HDMI SPDIF clock.
438c2ecf20Sopenharmony_ci	g) oscclk: Oscillator clock, used as parent of following *_user clocks
448c2ecf20Sopenharmony_ci		in case HDMI-PHY is not operational.
458c2ecf20Sopenharmony_ci	h) tmds_clko: TMDS clock generated by HDMI-PHY.
468c2ecf20Sopenharmony_ci	i) tmds_clko_user: MUX used to switch between oscclk and tmds_clko,
478c2ecf20Sopenharmony_ci		respectively if HDMI-PHY is off and operational.
488c2ecf20Sopenharmony_ci	j) pixel_clko: Pixel clock generated by HDMI-PHY.
498c2ecf20Sopenharmony_ci	k) pixel_clko_user: MUX used to switch between oscclk and pixel_clko,
508c2ecf20Sopenharmony_ci		respectively if HDMI-PHY is off and operational.
518c2ecf20Sopenharmony_ci- clock-names: aliases for above clock specfiers.
528c2ecf20Sopenharmony_ci- samsung,sysreg: handle to syscon used to control the system registers.
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ciExample:
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci	hdmi {
578c2ecf20Sopenharmony_ci		compatible = "samsung,exynos4212-hdmi";
588c2ecf20Sopenharmony_ci		reg = <0x14530000 0x100000>;
598c2ecf20Sopenharmony_ci		interrupts = <0 95 0>;
608c2ecf20Sopenharmony_ci		hpd-gpios = <&gpx3 7 1>;
618c2ecf20Sopenharmony_ci		ddc = <&hdmi_ddc_node>;
628c2ecf20Sopenharmony_ci		phy = <&hdmi_phy_node>;
638c2ecf20Sopenharmony_ci		samsung,syscon-phandle = <&pmu_system_controller>;
648c2ecf20Sopenharmony_ci	};
65