Bug fix? (PART 7) A little bit of success here. Penguins and other colors are on the screen. DRM and FB old style seems to work with DVI-D. Pure HDMI and sound not tested. I think 'someone' forgot to add HCLK_HDMI to the pmu node. Added a qos_hdmi idea. Let me know if that's OK? Please advise what for qos_hdmi address I can use here. Kind regards, Johan Jonker
From d4d362ae19566539bf6f011a7a013a0682777afe Mon Sep 17 00:00:00 2001 From: Johan Jonker <jbx9999@xxxxxxxxxxx> Date: Thu, 13 Dec 2018 13:55:21 +0100 Subject: [PATCH] dts: rockchip: rk3066: add qos_hdmi and HCLK_HDMI to pmu node Add qos_hdmi and HCLK_HDMI to pmu node. Signed-off-by: Johan Jonker <jbx9999@xxxxxxxxxxx> --- arch/arm/boot/dts/rk3066a.dtsi | 9 +++++++-- arch/arm/boot/dts/rk3xxx.dtsi | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi index ff7daec6a..190d6b68f 100644 --- a/arch/arm/boot/dts/rk3066a.dtsi +++ b/arch/arm/boot/dts/rk3066a.dtsi @@ -70,6 +70,7 @@ <&cru DCLK_LCDC0>, <&cru HCLK_LCDC0>; clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; + power-domains = <&power RK3066_PD_VIO>; resets = <&cru SRST_LCDC0_AXI>, <&cru SRST_LCDC0_AHB>, <&cru SRST_LCDC0_DCLK>; @@ -94,6 +95,7 @@ <&cru DCLK_LCDC1>, <&cru HCLK_LCDC1>; clock-names = "aclk_vop", "dclk_vop", "hclk_vop"; + power-domains = <&power RK3066_PD_VIO>; resets = <&cru SRST_LCDC1_AXI>, <&cru SRST_LCDC1_AHB>, <&cru SRST_LCDC1_DCLK>; @@ -112,6 +114,7 @@ interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>; clocks = <&cru HCLK_HDMI>; clock-names = "hclk"; + power-domains = <&power RK3066_PD_VIO>; rockchip,grf = <&grf>; pinctrl-names = "default"; pinctrl-0 = <&hdmii2c_xfer>, <&hdmi_hpd>; @@ -753,13 +756,15 @@ <&cru ACLK_IPP>, <&cru HCLK_IPP>, <&cru ACLK_RGA>, - <&cru HCLK_RGA>; + <&cru HCLK_RGA>, + <&cru HCLK_HDMI>; pm_qos = <&qos_lcdc0>, <&qos_lcdc1>, <&qos_cif0>, <&qos_cif1>, <&qos_ipp>, - <&qos_rga>; + <&qos_rga>, + <&qos_hdmi>; }; pd_video@RK3066_PD_VIDEO { diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi index 97307a405..1f9496e81 100644 --- a/arch/arm/boot/dts/rk3xxx.dtsi +++ b/arch/arm/boot/dts/rk3xxx.dtsi @@ -187,6 +187,11 @@ reg = <0x1012f280 0x20>; }; + qos_hdmi: qos@1012f300 { + compatible = "syscon"; + reg = <0x1012f300 0x20>; + }; + usb_otg: usb@10180000 { compatible = "rockchip,rk3066-usb", "snps,dwc2"; reg = <0x10180000 0x40000>; -- 2.11.0
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel