Home
last modified time | relevance | path

Searched +full:spi +full:- +full:mux (Results 1 – 25 of 75) sorted by relevance

123

/linux-3.3/sound/soc/codecs/
Dwm8750.c2 * wm8750.c -- WM8750 ALSA SoC audio driver
21 #include <linux/spi/spi.h>
116 SOC_ENUM("Playback De-emphasis", wm8750_enum[15]),
129 SOC_ENUM("Treble Cut-off", wm8750_enum[2]),
133 SOC_ENUM("3D Lower Cut-off", wm8750_enum[3]),
134 SOC_ENUM("3D Upper Cut-off", wm8750_enum[4]),
157 /* ADCDAC Bit 0 - ADCHPD */
158 /* ADCDAC Bit 4 - HPOR */
159 /* ADCTL1 Bit 2,3 - DATSEL */
160 /* ADCTL1 Bit 4,5 - DMONOMIX */
[all …]
Dwm8988.c2 * wm8988.c -- WM8988 ALSA SoC audio driver
20 #include <linux/spi/spi.h>
105 static const DECLARE_TLV_DB_SCALE(pga_tlv, -1725, 75, 0);
106 static const DECLARE_TLV_DB_SCALE(adc_tlv, -9750, 50, 1);
107 static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1);
108 static const DECLARE_TLV_DB_SCALE(out_tlv, -12100, 100, 1);
109 static const DECLARE_TLV_DB_SCALE(bypass_tlv, -1500, 300, 0);
118 SOC_ENUM("Treble Cut-off", treble),
122 SOC_ENUM("3D Lower Cut-off", stereo_3d_lc),
123 SOC_ENUM("3D Upper Cut-off", stereo_3d_uc),
[all …]
Dwm8770.c2 * wm8770.c -- WM8770 ALSA SoC Audio driver
19 #include <linux/spi/spi.h>
74 wm8770->codec->cache_sync = 1; \
83 static const DECLARE_TLV_DB_SCALE(adc_tlv, -1200, 100, 0);
84 static const DECLARE_TLV_DB_SCALE(dac_dig_tlv, -12750, 50, 1);
85 static const DECLARE_TLV_DB_SCALE(dac_alg_tlv, -12700, 100, 1);
169 SOC_DAPM_ENUM("Capture Mux", ain_enum);
208 SND_SOC_DAPM_MUX("Capture Mux", WM8770_ADCMUX, 8, 1, &ain_mux),
238 { "Capture Mux", "AIN1", "AIN1" },
239 { "Capture Mux", "AIN2", "AIN2" },
[all …]
Dwm8753.c2 * wm8753.c -- WM8753 ALSA Soc Audio driver
16 * Dual DAI:-
27 * Fast DAI switching:-
42 #include <linux/spi/spi.h>
117 static const char *wm8753_line_mix[] = {"Line 1 + 2", "Line 1 - 2",
122 static const char *wm8753_rxmsel[] = {"RXP - RXN", "RXP + RXN", "RXP", "RXN"};
129 static const char *wm8753_radcsel[] = {"PGA", "Line or RXP-RXN", "Sidetone"};
130 static const char *wm8753_ladcsel[] = {"PGA", "Line or RXP-RXN", "Line"};
181 ucontrol->value.integer.value[0] = wm8753->dai_func; in wm8753_get_dai()
192 if (wm8753->dai_func == ucontrol->value.integer.value[0]) in wm8753_set_dai()
[all …]
Dwm8737.c2 * wm8737.c -- WM8737 ALSA SoC Audio driver
20 #include <linux/spi/spi.h>
27 #include <sound/soc-dapm.h>
49 0x00C3, /* R0 - Left PGA volume */
50 0x00C3, /* R1 - Right PGA volume */
51 0x0007, /* R2 - AUDIO path L */
52 0x0007, /* R3 - AUDIO path R */
53 0x0000, /* R4 - 3D Enhance */
54 0x0000, /* R5 - ADC Control */
55 0x0000, /* R6 - Power Management */
[all …]
Dwm8731.c2 * wm8731.c -- WM8731 ALSA SoC Audio driver
23 #include <linux/spi/spi.h>
82 if (wm8731->deemph) { in wm8731_set_deemph()
85 if (abs(wm8731_deemph[i] - wm8731->playback_fs) < in wm8731_set_deemph()
86 abs(wm8731_deemph[best] - wm8731->playback_fs)) in wm8731_set_deemph()
96 dev_dbg(codec->dev, "Set deemphasis %d (%dHz)\n", in wm8731_set_deemph()
108 ucontrol->value.enumerated.item[0] = wm8731->deemph; in wm8731_get_deemph()
118 int deemph = ucontrol->value.enumerated.item[0]; in wm8731_put_deemph()
122 return -EINVAL; in wm8731_put_deemph()
124 mutex_lock(&codec->mutex); in wm8731_put_deemph()
[all …]
Dssm2602.c26 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
35 #include <linux/spi/spi.h>
94 48, 127, TLV_DB_SCALE_ITEM(-7400, 100, 0),
97 static const DECLARE_TLV_DB_SCALE(ssm260x_inpga_tlv, -3450, 150, 0);
98 static const DECLARE_TLV_DB_SCALE(ssm260x_sidetone_tlv, -1500, 300, 0);
108 SOC_ENUM("Playback De-emphasis", ssm2602_enum[1]),
131 /* Input mux */
153 SND_SOC_DAPM_MUX("Input Mux", SND_SOC_NOPM, 0, 0, &ssm2602_input_mux_controls),
164 ARRAY_SIZE(ssm260x_output_mixer_controls) - 1), /* Last element is the mic */
187 {"Input Mux", "Line", "Line Input"},
[all …]
Dwm8995.c2 * wm8995.c -- WM8995 ALSA SoC Audio driver
22 #include <linux/spi/spi.h>
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(codec->dev, "Class W source AIF2DAC\n"); in wm8995_update_class_w()
[all …]
/linux-3.3/Documentation/
Dpinctrl.txt6 - Enumerating and naming controllable pins
8 - Multiplexing of pins, pads, fingers (etc) see below for details
10 - Configuration of pins, pads, fingers (etc), such as software-controlled
11 biasing and driving mode specific pins, such as pull-up/down, open drain,
14 Top-level interface
19 - A pin controller is a piece of hardware, usually a set of registers, that
25 - PINS are equal to pads, fingers, balls or whatever packaging input or
29 be sparse - i.e. there may be gaps in the space with numbers where no
91 See for example arch/arm/mach-u300/Kconfig for an example.
123 For example, say that we have a group of pins dealing with an SPI interface
[all …]
/linux-3.3/arch/arm/mach-davinci/
Dboard-da830-evm.c5 * Derived from: arch/arm/mach-davinci/board-dm644x-evm.c
23 #include <linux/spi/spi.h>
24 #include <linux/spi/flash.h>
26 #include <asm/mach-types.h>
30 #include <mach/mux.h>
35 #include <mach/spi.h>
39 * USB1 VBUS is controlled by GPIO1[15], over-current is reported on GPIO2[4].
46 -1
79 "OHCI over-current indicator", NULL); in da830_evm_usb_ocic_notify()
82 "over-current indicator changes\n", __func__); in da830_evm_usb_ocic_notify()
[all …]
Dboard-dm365-evm.c28 #include <linux/spi/spi.h>
29 #include <linux/spi/eeprom.h>
31 #include <asm/mach-types.h>
34 #include <mach/mux.h>
57 #define DM365_EVM_PHY_ID "davinci_mdio-0:01"
59 * A MAX-II CPLD is used for various board control functions.
107 /* UBL (a few copies) plus U-Boot */
111 .mask_flags = MTD_WRITEABLE, /* force read-only */
113 /* U-Boot environment */
149 .end = DM365_ASYNC_EMIF_DATA_CE0_BASE + SZ_32M - 1,
[all …]
Dboard-da850-evm.c2 * TI DA850/OMAP-L138 EVM board
4 * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com/
6 * Derived from: arch/arm/mach-davinci/board-da830-evm.c
31 #include <linux/input/tps6507x-ts.h>
32 #include <linux/spi/spi.h>
33 #include <linux/spi/flash.h>
37 #include <asm/mach-types.h>
43 #include <mach/mux.h>
45 #include <mach/spi.h>
47 #define DA850_EVM_PHY_ID "davinci_mdio-0:00"
[all …]
Dboard-mityomapl138.c2 * Critical Link MityOMAP-L138 SoM
4 * Copyright (C) 2010 Critical Link LLC - http://www.criticallink.com
20 #include <linux/spi/spi.h>
21 #include <linux/spi/flash.h>
24 #include <asm/mach-types.h>
30 #include <mach/mux.h>
31 #include <mach/spi.h>
38 /* Data Held in On-Board I2C device */
58 .part_no = "L138-C",
62 .part_no = "L138-D",
[all …]
Ddm355.c15 #include <linux/dma-mapping.h>
17 #include <linux/spi/spi.h>
25 #include <mach/mux.h>
31 #include <mach/spi.h>
32 #include <mach/gpio-davinci.h>
35 #include "mux.h"
58 /* FIXME -- crystal rate is board-specific */
132 /* NOTE: clkout1 can be externally gated by muxing GPIO-18 */
164 /* NOTE: clkout3 can be externally gated by muxing GPIO-16 */
176 * - in SyncReset state by default
[all …]
/linux-3.3/arch/arm/mach-omap2/
Dboard-rx51-video.c2 * linux/arch/arm/mach-omap2/board-rx51-video.c
15 #include <linux/spi/spi.h>
17 #include <asm/mach-types.h>
22 #include <mach/board-rx51.h>
24 #include "mux.h"
32 gpio_set_value(dssdev->reset_gpio, 1); in rx51_lcd_enable()
38 gpio_set_value(dssdev->reset_gpio, 0); in rx51_lcd_disable()
43 .driver_name = "panel-acx565akm",
75 pr_err("%s cannot configure MUX for LCD RESET\n", __func__); in rx51_video_init()
Dboard-overo.c2 * board-overo.c (Gumstix Overo)
18 * 02110-1301 USA
33 #include <linux/spi/spi.h>
40 #include <asm/mach-types.h>
48 #include <video/omap-panel-generic-dpi.h>
49 #include <video/omap-panel-dvi.h>
54 #include <plat/mux.h>
57 #include "mux.h"
58 #include "sdram-micron-mt46h32m32lf-6.h"
60 #include "common-board-devices.h"
[all …]
Dboard-omap3touchbook.c2 * linux/arch/arm/mach-omap2/board-omap3touchbook.c
6 * Modified from mach-omap2/board-omap3beagleboard.c
33 #include <linux/spi/spi.h>
35 #include <linux/spi/ads7846.h>
41 #include <asm/mach-types.h>
52 #include "mux.h"
54 #include "common-board-devices.h"
68 .name = "X-Loader",
71 .mask_flags = MTD_WRITEABLE, /* force read-only */
74 .name = "U-Boot",
[all …]
/linux-3.3/arch/arm/mach-bcmring/include/mach/csp/
DchipcHw_reg.h2 * Copyright 2004 - 2008 Broadcom Corporation. All rights reserved.
42 uint32_t SPIClock; /* PLL1 Channel 9 for SPI master Clock */
63 uint32_t PLLPreDivider; /* PLL pre-divider control register (PLL1) */
79 uint32_t PLLPreDivider2; /* PLL pre-divider control register (PLL2) */
101 uint32_t LcdPifMode; /* LCD/PIF Pin Sharing MUX Mode */
112 uint32_t GpioSR_0_7; /* Slew rate for GPIO 0 - 7 */
113 uint32_t GpioSR_8_15; /* Slew rate for GPIO 8 - 15 */
114 uint32_t GpioSR_16_23; /* Slew rate for GPIO 16 - 23 */
115 uint32_t GpioSR_24_31; /* Slew rate for GPIO 24 - 31 */
116 uint32_t GpioSR_32_39; /* Slew rate for GPIO 32 - 39 */
[all …]
/linux-3.3/arch/arm/mach-omap1/
Dboard-palmtt.c2 * linux/arch/arm/mach-omap1/board-palmtt.c
4 * Modified from board-palmtt2.c
29 #include <asm/mach-types.h>
35 #include <plat/mux.h>
44 #include <linux/spi/spi.h>
45 #include <linux/spi/ads7846.h>
76 .name = "PalmOS-BootLoader(ro)",
82 .name = "u-boot",
88 .name = "PalmOS-FS(ro)",
90 .size = 7 * SZ_1M + 4 * SZ_64K - 16 * SZ_8K,
[all …]
Dboard-palmz71.c2 * linux/arch/arm/mach-omap1/board-palmz71.c
4 * Modified from board-generic.c
32 #include <asm/mach-types.h>
37 #include <plat/mux.h>
46 #include <linux/spi/spi.h>
47 #include <linux/spi/ads7846.h>
95 .name = "omap-keypad",
96 .id = -1,
117 * 0x5f0000 bytes big in the multi-language ("EFIGS") version,
118 * 0x7b0000 bytes in the English-only ("enUS") version.
[all …]
Dboard-palmte.c2 * linux/arch/arm/mach-omap1/board-palmte.c
4 * Modified from board-generic.c
11 * palmtelinux-developpers@lists.sf.net
27 #include <linux/spi/spi.h>
29 #include <linux/apm-emulation.h>
32 #include <asm/mach-types.h>
37 #include <plat/mux.h>
96 .name = "omap-keypad",
97 .id = -1,
118 * 0x5f0000 bytes big in the multi-language ("EFIGS") version,
[all …]
/linux-3.3/arch/arm/plat-omap/include/plat/
Dmux.h2 * arch/arm/plat-omap/include/mach/mux.h
7 * Copyright (C) 2004 - 2008 Texas Instruments Inc.
8 * Copyright (C) 2003 - 2008 Nokia Corporation
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 * - W8 = ball
29 * - 1610 = 1510 or 1610, none if common for both 1510 and 1610
30 * - MMC2_DAT0 = function
37 #define PULL_DWN_CTRL_NA 0 /* No pull-down control needed */
101 * OMAP730/850 has a slightly different config for the pin mux.
102 * - config regs are the OMAP7XX_IO_CONF_x regs (see omap730.h) regs and
[all …]
/linux-3.3/drivers/hwmon/
Dads7871.c2 * ads7871 - driver for TI ADS7871 A/D converter
30 #define REG_GAIN_MUX 4 /*Gain/Mux Register*/
63 #include <linux/spi/spi.h>
65 #include <linux/hwmon-sysfs.h>
77 static int ads7871_read_reg8(struct spi_device *spi, int reg) in ads7871_read_reg8() argument
81 ret = spi_w8r8(spi, reg); in ads7871_read_reg8()
85 static int ads7871_read_reg16(struct spi_device *spi, int reg) in ads7871_read_reg16() argument
89 ret = spi_w8r16(spi, reg); in ads7871_read_reg16()
93 static int ads7871_write_reg8(struct spi_device *spi, int reg, u8 val) in ads7871_write_reg8() argument
96 return spi_write(spi, tmp, sizeof(tmp)); in ads7871_write_reg8()
[all …]
/linux-3.3/sound/pci/emu10k1/
Dp17v.h2 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk>
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 /* Audigy2Value Tina (P17V) pointer-offset register set,
27 /* 00 - 07: Not used */
31 /* 09 - 12: Not used */
35 /* 14 - 17: Not used */
39 /* 1b - 1f: Not used */
40 /* 20 - 2f: Not used */
41 /* 30 - 3b: Not used */
42 #define P17V_SPI 0x3c /* SPI interface register */
[all …]
/linux-3.3/arch/arm/mach-s3c2443/
Dclock.c1 /* linux/arch/arm/mach-s3c2443/clock.c
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40 #include <mach/regs-s3c2443-clock.h>
42 #include <plat/cpu-freq.h>
46 #include <plat/clock-clksrc.h>
64 * The real clock definition is done in s3c2443-clock.c,
81 * high-speed spi clock, sourced from esysclk
86 .name = "hsspi-if",
98 * to a mux controlled by sclkcon where either it or a extclk can
104 .name = "hsmmc-div",
[all …]

123