/Linux-v5.10/drivers/clk/davinci/ |
D | pll-dm365.c | 28 SYSCLK(1, pll1_sysclk1, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 29 SYSCLK(2, pll1_sysclk2, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 30 SYSCLK(3, pll1_sysclk3, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 31 SYSCLK(4, pll1_sysclk4, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 32 SYSCLK(5, pll1_sysclk5, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 33 SYSCLK(6, pll1_sysclk6, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 34 SYSCLK(7, pll1_sysclk7, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 35 SYSCLK(8, pll1_sysclk8, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 36 SYSCLK(9, pll1_sysclk9, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 109 SYSCLK(1, pll2_sysclk1, pll2_pllen, 5, SYSCLK_ALWAYS_ENABLED); [all …]
|
D | pll-dm646x.c | 24 SYSCLK(1, pll1_sysclk1, pll1_pllen, 4, SYSCLK_FIXED_DIV); 25 SYSCLK(2, pll1_sysclk2, pll1_pllen, 4, SYSCLK_FIXED_DIV); 26 SYSCLK(3, pll1_sysclk3, pll1_pllen, 4, SYSCLK_FIXED_DIV); 27 SYSCLK(4, pll1_sysclk4, pll1_pllen, 4, 0); 28 SYSCLK(5, pll1_sysclk5, pll1_pllen, 4, 0); 29 SYSCLK(6, pll1_sysclk6, pll1_pllen, 4, 0); 30 SYSCLK(8, pll1_sysclk8, pll1_pllen, 4, 0); 31 SYSCLK(9, pll1_sysclk9, pll1_pllen, 4, 0); 76 SYSCLK(1, pll2_sysclk1, pll2_pllen, 4, SYSCLK_ALWAYS_ENABLED);
|
D | pll-da850.c | 49 SYSCLK(1, pll0_sysclk1, pll0_pllen, 5, SYSCLK_FIXED_DIV); 50 SYSCLK(2, pll0_sysclk2, pll0_pllen, 5, SYSCLK_FIXED_DIV); 51 SYSCLK(3, pll0_sysclk3, pll0_pllen, 5, 0); 52 SYSCLK(4, pll0_sysclk4, pll0_pllen, 5, SYSCLK_FIXED_DIV); 53 SYSCLK(5, pll0_sysclk5, pll0_pllen, 5, 0); 54 SYSCLK(6, pll0_sysclk6, pll0_pllen, 5, SYSCLK_ARM_RATE | SYSCLK_FIXED_DIV); 55 SYSCLK(7, pll0_sysclk7, pll0_pllen, 5, 0); 172 SYSCLK(1, pll1_sysclk1, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 173 SYSCLK(2, pll1_sysclk2, pll1_pllen, 5, 0); 174 SYSCLK(3, pll1_sysclk3, pll1_pllen, 5, 0);
|
D | pll-da830.c | 33 SYSCLK(2, pll0_sysclk2, pll0_pllen, 5, SYSCLK_FIXED_DIV); 34 SYSCLK(3, pll0_sysclk3, pll0_pllen, 5, 0); 35 SYSCLK(4, pll0_sysclk4, pll0_pllen, 5, SYSCLK_FIXED_DIV); 36 SYSCLK(5, pll0_sysclk5, pll0_pllen, 5, 0); 37 SYSCLK(6, pll0_sysclk6, pll0_pllen, 5, SYSCLK_FIXED_DIV); 38 SYSCLK(7, pll0_sysclk7, pll0_pllen, 5, 0);
|
D | pll-dm644x.c | 26 SYSCLK(1, pll1_sysclk1, pll1_pllen, 4, SYSCLK_FIXED_DIV); 27 SYSCLK(2, pll1_sysclk2, pll1_pllen, 4, SYSCLK_FIXED_DIV); 28 SYSCLK(3, pll1_sysclk3, pll1_pllen, 4, SYSCLK_FIXED_DIV); 29 SYSCLK(5, pll1_sysclk5, pll1_pllen, 4, SYSCLK_FIXED_DIV); 67 SYSCLK(1, pll2_sysclk1, pll2_pllen, 4, 0); 68 SYSCLK(2, pll2_sysclk2, pll2_pllen, 4, 0);
|
D | pll-dm355.c | 26 SYSCLK(1, pll1_sysclk1, pll1_pllen, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); 27 SYSCLK(2, pll1_sysclk2, pll1_pllen, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); 28 SYSCLK(3, pll1_sysclk3, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 29 SYSCLK(4, pll1_sysclk4, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 66 SYSCLK(1, pll2_sysclk1, pll2_pllen, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED);
|
/Linux-v5.10/arch/powerpc/boot/ |
D | mpc8xx.c | 55 void mpc8xx_set_clocks(u32 sysclk) in mpc8xx_set_clocks() argument 59 dt_fixup_cpu_clocks(sysclk, sysclk / 16, sysclk); in mpc8xx_set_clocks() 63 setprop(node, "clock-frequency", &sysclk, 4); in mpc8xx_set_clocks() 67 setprop(node, "clock-frequency", &sysclk, 4); in mpc8xx_set_clocks() 72 u32 sysclk = mpc885_get_clock(crystal); in mpc885_fixup_clocks() local 73 if (!sysclk) in mpc885_fixup_clocks() 76 mpc8xx_set_clocks(sysclk); in mpc885_fixup_clocks()
|
D | cuboot-acadia.c | 43 unsigned long sysclk, cpr_plld, cpr_pllc, cpr_primad, plloutb, i; in get_clocks() local 56 /* read the sysclk value from the CPLD */ in get_clocks() 57 sysclk = (in_8((unsigned char *)0x80000000) == 0xc) ? 66666666 : 33333000; in get_clocks() 114 freqOPB = (sysclk *pllFbkDiv) /pllOpbDiv; in get_clocks() 116 freqEBC = (sysclk * pllFbkDiv) / pllExtBusDiv; in get_clocks() 118 plloutb = ((sysclk * ((cpr_pllc & PLLC_SRC_MASK) ? in get_clocks()
|
/Linux-v5.10/Documentation/devicetree/bindings/clock/ |
D | qoriq-clock.txt | 4 SYSCLK signal. The SYSCLK input (frequency) is multiplied using 63 - clock-frequency: Input system clock frequency (SYSCLK) 64 - clocks: If clock-frequency is not specified, sysclk may be provided 71 "sysclk" and "coreclk". 83 0 sysclk must be 0 120 * "fsl,qoriq-sysclk-1.0": for input system clock (v1.0). 122 * "fsl,qoriq-sysclk-2.0": for input system clock (v2.0). 127 clock-specifier. Should be <0> for "fsl,qoriq-sysclk-[1,2].0" 153 sysclk: sysclk { 155 compatible = "fsl,qoriq-sysclk-1.0"; [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | integratorap-im-pd1.dts | 37 clocks = <&sysclk>; 46 clocks = <&sysclk>; 164 clocks = <&impd1_uartclk>, <&sysclk>; 172 clocks = <&impd1_uartclk>, <&sysclk>; 180 clocks = <&impd1_sspclk>, <&sysclk>; 192 clocks = <&sysclk>; 204 clocks = <&sysclk>; 212 clocks = <&sysclk>; 221 clocks = <&sysclk>, <&sysclk>; 234 clocks = <&sysclk>; [all …]
|
D | mps2.dtsi | 81 sysclk: clk-sys { label 151 clocks = <&sysclk>; 159 clocks = <&sysclk>; 166 clocks = <&sysclk>, <&sysclk>, <&sysclk>; 177 clocks = <&sysclk>; 185 clocks = <&sysclk>; 193 clocks = <&sysclk>; 202 clocks = <&sysclk>, <&sysclk>;
|
/Linux-v5.10/sound/soc/ti/ |
D | davinci-evm.c | 26 unsigned sysclk; member 61 unsigned sysclk = ((struct snd_soc_card_drvdata_davinci *) in evm_hw_params() local 62 snd_soc_card_get_drvdata(soc_card))->sysclk; in evm_hw_params() 65 ret = snd_soc_dai_set_sysclk(codec_dai, 0, sysclk, SND_SOC_CLOCK_OUT); in evm_hw_params() 70 ret = snd_soc_dai_set_sysclk(cpu_dai, 0, sysclk, SND_SOC_CLOCK_OUT); in evm_hw_params() 273 .sysclk = 12288000, 287 .sysclk = 27000000, 300 .sysclk = 27000000, 313 .sysclk = 27000000, 325 .sysclk = 24576000, [all …]
|
/Linux-v5.10/arch/powerpc/platforms/83xx/ |
D | mpc832x_rdb.c | 38 static int __init of_fsl_spi_probe(char *type, char *compatible, u32 sysclk, in of_fsl_spi_probe() argument 59 pdata.sysclk = sysclk; in of_fsl_spi_probe() 124 u32 sysclk = -1; in fsl_spi_init() local 128 sysclk = get_brgfreq(); in fsl_spi_init() 129 if (sysclk == -1) { in fsl_spi_init() 130 sysclk = fsl_get_sys_freq(); in fsl_spi_init() 131 if (sysclk == -1) in fsl_spi_init() 135 ret = of_fsl_spi_probe(NULL, "fsl,spi", sysclk, board_infos, in fsl_spi_init() 138 of_fsl_spi_probe("spi", "fsl_spi", sysclk, board_infos, in fsl_spi_init()
|
/Linux-v5.10/sound/soc/codecs/ |
D | wm8998.c | 496 SND_SOC_DAPM_SUPPLY("SYSCLK", ARIZONA_SYSTEM_CLOCK_1, 907 { "OUT1L", NULL, "SYSCLK" }, 908 { "OUT1R", NULL, "SYSCLK" }, 909 { "OUT2L", NULL, "SYSCLK" }, 910 { "OUT2R", NULL, "SYSCLK" }, 911 { "OUT3", NULL, "SYSCLK" }, 912 { "OUT4L", NULL, "SYSCLK" }, 913 { "OUT4R", NULL, "SYSCLK" }, 914 { "OUT5L", NULL, "SYSCLK" }, 915 { "OUT5R", NULL, "SYSCLK" }, [all …]
|
D | wm5100.c | 61 int sysclk; member 132 if ((wm5100->sysclk % rate) == 0) { in wm5100_alloc_sr() 168 "SR %dHz incompatible with %dHz SYSCLK and %dHz ASYNCCLK\n", in wm5100_alloc_sr() 169 rate, wm5100->sysclk, wm5100->asyncclk); in wm5100_alloc_sr() 799 dev_crit(wm5100->dev, "SYSCLK underclocked\n"); in wm5100_log_status3() 857 SND_SOC_DAPM_SUPPLY("SYSCLK", WM5100_CLOCKING_3, WM5100_SYSCLK_ENA_SHIFT, 0, 1085 { "IN1L", NULL, "SYSCLK" }, 1086 { "IN1R", NULL, "SYSCLK" }, 1087 { "IN2L", NULL, "SYSCLK" }, 1088 { "IN2R", NULL, "SYSCLK" }, [all …]
|
D | wm8960.c | 131 int sysclk; member 605 * wm8960_configure_sysclk - checks if there is a sysclk frequency available 606 * The sysclk must be chosen such that: 607 * - sysclk = MCLK / sysclk_divs 608 * - lrclk = sysclk / dac_divs 609 * - 10 * bclk = sysclk / bclk_divs 611 * If we cannot find an exact match for (sysclk, lrclk, bclk) 616 * @mclk: MCLK used to derive sysclk 617 * @sysclk_idx: sysclk_divs index for found sysclk 622 * -1, in case no sysclk frequency available found [all …]
|
D | cs47l85.c | 783 SND_SOC_DAPM_SUPPLY("SYSCLK", MADERA_SYSTEM_CLOCK_1, MADERA_SYSCLK_ENA_SHIFT, 1794 { "OUT1L", NULL, "SYSCLK" }, 1795 { "OUT1R", NULL, "SYSCLK" }, 1796 { "OUT2L", NULL, "SYSCLK" }, 1797 { "OUT2R", NULL, "SYSCLK" }, 1798 { "OUT3L", NULL, "SYSCLK" }, 1799 { "OUT3R", NULL, "SYSCLK" }, 1800 { "OUT4L", NULL, "SYSCLK" }, 1801 { "OUT4R", NULL, "SYSCLK" }, 1802 { "OUT5L", NULL, "SYSCLK" }, [all …]
|
D | max9860.c | 260 u8 sysclk = 0; in max9860_hw_params() local 369 sysclk = MAX9860_FREQ_12MHZ; in max9860_hw_params() 372 sysclk = MAX9860_FREQ_13MHZ; in max9860_hw_params() 375 sysclk = MAX9860_FREQ_19_2MHZ; in max9860_hw_params() 380 * sysclk at zero and fall through to the in max9860_hw_params() 386 if (sysclk && params_rate(params) == 16000) in max9860_hw_params() 387 sysclk |= MAX9860_16KHZ; in max9860_hw_params() 401 if (!sysclk) { in max9860_hw_params() 404 sysclk |= MAX9860_16KHZ; in max9860_hw_params() 410 sysclk |= max9860->psclk; in max9860_hw_params() [all …]
|
D | cs47l92.c | 661 SND_SOC_DAPM_SUPPLY("SYSCLK", MADERA_SYSTEM_CLOCK_1, MADERA_SYSCLK_ENA_SHIFT, 1354 { "OUT1L", NULL, "SYSCLK" }, 1355 { "OUT1R", NULL, "SYSCLK" }, 1356 { "OUT2L", NULL, "SYSCLK" }, 1357 { "OUT2R", NULL, "SYSCLK" }, 1358 { "OUT3L", NULL, "SYSCLK" }, 1359 { "OUT3R", NULL, "SYSCLK" }, 1360 { "OUT5L", NULL, "SYSCLK" }, 1361 { "OUT5R", NULL, "SYSCLK" }, 1363 { "SPD1", NULL, "SYSCLK" }, [all …]
|
D | cs47l24.c | 69 dev_err(component->dev, "Failed to read SYSCLK state: %d\n", ret); in cs47l24_adsp_power_ev() 343 SND_SOC_DAPM_SUPPLY("SYSCLK", ARIZONA_SYSTEM_CLOCK_1, 747 { "OUT1L", NULL, "SYSCLK" }, 748 { "OUT1R", NULL, "SYSCLK" }, 749 { "OUT4L", NULL, "SYSCLK" }, 751 { "IN1L", NULL, "SYSCLK" }, 752 { "IN1R", NULL, "SYSCLK" }, 753 { "IN2L", NULL, "SYSCLK" }, 754 { "IN2R", NULL, "SYSCLK" }, 756 { "ASRC1L", NULL, "SYSCLK" }, [all …]
|
D | wm8997.c | 409 SND_SOC_DAPM_SUPPLY("SYSCLK", ARIZONA_SYSTEM_CLOCK_1, ARIZONA_SYSCLK_ENA_SHIFT, 759 { "OUT1L", NULL, "SYSCLK" }, 760 { "OUT1R", NULL, "SYSCLK" }, 761 { "OUT3L", NULL, "SYSCLK" }, 762 { "OUT4L", NULL, "SYSCLK" }, 764 { "IN1L", NULL, "SYSCLK" }, 765 { "IN1R", NULL, "SYSCLK" }, 766 { "IN2L", NULL, "SYSCLK" }, 767 { "IN2R", NULL, "SYSCLK" }, 773 { "Noise Generator", NULL, "SYSCLK" }, [all …]
|
/Linux-v5.10/sound/soc/pxa/ |
D | brownstone.c | 49 int freq_out, sspa_mclk, sysclk; in brownstone_wm8994_hw_params() local 53 sysclk = params_rate(params) * 256; in brownstone_wm8994_hw_params() 57 sysclk = params_rate(params) * 512; in brownstone_wm8994_hw_params() 62 snd_soc_dai_set_pll(cpu_dai, MMP_SYSCLK, 0, freq_out, sysclk); in brownstone_wm8994_hw_params() 65 /* set wm8994 sysclk */ in brownstone_wm8994_hw_params() 66 snd_soc_dai_set_sysclk(codec_dai, WM8994_SYSCLK_MCLK1, sysclk, 0); in brownstone_wm8994_hw_params()
|
/Linux-v5.10/sound/soc/meson/ |
D | axg-pdm.c | 95 struct clk *sysclk; member 176 return clk_set_rate(priv->sysclk, sys_rate); in axg_pdm_set_sysclk() 178 return clk_set_rate(priv->sysclk, priv->cfg->sys_rate); in axg_pdm_set_sysclk() 187 spmax = DIV_ROUND_UP_ULL((u64)clk_get_rate(priv->sysclk), in axg_pdm_set_sample_pointer() 190 /* Check if sysclk is not too fast - should not happen */ in axg_pdm_set_sample_pointer() 393 * sysclk must be set and enabled as well to access the pdm registers in axg_pdm_dai_probe() 396 ret = clk_set_rate(priv->sysclk, priv->cfg->sys_rate); in axg_pdm_dai_probe() 398 dev_err(dai->dev, "setting sysclk failed\n"); in axg_pdm_dai_probe() 402 ret = clk_prepare_enable(priv->sysclk); in axg_pdm_dai_probe() 404 dev_err(dai->dev, "enabling sysclk failed\n"); in axg_pdm_dai_probe() [all …]
|
/Linux-v5.10/drivers/spi/ |
D | spi-fsl-lib.c | 100 mpc8xxx_spi->spibrg = pdata->sysclk; in mpc8xxx_spi_probe() 134 pdata->sysclk = get_brgfreq(); in of_mpc8xxx_spi_probe() 135 if (pdata->sysclk == -1) { in of_mpc8xxx_spi_probe() 136 pdata->sysclk = fsl_get_sys_freq(); in of_mpc8xxx_spi_probe() 137 if (pdata->sysclk == -1) in of_mpc8xxx_spi_probe() 141 ret = of_property_read_u32(np, "clock-frequency", &pdata->sysclk); in of_mpc8xxx_spi_probe()
|
/Linux-v5.10/Documentation/devicetree/bindings/clock/ti/davinci/ |
D | pll.txt | 32 sysclk 34 domains. The node name must be "sysclk". Consumers of this node should 67 pll0_sysclk: sysclk { 86 pll0_sysclk: sysclk {
|