/linux/drivers/media/i2c/ |
H A D | ov2685.c | 90 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 D | ov4689.c | 126 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 D | ov2680.c | 155 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 D | ov5675.c | 499 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 D | og01a1b.c | 424 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 D | ov5695.c | 97 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 D | ov5693.c | 145 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 D | ov7740.c | 91 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 D | ov5648.c | 513 * +-< 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 D | ov2640.txt | 9 - clocks: reference to the xvclk input clock. 10 - clock-names: should be "xvclk". 31 clock-names = "xvclk";
|
H A D | ov2659.txt | 11 - clocks: reference to the xvclk input clock. 12 - clock-names: should be "xvclk". 34 clock-names = "xvclk";
|
H A D | ov7740.txt | 14 - clocks: Reference to the xvclk input clock. 15 - clock-names: "xvclk". 35 clock-names = "xvclk";
|
H A D | ovti,ov2685.yaml | 21 - description: XVCLK clock 25 - const: xvclk 86 clock-names = "xvclk";
|
H A D | ovti,ov8858.yaml | 27 description: XVCLK external clock 30 const: xvclk 89 clock-names = "xvclk";
|
H A D | ovti,ov8856.yaml | 35 - const: xvclk 39 Frequency of the xvclk clock in Hertz. 116 clock-names = "xvclk";
|
H A D | ovti,ov2680.yaml | 31 const: xvclk 96 clock-names = "xvclk";
|
H A D | ovti,ov5693.yaml | 49 System input clock (aka XVCLK). From 6 to 27 MHz. 53 const: xvclk
|
H A D | ov9650.txt | 7 - clocks: reference to the xvclk input clock.
|
H A D | ovti,ov4689.yaml | 31 External clock (XVCLK) for the sensor, 6-64 MHz
|
H A D | ovti,ov5675.yaml | 34 System input clock (aka XVCLK). From 6 to 27 MHz.
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91sam9g25ek.dts | 26 clock-names = "xvclk";
|
H A D | sama5d3xmb.dtsi | 64 clock-names = "xvclk";
|
H A D | sama5d3xmb_cmp.dtsi | 63 clock-names = "xvclk";
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | atmel-isi.txt | 55 clock-names = "xvclk";
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | qcom,i2c-cci.yaml | 292 clock-names = "xvclk";
|