sclk_sata, sclk_uart0, sclk_uart1, sclk_uart2, sclk_uart3, sclk_uart4,
        sclk_audio1, sclk_audio2, sclk_spdif, sclk_spi0, sclk_spi1, sclk_spi2,
        sclk_slimbus, sclk_fimd1, sclk_mipi1, sclk_pcm1, sclk_pcm2, sclk_i2s1,
-       sclk_i2s2, sclk_mipihsi, sclk_mfc, sclk_pcm0,
+       sclk_i2s2, sclk_mipihsi, sclk_mfc, sclk_pcm0, sclk_g3d,
 
        /* gate clocks */
        fimc0 = 256, fimc1, fimc2, fimc3, csis0, csis1, jpeg, smmu_fimc0,
 
        /* mux clocks */
        mout_fimc0 = 384, mout_fimc1, mout_fimc2, mout_fimc3, mout_cam0,
-       mout_cam1, mout_csis0, mout_csis1,
+       mout_cam1, mout_csis0, mout_csis1, mout_g3d0, mout_g3d1, mout_g3d,
 
        nr_clks,
 };
        MUX(none, "mout_hdmi", mout_hdmi_p, SRC_TV, 0, 1),
        MUX(none, "mout_mfc1", sclk_evpll_p, SRC_MFC, 4, 1),
        MUX(none, "mout_mfc", mout_mfc_p, SRC_MFC, 8, 1),
-       MUX(none, "mout_g3d1", sclk_evpll_p, SRC_G3D, 4, 1),
-       MUX(none, "mout_g3d", mout_g3d_p, SRC_G3D, 8, 1),
+       MUX_F(mout_g3d1, "mout_g3d1", sclk_evpll_p, SRC_G3D, 4, 1,
+                       CLK_SET_RATE_PARENT, 0),
+       MUX_F(mout_g3d, "mout_g3d", mout_g3d_p, SRC_G3D, 8, 1,
+                       CLK_SET_RATE_PARENT, 0),
        MUX(none, "mout_spdif", mout_spdif_p, SRC_PERIL1, 8, 2),
        MUX_A(sclk_epll, "sclk_epll", mout_epll_p, SRC_TOP0, 4, 1, "sclk_epll"),
 };
        MUX(mout_csis0, "mout_csis0", group1_p4210, SRC_CAM, 24, 4),
        MUX(mout_csis1, "mout_csis1", group1_p4210, SRC_CAM, 28, 4),
        MUX(none, "mout_mfc0", sclk_ampll_p4210, SRC_MFC, 0, 1),
-       MUX(none, "mout_g3d0", sclk_ampll_p4210, SRC_G3D, 0, 1),
+       MUX_F(mout_g3d0, "mout_g3d0", sclk_ampll_p4210, SRC_G3D, 0, 1,
+                       CLK_SET_RATE_PARENT, 0),
        MUX(none, "mout_fimd0", group1_p4210, SRC_LCD0, 0, 4),
        MUX(none, "mout_mipi0", group1_p4210, SRC_LCD0, 12, 4),
        MUX(none, "mout_audio0", mout_audio0_p4210, SRC_MAUDIO, 0, 4),
        MUX(mout_csis0, "mout_csis0", group1_p4x12, SRC_CAM, 24, 4),
        MUX(mout_csis1, "mout_csis1", group1_p4x12, SRC_CAM, 28, 4),
        MUX(none, "mout_mfc0", sclk_ampll_p4x12, SRC_MFC, 0, 1),
-       MUX(none, "mout_g3d0", sclk_ampll_p4x12, SRC_G3D, 0, 1),
+       MUX_F(mout_g3d0, "mout_g3d0", sclk_ampll_p4x12, SRC_G3D, 0, 1,
+                       CLK_SET_RATE_PARENT, 0),
        MUX(none, "mout_fimd0", group1_p4x12, SRC_LCD0, 0, 4),
        MUX(none, "mout_mipi0", group1_p4x12, SRC_LCD0, 12, 4),
        MUX(none, "mout_audio0", mout_audio0_p4x12, SRC_MAUDIO, 0, 4),
        DIV(none, "div_csis0", "mout_csis0", DIV_CAM, 24, 4),
        DIV(none, "div_csis1", "mout_csis1", DIV_CAM, 28, 4),
        DIV(sclk_mfc, "sclk_mfc", "mout_mfc", DIV_MFC, 0, 4),
-       DIV(none, "div_g3d", "mout_g3d", DIV_G3D, 0, 4),
+       DIV_F(none, "div_g3d", "mout_g3d", DIV_G3D, 0, 4,
+                       CLK_SET_RATE_PARENT, 0),
        DIV(none, "div_fimd0", "mout_fimd0", DIV_LCD0, 0, 4),
        DIV(none, "div_mipi0", "mout_mipi0", DIV_LCD0, 16, 4),
        DIV(none, "div_audio0", "mout_audio0", DIV_MAUDIO, 0, 4),
        GATE(smmu_fimd1, "smmu_fimd1", "aclk160", GATE_IP_LCD1, 4, 0, 0),
        GATE(tsi, "tsi", "aclk133", GATE_IP_FSYS, 4, 0, 0),
        GATE(sromc, "sromc", "aclk133", GATE_IP_FSYS, 11, 0, 0),
-       GATE(g3d, "g3d", "aclk200", GATE_IP_G3D, 0, 0, 0),
+       GATE(sclk_g3d, "sclk_g3d", "div_g3d", GATE_IP_G3D, 0,
+                       CLK_SET_RATE_PARENT, 0),
        GATE(usb_device, "usb_device", "aclk133", GATE_IP_FSYS, 13, 0, 0),
        GATE(onenand, "onenand", "aclk133", GATE_IP_FSYS, 15, 0, 0),
        GATE(nfcon, "nfcon", "aclk133", GATE_IP_FSYS, 16, 0, 0),