Home
last modified time | relevance | path

Searched +full:fll1 +full:- +full:clk (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dcirrus,madera.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
30 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
33 pin-settings:
40 '-pins$':
43 - $ref: "pincfg-node.yaml#"
44 - $ref: "pinmux-node.yaml#"
63 dmic6, io, dsp-gpio, irq1, irq2, fll1-clk,
[all …]
/Linux-v6.1/sound/soc/samsung/
Dmidas_wm1811.c1 // SPDX-License-Identifier: GPL-2.0+
8 #include <linux/clk.h>
18 #include <sound/soc-dapm.h>
43 struct snd_soc_card *card = rtd->card; in midas_start_fll1()
50 rate = priv->fll1_rate; in midas_start_fll1()
52 * If no new rate is requested, set FLL1 to a sane default for jack in midas_start_fll1()
58 if (rate != priv->fll1_rate && priv->fll1_rate) { in midas_start_fll1()
63 dev_err(card->dev, "Unable to switch to MCLK2: %d\n", ret); in midas_start_fll1()
71 dev_err(card->dev, "Failed to set FLL1 rate: %d\n", ret); in midas_start_fll1()
74 priv->fll1_rate = rate; in midas_start_fll1()
[all …]
Dtm2_wm5110.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (C) 2015 - 2016 Samsung Electronics Co., Ltd.
8 #include <linux/clk.h>
37 struct snd_soc_component *component = priv->component; in tm2_start_sysclk()
43 priv->sysclk_rate); in tm2_start_sysclk()
45 dev_err(component->dev, "Failed to set FLL1 source: %d\n", ret); in tm2_start_sysclk()
52 priv->sysclk_rate); in tm2_start_sysclk()
54 dev_err(component->dev, "Failed to start FLL1: %d\n", ret); in tm2_start_sysclk()
60 priv->sysclk_rate, in tm2_start_sysclk()
63 dev_err(component->dev, "Failed to set SYSCLK source: %d\n", ret); in tm2_start_sysclk()
[all …]
/Linux-v6.1/sound/soc/intel/boards/
Dbytcr_wm5102.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bytcr_wm5102.c - ASoc Machine driver for Intel Baytrail platforms with a
8 * Copyright (C) 2014-2020 Intel Corp
13 #include <linux/clk.h>
25 #include <sound/soc-acpi.h>
27 #include "../atom/sst-atom-controls.h"
36 struct clk *mclk;
43 struct snd_soc_card *card = w->dapm->card; in byt_wm5102_spkvdd_power_event()
46 gpiod_set_value_cansleep(priv->spkvdd_en_gpio, in byt_wm5102_spkvdd_power_event()
54 struct snd_soc_component *codec_component = codec_dai->component; in byt_wm5102_prepare_and_enable_pll1()
[all …]
/Linux-v6.1/drivers/pinctrl/cirrus/
Dpinctrl-madera-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016-2018 Cirrus Logic
19 #include <linux/pinctrl/pinconf-generic.h>
24 #include "../pinctrl-utils.h"
26 #include "pinctrl-madera.h"
30 * NOTE: IDs are zero-indexed for coding convenience
76 * All single-pin functions can be mapped to any GPIO, however pinmux applies
80 * Since these do not correspond to anything in the actual hardware - they are
81 * merely an adaptation to pinctrl's view of the world - we use the same name
93 /* set of pin numbers for single-pin groups, zero-indexed */
[all …]
/Linux-v6.1/sound/soc/codecs/
Dnau8825.h1 /* SPDX-License-Identifier: GPL-2.0-only */
93 /* 16-bit control register address, and 16-bits control register data */
121 /* FLL1 (0x04) */
157 /* 0 - open, 1 - short to GND */
168 #define NAU8825_JACK_POLARITY (1 << 1) /* 0 - active low, 1 - active high */
224 #define NAU8825_JKDET_PULL_UP (1 << 11) /* 0 - pull down, 1 - pull up */
225 #define NAU8825_JKDET_PULL_EN (1 << 9) /* 0 - enable pull, 1 - disable */
226 #define NAU8825_JKDET_OUTPUT_EN (1 << 8) /* 0 - enable input, 1 - enable output */
258 #define NAU8825_I2S_TRISTATE (1 << 15) /* 0 - normal mode, 1 - Hi-Z output */
467 struct clk *mclk;
[all …]
Dwm8904.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8904.c -- WM8904 ALSA SoC Audio driver
5 * Copyright 2009-12 Wolfson Microelectronics plc
10 #include <linux/clk.h>
48 struct clk *mclk;
84 /* DC servo configuration - cached offset values */
89 { 4, 0x0018 }, /* R4 - Bias Control 0 */
90 { 5, 0x0000 }, /* R5 - VMID Control 0 */
91 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */
92 { 7, 0x0000 }, /* R7 - Mic Bias Control 1 */
[all …]
Dwm8962.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8962.c -- WM8962 ALSA SoC Audio driver
5 * Copyright 2010-2 Wolfson Microelectronics plc
13 #include <linux/clk.h>
98 regcache_mark_dirty(wm8962->regmap); \
113 { 0, 0x009F }, /* R0 - Left Input volume */
114 { 1, 0x049F }, /* R1 - Right Input volume */
115 { 2, 0x0000 }, /* R2 - HPOUTL volume */
116 { 3, 0x0000 }, /* R3 - HPOUTR volume */
118 { 5, 0x0018 }, /* R5 - ADC & DAC Control 1 */
[all …]
Dwm8995.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8995.c -- WM8995 ALSA SoC Audio driver
26 #include <sound/soc-dapm.h>
400 regcache_mark_dirty(wm8995->regmap); \
414 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7200, 75, 1);
415 static const DECLARE_TLV_DB_SCALE(in1lr_pga_tlv, -1650, 150, 0);
417 static const DECLARE_TLV_DB_SCALE(sidetone_tlv, -3600, 150, 0);
420 "Differential", "Single-ended IN1LN", "Single-ended IN1LP"
427 "Differential", "Single-ended IN1RN", "Single-ended IN1RP"
495 dev_dbg(component->dev, "Class W source AIF2DAC\n"); in wm8995_update_class_w()
[all …]
Dwm8994.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8994.c -- WM8994 ALSA SoC Audio driver
5 * Copyright 2009-12 Wolfson Microelectronics plc
114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate()
120 idle = !wm8994->jack_mic; in wm8958_micd_set_rate()
124 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate()
126 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate()
128 if (control->pdata.micd_rates) { in wm8958_micd_set_rate()
129 rates = control->pdata.micd_rates; in wm8958_micd_set_rate()
130 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate()
[all …]