Home
last modified time | relevance | path

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

12

/linux/drivers/media/i2c/
H A Dov2685.c90 struct clk *xvclk; member
109 /* PLL settings bases on 24M xvclk */
457 ret = clk_prepare_enable(ov2685->xvclk); in __ov2685_power_on()
459 dev_err(dev, "Failed to enable xvclk\n"); in __ov2685_power_on()
473 /* 8192 xvclk cycles prior to the first SCCB transaction */ in __ov2685_power_on()
491 clk_disable_unprepare(ov2685->xvclk); in __ov2685_power_on()
498 /* 512 xvclk cycles after the last SCCB transaction or MIPI frame end */ in __ov2685_power_off()
502 clk_disable_unprepare(ov2685->xvclk); in __ov2685_power_off()
786 ov2685->xvclk = devm_clk_get(dev, "xvclk"); in ov2685_probe()
787 if (IS_ERR(ov2685->xvclk)) { in ov2685_probe()
[all …]
H A Dov4689.c126 struct clk *xvclk; member
524 ret = clk_prepare_enable(ov4689->xvclk); in ov4689_power_on()
526 dev_err(dev, "Failed to enable xvclk\n"); in ov4689_power_on()
550 clk_disable_unprepare(ov4689->xvclk); in ov4689_power_on()
561 clk_disable_unprepare(ov4689->xvclk); in ov4689_power_off()
912 ov4689->xvclk = devm_clk_get_optional(dev, NULL); in ov4689_probe()
913 if (IS_ERR(ov4689->xvclk)) in ov4689_probe()
914 return dev_err_probe(dev, PTR_ERR(ov4689->xvclk), in ov4689_probe()
917 if (!ov4689->xvclk) { in ov4689_probe()
923 ov4689->clock_rate = clk_get_rate(ov4689->xvclk); in ov4689_probe()
H A Dov2680.c155 struct clk *xvclk; member
518 clk_disable_unprepare(sensor->xvclk); in ov2680_power_off()
547 ret = clk_prepare_enable(sensor->xvclk); in ov2680_power_on()
1117 sensor->xvclk = devm_clk_get_optional(dev, "xvclk"); in ov2680_parse_dt()
1118 if (IS_ERR(sensor->xvclk)) { in ov2680_parse_dt()
1119 ret = dev_err_probe(dev, PTR_ERR(sensor->xvclk), in ov2680_parse_dt()
1120 "xvclk clock missing or invalid\n"); in ov2680_parse_dt()
1135 if (ret && !sensor->xvclk) { in ov2680_parse_dt()
1140 if (!ret && sensor->xvclk) { in ov2680_parse_dt()
1141 ret = clk_set_rate(sensor->xvclk, rate); in ov2680_parse_dt()
[all …]
H A Dov5675.c499 struct clk *xvclk; member
980 clk_disable_unprepare(ov5675->xvclk); in ov5675_power_off()
993 ret = clk_prepare_enable(ov5675->xvclk); in ov5675_power_on()
995 dev_err(dev, "failed to enable xvclk: %d\n", ret); in ov5675_power_on()
1003 clk_disable_unprepare(ov5675->xvclk); in ov5675_power_on()
1014 /* Worst case quiesence gap is 1.365 milliseconds @ 6MHz XVCLK in ov5675_power_on()
1188 ov5675->xvclk = devm_clk_get_optional(dev, NULL); in ov5675_get_hwcfg()
1189 if (IS_ERR(ov5675->xvclk)) in ov5675_get_hwcfg()
1190 return dev_err_probe(dev, PTR_ERR(ov5675->xvclk), in ov5675_get_hwcfg()
1191 "failed to get xvclk: %ld\n", in ov5675_get_hwcfg()
[all …]
H A Dog01a1b.c424 struct clk *xvclk; member
928 if (!og01a1b->xvclk) { in og01a1b_check_hwcfg()
933 mclk = clk_get_rate(og01a1b->xvclk); in og01a1b_check_hwcfg()
1010 ret = clk_prepare_enable(og01a1b->xvclk); in og01a1b_power_on()
1018 else if (og01a1b->xvclk) in og01a1b_power_on()
1042 if (og01a1b->xvclk) in og01a1b_power_off()
1045 clk_disable_unprepare(og01a1b->xvclk); in og01a1b_power_off()
1084 og01a1b->xvclk = devm_clk_get_optional(&client->dev, NULL); in og01a1b_probe()
1085 if (IS_ERR(og01a1b->xvclk)) { in og01a1b_probe()
1086 ret = PTR_ERR(og01a1b->xvclk); in og01a1b_probe()
[all …]
H A Dov5695.c97 struct clk *xvclk; member
965 ret = clk_prepare_enable(ov5695->xvclk); in __ov5695_power_on()
967 dev_err(dev, "Failed to enable xvclk\n"); in __ov5695_power_on()
995 clk_disable_unprepare(ov5695->xvclk); in __ov5695_power_on()
1005 clk_disable_unprepare(ov5695->xvclk); in __ov5695_power_off()
1267 ov5695->xvclk = devm_clk_get(dev, "xvclk"); in ov5695_probe()
1268 if (IS_ERR(ov5695->xvclk)) { in ov5695_probe()
1269 dev_err(dev, "Failed to get xvclk\n"); in ov5695_probe()
1272 ret = clk_set_rate(ov5695->xvclk, OV5695_XVCLK_FREQ); in ov5695_probe()
1274 dev_err(dev, "Failed to set xvclk rate (24MHz)\n"); in ov5695_probe()
[all …]
H A Dov5693.c145 struct clk *xvclk; member
664 clk_disable_unprepare(ov5693->xvclk); in ov5693_sensor_powerdown()
674 ret = clk_prepare_enable(ov5693->xvclk); in ov5693_sensor_powerup()
1287 ov5693->xvclk = devm_clk_get_optional(&client->dev, "xvclk"); in ov5693_probe()
1288 if (IS_ERR(ov5693->xvclk)) in ov5693_probe()
1289 return dev_err_probe(&client->dev, PTR_ERR(ov5693->xvclk), in ov5693_probe()
1290 "failed to get xvclk: %ld\n", in ov5693_probe()
1291 PTR_ERR(ov5693->xvclk)); in ov5693_probe()
1293 if (ov5693->xvclk) { in ov5693_probe()
1294 xvclk_rate = clk_get_rate(ov5693->xvclk); in ov5693_probe()
H A Dov7740.c91 struct clk *xvclk; member
299 ret = clk_prepare_enable(ov7740->xvclk); in ov7740_set_power()
313 clk_disable_unprepare(ov7740->xvclk); in ov7740_set_power()
1039 ov7740->xvclk = devm_clk_get(&client->dev, "xvclk"); in ov7740_probe()
1040 if (IS_ERR(ov7740->xvclk)) { in ov7740_probe()
1041 ret = PTR_ERR(ov7740->xvclk); in ov7740_probe()
1043 "OV7740: fail to get xvclk: %d\n", ret); in ov7740_probe()
H A 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 …]
/linux/Documentation/devicetree/bindings/media/i2c/
H A Dov2640.txt9 - clocks: reference to the xvclk input clock.
10 - clock-names: should be "xvclk".
31 clock-names = "xvclk";
H A Dov2659.txt11 - clocks: reference to the xvclk input clock.
12 - clock-names: should be "xvclk".
34 clock-names = "xvclk";
H A Dov7740.txt14 - clocks: Reference to the xvclk input clock.
15 - clock-names: "xvclk".
35 clock-names = "xvclk";
H A Dovti,ov2685.yaml21 - description: XVCLK clock
25 - const: xvclk
86 clock-names = "xvclk";
H A Dovti,ov8858.yaml27 description: XVCLK external clock
30 const: xvclk
89 clock-names = "xvclk";
H A Dovti,ov8856.yaml35 - const: xvclk
39 Frequency of the xvclk clock in Hertz.
116 clock-names = "xvclk";
H A Dovti,ov2680.yaml31 const: xvclk
96 clock-names = "xvclk";
H A Dovti,ov5693.yaml49 System input clock (aka XVCLK). From 6 to 27 MHz.
53 const: xvclk
H A Dov9650.txt7 - clocks: reference to the xvclk input clock.
H A Dovti,ov4689.yaml31 External clock (XVCLK) for the sensor, 6-64 MHz
H A Dovti,ov5675.yaml34 System input clock (aka XVCLK). From 6 to 27 MHz.
/linux/arch/arm/boot/dts/microchip/
H A Dat91sam9g25ek.dts26 clock-names = "xvclk";
H A Dsama5d3xmb.dtsi64 clock-names = "xvclk";
H A Dsama5d3xmb_cmp.dtsi63 clock-names = "xvclk";
/linux/Documentation/devicetree/bindings/media/
H A Datmel-isi.txt55 clock-names = "xvclk";
/linux/Documentation/devicetree/bindings/i2c/
H A Dqcom,i2c-cci.yaml292 clock-names = "xvclk";

12