18c2ecf20Sopenharmony_ciROCKCHIP HDMI PHY WITH INNO IP BLOCK
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci - compatible : should be one of the listed compatibles:
58c2ecf20Sopenharmony_ci	* "rockchip,rk3228-hdmi-phy",
68c2ecf20Sopenharmony_ci	* "rockchip,rk3328-hdmi-phy";
78c2ecf20Sopenharmony_ci - reg : Address and length of the hdmi phy control register set
88c2ecf20Sopenharmony_ci - clocks : phandle + clock specifier for the phy clocks
98c2ecf20Sopenharmony_ci - clock-names : string, clock name, must contain "sysclk" for system
108c2ecf20Sopenharmony_ci	  control and register configuration, "refoclk" for crystal-
118c2ecf20Sopenharmony_ci	  oscillator reference PLL clock input and "refpclk" for pclk-
128c2ecf20Sopenharmony_ci	  based refeference PLL clock input.
138c2ecf20Sopenharmony_ci - #clock-cells: should be 0.
148c2ecf20Sopenharmony_ci - clock-output-names : shall be the name for the output clock.
158c2ecf20Sopenharmony_ci - interrupts : phandle + interrupt specified for the hdmiphy interrupt
168c2ecf20Sopenharmony_ci - #phy-cells : must be 0. See ./phy-bindings.txt for details.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciOptional properties for rk3328-hdmi-phy:
198c2ecf20Sopenharmony_ci - nvmem-cells = phandle + nvmem specifier for the cpu-version efuse
208c2ecf20Sopenharmony_ci - nvmem-cell-names : "cpu-version" to read the chip version, required
218c2ecf20Sopenharmony_ci	  for adjustment to some frequency settings
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciExample:
248c2ecf20Sopenharmony_ci	hdmi_phy: hdmi-phy@12030000 {
258c2ecf20Sopenharmony_ci		compatible = "rockchip,rk3228-hdmi-phy";
268c2ecf20Sopenharmony_ci		reg = <0x12030000 0x10000>;
278c2ecf20Sopenharmony_ci		#phy-cells = <0>;
288c2ecf20Sopenharmony_ci		clocks = <&cru PCLK_HDMI_PHY>, <&xin24m>, <&cru DCLK_HDMIPHY>;
298c2ecf20Sopenharmony_ci		clock-names = "sysclk", "refoclk", "refpclk";
308c2ecf20Sopenharmony_ci		#clock-cells = <0>;
318c2ecf20Sopenharmony_ci		clock-output-names = "hdmi_phy";
328c2ecf20Sopenharmony_ci		status = "disabled";
338c2ecf20Sopenharmony_ci	};
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciThen the PHY can be used in other nodes such as:
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci	hdmi: hdmi@200a0000 {
388c2ecf20Sopenharmony_ci		compatible = "rockchip,rk3228-dw-hdmi";
398c2ecf20Sopenharmony_ci		...
408c2ecf20Sopenharmony_ci		phys = <&hdmi_phy>;
418c2ecf20Sopenharmony_ci		phy-names = "hdmi";
428c2ecf20Sopenharmony_ci		...
438c2ecf20Sopenharmony_ci	};
44