| /linux/sound/soc/codecs/ |
| H A D | twl4030.c | 3 * ALSA SoC TWL4030 codec driver 13 #include <linux/mfd/twl4030-audio.h> 27 /* TWL4030 PMBR1 Register */ 29 /* TWL4030 PMBR1 Register GPIO6 mux bits */ 69 static void tw4030_init_ctl_cache(struct twl4030_priv *twl4030) in tw4030_init_ctl_cache() argument 76 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache() 82 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_read() local 95 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read() 105 static bool twl4030_can_write_to_chip(struct twl4030_priv *twl4030, in twl4030_can_write_to_chip() argument 113 if (twl4030 in twl4030_can_write_to_chip() 148 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_write() local 182 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_codec_enable() local 244 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_init_chip() local 333 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_apll_enable() local 694 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); headset_ramp() local 760 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); headsetlpga_event() local 785 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); headsetrpga_event() local 810 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); digimic_event() local 960 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); snd_soc_put_twl4030_opmode_enum_double() local 1590 twl4030_constraints(struct twl4030_priv * twl4030,struct snd_pcm_substream * mst_substream) twl4030_constraints() argument 1643 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_startup() local 1672 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_shutdown() local 1696 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_hw_params() local 1813 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_set_dai_sysclk() local 1838 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_set_dai_fmt() local 1927 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_voice_startup() local 1969 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_voice_hw_params() local 2014 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_voice_set_dai_sysclk() local 2035 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); twl4030_voice_set_dai_fmt() local 2155 struct twl4030_priv *twl4030; twl4030_soc_probe() local [all...] |
| /linux/drivers/mfd/ |
| H A D | twl4030-power.c | 3 * Handle TWL4030 Power initialization 262 pr_err("TWL4030 wakeup sequence for P3 config error\n"); in twl4030_config_wakeup3_sequence() 313 pr_err("TWL4030 wakeup sequence for P1 and P2" \ in twl4030_config_wakeup12_sequence() 326 pr_err("TWL4030 sleep sequence config error\n"); in twl4030_config_sleep_sequence() 368 pr_err("TWL4030 warmreset seq config error\n"); in twl4030_config_warmreset_sequence() 381 pr_err("TWL4030 Resource %d does not exist\n", in twl4030_configure_resource() 392 pr_err("TWL4030 Resource %d group could not be read\n", in twl4030_configure_resource() 403 pr_err("TWL4030 failed to program devgroup\n"); in twl4030_configure_resource() 412 pr_err("TWL4030 Resource %d type could not be read\n", in twl4030_configure_resource() 430 pr_err("TWL4030 failed to program resource type\n"); in twl4030_configure_resource() [all …]
|
| H A D | twl4030-irq.c | 3 * twl4030-irq.c - TWL4030/TPS659x0 irq support 29 * TWL4030 IRQ handling has two stages in hardware, and thus in software. 108 /* sih_modules_twl4030 is used both in twl4030 and twl5030 */ 272 * handle_twl4030_pih() is the desc->handle method for the twl4030 interrupt. 274 * Now we need to query the interrupt controller in the twl4030 to determine 288 pr_warn("twl4030: I2C error %d reading PIH ISR\n", ret); in handle_twl4030_pih() 343 pr_err("twl4030: err %d initializing %s %s\n", in twl4030_init_sih_modules() 359 pr_err("twl4030: err %d initializing %s %s\n", in twl4030_init_sih_modules() 387 pr_warn("twl4030: err %d initializing %s %s\n", in twl4030_init_sih_modules() 395 pr_warn("twl4030: write failed: %d\n", in twl4030_init_sih_modules() [all …]
|
| H A D | twl4030-audio.c | 3 * MFD driver for twl4030 audio submodule, which contains an audio codec, and 21 #include <linux/mfd/twl4030-audio.h> 227 cell->name = "twl4030-codec"; in twl4030_audio_probe() 236 cell->name = "twl4030-vibra"; in twl4030_audio_probe() 268 {.compatible = "ti,twl4030-audio", }, 275 .name = "twl4030-audio", 285 MODULE_DESCRIPTION("TWL4030 audio block MFD driver"); 286 MODULE_ALIAS("platform:twl4030-audio");
|
| H A D | twl-core.c | 3 * twl_core.c - driver for TWL4030/TWL5030/TWL60X0/TPS659x0 PM 39 #include <linux/mfd/twl4030-audio.h> 44 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power 82 #define TWL5031_BASEADD_INTERRUPTS 0x00B9 /* Different than TWL4030's 144 /* Structure for each TWL4030/TWL6030 Slave */ 186 /* TWL4030 specific IPs */ 394 return 4; /* TWL4030 class have four slave address */ in twl_get_num_slaves() 442 * twl_i2c_write - Writes a n bit register in TWL4030/TWL5030/TWL60X0 470 * twl_i2c_read - Reads a n bit register in TWL4030/TWL5030/TWL60X0 532 pr_err("TWL4030 Unable to unlock IDCODE registers -%d\n", err); in twl_read_idcode_register() [all …]
|
| /linux/drivers/regulator/ |
| H A D | twl-regulator.c | 3 * twl-regulator.c -- support regulators in twl4030/twl6030 family chips 22 * The TWL4030/TW5030/TPS659x0 family chips include power management, a 61 /* Common offset in TWL4030/6030 */ 63 /* TWL4030 register offsets */ 503 .id = TWL4030##_REG_##label, \ 546 #define TWL4030_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWL4030, label) 553 TWL4030_OF_MATCH("ti,twl4030-vaux1", VAUX1), 554 TWL4030_OF_MATCH("ti,twl4030-vaux2", VAUX2_4030), 556 TWL4030_OF_MATCH("ti,twl4030-vaux3", VAUX3), 557 TWL4030_OF_MATCH("ti,twl4030-vaux4", VAUX4), [all …]
|
| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A D | ti,twl4030-madc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/ti,twl4030-madc.yaml# 7 title: MADC subsystem in the TWL4030 power module 13 The MADC subsystem in the TWL4030 consists of a 10-bit ADC 18 const: ti,twl4030-madc 43 compatible = "ti,twl4030-madc";
|
| /linux/Documentation/devicetree/bindings/power/supply/ |
| H A D | twl4030-charger.yaml | 4 $id: http://devicetree.org/schemas/power/supply/twl4030-charger.yaml# 7 title: TWL4030 BCI (Battery Charger Interface) 15 of the BCI node which is compatible with "ti,twl4030-usb", then that is used 26 const: ti,twl4030-bci 61 compatible = "ti,twl4030-bci";
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | ti,twl4030-keypad.yaml | 4 $id: http://devicetree.org/schemas/input/ti,twl4030-keypad.yaml# 7 title: Texas Instruments TWL4030-family Keypad Controller 13 TWL4030's Keypad controller is used to interface a SoC with a matrix-type 24 const: ti,twl4030-keypad 43 compatible = "ti,twl4030-keypad";
|
| /linux/drivers/input/misc/ |
| H A D | twl4030-vibra.c | 3 * twl4030-vibra.c - TWL4030 Vibrator driver 18 #include <linux/mfd/twl4030-audio.h> 181 dev_dbg(&pdev->dev, "twl4030 OF node is missing\n"); in twl4030_vibra_probe() 201 info->input_dev->name = "twl4030:vibrator"; in twl4030_vibra_probe() 231 .name = "twl4030-vibra", 237 MODULE_ALIAS("platform:twl4030-vibra"); 238 MODULE_DESCRIPTION("TWL4030 Vibra driver");
|
| H A D | twl4030-pwrbutton.c | 2 * TWL4030 Power Button Input Driver 49 dev_err(pwr->dev.parent, "twl4030: i2c error %d while reading" in powerbutton_irq() 50 " TWL4030 PM_MASTER STS_HW_CONDITIONS register\n", err); in powerbutton_irq() 95 { .compatible = "ti,twl4030-pwrbutton" },
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | twl4030_omap3.dtsi | 13 * On most OMAP3 platforms, the twl4030 IRQ line is connected 17 twl4030_pins: twl4030-pins { 25 * If your board is not using the I2C4 pins with twl4030, then don't include 31 twl4030_vpins: twl4030-vpins-pins {
|
| H A D | omap3-cm-t3x30.dtsi | 16 compatible = "ti,omap-twl4030"; 73 compatible = "ti,twl4030-audio"; 80 #include "twl4030.dtsi"
|
| H A D | omap3-evm-common.dtsi | 66 #include "twl4030.dtsi" 76 compatible = "ti,twl4030-power-omap3-evm", "ti,twl4030-power-idle";
|
| H A D | omap3-beagle-xm.dts | 64 compatible = "ti,omap-twl4030"; 288 compatible = "ti,twl4030-audio"; 294 compatible = "ti,twl4030-power-idle-osc-off"; 300 #include "twl4030.dtsi"
|
| H A D | omap3-sniper.dts | 155 compatible = "ti,twl4030-power"; 224 #include "twl4030.dtsi" 236 * The TWL4030 VAUX2 and VDAC regulators power sensors that are slaves on I2C3.
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| H A D | ti,twl4030-gpio.yaml | 4 $id: http://devicetree.org/schemas/gpio/ti,twl4030-gpio.yaml# 7 title: TI TWL4030 GPIO controller 18 const: ti,twl4030-gpio 55 compatible = "ti,twl4030-gpio";
|
| /linux/Documentation/hwmon/ |
| H A D | twl4030-madc-hwmon.rst | 1 Kernel driver twl4030-madc 6 * Texas Instruments TWL4030 8 Prefix: 'twl4030-madc' 17 The Texas Instruments TWL4030 is a Power Management and Audio Circuit. Among
|
| /linux/drivers/pwm/ |
| H A D | pwm-twl.c | 3 * Driver for TWL4030/6030 Generic Pulse Width Modulator 17 * This driver handles the PWMs of TWL4030 and TWL6030. 18 * The TRM names for the PWMs on TWL4030 are: PWM0, PWM1 24 /* Registers, bits and macro for TWL4030 */ 363 { .compatible = "ti,twl4030-pwm" }, 380 MODULE_DESCRIPTION("PWM driver for TWL4030 and TWL6030");
|
| H A D | pwm-twl-led.c | 3 * Driver for TWL4030/6030 Pulse Width Modulator used as LED driver 36 * This driver handles the PWM driven LED terminals of TWL4030 and TWL6030. 37 * To generate the signal on TWL4030: 46 /* Registers, bits and macro for TWL4030 */ 339 { .compatible = "ti,twl4030-pwmled" }, 356 MODULE_DESCRIPTION("PWM driver for TWL4030 and TWL6030 LED outputs");
|
| /linux/sound/soc/ti/ |
| H A D | Makefile | 30 snd-soc-omap-twl4030-y := omap-twl4030.o 41 obj-$(CONFIG_SND_SOC_OMAP3_TWL4030) += snd-soc-omap-twl4030.o
|
| /linux/drivers/watchdog/ |
| H A D | twl4030_wdt.c | 49 .identity = "TWL4030 Watchdog", 103 { .compatible = "ti,twl4030-wdt", }, 121 MODULE_DESCRIPTION("TWL4030 Watchdog");
|
| /linux/include/linux/platform_data/ |
| H A D | omap-twl4030.h | 3 * omap-twl4030.h - ASoC machine driver for TI SoC based boards with twl4030
|
| /linux/drivers/phy/ti/ |
| H A D | phy-twl4030-usb.c | 3 * twl4030_usb - TWL4030 USB transceiver, talking to OMAP OTG controller 150 /* TWL4030 internal USB regulator supplies */ 212 "TWL4030:USB:Write[0x%x] Error %d\n", address, ret); in twl4030_usb_write() 226 "TWL4030:readb[0x%x,0x%x] Error %d\n", in twl4030_readb() 461 * in twl4030) resets the VUSB_DEDICATED2 register. This reset in twl4030_usb_runtime_resume() 703 dev_err(&pdev->dev, "twl4030 initialized without pdata\n"); in twl4030_usb_probe() 718 twl->phy.label = "twl4030"; in twl4030_usb_probe() 828 { .compatible = "ti,twl4030-usb" }, 858 MODULE_DESCRIPTION("TWL4030 USB transceiver driver");
|
| H A D | Kconfig | 95 tristate "TWL4030 USB Transceiver Driver" 102 Enable this to support the USB OTG transceiver on TWL4030
|