Home
last modified time | relevance | path

Searched full:extclk (Results 1 – 25 of 76) sorted by relevance

1234

/linux-6.12.1/drivers/rtc/
Drtc-ftrtc010.c35 struct clk *extclk; member
133 rtc->extclk = devm_clk_get(dev, "EXTCLK"); in ftrtc010_rtc_probe()
134 if (IS_ERR(rtc->extclk)) { in ftrtc010_rtc_probe()
135 dev_err(dev, "could not get EXTCLK\n"); in ftrtc010_rtc_probe()
137 ret = clk_prepare_enable(rtc->extclk); in ftrtc010_rtc_probe()
139 dev_err(dev, "failed to enable EXTCLK\n"); in ftrtc010_rtc_probe()
188 clk_disable_unprepare(rtc->extclk); in ftrtc010_rtc_probe()
198 if (!IS_ERR(rtc->extclk)) in ftrtc010_rtc_remove()
199 clk_disable_unprepare(rtc->extclk); in ftrtc010_rtc_remove()
/linux-6.12.1/sound/soc/kirkwood/
Dkirkwood-i2s.c220 if (IS_ERR(priv->extclk)) { in kirkwood_set_rate()
234 dev_dbg(dai->dev, "%s: extclk set rate = %lu -> %lu\n", in kirkwood_set_rate()
236 clk_set_rate(priv->extclk, 256 * rate); in kirkwood_set_rate()
688 priv->extclk = devm_clk_get(&pdev->dev, "extclk"); in kirkwood_i2s_dev_probe()
689 if (IS_ERR(priv->extclk)) { in kirkwood_i2s_dev_probe()
690 if (PTR_ERR(priv->extclk) == -EPROBE_DEFER) in kirkwood_i2s_dev_probe()
693 if (clk_is_match(priv->extclk, priv->clk)) { in kirkwood_i2s_dev_probe()
694 devm_clk_put(&pdev->dev, priv->extclk); in kirkwood_i2s_dev_probe()
695 priv->extclk = ERR_PTR(-EINVAL); in kirkwood_i2s_dev_probe()
698 clk_prepare_enable(priv->extclk); in kirkwood_i2s_dev_probe()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/timer/
Dfaraday,fttmr010.txt23 - clock-names : should be "EXTCLK" and "PCLK" for the external tick timer
36 clocks = <&extclk>, <&pclk>;
37 clock-names = "EXTCLK", "PCLK";
/linux-6.12.1/Documentation/devicetree/bindings/clock/
Dsunplus,sp7021-clkc.yaml36 extclk: osc0 {
40 clock-output-names = "extclk";
48 clocks = <&extclk>;
Dsamsung,s3c6400-clock.yaml16 - "fin_pll" - PLL input clock (xtal/extclk) - required,
/linux-6.12.1/Documentation/devicetree/bindings/rtc/
Dfaraday,ftrtc010.yaml35 - description: EXTCLK clocks. Faraday calls it CLK1HZ and says the clock
42 - const: EXTCLK
57 clock-names = "PCLK", "EXTCLK";
/linux-6.12.1/Documentation/devicetree/bindings/media/i2c/
Dsamsung,s5k6a3.yaml28 - const: extclk
32 description: extclk clock frequency
85 clock-names = "extclk";
Donnn,ar0521.yaml27 const: extclk
99 clock-names = "extclk";
Dovti,ov8865.yaml21 - description: EXTCLK Clock
/linux-6.12.1/drivers/regulator/
Dmax8649.c54 unsigned extclk:1; member
203 info->extclk = pdata->extclk; in max8649_regulator_probe()
204 data = (info->extclk) ? MAX8649_SYNC_EXTCLK : 0; in max8649_regulator_probe()
207 if (info->extclk) { in max8649_regulator_probe()
/linux-6.12.1/sound/soc/pxa/
Dpxa-ssp.c40 struct clk *extclk; member
86 clk_prepare_enable(priv->extclk); in pxa_ssp_startup()
110 clk_disable_unprepare(priv->extclk); in pxa_ssp_shutdown()
193 if (priv->extclk) { in pxa_ssp_set_dai_sysclk()
197 * For DT based boards, if an extclk is given, use it in pxa_ssp_set_dai_sysclk()
201 ret = clk_set_rate(priv->extclk, freq); in pxa_ssp_set_dai_sysclk()
772 priv->extclk = devm_clk_get(dev, "extclk"); in pxa_ssp_probe()
773 if (IS_ERR(priv->extclk)) { in pxa_ssp_probe()
774 ret = PTR_ERR(priv->extclk); in pxa_ssp_probe()
778 priv->extclk = NULL; in pxa_ssp_probe()
/linux-6.12.1/drivers/mfd/
Dwcd934x.c229 ddata->extclk = devm_clk_get(dev, "extclk"); in wcd934x_slim_probe()
230 if (IS_ERR(ddata->extclk)) in wcd934x_slim_probe()
231 return dev_err_probe(dev, PTR_ERR(ddata->extclk), in wcd934x_slim_probe()
232 "Failed to get extclk"); in wcd934x_slim_probe()
/linux-6.12.1/include/linux/mfd/wcd934x/
Dwcd934x.h18 * @extclk: External clock
26 struct clk *extclk; member
/linux-6.12.1/drivers/media/i2c/
Dar0521.c16 /* External clock (extclk) frequencies */
117 struct clk *extclk; member
859 clk_disable_unprepare(sensor->extclk); in ar0521_power_off()
881 ret = clk_prepare_enable(sensor->extclk); in ar0521_power_on()
920 clk_disable_unprepare(sensor->extclk); in ar0521_power_on()
1079 /* Get master clock (extclk) */ in ar0521_probe()
1080 sensor->extclk = devm_clk_get(dev, "extclk"); in ar0521_probe()
1081 if (IS_ERR(sensor->extclk)) { in ar0521_probe()
1082 dev_err(dev, "failed to get extclk\n"); in ar0521_probe()
1083 return PTR_ERR(sensor->extclk); in ar0521_probe()
[all …]
Dov8865.c485 * +-< EXTCLK
533 * +-< EXTCLK
697 struct clk *extclk; member
2427 ret = clk_prepare_enable(sensor->extclk); in ov8865_sensor_power()
2429 dev_err(sensor->dev, "failed to enable EXTCLK clock\n"); in ov8865_sensor_power()
2442 clk_disable_unprepare(sensor->extclk); in ov8865_sensor_power()
3022 sensor->extclk = devm_clk_get(dev, NULL); in ov8865_probe()
3023 if (PTR_ERR(sensor->extclk) == -ENOENT) { in ov8865_probe()
3025 sensor->extclk = NULL; in ov8865_probe()
3026 } else if (IS_ERR(sensor->extclk)) { in ov8865_probe()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/
Dmarvell,dove-pinctrl.txt33 mpp12 12 gpio, pmu, uart2(rts), audio0(extclk), sdio1(cd),
35 mpp13 13 gpio, pmu, uart2(cts), audio1(extclk), sdio1(wp),
36 ssp(extclk), pmu*
Dmarvell,kirkwood-pinctrl.txt56 mpp44 44 gpio, audio(extclk)
142 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk)
191 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk)
207 mpp44 44 gpio, ts(mp8), tdm(rst), audio(extclk)
239 sata1(act), lcd(extclk)
259 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk),
277 mpp44 44 gpio, ts(mp8), tdm(rst), audio(extclk), lcd(clk)
Dmarvell,armada-370-pinctrl.txt37 mpp16 16 gpio, ge0(rxclk), uart1(rxd), tdm(int), audio(extclk)
86 mpp58 58 gpio, dev(cs0), uart1(rts), tdm(int), audio(extclk),
/linux-6.12.1/arch/arm/boot/dts/sunplus/
Dsunplus-sp7021.dtsi21 extclk: osc0 { label
25 clock-output-names = "extclk";
41 clocks = <&extclk>;
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dqcom,wcd934x.yaml39 const: extclk
225 clock-names = "extclk";
Dmrvl,pxa-ssp.txt12 can be configured. If a clock names "extclk" exists,
Dmvebu-audio.txt29 "extclk" for the external clock
/linux-6.12.1/include/linux/regulator/
Dmax8649.h36 unsigned extclk:1; member
/linux-6.12.1/drivers/hwmon/
Dltc2947-core.c963 struct clk *extclk; in ltc2947_setup() local
986 extclk = devm_clk_get_optional_enabled(st->dev, NULL); in ltc2947_setup()
987 if (IS_ERR(extclk)) in ltc2947_setup()
988 return dev_err_probe(st->dev, PTR_ERR(extclk), in ltc2947_setup()
991 if (extclk) { in ltc2947_setup()
997 rate_hz = clk_get_rate(extclk); in ltc2947_setup()
/linux-6.12.1/Documentation/devicetree/bindings/net/bluetooth/
Damlogic,w155s2-bt.yaml58 clocks = <&extclk>;

1234