Home
last modified time | relevance | path

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

12345

/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dcirrus,lochnagar.yaml87 codec-aif1-rxdat, codec-aif1-lrclk, codec-aif1-txdat,
88 codec-aif2-bclk, codec-aif2-rxdat, codec-aif2-lrclk,
90 codec-aif3-lrclk, codec-aif3-txdat, dsp-aif1-bclk,
91 dsp-aif1-rxdat, dsp-aif1-lrclk, dsp-aif1-txdat,
92 dsp-aif2-bclk, dsp-aif2-rxdat, dsp-aif2-lrclk,
93 dsp-aif2-txdat, psia1-bclk, psia1-rxdat, psia1-lrclk,
94 psia1-txdat, psia2-bclk, psia2-rxdat, psia2-lrclk,
96 gf-aif3-lrclk, gf-aif3-txdat, gf-aif4-bclk,
97 gf-aif4-rxdat, gf-aif4-lrclk, gf-aif4-txdat,
98 gf-aif1-bclk, gf-aif1-rxdat, gf-aif1-lrclk,
[all …]
Dmarvell,armada-370-pinctrl.txt23 mpp7 7 gpo, ge0(txd1), tdm(dtx), audio(lrclk)
66 mpp45 45 gpo, dev(ad6), audio(lrclk)
91 mpp61 61 gpo, dev(we1), uart1(txd), audio(lrclk)
Dmarvell,kirkwood-pinctrl.txt53 mpp41 41 gpio, audio(lrclk)
139 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk)
188 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk)
204 mpp41 41 gpio, ts(mp5), tdm(spi-miso), audio(lrclk)
253 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk),
274 mpp41 41 gpio, ts(mp5), tdm(spi-miso), audio(lrclk), lcd(d21)
/Linux-v6.1/sound/soc/cirrus/
Dep93xx-i2s.c65 #define EP93XX_I2S_CLKCFG_LRS (1 << 0) /* lrclk polarity */
76 struct clk *lrclk; member
116 clk_prepare_enable(info->lrclk); in ep93xx_i2s_enable()
159 clk_disable_unprepare(info->lrclk); in ep93xx_i2s_disable()
265 /* Negative bit clock, lrclk low on left word */ in ep93xx_i2s_set_dai_fmt()
270 /* Negative bit clock, lrclk low on right word */ in ep93xx_i2s_set_dai_fmt()
276 /* Positive bit clock, lrclk low on left word */ in ep93xx_i2s_set_dai_fmt()
282 /* Positive bit clock, lrclk low on right word */ in ep93xx_i2s_set_dai_fmt()
326 * EP93xx I2S module can be setup so SCLK / LRCLK value can be in ep93xx_i2s_hw_params()
328 * We set LRCLK equal to `rate' and minimum SCLK / LRCLK in ep93xx_i2s_hw_params()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/amlogic/
Dmeson-g12.dtsi21 clock-names = "mclk", "sclk", "lrclk";
32 clock-names = "mclk", "sclk", "lrclk";
43 clock-names = "mclk", "sclk", "lrclk";
209 "lrclk", "lrclk_sel";
225 "lrclk", "lrclk_sel";
241 "lrclk", "lrclk_sel";
257 "lrclk", "lrclk_sel";
299 "lrclk", "lrclk_sel";
314 "lrclk", "lrclk_sel";
329 "lrclk", "lrclk_sel";
Dmeson-sm1.dtsi23 clock-names = "mclk", "sclk", "lrclk";
34 clock-names = "mclk", "sclk", "lrclk";
45 clock-names = "mclk", "sclk", "lrclk";
287 "lrclk", "lrclk_sel";
303 "lrclk", "lrclk_sel";
319 "lrclk", "lrclk_sel";
335 "lrclk", "lrclk_sel";
377 "lrclk", "lrclk_sel";
392 "lrclk", "lrclk_sel";
407 "lrclk", "lrclk_sel";
Dmeson-axg.dtsi31 clock-names = "mclk", "sclk", "lrclk";
42 clock-names = "mclk", "sclk", "lrclk";
53 clock-names = "mclk", "sclk", "lrclk";
1417 "lrclk", "lrclk_sel";
1431 "lrclk", "lrclk_sel";
1445 "lrclk", "lrclk_sel";
1459 "lrclk", "lrclk_sel";
1496 "lrclk", "lrclk_sel";
1510 "lrclk", "lrclk_sel";
1524 "lrclk", "lrclk_sel";
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dcs35l33.txt54 LRCLK cycles. If this property is set to 0, 1, 2, or 3 then the memory
55 depths will be 1, 4, 8, 16 LRCLK cycles. The default is 16 LRCLK cycles.
57 cirrus,release-rate : The number of consecutive LRCLK periods before
58 allowing release condition tracking updates. The number of LRCLK periods
83 - cirrus,vp-hg-rate : The rate (number of LRCLK periods) at which the VPhg is
Dwm8960.txt12 - wlf,shared-lrclk: This is a boolean property. If present, the LRCM bit of
18 DACLRC pin. If shared-lrclk is present, no need to enable DAC for captrue.
41 wlf,shared-lrclk;
Damlogic,axg-tdm-iface.txt8 * "lrclk": sample clock
21 clock-names = "mclk", "sclk", "lrclk";
Damlogic,axg-tdm-formatters.txt17 * "lrclk" : sample clock
35 "lrclk", "lrclk_sel";
Dmax9892x.txt27 smaller frames sizes such as 32 BCLKS per LRCLK or
28 48 BCLKS per LRCLK.
Dsgtl5000.yaml53 lrclk-strength:
55 The LRCLK pad strength. Possible values are: 0, 1, 2 and 3 as per the
Dcs4271.txt24 The CS4271 requires its LRCLK and MCLK to be stable before its RESET
/Linux-v6.1/sound/soc/meson/
Daxg-tdm-formatter.c21 struct clk *lrclk; member
120 ret = clk_prepare_enable(formatter->lrclk); in axg_tdm_formatter_enable()
140 clk_disable_unprepare(formatter->lrclk); in axg_tdm_formatter_disable()
203 ret = clk_set_parent(formatter->lrclk_sel, ts->iface->lrclk); in axg_tdm_formatter_power_up()
293 formatter->lrclk = devm_clk_get(dev, "lrclk"); in axg_tdm_formatter_probe()
294 if (IS_ERR(formatter->lrclk)) in axg_tdm_formatter_probe()
295 return dev_err_probe(dev, PTR_ERR(formatter->lrclk), "failed to get lrclk\n"); in axg_tdm_formatter_probe()
Daxg-tdm-interface.c211 ret = clk_set_rate(iface->lrclk, params_rate(params)); in axg_tdm_iface_set_lrclk()
240 ret = clk_set_duty_cycle(iface->lrclk, ratio_num, 2); in axg_tdm_iface_set_lrclk()
248 ret = clk_set_phase(iface->lrclk, in axg_tdm_iface_set_lrclk()
524 iface->lrclk = devm_clk_get(dev, "lrclk"); in axg_tdm_iface_probe()
525 if (IS_ERR(iface->lrclk)) in axg_tdm_iface_probe()
526 return dev_err_probe(dev, PTR_ERR(iface->lrclk), "failed to get lrclk\n"); in axg_tdm_iface_probe()
/Linux-v6.1/sound/soc/codecs/
Dwm8960.c132 int lrclk; member
183 if (abs(deemph_settings[i] - wm8960->lrclk) < in wm8960_set_deemph()
184 abs(deemph_settings[best] - wm8960->lrclk)) in wm8960_set_deemph()
612 * - lrclk = sysclk / dac_divs
618 * @dac_idx: dac_divs index for found lrclk
623 * >=0, in case we could derive bclk and lrclk from sysclk using
630 int sysclk, bclk, lrclk; in wm8960_configure_sysclk() local
638 lrclk = wm8960->lrclk; in wm8960_configure_sysclk()
646 if (sysclk != dac_divs[j] * lrclk) in wm8960_configure_sysclk()
669 * - sysclk = lrclk * dac_divs
[all …]
Darizona.c1447 int lrclk, bclk, mode, base; in arizona_set_fmt() local
1451 lrclk = 0; in arizona_set_fmt()
1487 lrclk |= ARIZONA_AIF1TX_LRCLK_MSTR; in arizona_set_fmt()
1494 lrclk |= ARIZONA_AIF1TX_LRCLK_MSTR; in arizona_set_fmt()
1507 lrclk |= ARIZONA_AIF1TX_LRCLK_INV; in arizona_set_fmt()
1513 lrclk |= ARIZONA_AIF1TX_LRCLK_INV; in arizona_set_fmt()
1525 ARIZONA_AIF1TX_LRCLK_MSTR, lrclk); in arizona_set_fmt()
1529 ARIZONA_AIF1RX_LRCLK_MSTR, lrclk); in arizona_set_fmt()
1755 int base, int bclk, int lrclk, int frame) in arizona_aif_cfg_changed() argument
1764 if (lrclk != (val & ARIZONA_AIF1RX_BCPF_MASK)) in arizona_aif_cfg_changed()
[all …]
Dmax98373-i2c.c174 /* BCLKs per LRCLK */
182 /* match BCLKs per LRCLK */ in max98373_get_bclk_sel()
194 /* BCLK/LRCLK ratio calculation */ in max98373_set_clock()
291 /* set DAI_SR to correct LRCLK frequency */ in max98373_dai_hw_params()
Dwm5100.c1282 int lrclk, bclk, mask, base; in wm5100_set_fmt() local
1286 lrclk = 0; in wm5100_set_fmt()
1306 lrclk |= WM5100_AIF1TX_LRCLK_MSTR; in wm5100_set_fmt()
1312 lrclk |= WM5100_AIF1TX_LRCLK_MSTR; in wm5100_set_fmt()
1326 lrclk |= WM5100_AIF1TX_LRCLK_INV; in wm5100_set_fmt()
1332 lrclk |= WM5100_AIF1TX_LRCLK_INV; in wm5100_set_fmt()
1341 WM5100_AIF1TX_LRCLK_INV, lrclk); in wm5100_set_fmt()
1343 WM5100_AIF1TX_LRCLK_INV, lrclk); in wm5100_set_fmt()
1402 int i, base, bclk, aif_rate, lrclk, wl, fl, sr; in wm5100_hw_params() local
1476 lrclk = bclk_rates[bclk] / params_rate(params); in wm5100_hw_params()
[all …]
Dwm2200.c1557 int lrclk, bclk, fmt_val; in wm2200_set_fmt() local
1559 lrclk = 0; in wm2200_set_fmt()
1579 lrclk |= WM2200_AIF1TX_LRCLK_MSTR; in wm2200_set_fmt()
1585 lrclk |= WM2200_AIF1TX_LRCLK_MSTR; in wm2200_set_fmt()
1599 lrclk |= WM2200_AIF1TX_LRCLK_INV; in wm2200_set_fmt()
1605 lrclk |= WM2200_AIF1TX_LRCLK_INV; in wm2200_set_fmt()
1615 lrclk); in wm2200_set_fmt()
1618 lrclk); in wm2200_set_fmt()
1690 int i, bclk, lrclk, wl, fl, sr_code; in wm2200_hw_params() local
1747 lrclk = bclk_rates[bclk] / params_rate(params); in wm2200_hw_params()
[all …]
Dmax98520.c124 /* BCLKs per LRCLK */
132 /* match BCLKs per LRCLK */ in max98520_get_bclk_sel()
145 /* BCLK/LRCLK ratio calculation */ in max98520_set_clock()
252 /* set DAI_SR to correct LRCLK frequency */ in max98520_dai_hw_params()
/Linux-v6.1/sound/soc/fsl/
Dfsl_mqs.c81 int lrclk; in fsl_mqs_hw_params() local
84 lrclk = params_rate(params); in fsl_mqs_hw_params()
91 div = mclk_rate / (32 * lrclk * 2 * 8); in fsl_mqs_hw_params()
92 res = mclk_rate % (32 * lrclk * 2 * 8); in fsl_mqs_hw_params()
/Linux-v6.1/include/sound/
Dcs4271.h16 * The CS4271 requires its LRCLK and MCLK to be stable before its RESET
/Linux-v6.1/sound/soc/amd/
Dacp-da7219-max98357a.c98 * minimum of 64x the LRCLK sample rate." DA7219 is the only clk in da7219_clk_enable()
99 * source so for all codecs we have to limit bclk to 64X lrclk. in da7219_clk_enable()
181 * minimum of 64x the LRCLK sample rate." RT5682 is the only clk in rt5682_clk_enable()
182 * source so for all codecs we have to limit bclk to 64X lrclk. in rt5682_clk_enable()

12345