Home
last modified time | relevance | path

Searched full:clkout (Results 1 – 25 of 186) sorted by relevance

12345678

/openbmc/linux/drivers/clk/samsung/
H A Dclk-exynos-clkout.c110 struct exynos_clkout *clkout; in exynos_clkout_probe() local
114 clkout = devm_kzalloc(&pdev->dev, in exynos_clkout_probe()
115 struct_size(clkout, data.hws, EXYNOS_CLKOUT_NR_CLKS), in exynos_clkout_probe()
117 if (!clkout) in exynos_clkout_probe()
124 clkout->np = pdev->dev.of_node; in exynos_clkout_probe()
125 if (!clkout->np) { in exynos_clkout_probe()
130 clkout->np = pdev->dev.parent->of_node; in exynos_clkout_probe()
133 platform_set_drvdata(pdev, clkout); in exynos_clkout_probe()
135 spin_lock_init(&clkout->slock); in exynos_clkout_probe()
141 snprintf(name, sizeof(name), "clkout%d", i); in exynos_clkout_probe()
[all …]
/openbmc/linux/include/linux/platform_data/
H A Dsi5351.h36 * @SI5351_CLKOUT_SRC_MSYNTH_N: clkout N source clock is multisynth N
37 * @SI5351_CLKOUT_SRC_MSYNTH_0_4: clkout N source clock is multisynth 0 (N<4)
39 * @SI5351_CLKOUT_SRC_XTAL: clkout N source clock is XTAL
40 * @SI5351_CLKOUT_SRC_CLKIN: clkout N source clock is CLKIN (Si5351C only)
85 * @clkout: clkout number
87 * @clkout_src: clkout source clock
88 * @pll_master: if true, clkout can also change pll rate
89 * @pll_reset: if true, clkout can reset its pll
91 * @rate: initial clkout rate, or default if 0
108 * @clkout: array of clkout configuration
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-lmk04832.c188 * @num_channels: Number of available output channels (clkout count)
247 * Each pair of clkout clocks share a single device clock (DCLKX_Y)
248 * @clkout: list of output clock references
249 * @clk_data: holds clkout related data like clk_hw* and number of clocks
268 struct lmk_clkout *clkout; member
703 dev_dbg(lmk->dev, "clkout%02u: sysref_ddly=%u, dclkx_y_ddly=%u, " in lmk04832_clkout_set_ddly()
1167 struct lmk_clkout *clkout = container_of(hw, struct lmk_clkout, hw); in lmk04832_clkout_is_enabled() local
1168 struct lmk04832 *lmk = clkout->lmk; in lmk04832_clkout_is_enabled()
1176 ret = regmap_read(lmk->regmap, LMK04832_REG_CLKOUT_CTRL2(clkout->id), in lmk04832_clkout_is_enabled()
1183 ret = regmap_read(lmk->regmap, LMK04832_REG_CLKOUT_SRC_MUX(clkout->id), in lmk04832_clkout_is_enabled()
[all …]
H A Dclk-si5351.c63 struct si5351_hw_data *clkout; member
802 * Si5351 clkout divider
929 __func__, clk_hw_get_name(&drvdata->clkout[num].hw), in _si5351_clkout_reset_pll()
947 if (pdata->clkout[hwdata->num].pll_reset) in si5351_clkout_prepare()
1052 /* clkout freqency is 8kHz - 160MHz */ in si5351_clkout_determine_rate()
1134 /* powerup clkout */ in si5351_clkout_set_rate()
1225 /* per clkout properties */ in si5351_dt_parse()
1235 dev_err(&client->dev, "invalid clkout %d\n", num); in si5351_dt_parse()
1243 pdata->clkout[num].multisynth_src = in si5351_dt_parse()
1247 pdata->clkout[num].multisynth_src = in si5351_dt_parse()
[all …]
H A Dclk-rk808.c3 * Clkout driver for Rockchip RK808
200 .name = "rk808-clkout",
206 MODULE_DESCRIPTION("Clkout driver for the rk808 series PMICs");
209 MODULE_ALIAS("platform:rk808-clkout");
H A Dclk-lochnagar.c53 LN_PARENT("ln-cdc-clkout"),
54 LN_PARENT("ln-dsp-clkout"),
64 LN_PARENT("ln-cdc-clkout"),
65 LN_PARENT("ln-dsp-clkout"),
79 LN_PARENT("ln-spdif-clkout"),
H A Dclk-cdce706.c85 struct cdce706_hw_data clkout[6]; member
603 for (i = 0; i < ARRAY_SIZE(cdce->clkout); ++i) { in cdce706_register_clkouts()
609 cdce->clkout[i].parent = val & CDCE706_CLKOUT_DIVIDER_MASK; in cdce706_register_clkouts()
612 cdce->clkout[i].parent); in cdce706_register_clkouts()
615 return cdce706_register_hw(cdce, cdce->clkout, in cdce706_register_clkouts()
616 ARRAY_SIZE(cdce->clkout), in cdce706_register_clkouts()
626 if (idx >= ARRAY_SIZE(cdce->clkout)) { in of_clk_cdce_get()
631 return &cdce->clkout[idx].hw; in of_clk_cdce_get()
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Ddm814x-clocks.dtsi6 * "2.6.11 Connected Outputs of DPLLJ". Only clkout is
16 "481c5040.adpll.clkout",
28 "481c5080.adpll.clkout",
39 "481c50b0.adpll.clkout",
50 "481c50e0.adpll.clkout",
61 "481c5110.adpll.clkout",
72 "481c5140.adpll.clkout",
83 "481c5170.adpll.clkout",
94 "481c51a0.adpll.clkout",
105 "481c51d0.adpll.clkout",
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Drealtek,rtl82xx.yaml21 realtek,clkout-disable:
24 Disable CLKOUT clock, CLKOUT clock default is enabled after hardware reset.
42 realtek,clkout-disable;
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Dst,stm32-dfsdm-adc.yaml38 dfsdm clock can also feed CLKOUT, when CLKOUT is used.
39 - description: audio clock can be used as an alternate to feed CLKOUT.
59 If not, SPI CLKOUT frequency will not be accurate.
132 - "CLKOUT": internal SPI clock (CLKOUT) (default)
136 enum: [ CLKIN, CLKOUT, CLKOUT_F, CLKOUT_R ]
303 st,adc-channel-clk-src = "CLKOUT";
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_pll.c42 unsigned long fint, clkdco, clkout; in hdmi_pll_compute() local
79 clkout = clkdco / m2; in hdmi_pll_compute()
86 DSSDBG("Fint %lu, clkdco %lu, clkout %lu\n", fint, clkdco, clkout); in hdmi_pll_compute()
96 pi->clkout[0] = clkout; in hdmi_pll_compute()
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dti,lmk04832.yaml108 ti,clkout-fmt:
132 ti,clkout-sysref:
200 ti,clkout-fmt = <0x01>; // LVDS
205 ti,clkout-fmt = <0x01>; // LVDS
206 ti,clkout-sysref;
H A Dcirrus,lochnagar.yaml48 - ln-cdc-clkout # Output clock from CODEC card.
49 - ln-dsp-clkout # Output clock from DSP card.
57 - ln-spdif-clkout # Optional input clock from SPDIF.
H A Dstericsson,u8500-clks.yaml112 clkout-clock:
144 #include <dt-bindings/clock/ste-db8500-clkout.h>
175 clkout_clk: clkout-clock {
H A Dbaikal,bt1-ccu-pll.yaml60 +---+ +->+---+ +---+ /->+---+ | |--->CLKOUT
71 divider, NF - PLL clock multiplier, OD - VCO output clock divider, CLKOUT -
77 The PLLs CLKOUT is then either directly connected with the corresponding
/openbmc/linux/Documentation/devicetree/bindings/net/can/
H A Dcc770.txt24 - bosch,clock-out-frequency : slock frequency in Hz on the CLKOUT pin.
25 If not specified or if the specified value is 0, the CLKOUT pin
28 - bosch,slew-rate : slew rate of the CLKOUT signal. If not specified,
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dpll.c266 * for clkout. Additionally clkdco rate will be the same as clkout rate
267 * when clkout rate is >= min_clkdco.
270 * clkout = clkdco / m2
275 unsigned long fint, clkdco, clkout; in dss_pll_calc_b() local
281 DSSDBG("clkin %lu, target clkout %lu\n", clkin, target_clkout); in dss_pll_calc_b()
307 clkout = clkdco / m2; in dss_pll_calc_b()
314 DSSDBG("Fint %lu, clkdco %lu, clkout %lu\n", fint, clkdco, clkout); in dss_pll_calc_b()
324 cinfo->clkout[0] = clkout; in dss_pll_calc_b()
/openbmc/linux/sound/soc/sh/rcar/
H A Dadg.c16 #define CLKOUT 0 macro
34 struct clk *clkout[CLKOUTMAX]; member
56 ((pos) = adg->clkout[i]); \
72 [CLKOUT] = "audio_clkout",
362 dev_dbg(dev, "CLKOUT is based on BRG%c (= %dHz)\n", in rsnd_adg_ssi_clk_try_start()
631 * for clkout in rsnd_adg_get_clkout()
634 clk = clk_register_fixed_rate(dev, clkout_name[CLKOUT], in rsnd_adg_get_clkout()
639 adg->clkout[CLKOUT] = clk; in rsnd_adg_get_clkout()
654 adg->clkout[i] = clk; in rsnd_adg_get_clkout()
656 adg->onecell.clks = adg->clkout; in rsnd_adg_get_clkout()
[all …]
/openbmc/linux/drivers/clk/ux500/
H A Du8500_of_clk.c78 struct clk_hw *clkout; in ux500_clkout_get() local
88 pr_err("%s: invalid clkout ID %d\n", __func__, id); in ux500_clkout_get()
93 pr_info("%s: clkout%d already registered, not reconfiguring\n", in ux500_clkout_get()
108 pr_debug("registering clkout%d with source %d and divider %d\n", in ux500_clkout_get()
111 clkout = clk_reg_prcmu_clkout(id ? "clkout2" : "clkout1", in ux500_clkout_get()
115 if (IS_ERR(clkout)) { in ux500_clkout_get()
116 pr_err("failed to register clkout%d\n", id + 1); in ux500_clkout_get()
117 return ERR_CAST(clkout); in ux500_clkout_get()
120 clkout_clk[id] = clkout; in ux500_clkout_get()
122 return clkout; in ux500_clkout_get()
[all …]
/openbmc/linux/drivers/net/can/cc770/
H A Dcc770_platform.c119 priv->clkout |= (cdv - 1) & CLKOUT_CD_MASK; in cc770_get_of_node_data()
133 priv->clkout |= (slew << CLKOUT_SL_SHIFT) & in cc770_get_of_node_data()
152 priv->clkout = pdata->cor; in cc770_get_platform_data()
207 "bus_config=0x%02x clkout=0x%02x\n", in cc770_platform_probe()
209 priv->cpu_interface, priv->bus_config, priv->clkout); in cc770_platform_probe()
/openbmc/linux/drivers/clk/xilinx/
H A Dclk-xlnx-clock-wizard.c93 * @clkout: Output clocks
104 struct clk *clkout[WZRD_NUM_OUTPUTS]; member
657 clk_wzrd->clkout[0] = clk_wzrd_register_divider in clk_wzrd_probe()
720 clk_wzrd->clkout[i] = clk_wzrd_register_divf in clk_wzrd_probe()
729 clk_wzrd->clkout[i] = clk_wzrd_register_divider in clk_wzrd_probe()
737 if (IS_ERR(clk_wzrd->clkout[i])) { in clk_wzrd_probe()
741 clk_unregister(clk_wzrd->clkout[j]); in clk_wzrd_probe()
744 ret = PTR_ERR(clk_wzrd->clkout[i]); in clk_wzrd_probe()
750 clk_wzrd->clk_data.clks = clk_wzrd->clkout; in clk_wzrd_probe()
751 clk_wzrd->clk_data.clk_num = ARRAY_SIZE(clk_wzrd->clkout); in clk_wzrd_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/clock/ti/
H A Dadpll.txt27 "481c5040.adpll.clkout",
39 "481c5080.adpll.clkout",
/openbmc/linux/drivers/clk/renesas/
H A Dr9a06g032-clocks.c257 D_ROOT(CLKOUT, "clkout", 25, 1),
259 D_FFC(CLKOUT_D10, "clkout_d10", CLKOUT, 10),
260 D_FFC(CLKOUT_D16, "clkout_d16", CLKOUT, 16),
261 D_FFC(CLKOUT_D160, "clkout_d160", CLKOUT, 160),
262 D_DIV(CLKOUT_D1OR2, "clkout_d1or2", CLKOUT, 0, 1, 2),
263 D_FFC(CLKOUT_D20, "clkout_d20", CLKOUT, 20),
264 D_FFC(CLKOUT_D40, "clkout_d40", CLKOUT, 40),
265 D_FFC(CLKOUT_D5, "clkout_d5", CLKOUT, 5),
266 D_FFC(CLKOUT_D8, "clkout_d8", CLKOUT, 8),
267 D_DIV(DIV_ADC, "div_adc", CLKOUT, 77, 50, 250),
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-rv3028.c721 int clkout, ret; in rv3028_clkout_recalc_rate() local
724 ret = regmap_read(rv3028->regmap, RV3028_CLKOUT, &clkout); in rv3028_clkout_recalc_rate()
728 clkout &= RV3028_CLKOUT_FD_MASK; in rv3028_clkout_recalc_rate()
729 return clkout_rates[clkout]; in rv3028_clkout_recalc_rate()
788 int clkout, ret; in rv3028_clkout_is_prepared() local
791 ret = regmap_read(rv3028->regmap, RV3028_CLKOUT, &clkout); in rv3028_clkout_is_prepared()
795 return !!(clkout & RV3028_CLKOUT_CLKOE); in rv3028_clkout_is_prepared()
820 init.name = "rv3028-clkout"; in rv3028_clkout_register_clk()
H A Drtc-rv3032.c628 int clkout, ret; in rv3032_clkout_recalc_rate() local
631 ret = regmap_read(rv3032->regmap, RV3032_CLKOUT2, &clkout); in rv3032_clkout_recalc_rate()
635 if (clkout & RV3032_CLKOUT2_OS) { in rv3032_clkout_recalc_rate()
636 unsigned long rate = FIELD_GET(RV3032_CLKOUT2_HFD_MSK, clkout) << 8; in rv3032_clkout_recalc_rate()
638 ret = regmap_read(rv3032->regmap, RV3032_CLKOUT1, &clkout); in rv3032_clkout_recalc_rate()
642 rate += clkout + 1; in rv3032_clkout_recalc_rate()
647 return clkout_xtal_rates[FIELD_GET(RV3032_CLKOUT2_FD_MSK, clkout)]; in rv3032_clkout_recalc_rate()
766 init.name = "rv3032-clkout"; in rv3032_clkout_register_clk()

12345678