Home
last modified time | relevance | path

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

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/
Dcirrus,madera-pinctrl.txt19 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
22 - pinctrl-names : must be "default"
23 - pinctrl-0 : a phandle to the node containing the subnodes containing default
32 - groups : name of one pin group to configure. One of:
42 - function : name of function to assign to this group. One of:
45 io, dsp-gpio, irq1, irq2,
46 fll1-clk, fll1-lock, fll2-clk, fll2-lock, fll3-clk, fll3-lock,
47 fllao-clk, fllao-lock,
48 opclk, opclk-async, pwm1, pwm2, spdif,
49 asrc1-in1-lock, asrc1-in2-lock, asrc2-in1-lock, asrc2-in2-lock,
[all …]
/kernel/linux/linux-5.10/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 pinctrl-0:
38 pinctrl-names:
43 pin-settings:
50 '-pins$':
53 - $ref: "pincfg-node.yaml#"
[all …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Dmidas_wm1811.c1 // SPDX-License-Identifier: GPL-2.0+
8 #include <linux/clk.h>
17 #include <sound/soc-dapm.h>
42 struct snd_soc_card *card = rtd->card; in midas_start_fll1()
49 rate = priv->fll1_rate; in midas_start_fll1()
51 * If no new rate is requested, set FLL1 to a sane default for jack in midas_start_fll1()
57 if (rate != priv->fll1_rate && priv->fll1_rate) { in midas_start_fll1()
62 dev_err(card->dev, "Unable to switch to MCLK2: %d\n", ret); in midas_start_fll1()
70 dev_err(card->dev, "Failed to set FLL1 rate: %d\n", ret); in midas_start_fll1()
73 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 …]
/kernel/linux/linux-4.19/sound/soc/samsung/
Dtm2_wm5110.c2 * Copyright (C) 2015 - 2016 Samsung Electronics Co., Ltd.
13 #include <linux/clk.h>
42 struct snd_soc_component *component = priv->component; in tm2_start_sysclk()
48 priv->sysclk_rate); in tm2_start_sysclk()
50 dev_err(component->dev, "Failed to set FLL1 source: %d\n", ret); in tm2_start_sysclk()
57 priv->sysclk_rate); in tm2_start_sysclk()
59 dev_err(component->dev, "Failed to start FLL1: %d\n", ret); in tm2_start_sysclk()
65 priv->sysclk_rate, in tm2_start_sysclk()
68 dev_err(component->dev, "Failed to set SYSCLK source: %d\n", ret); in tm2_start_sysclk()
78 struct snd_soc_component *component = priv->component; in tm2_stop_sysclk()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/cirrus/
Dpinctrl-madera-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016-2018 Cirrus Logic
17 #include <linux/pinctrl/pinconf-generic.h>
22 #include "../pinctrl-utils.h"
24 #include "pinctrl-madera.h"
28 * NOTE: IDs are zero-indexed for coding convenience
74 * All single-pin functions can be mapped to any GPIO, however pinmux applies
78 * Since these do not correspond to anything in the actual hardware - they are
79 * merely an adaptation to pinctrl's view of the world - we use the same name
91 /* set of pin numbers for single-pin groups, zero-indexed */
[all …]
/kernel/linux/linux-4.19/drivers/pinctrl/cirrus/
Dpinctrl-madera-core.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016-2018 Cirrus Logic
20 #include <linux/pinctrl/pinconf-generic.h>
25 #include "../pinctrl-utils.h"
27 #include "pinctrl-madera.h"
31 * NOTE: IDs are zero-indexed for coding convenience
77 * All single-pin functions can be mapped to any GPIO, however pinmux applies
81 * Since these do not correspond to anything in the actual hardware - they are
82 * merely an adaptation to pinctrl's view of the world - we use the same name
94 /* set of pin numbers for single-pin groups, zero-indexed */
[all …]
/kernel/linux/linux-5.10/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 */
249 #define NAU8825_I2S_TRISTATE (1 << 15) /* 0 - normal mode, 1 - Hi-Z output */
451 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 …]
/kernel/linux/linux-4.19/sound/soc/codecs/
Dwm8904.c2 * wm8904.c -- WM8904 ALSA SoC Audio driver
4 * Copyright 2009-12 Wolfson Microelectronics plc
14 #include <linux/clk.h>
53 struct clk *mclk;
89 /* DC servo configuration - cached offset values */
94 { 4, 0x0018 }, /* R4 - Bias Control 0 */
95 { 5, 0x0000 }, /* R5 - VMID Control 0 */
96 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */
97 { 7, 0x0000 }, /* R7 - Mic Bias Control 1 */
98 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */
[all …]
Dnau8825.h96 /* 16-bit control register address, and 16-bits control register data */
124 /* FLL1 (0x04) */
160 /* 0 - open, 1 - short to GND */
171 #define NAU8825_JACK_POLARITY (1 << 1) /* 0 - active low, 1 - active high */
225 #define NAU8825_JKDET_PULL_UP (1 << 11) /* 0 - pull down, 1 - pull up */
226 #define NAU8825_JKDET_PULL_EN (1 << 9) /* 0 - enable pull, 1 - disable */
227 #define NAU8825_JKDET_OUTPUT_EN (1 << 8) /* 0 - enable input, 1 - enable output */
250 #define NAU8825_I2S_TRISTATE (1 << 15) /* 0 - normal mode, 1 - Hi-Z output */
452 struct clk *mclk;
456 int mclk_freq; /* 0 - mclk is disabled */
Dwm8962.c2 * wm8962.c -- WM8962 ALSA SoC Audio driver
4 * Copyright 2010-2 Wolfson Microelectronics plc
17 #include <linux/clk.h>
102 regcache_mark_dirty(wm8962->regmap); \
117 { 0, 0x009F }, /* R0 - Left Input volume */
118 { 1, 0x049F }, /* R1 - Right Input volume */
119 { 2, 0x0000 }, /* R2 - HPOUTL volume */
120 { 3, 0x0000 }, /* R3 - HPOUTR volume */
122 { 5, 0x0018 }, /* R5 - ADC & DAC Control 1 */
123 { 6, 0x2008 }, /* R6 - ADC & DAC Control 2 */
[all …]
Dwm8995.c2 * wm8995.c -- WM8995 ALSA SoC Audio driver
29 #include <sound/soc-dapm.h>
403 regcache_mark_dirty(wm8995->regmap); \
417 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7200, 75, 1);
418 static const DECLARE_TLV_DB_SCALE(in1lr_pga_tlv, -1650, 150, 0);
420 static const DECLARE_TLV_DB_SCALE(sidetone_tlv, -3600, 150, 0);
423 "Differential", "Single-ended IN1LN", "Single-ended IN1LP"
430 "Differential", "Single-ended IN1RN", "Single-ended IN1RP"
498 dev_dbg(component->dev, "Class W source AIF2DAC\n"); in wm8995_update_class_w()
502 dev_dbg(component->dev, "Class W source AIF1DAC2\n"); in wm8995_update_class_w()
[all …]
Dwm8994.c2 * wm8994.c -- WM8994 ALSA SoC Audio driver
4 * Copyright 2009-12 Wolfson Microelectronics plc
112 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate()
118 idle = !wm8994->jack_mic; in wm8958_micd_set_rate()
122 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate()
124 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate()
126 if (control->pdata.micd_rates) { in wm8958_micd_set_rate()
127 rates = control->pdata.micd_rates; in wm8958_micd_set_rate()
128 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate()
129 } else if (wm8994->jackdet) { in wm8958_micd_set_rate()
[all …]