Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/greybus/
Daudio_apbridgea.h13 * - the DSP on the MSM8994 is the clock master for MCLK, BCLK, and WCLK
14 * - WCLK changes on the falling edge of BCLK
15 * - WCLK low for left channel; high for right channel
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Drt5682.txt50 - #clock-cells : Should be set to '<1>', wclk and bclk sources provided.
89 clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
Dti,tlv320adc3xxx.yaml56 - 7 # ADC3XXX_GPIO_SECONDARY_WCLK - Codec interface secondary WCLK
74 - 7 # ADC3XXX_GPIO_SECONDARY_WCLK - Codec interface secondary WCLK
Ddialog,da7219.yaml60 Name given for DAI WCLK and BCLK outputs.
213 clock-output-names = "da7219-dai-wclk", "da7219-dai-bclk";
Drealtek,rt5682s.yaml140 clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
/linux-6.12.1/sound/soc/amd/
Dacp-da7219-max98357a.c76 da7219_dai_wclk = devm_clk_get(component->dev, "da7219-dai-wclk"); in cz_da7219_init()
112 * Set wclk to 48000 because the rate constraint of this driver is in da7219_clk_enable()
158 rt5682_dai_wclk = devm_clk_get(component->dev, "rt5682-dai-wclk"); in cz_rt5682_init()
197 * Set wclk to 48000 because the rate constraint of this driver is in rt5682_clk_enable()
204 dev_err(rtd->dev, "Error setting wclk rate: %d\n", ret); in rt5682_clk_enable()
214 dev_err(rtd->dev, "can't enable wclk %d\n", ret); in rt5682_clk_enable()
Dacp3x-rt5682-max9836.c97 rt5682_dai_wclk = clk_get(component->dev, "rt5682-dai-wclk"); in acp3x_5682_init()
136 dev_err(rtd->dev, "can't enable wclk %d\n", ret); in rt5682_clk_enable()
/linux-6.12.1/Documentation/devicetree/bindings/media/
Dsamsung,exynos4210-csis.yaml92 samsung,csis-wclk:
167 samsung,csis-wclk;
/linux-6.12.1/sound/soc/codecs/
Dda7219.c1426 struct clk *wclk = da7219->dai_clks[DA7219_DAI_WCLK_IDX]; in da7219_set_dai_tdm_slot() local
1473 sr = clk_get_rate(wclk); in da7219_set_dai_tdm_slot()
1486 "Failed to set TDM BCLKs per WCLK %d: %d\n", in da7219_set_dai_tdm_slot()
1562 struct clk *wclk = da7219->dai_clks[DA7219_DAI_WCLK_IDX]; in da7219_hw_params() local
1597 if (da7219->master && wclk) { in da7219_hw_params()
1598 ret = clk_set_rate(wclk, sr); in da7219_hw_params()
1601 "Failed to set WCLK SR %lu: %d\n", sr, ret); in da7219_hw_params()
1652 "Failed to set BCLKs per WCLK %d: %d\n", in da7219_hw_params()
1776 pdata->dai_clk_names[DA7219_DAI_WCLK_IDX] = "da7219-dai-wclk"; in da7219_fw_to_pdata()
2083 * derived from multiple parent WCLK rates (BCLK rates are set as a in da7219_bclk_round_rate()
[all …]
Drt5682.c2664 * Only accept to set wclk rate to 44.1k or 48kHz. in rt5682_wclk_recalc_rate()
2687 * Only accept to set wclk rate to 44.1k or 48kHz. in rt5682_wclk_round_rate()
2717 * Whether the wclk's parent clk (mclk) exists or not, please ensure in rt5682_wclk_set_rate()
2718 * it is fixed or set to 48MHz before setting wclk rate. It's a in rt5682_wclk_set_rate()
2726 "Parent mclk of wclk not acquired in driver. Please ensure mclk was provided as %d Hz.\n", in rt5682_wclk_set_rate()
2808 * BCLK rates are set as a multiplier of WCLK in HW. in rt5682_bclk_round_rate()
2809 * We don't allow changing the parent WCLK. We just do in rt5682_bclk_round_rate()
2810 * some rounding down based on the parent WCLK rate in rt5682_bclk_round_rate()
2875 /* Make MCLK the parent of WCLK */ in rt5682_register_dai_clks()
2883 /* Make WCLK the parent of BCLK */ in rt5682_register_dai_clks()
Drt5682s.c38 .dai_clk_names[RT5682S_DAI_WCLK_IDX] = "rt5682-dai-wclk",
2601 * Only accept to set wclk rate to 44.1k or 48kHz. in rt5682s_wclk_recalc_rate()
2624 * Only accept to set wclk rate to 44.1k or 48kHz. in rt5682s_wclk_round_rate()
2650 * Whether the wclk's parent clk (mclk) exists or not, please ensure in rt5682s_wclk_set_rate()
2651 * it is fixed or set to 48MHz before setting wclk rate. It's a in rt5682s_wclk_set_rate()
2659 "Parent mclk of wclk not acquired in driver. Please ensure mclk was provided as %d Hz.\n", in rt5682s_wclk_set_rate()
2733 * BCLK rates are set as a multiplier of WCLK in HW. in rt5682s_bclk_round_rate()
2734 * We don't allow changing the parent WCLK. We just do in rt5682s_bclk_round_rate()
2735 * some rounding down based on the parent WCLK rate in rt5682s_bclk_round_rate()
2799 /* Make MCLK the parent of WCLK */ in rt5682s_register_dai_clks()
[all …]
Drt5682-i2c.c38 .dai_clk_names[RT5682_DAI_WCLK_IDX] = "rt5682-dai-wclk",
Dtlv320aic31xx.c571 /* Keep BCLK/WCLK enabled even if DAC/ADC is powered down */
755 * enabled, or the P0/R29/D2 (Keep bclk/wclk in power down) need to be set.
Dda9055.c1202 /* By default only 32 BCLK per WCLK is supported */ in da9055_set_dai_fmt()
Dda7213.c1512 /* By default only 64 BCLK per WCLK is supported */ in da7213_set_dai_fmt()
Dda7218.c2008 /* By default 64 BCLKs per WCLK is supported */ in da7218_set_dai_fmt()
/linux-6.12.1/include/dt-bindings/sound/
Dtlv320adc3xxx.h19 #define ADC3XXX_GPIO_SECONDARY_WCLK 9 /* Codec interface secondary WCLK */
/linux-6.12.1/sound/soc/amd/acp/
Dacp-mach-common.c77 clk_set_rate(drvdata->wclk, srate); in acp_clk_enable()
80 return clk_prepare_enable(drvdata->wclk); in acp_clk_enable()
129 drvdata->wclk = clk_get(component->dev, "rt5682-dai-wclk"); in acp_card_rt5682_init()
214 clk_disable_unprepare(drvdata->wclk); in acp_card_shutdown()
371 drvdata->wclk = clk_get(component->dev, "rt5682-dai-wclk"); in acp_card_rt5682s_init()
506 clk_set_rate(drvdata->wclk, srate); in acp_card_rt5682s_hw_params()
Dacp-mach.h81 struct clk *wclk; member
/linux-6.12.1/drivers/gpu/ipu-v3/
Dipu-dc.c55 #define WCLK 0xc9 macro
125 if (opcode == WCLK) { in dc_write_tmpl()
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Dr8a779g0-white-hawk-ard-audio-da7212.dtso23 * | SSI_WS_V pin13 |<----->| pin3 WCLK |
/linux-6.12.1/drivers/media/platform/samsung/exynos4-is/
Dmipi-csis.c752 "samsung,csis-wclk"); in s5pcsis_parse_dt()
874 dev_info(&pdev->dev, "lanes: %d, hs_settle: %d, wclk: %d, freq: %u\n", in s5pcsis_probe()
/linux-6.12.1/drivers/media/pci/cx23885/
Dcx23885-cards.c1590 /* GPIO-22 IIS WCLK */ in cx23885_gpio_setup()
1744 /* GPIO-22 I2S WCLK */ in cx23885_gpio_setup()
/linux-6.12.1/arch/arm/boot/dts/samsung/
Dexynos4412-midas.dtsi489 samsung,csis-wclk;
/linux-6.12.1/sound/pci/emu10k1/
Demu10k1_main.c882 /* Default WCLK set to 48kHz. */ in snd_emu10k1_emu1010_init()