Home
last modified time | relevance | path

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

1234

/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dcirrus,lochnagar.yaml96 codec-aif1-rxdat, codec-aif1-lrclk, codec-aif1-txdat,
97 codec-aif2-bclk, codec-aif2-rxdat, codec-aif2-lrclk,
99 codec-aif3-lrclk, codec-aif3-txdat, dsp-aif1-bclk,
100 dsp-aif1-rxdat, dsp-aif1-lrclk, dsp-aif1-txdat,
101 dsp-aif2-bclk, dsp-aif2-rxdat, dsp-aif2-lrclk,
102 dsp-aif2-txdat, psia1-bclk, psia1-rxdat, psia1-lrclk,
103 psia1-txdat, psia2-bclk, psia2-rxdat, psia2-lrclk,
105 gf-aif3-lrclk, gf-aif3-txdat, gf-aif4-bclk,
106 gf-aif4-rxdat, gf-aif4-lrclk, gf-aif4-txdat,
107 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-5.10/sound/soc/cirrus/
Dep93xx-i2s.c65 #define EP93XX_I2S_CLKCFG_LRS (1 << 0) /* lrclk polarity */
76 struct clk *lrclk; member
116 clk_enable(info->lrclk); in ep93xx_i2s_enable()
159 clk_disable(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-5.10/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";
307 "lrclk", "lrclk_sel";
323 "lrclk", "lrclk_sel";
339 "lrclk", "lrclk_sel";
355 "lrclk", "lrclk_sel";
370 "lrclk", "lrclk_sel";
385 "lrclk", "lrclk_sel";
400 "lrclk", "lrclk_sel";
Dmeson-axg.dtsi30 clock-names = "mclk", "sclk", "lrclk";
41 clock-names = "mclk", "sclk", "lrclk";
52 clock-names = "mclk", "sclk", "lrclk";
1297 "lrclk", "lrclk_sel";
1311 "lrclk", "lrclk_sel";
1325 "lrclk", "lrclk_sel";
1339 "lrclk", "lrclk_sel";
1376 "lrclk", "lrclk_sel";
1390 "lrclk", "lrclk_sel";
1404 "lrclk", "lrclk_sel";
/linux-5.10/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.yaml54 lrclk-strength:
56 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-5.10/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()
302 formatter->lrclk = devm_clk_get(dev, "lrclk"); in axg_tdm_formatter_probe()
303 if (IS_ERR(formatter->lrclk)) { in axg_tdm_formatter_probe()
304 ret = PTR_ERR(formatter->lrclk); in axg_tdm_formatter_probe()
306 dev_err(dev, "failed to get lrclk: %d\n", ret); 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()
516 iface->lrclk = devm_clk_get(dev, "lrclk"); in axg_tdm_iface_probe()
517 if (IS_ERR(iface->lrclk)) { in axg_tdm_iface_probe()
518 ret = PTR_ERR(iface->lrclk); in axg_tdm_iface_probe()
520 dev_err(dev, "failed to get lrclk: %d\n", ret); in axg_tdm_iface_probe()
Daxg-tdm.h28 struct clk *lrclk; member
/linux-5.10/sound/soc/codecs/
Dwm8960.c129 int lrclk; member
179 if (abs(deemph_settings[i] - wm8960->lrclk) < in wm8960_set_deemph()
180 abs(deemph_settings[best] - wm8960->lrclk)) in wm8960_set_deemph()
608 * - lrclk = sysclk / dac_divs
611 * If we cannot find an exact match for (sysclk, lrclk, bclk)
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()
[all …]
Darizona.c1446 int lrclk, bclk, mode, base; in arizona_set_fmt() local
1450 lrclk = 0; in arizona_set_fmt()
1486 lrclk |= ARIZONA_AIF1TX_LRCLK_MSTR; in arizona_set_fmt()
1493 lrclk |= ARIZONA_AIF1TX_LRCLK_MSTR; in arizona_set_fmt()
1506 lrclk |= ARIZONA_AIF1TX_LRCLK_INV; in arizona_set_fmt()
1512 lrclk |= ARIZONA_AIF1TX_LRCLK_INV; in arizona_set_fmt()
1524 ARIZONA_AIF1TX_LRCLK_MSTR, lrclk); in arizona_set_fmt()
1528 ARIZONA_AIF1RX_LRCLK_MSTR, lrclk); in arizona_set_fmt()
1754 int base, int bclk, int lrclk, int frame) in arizona_aif_cfg_changed() argument
1763 if (lrclk != (val & ARIZONA_AIF1TX_BCPF_MASK)) in arizona_aif_cfg_changed()
[all …]
Dmax98373-i2c.c168 /* BCLKs per LRCLK */
176 /* match BCLKs per LRCLK */ in max98373_get_bclk_sel()
188 /* BCLK/LRCLK ratio calculation */ in max98373_set_clock()
285 /* 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.c1565 int lrclk, bclk, fmt_val; in wm2200_set_fmt() local
1567 lrclk = 0; in wm2200_set_fmt()
1587 lrclk |= WM2200_AIF1TX_LRCLK_MSTR; in wm2200_set_fmt()
1593 lrclk |= WM2200_AIF1TX_LRCLK_MSTR; in wm2200_set_fmt()
1607 lrclk |= WM2200_AIF1TX_LRCLK_INV; in wm2200_set_fmt()
1613 lrclk |= WM2200_AIF1TX_LRCLK_INV; in wm2200_set_fmt()
1623 lrclk); in wm2200_set_fmt()
1626 lrclk); in wm2200_set_fmt()
1698 int i, bclk, lrclk, wl, fl, sr_code; in wm2200_hw_params() local
1755 lrclk = bclk_rates[bclk] / params_rate(params); in wm2200_hw_params()
[all …]
/linux-5.10/sound/soc/fsl/
Dfsl_mqs.c54 int lrclk; in fsl_mqs_hw_params() local
57 lrclk = params_rate(params); in fsl_mqs_hw_params()
64 div = mclk_rate / (32 * lrclk * 2 * 8); in fsl_mqs_hw_params()
65 res = mclk_rate % (32 * lrclk * 2 * 8); in fsl_mqs_hw_params()
/linux-5.10/include/sound/
Dcs4271.h16 * The CS4271 requires its LRCLK and MCLK to be stable before its RESET
/linux-5.10/sound/soc/bcm/
Dcygnus-ssp.c553 bit_rate = aio->bit_per_frame * aio->lrclk; in cygnus_ssp_set_clocks()
578 dev_err(aio->cygaud->dev, "lrclk = %u, bits/frame = %u, mclk = %u\n", in cygnus_ssp_set_clocks()
579 aio->lrclk, aio->bit_per_frame, aio->mclk); in cygnus_ssp_set_clocks()
615 dev_dbg(aio->cygaud->dev, "bits per frame = %u, mclk = %u Hz, lrclk = %u Hz\n", in cygnus_ssp_set_clocks()
616 aio->bit_per_frame, aio->mclk, aio->lrclk); in cygnus_ssp_set_clocks()
704 aio->lrclk = rate; in cygnus_ssp_hw_params()
811 * 04 Yes LRCLK Polarity (1 = High for left, 0 = Low for left)

1234