Lines Matching full:xvclk
90 struct clk *xvclk; member
110 /* PLL settings bases on 24M xvclk */
458 ret = clk_prepare_enable(ov2685->xvclk); in __ov2685_power_on()
460 dev_err(dev, "Failed to enable xvclk\n"); in __ov2685_power_on()
474 /* 8192 xvclk cycles prior to the first SCCB transaction */ in __ov2685_power_on()
492 clk_disable_unprepare(ov2685->xvclk); in __ov2685_power_on()
499 /* 512 xvclk cycles after the last SCCB transaction or MIPI frame end */ in __ov2685_power_off()
503 clk_disable_unprepare(ov2685->xvclk); in __ov2685_power_off()
797 ov2685->xvclk = devm_clk_get(dev, "xvclk"); in ov2685_probe()
798 if (IS_ERR(ov2685->xvclk)) { in ov2685_probe()
799 dev_err(dev, "Failed to get xvclk\n"); in ov2685_probe()
802 ret = clk_set_rate(ov2685->xvclk, OV2685_XVCLK_FREQ); in ov2685_probe()
804 dev_err(dev, "Failed to set xvclk rate (24MHz)\n"); in ov2685_probe()
807 if (clk_get_rate(ov2685->xvclk) != OV2685_XVCLK_FREQ) in ov2685_probe()
808 dev_warn(dev, "xvclk mismatched, modes are based on 24MHz\n"); in ov2685_probe()