| /linux/arch/arm64/boot/dts/axiado/ |
| H A D | ax3000.dtsi | 100 refclk: clock-125000000 { label 131 clocks = <&refclk>; 144 clocks = <&refclk>; 157 clocks = <&refclk>; 170 clocks = <&refclk>; 183 clocks = <&refclk>; 196 clocks = <&refclk>; 209 clocks = <&refclk>; 222 clocks = <&refclk>; 236 clocks = <&refclk &clk_xin>; [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
| H A D | pllgt215.c | 42 lM = (info->refclk + info->vco1.max_inputfreq) / info->vco1.max_inputfreq; in gt215_pll_calc() 44 hM = (info->refclk + info->vco1.min_inputfreq) / info->vco1.min_inputfreq; in gt215_pll_calc() 50 N = tmp / info->refclk; in gt215_pll_calc() 51 fN = tmp % info->refclk; in gt215_pll_calc() 54 if (fN >= info->refclk / 2) in gt215_pll_calc() 57 if (fN < info->refclk / 2) in gt215_pll_calc() 59 fN = tmp - (N * info->refclk); in gt215_pll_calc() 67 err = abs(freq - (info->refclk * N / M / *P)); in gt215_pll_calc() 75 *pfN = ((fN << 13) + info->refclk / 2) / info->refclk; in gt215_pll_calc() 86 return info->refclk * *pN / *pM / *P; in gt215_pll_calc()
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | mediatek,mt7620-pinctrl.yaml | 39 pa, pcie refclk, pcie rst, pcm gpio, pcm i2s, pcm uartf, 40 refclk, rgmii1, rgmii2, sd, spi, spi refclk, uartf, uartlite, 41 wdt refclk, wdt rst, wled] 70 spi refclk, uartf, uartlite, wdt, wled] 138 const: pcie refclk 183 const: refclk 228 const: spi refclk 232 enum: [spi refclk] 255 const: wdt refclk
|
| /linux/drivers/phy/ti/ |
| H A D | phy-dm816x-usb.c | 46 struct clk *refclk; member 76 if (clk_get_rate(phy->refclk) != 24000000) in dm816x_usb_phy_init() 77 dev_warn(phy->dev, "nonstandard phy refclk\n"); in dm816x_usb_phy_init() 123 clk_disable(phy->refclk); in dm816x_usb_phy_runtime_suspend() 134 error = clk_enable(phy->refclk); in dm816x_usb_phy_runtime_resume() 151 clk_disable(phy->refclk); in dm816x_usb_phy_runtime_resume() 218 phy->refclk = devm_clk_get(phy->dev, "refclk"); in dm816x_usb_phy_probe() 219 if (IS_ERR(phy->refclk)) in dm816x_usb_phy_probe() 220 return PTR_ERR(phy->refclk); in dm816x_usb_phy_probe() 221 error = clk_prepare(phy->refclk); in dm816x_usb_phy_probe() [all …]
|
| H A D | phy-ti-pipe3.c | 172 struct clk *refclk; member 608 phy->refclk = devm_clk_get(dev, "refclk"); in ti_pipe3_get_clk() 609 if (IS_ERR(phy->refclk)) { in ti_pipe3_get_clk() 610 dev_err(dev, "unable to get refclk\n"); in ti_pipe3_get_clk() 611 /* older DTBs have missing refclk in SATA PHY in ti_pipe3_get_clk() 615 return PTR_ERR(phy->refclk); in ti_pipe3_get_clk() 830 * Prevent auto-disable of refclk for SATA PHY due to Errata i783 in ti_pipe3_probe() 833 if (!IS_ERR(phy->refclk)) { in ti_pipe3_probe() 834 clk_prepare_enable(phy->refclk); in ti_pipe3_probe() 856 clk_disable_unprepare(phy->refclk); in ti_pipe3_remove() [all …]
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | smsc,usb3503.yaml | 64 Clock used for driving REFCLK signal. If not provided the driver assumes 70 const: refclk 72 refclk-frequency: 75 Frequency of the REFCLK signal as defined by REF_SEL pins. If not 76 provided, driver will not set rate of the REFCLK signal and assume that a 122 clock-names = "refclk"; 141 clock-names = "refclk"; 156 refclk-frequency = <19200000>;
|
| H A D | octeon-usb.txt | 24 - cavium,refclk-type: type of the USB reference clock. Allowed values are 27 - refclk-frequency: deprecated, use "clock-frequency". 29 - refclk-type: deprecated, use "cavium,refclk-type". 54 cavium,refclk-type = "crystal";
|
| H A D | dwc3-cavium.txt | 18 refclk-frequency = <0x05f5e100>; 19 refclk-type-ss = "dlmc_ref_clk0"; 20 refclk-type-hs = "dlmc_ref_clk0";
|
| /linux/drivers/gpu/drm/amd/display/dc/dccg/dcn32/ |
| H A D | dcn32_dccg.c | 161 if (src == REFCLK) in dccg32_set_dtbclk_p_src() 170 if (src == REFCLK) in dccg32_set_dtbclk_p_src() 179 if (src == REFCLK) in dccg32_set_dtbclk_p_src() 188 if (src == REFCLK) in dccg32_set_dtbclk_p_src() 268 * Assume refclk is sourced from xtalin in dccg32_get_dccg_ref_freq() 284 /* always program refclk as DTBCLK. No use-case expected to require DPREFCLK as refclk */ in dccg32_set_dpstreamclk() 292 (src == REFCLK) ? 0 : 1, DPSTREAMCLK0_SRC_SEL, otg_inst); in dccg32_set_dpstreamclk() 296 (src == REFCLK) ? 0 : 1, DPSTREAMCLK1_SRC_SEL, otg_inst); in dccg32_set_dpstreamclk() 300 (src == REFCLK) ? 0 : 1, DPSTREAMCLK2_SRC_SEL, otg_inst); in dccg32_set_dpstreamclk() 304 (src == REFCLK) ? 0 : 1, DPSTREAMCLK3_SRC_SEL, otg_inst); in dccg32_set_dpstreamclk()
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | fsl,imx8-pcie-phy.yaml | 43 fsl,refclk-pad-mode: 45 Specifies the mode of the refclk pad used. It can be UNUSED(PHY 47 is provided externally via the refclk pad) or OUTPUT(PHY refclock 48 is derived from SoC internal source and provided on the refclk pad). 79 - fsl,refclk-pad-mode 99 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
|
| H A D | ti,phy-j721e-wiz.yaml | 74 refclk-dig: 113 "^pll[0|1]-refclk$": 216 pll0-refclk { 223 pll1-refclk { 230 cmn-refclk-dig-div { 240 refclk-dig {
|
| H A D | fsl,imx8qm-hsio.yaml | 67 fsl,refclk-pad-mode: 69 Specifies the mode of the refclk pad used. INPUT(PHY refclock is 70 provided externally via the refclk pad) or OUTPUT(PHY refclock is 71 derived from SoC internal source and provided on the refclk pad). 162 fsl,refclk-pad-mode = "input";
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_pixpll.h | 14 * refclk: reference frequency, 100 MHz from external oscillator 19 * refclk +-----------+ +------------------+ +---------+ outclk 29 * outclk = refclk / div_ref * loopc / div_out; 38 * 1) 20 MHz <= refclk / div_ref <= 40Mhz 39 * 2) 1.2 GHz <= refclk /div_out * loopc <= 3.2 Ghz
|
| /linux/arch/mips/bcm63xx/ |
| H A D | clk.c | 423 CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph), 424 CLKDEV_INIT("bcm63xx_uart.1", "refclk", &clk_periph), 440 CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph), 441 CLKDEV_INIT("bcm63xx_uart.1", "refclk", &clk_periph), 454 CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph), 468 CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph), 482 CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph), 497 CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph), 498 CLKDEV_INIT("bcm63xx_uart.1", "refclk", &clk_periph), 516 CLKDEV_INIT("bcm63xx_uart.0", "refclk", &clk_periph), [all …]
|
| /linux/drivers/gpu/drm/gma500/ |
| H A D | gma_display.h | 44 int target, int refclk, 49 void (*clock)(int refclk, struct gma_clock_t *clock); 50 const struct gma_limit_t *(*limit)(struct drm_crtc *crtc, int refclk); 83 extern const struct gma_limit_t *gma_limit(struct drm_crtc *crtc, int refclk); 88 struct drm_crtc *crtc, int target, int refclk,
|
| /linux/drivers/phy/xilinx/ |
| H A D | phy-zynqmp.c | 105 /* Refclk selection parameters */ 206 * @refclk: reference clock index 215 unsigned int refclk; member 406 clk = gtr_phy->dev->clk[gtr_phy->refclk]; in xpsgtr_find_sscs() 418 rate, gtr_phy->refclk); in xpsgtr_find_sscs() 439 if (gtr_phy->refclk == gtr_phy->lane) in xpsgtr_configure_pll() 444 L0_REF_CLK_SEL_MASK, 1 << gtr_phy->refclk); in xpsgtr_configure_pll() 666 if (clk_prepare_enable(gtr_dev->clk[gtr_phy->refclk])) in xpsgtr_phy_init() 721 clk_disable_unprepare(gtr_dev->clk[gtr_phy->refclk]); in xpsgtr_phy_exit() 825 unsigned int refclk; in xpsgtr_xlate() local [all …]
|
| /linux/Documentation/devicetree/bindings/mips/cavium/ |
| H A D | uctl.txt | 16 - refclk-frequency: A single cell containing the reference clock 19 - refclk-type: A string describing the reference clock connection 30 refclk-frequency = <24000000>; 32 refclk-type = "crystal";
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpts.c | 559 err = clk_enable(cpts->refclk); in cpts_register() 580 clk_disable(cpts->refclk); in cpts_register() 600 clk_disable(cpts->refclk); in cpts_unregister() 609 freq = clk_get_rate(cpts->refclk); in cpts_calc_mult_shift() 660 refclk_np = of_get_child_by_name(node, "cpts-refclk-mux"); in cpts_of_mux_clk_setup() 662 /* refclk selection supported not for all SoCs */ in cpts_of_mux_clk_setup() 767 cpts->refclk = devm_get_clk_from_child(dev, node, "cpts"); in cpts_create() 768 if (IS_ERR(cpts->refclk)) in cpts_create() 770 cpts->refclk = devm_clk_get(dev, "cpts"); in cpts_create() 772 if (IS_ERR(cpts->refclk)) { in cpts_create() [all …]
|
| /linux/arch/arm/boot/dts/synaptics/ |
| H A D | berlin2cd.dtsi | 51 refclk: oscillator { label 389 clocks = <&refclk>; 390 clock-names = "refclk"; 446 clocks = <&refclk>; 453 clocks = <&refclk>; 461 clocks = <&refclk>; 486 clocks = <&refclk>; 497 clocks = <&refclk>; 507 clocks = <&refclk>; 532 clocks = <&refclk>; [all …]
|
| /linux/drivers/pinctrl/mediatek/ |
| H A D | pinctrl-mt7620.c | 60 FUNC("refclk", MT7620_GPIO_MODE_MDIO_REFCLK, 22, 2), 63 static struct mtmips_pmx_func refclk_grp[] = { FUNC("spi refclk", 0, 37, 3) }; 79 FUNC("wdt refclk", 0, 17, 1), 83 FUNC("pcie refclk", MT7620_GPIO_MODE_PCIE_REF, 36, 1) 101 GRP("spi refclk", refclk_grp, 1, MT7620_GPIO_MODE_SPI_REF_CLK),
|
| /linux/drivers/clk/berlin/ |
| H A D | bg2.c | 90 REFCLK, VIDEO_EXT0, enumerator 103 [REFCLK] = "refclk", 516 clk = of_clk_get_by_name(np, clk_names[REFCLK]); in berlin2_clock_setup() 518 clk_names[REFCLK] = __clk_get_name(clk); in berlin2_clock_setup() 530 clk_names[SYSPLL], clk_names[REFCLK], 0); in berlin2_clock_setup() 535 clk_names[MEMPLL], clk_names[REFCLK], 0); in berlin2_clock_setup() 540 clk_names[CPUPLL], clk_names[REFCLK], 0); in berlin2_clock_setup() 549 clk_names[REFCLK], avpll_flags, 0); in berlin2_clock_setup() 562 clk_names[REFCLK], BERLIN2_AVPLL_BIT_QUIRK | in berlin2_clock_setup() 577 parent_names[1] = clk_names[REFCLK]; in berlin2_clock_setup() [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | ti,am62-audio-refclk.yaml | 4 $id: http://devicetree.org/schemas/clock/ti,am62-audio-refclk.yaml# 15 - const: ti,am62-audio-refclk 37 compatible = "ti,am62-audio-refclk";
|
| /linux/sound/soc/meson/ |
| H A D | axg-spdifin.c | 55 struct clk *refclk; member 165 ret = clk_set_rate(priv->refclk, priv->conf->ref_rate); in axg_spdifin_sample_mode_config() 175 rate = clk_get_rate(priv->refclk); in axg_spdifin_sample_mode_config() 229 ret = clk_prepare_enable(priv->refclk); in axg_spdifin_dai_probe() 251 clk_disable_unprepare(priv->refclk); in axg_spdifin_dai_remove() 470 priv->refclk = devm_clk_get(dev, "refclk"); in axg_spdifin_probe() 471 if (IS_ERR(priv->refclk)) in axg_spdifin_probe() 472 return dev_err_probe(dev, PTR_ERR(priv->refclk), "failed to get mclk\n"); in axg_spdifin_probe()
|
| /linux/drivers/phy/ |
| H A D | phy-pistachio-usb.c | 38 unsigned int refclk; member 68 p_phy->refclk << USB_PHY_STRAP_CONTROL_REFCLK_SHIFT); in pistachio_usb_phy_power_on() 71 if (p_phy->refclk == REFCLK_XO_CRYSTAL && rate != 12000000) { in pistachio_usb_phy_power_on() 160 ret = of_property_read_u32(p_phy->dev->of_node, "img,refclk", in pistachio_usb_phy_probe() 161 &p_phy->refclk); in pistachio_usb_phy_probe()
|
| /linux/arch/arm/boot/dts/ti/keystone/ |
| H A D | keystone-k2hk-evm.dts | 59 clock-output-names = "refclk-sys"; 66 clock-output-names = "refclk-pass"; 73 clock-output-names = "refclk-arm"; 80 clock-output-names = "refclk-ddr3a"; 87 clock-output-names = "refclk-ddr3b";
|