Home
last modified time | relevance | path

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

12

/linux-6.8/drivers/media/i2c/
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 …]
Dov5675.c499 struct clk *xvclk; member
975 /* 512 xvclk cycles after the last SCCB transation or MIPI frame end */ in ov5675_power_off()
982 clk_disable_unprepare(ov5675->xvclk); in ov5675_power_off()
996 ret = clk_prepare_enable(ov5675->xvclk); in ov5675_power_on()
998 dev_err(dev, "failed to enable xvclk: %d\n", ret); in ov5675_power_on()
1006 clk_disable_unprepare(ov5675->xvclk); in ov5675_power_on()
1017 /* 8192 xvclk cycles prior to the first SCCB transation */ 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()
[all …]
Dov2680.c156 struct clk *xvclk; member
515 clk_disable_unprepare(sensor->xvclk); in ov2680_power_off()
544 ret = clk_prepare_enable(sensor->xvclk); in ov2680_power_on()
1065 sensor->xvclk = devm_clk_get_optional(dev, "xvclk"); in ov2680_parse_dt()
1066 if (IS_ERR(sensor->xvclk)) { in ov2680_parse_dt()
1067 ret = dev_err_probe(dev, PTR_ERR(sensor->xvclk), in ov2680_parse_dt()
1068 "xvclk clock missing or invalid\n"); in ov2680_parse_dt()
1083 if (ret && !sensor->xvclk) { in ov2680_parse_dt()
1088 if (!ret && sensor->xvclk) { in ov2680_parse_dt()
1089 ret = clk_set_rate(sensor->xvclk, rate); in ov2680_parse_dt()
[all …]
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 …]
Dov4689.c92 struct clk *xvclk; member
522 ret = clk_prepare_enable(ov4689->xvclk); in ov4689_power_on()
524 dev_err(dev, "Failed to enable xvclk\n"); in ov4689_power_on()
548 clk_disable_unprepare(ov4689->xvclk); in ov4689_power_on()
559 clk_disable_unprepare(ov4689->xvclk); in ov4689_power_off()
887 ov4689->xvclk = devm_clk_get_optional(dev, NULL); in ov4689_probe()
888 if (IS_ERR(ov4689->xvclk)) in ov4689_probe()
889 return dev_err_probe(dev, PTR_ERR(ov4689->xvclk), in ov4689_probe()
892 if (!ov4689->xvclk) { in ov4689_probe()
898 ov4689->clock_rate = clk_get_rate(ov4689->xvclk); in ov4689_probe()
Dov5693.c146 struct clk *xvclk; member
666 clk_disable_unprepare(ov5693->xvclk); in ov5693_sensor_powerdown()
676 ret = clk_prepare_enable(ov5693->xvclk); in ov5693_sensor_powerup()
1297 ov5693->xvclk = devm_clk_get_optional(&client->dev, "xvclk"); in ov5693_probe()
1298 if (IS_ERR(ov5693->xvclk)) in ov5693_probe()
1299 return dev_err_probe(&client->dev, PTR_ERR(ov5693->xvclk), in ov5693_probe()
1300 "failed to get xvclk: %ld\n", in ov5693_probe()
1301 PTR_ERR(ov5693->xvclk)); in ov5693_probe()
1303 if (ov5693->xvclk) { in ov5693_probe()
1304 xvclk_rate = clk_get_rate(ov5693->xvclk); in ov5693_probe()
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()
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 …]
Dov8856.c1421 struct clk *xvclk; member
2075 ret = clk_prepare_enable(ov8856->xvclk); in ov8856_power_on()
2077 dev_err(dev, "failed to enable xvclk\n"); in ov8856_power_on()
2100 clk_disable_unprepare(ov8856->xvclk); in ov8856_power_on()
2116 clk_disable_unprepare(ov8856->xvclk); in ov8856_power_off()
2277 ov8856->xvclk = devm_clk_get(dev, "xvclk"); in ov8856_get_hwcfg()
2278 if (IS_ERR(ov8856->xvclk)) { in ov8856_get_hwcfg()
2279 dev_err(dev, "could not get xvclk clock (%pe)\n", in ov8856_get_hwcfg()
2280 ov8856->xvclk); in ov8856_get_hwcfg()
2281 return PTR_ERR(ov8856->xvclk); in ov8856_get_hwcfg()
[all …]
Dov8858.c107 struct clk *xvclk; member
1627 if (clk_get_rate(ov8858->xvclk) != OV8858_XVCLK_FREQ) in ov8858_power_on()
1628 dev_warn(dev, "xvclk mismatched, modes are based on 24MHz\n"); in ov8858_power_on()
1630 ret = clk_prepare_enable(ov8858->xvclk); in ov8858_power_on()
1632 dev_err(dev, "Failed to enable xvclk\n"); in ov8858_power_on()
1658 clk_disable_unprepare(ov8858->xvclk); in ov8858_power_on()
1666 clk_disable_unprepare(ov8858->xvclk); in ov8858_power_off()
1887 ov8858->xvclk = devm_clk_get(dev, "xvclk"); in ov8858_probe()
1888 if (IS_ERR(ov8858->xvclk)) in ov8858_probe()
1889 return dev_err_probe(dev, PTR_ERR(ov8858->xvclk), in ov8858_probe()
[all …]
/linux-6.8/Documentation/devicetree/bindings/media/i2c/
Dov2640.txt9 - clocks: reference to the xvclk input clock.
10 - clock-names: should be "xvclk".
31 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";
Dovti,ov2685.yaml21 - description: XVCLK clock
25 - const: xvclk
86 clock-names = "xvclk";
Dovti,ov8858.yaml27 description: XVCLK external clock
30 const: xvclk
89 clock-names = "xvclk";
Dov8856.yaml35 - const: xvclk
39 Frequency of the xvclk clock in Hertz.
116 clock-names = "xvclk";
Dovti,ov2680.yaml31 const: xvclk
82 clock-names = "xvclk";
Dovti,ov5693.yaml49 System input clock (aka XVCLK). From 6 to 27 MHz.
53 const: xvclk
Dov9650.txt7 - clocks: reference to the xvclk input clock.
Dovti,ov5648.yaml21 - description: XVCLK Clock
Dovti,ov4689.yaml31 External clock (XVCLK) for the sensor, 6-64 MHz
Dovti,ov5675.yaml34 System input clock (aka XVCLK). From 6 to 27 MHz.
/linux-6.8/arch/arm/boot/dts/microchip/
Dat91sam9g25ek.dts26 clock-names = "xvclk";
/linux-6.8/arch/arm64/boot/dts/qcom/
Dsdm845-db845c-navigation-mezzanine.dts41 clock-names = "xvclk";
/linux-6.8/Documentation/devicetree/bindings/media/
Datmel-isi.txt55 clock-names = "xvclk";

12