Home
last modified time | relevance | path

Searched full:xvclk (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v6.1/drivers/media/i2c/
Dov2685.c85 struct clk *xvclk; member
105 /* PLL settings bases on 24M xvclk */
398 ret = clk_prepare_enable(ov2685->xvclk); in __ov2685_power_on()
400 dev_err(dev, "Failed to enable xvclk\n"); in __ov2685_power_on()
414 /* 8192 xvclk cycles prior to the first SCCB transaction */ in __ov2685_power_on()
430 clk_disable_unprepare(ov2685->xvclk); in __ov2685_power_on()
437 /* 512 xvclk cycles after the last SCCB transaction or MIPI frame end */ in __ov2685_power_off()
441 clk_disable_unprepare(ov2685->xvclk); in __ov2685_power_off()
724 ov2685->xvclk = devm_clk_get(dev, "xvclk"); in ov2685_probe()
725 if (IS_ERR(ov2685->xvclk)) { in ov2685_probe()
[all …]
Dov2680.c107 struct clk *xvclk; member
533 clk_disable_unprepare(sensor->xvclk); in ov2680_power_off()
567 ret = clk_prepare_enable(sensor->xvclk); in ov2680_power_on()
1037 sensor->xvclk = devm_clk_get(dev, "xvclk"); in ov2680_parse_dt()
1038 if (IS_ERR(sensor->xvclk)) { in ov2680_parse_dt()
1039 dev_err(dev, "xvclk clock missing or invalid\n"); in ov2680_parse_dt()
1040 return PTR_ERR(sensor->xvclk); in ov2680_parse_dt()
1043 sensor->xvclk_freq = clk_get_rate(sensor->xvclk); in ov2680_parse_dt()
1045 dev_err(dev, "wrong xvclk frequency %d HZ, expected: %d Hz\n", in ov2680_parse_dt()
Dov5695.c97 struct clk *xvclk; member
978 ret = clk_prepare_enable(ov5695->xvclk); in __ov5695_power_on()
980 dev_err(dev, "Failed to enable xvclk\n"); in __ov5695_power_on()
1008 clk_disable_unprepare(ov5695->xvclk); in __ov5695_power_on()
1018 clk_disable_unprepare(ov5695->xvclk); in __ov5695_power_off()
1285 ov5695->xvclk = devm_clk_get(dev, "xvclk"); in ov5695_probe()
1286 if (IS_ERR(ov5695->xvclk)) { in ov5695_probe()
1287 dev_err(dev, "Failed to get xvclk\n"); in ov5695_probe()
1290 ret = clk_set_rate(ov5695->xvclk, OV5695_XVCLK_FREQ); in ov5695_probe()
1292 dev_err(dev, "Failed to set xvclk rate (24MHz)\n"); in ov5695_probe()
[all …]
Dov5693.c160 struct clk *xvclk; member
797 clk_disable_unprepare(ov5693->xvclk); in ov5693_sensor_powerdown()
807 ret = clk_prepare_enable(ov5693->xvclk); in ov5693_sensor_powerup()
1411 ov5693->xvclk = devm_clk_get_optional(&client->dev, "xvclk"); in ov5693_probe()
1412 if (IS_ERR(ov5693->xvclk)) in ov5693_probe()
1413 return dev_err_probe(&client->dev, PTR_ERR(ov5693->xvclk), in ov5693_probe()
1414 "failed to get xvclk: %ld\n", in ov5693_probe()
1415 PTR_ERR(ov5693->xvclk)); in ov5693_probe()
1417 if (ov5693->xvclk) { in ov5693_probe()
1418 xvclk_rate = clk_get_rate(ov5693->xvclk); in ov5693_probe()
Dov5648.c513 * +-< XVCLK
554 * +-< XVCLK
652 struct clk *xvclk; member
667 * XVCLK = 24 MHz
681 * XVCLK = 24 MHz
695 * XVCLK = 24 MHz
1226 xvclk_rate = clk_get_rate(sensor->xvclk); in ov5648_mode_pll1_rate()
1872 * - XVCLK must be provided 1 ms before register access; in ov5648_sensor_power()
1907 ret = clk_prepare_enable(sensor->xvclk); in ov5648_sensor_power()
1909 dev_err(sensor->dev, "failed to enable XVCLK clock\n"); in ov5648_sensor_power()
[all …]
Dov7740.c93 struct clk *xvclk; member
302 ret = clk_prepare_enable(ov7740->xvclk); in ov7740_set_power()
316 clk_disable_unprepare(ov7740->xvclk); in ov7740_set_power()
1074 ov7740->xvclk = devm_clk_get(&client->dev, "xvclk"); in ov7740_probe()
1075 if (IS_ERR(ov7740->xvclk)) { in ov7740_probe()
1076 ret = PTR_ERR(ov7740->xvclk); in ov7740_probe()
1078 "OV7740: fail to get xvclk: %d\n", ret); in ov7740_probe()
Dov8856.c1421 struct clk *xvclk; member
2121 ret = clk_prepare_enable(ov8856->xvclk); in __ov8856_power_on()
2123 dev_err(&client->dev, "failed to enable xvclk\n"); in __ov8856_power_on()
2146 clk_disable_unprepare(ov8856->xvclk); in __ov8856_power_on()
2161 clk_disable_unprepare(ov8856->xvclk); in __ov8856_power_off()
2360 ov8856->xvclk = devm_clk_get(dev, "xvclk"); in ov8856_get_hwcfg()
2361 if (IS_ERR(ov8856->xvclk)) { in ov8856_get_hwcfg()
2362 dev_err(dev, "could not get xvclk clock (%pe)\n", in ov8856_get_hwcfg()
2363 ov8856->xvclk); in ov8856_get_hwcfg()
2364 return PTR_ERR(ov8856->xvclk); in ov8856_get_hwcfg()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/media/i2c/
Dov2685.txt5 - clocks: reference to the xvclk input clock
6 - clock-names: shall be "xvclk"
27 clock-names = "xvclk";
Dov2640.txt9 - clocks: reference to the xvclk input clock.
10 - clock-names: should be "xvclk".
31 clock-names = "xvclk";
Dov5695.txt5 - clocks: reference to the xvclk input clock
6 - clock-names: shall be "xvclk"
27 clock-names = "xvclk";
Dov2659.txt11 - clocks: reference to the xvclk input clock.
12 - clock-names: should be "xvclk".
34 clock-names = "xvclk";
Dov7740.txt14 - clocks: Reference to the xvclk input clock.
15 - clock-names: "xvclk".
35 clock-names = "xvclk";
Dov8856.yaml35 - const: xvclk
39 Frequency of the xvclk clock in Hertz.
118 clock-names = "xvclk";
Dovti,ov2680.yaml31 const: xvclk
82 clock-names = "xvclk";
Dov9650.txt7 - clocks: reference to the xvclk input clock.
Dovti,ov5648.yaml21 - description: XVCLK Clock
Dovti,ov5693.yaml34 System input clock (aka XVCLK). From 6 to 27 MHz.
/Linux-v6.1/arch/arm/boot/dts/
Dat91sam9g25ek.dts26 clock-names = "xvclk";
Dsama5d3xmb.dtsi64 clock-names = "xvclk";
Dsama5d3xmb_cmp.dtsi63 clock-names = "xvclk";
Dstm32429i-eval.dts209 clock-names = "xvclk";
Dat91sam9m10g45ek.dts76 clock-names = "xvclk";
/Linux-v6.1/Documentation/devicetree/bindings/media/
Datmel-isi.txt55 clock-names = "xvclk";
/Linux-v6.1/Documentation/devicetree/bindings/i2c/
Dqcom,i2c-cci.yaml216 clock-names = "xvclk";
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
Drk3399-gru-scarlet.dtsi310 clock-names = "xvclk";
333 clock-names = "xvclk";

12