Home
last modified time | relevance | path

Searched full:twl4030 (Results 1 – 25 of 150) sorted by relevance

123456

/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dtwl4030.dtsi13 compatible = "ti,twl4030";
18 compatible = "ti,twl4030-rtc";
23 compatible = "ti,twl4030-bci";
29 compatible = "ti,twl4030-wdt";
33 compatible = "ti,twl4030-vaux1";
37 compatible = "ti,twl4030-vaux2";
41 compatible = "ti,twl4030-vaux3";
45 compatible = "ti,twl4030-vaux4";
49 compatible = "ti,twl4030-vdd1";
55 compatible = "ti,twl4030-vdac";
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dtwl4030.dtsi10 compatible = "ti,twl4030";
15 compatible = "ti,twl4030-rtc";
20 compatible = "ti,twl4030-bci";
28 compatible = "ti,twl4030-wdt";
32 compatible = "ti,twl4030-vaux1";
36 compatible = "ti,twl4030-vaux2";
40 compatible = "ti,twl4030-vaux3";
44 compatible = "ti,twl4030-vaux4";
48 compatible = "ti,twl4030-vdd1";
54 compatible = "ti,twl4030-vdac";
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/
H A Dtwl-regulator.txt35 For twl4030 regulators/LDOs
37 - "ti,twl4030-vaux1" for VAUX1 LDO
38 - "ti,twl4030-vaux2" for VAUX2 LDO
40 - "ti,twl4030-vaux3" for VAUX3 LDO
41 - "ti,twl4030-vaux4" for VAUX4 LDO
42 - "ti,twl4030-vmmc1" for VMMC1 LDO
43 - "ti,twl4030-vmmc2" for VMMC2 LDO
44 - "ti,twl4030-vpll1" for VPLL1 LDO
45 - "ti,twl4030-vpll2" for VPLL2 LDO
46 - "ti,twl4030-vsim" for VSIM LDO
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dtwl4030.c3 * ALSA SoC TWL4030 codec driver
28 #include <linux/mfd/twl4030-audio.h>
30 /* TWL4030 PMBR1 Register */
32 /* TWL4030 PMBR1 Register GPIO6 mux bits */
64 static void tw4030_init_ctl_cache(struct twl4030_priv *twl4030) in tw4030_init_ctl_cache() argument
71 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache()
77 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_read() local
90 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read()
100 static bool twl4030_can_write_to_chip(struct twl4030_priv *twl4030, in twl4030_can_write_to_chip() argument
108 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Dtwl4030-power.txt1 Texas Instruments TWL family (twl4030) reset and power management module
9 "ti,twl4030-power"
10 "ti,twl4030-power-reset"
11 "ti,twl4030-power-idle"
12 "ti,twl4030-power-idle-osc-off"
14 The use of ti,twl4030-power-reset is recommended at least on
17 When using ti,twl4030-power-idle, the TI recommended configuration
20 When using ti,twl4030-power-idle-osc-off, the TI recommended
27 - ti,system-power-controller: This indicates that TWL4030 is the
44 compatible = "ti,twl4030-power";
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dtwl4030-power.c3 * 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 Dtwl4030-irq.c3 * twl4030-irq.c - TWL4030/TPS659x0 irq support
28 * TWL4030 IRQ handling has two stages in hardware, and thus in software.
107 /* sih_modules_twl4030 is used both in twl4030 and twl5030 */
271 * handle_twl4030_pih() is the desc->handle method for the twl4030 interrupt.
273 * Now we need to query the interrupt controller in the twl4030 to determine
287 pr_warn("twl4030: I2C error %d reading PIH ISR\n", ret); in handle_twl4030_pih()
342 pr_err("twl4030: err %d initializing %s %s\n", in twl4030_init_sih_modules()
358 pr_err("twl4030: err %d initializing %s %s\n", in twl4030_init_sih_modules()
386 pr_warn("twl4030: err %d initializing %s %s\n", in twl4030_init_sih_modules()
394 pr_warn("twl4030: write failed: %d\n", in twl4030_init_sih_modules()
[all …]
H A Dtwl4030-audio.c3 * 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()
270 {.compatible = "ti,twl4030-audio", },
277 .name = "twl4030-audio",
287 MODULE_DESCRIPTION("TWL4030 audio block MFD driver");
289 MODULE_ALIAS("platform:twl4030-audio");
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dtwl-regulator.c3 * twl-regulator.c -- support regulators in twl4030/twl6030 family chips
23 * The TWL4030/TW5030/TPS659x0 family chips include power management, a
62 /* Common offset in TWL4030/6030 */
64 /* TWL4030 register offsets */
510 .id = TWL4030##_REG_##label, \
553 #define TWL4030_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWL4030, label)
560 TWL4030_OF_MATCH("ti,twl4030-vaux1", VAUX1),
561 TWL4030_OF_MATCH("ti,twl4030-vaux2", VAUX2_4030),
563 TWL4030_OF_MATCH("ti,twl4030-vaux3", VAUX3),
564 TWL4030_OF_MATCH("ti,twl4030-vaux4", VAUX4),
[all …]
/OK3568_Linux_fs/kernel/sound/soc/ti/
H A Domap-twl4030.c3 * omap-twl4030.c -- SoC audio for TI SoC based boards with twl4030 codec
20 #include <linux/platform_data/omap-twl4030.h>
200 DAILINK_COMP_ARRAY(COMP_CODEC("twl4030-codec", "twl4030-hifi")),
205 DAILINK_COMP_ARRAY(COMP_CODEC("twl4030-codec", "twl4030-voice")),
210 .name = "TWL4030 HiFi",
211 .stream_name = "TWL4030 HiFi",
217 .name = "TWL4030 Voice",
218 .stream_name = "TWL4030 Voice",
324 {.compatible = "ti,omap-twl4030", },
331 .name = "omap-twl4030",
[all …]
H A Domap3pandora.c108 * |P| <--- TWL4030 <--------- Line In and MICs
145 /* All TWL4030 output pins are floating */ in omap3pandora_out_init()
180 DAILINK_COMP_ARRAY(COMP_CODEC("twl4030-codec", "twl4030-hifi")),
185 DAILINK_COMP_ARRAY(COMP_CODEC("twl4030-codec", "twl4030-hifi")),
198 .name = "TWL4030",
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dtwl4030-pwrbutton.txt1 Texas Instruments TWL family (twl4030) pwrbutton module
3 This module is part of the TWL4030. For more details about the whole
10 - "ti,twl4030-pwrbutton": For controllers compatible with twl4030
12 - <8>: For controllers compatible with twl4030
18 compatible = "ti,twl4030-pwrbutton";
H A Dtwl4030-keypad.txt1 * TWL4030's Keypad Controller device tree bindings
3 TWL4030's Keypad controller is used to interface a SoC with a matrix-type
16 - "ti,twl4030-keypad": For controllers compatible with twl4030 keypad
19 - <1>: For controllers compatible with twl4030 keypad controller.
23 compatible = "ti,twl4030-keypad";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/
H A Dti,twl4030-madc.yaml4 $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";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Domap-twl4030.txt1 * Texas Instruments SoC with twl4030 based audio setups
4 - compatible: "ti,omap-twl4030"
9 - ti,codec: phandle for the twl4030 audio node
32 twl4030 pins:
58 compatible = "ti,omap-twl4030";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dtwlxxxx-usb.txt23 TWL4030 USB PHY AND COMPARATOR
24 - compatible : Should be "ti,twl4030-usb"
33 If a sibling node is compatible "ti,twl4030-bci", then it will find
36 twl4030-usb {
37 compatible = "ti,twl4030-usb";
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dtwl4030_keypad.c3 * twl4030_keypad.c - driver for 8x8 keypad controller in twl4030 chips
25 * The TWL4030 family chips include a keypad controller that supports
38 #define TWL4030_MAX_ROWS 8 /* TWL4030 hard limit */
132 "Couldn't read TWL4030: %X - ret %d[%x]\n", in twl4030_kpread()
144 "Could not write TWL4030: %X - ret %d[%x]\n", in twl4030_kpwrite_u8()
250 /* Read & Clear TWL4030 pending interrupt */ in do_kp_irq()
321 * and configures TWL4030 keypad registers
345 input->name = "TWL4030 Keypad"; in twl4030_kp_probe()
399 "Unable to register twl4030 keypad device\n"); in twl4030_kp_probe()
409 * the need to access the TWL4030 over the I2C bus. in twl4030_kp_probe()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/watchdog/
H A Dtwl4030-wdt.txt1 Device tree bindings for twl4030-wdt driver (TWL4030 watchdog)
4 compatible = "ti,twl4030-wdt";
9 compatible = "ti,twl4030-wdt";
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dtwl4030-vibra.c3 * twl4030-vibra.c - TWL4030 Vibrator driver
18 #include <linux/mfd/twl4030-audio.h>
211 info->input_dev->name = "twl4030:vibrator"; in twl4030_vibra_probe()
241 .name = "twl4030-vibra",
247 MODULE_ALIAS("platform:twl4030-vibra");
248 MODULE_DESCRIPTION("TWL4030 Vibra driver");
H A Dtwl4030-pwrbutton.c2 * twl4030-pwrbutton.c - TWL4030 Power Button Input Driver
48 dev_err(pwr->dev.parent, "twl4030: i2c error %d while reading" in powerbutton_irq()
49 " TWL4030 PM_MASTER STS_HW_CONDITIONS register\n", err); in powerbutton_irq()
94 { .compatible = "ti,twl4030-pwrbutton" },
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/
H A Dgpio-twl4030.txt1 twl4030 GPIO controller bindings
5 - "ti,twl4030-gpio" for twl4030 GPIO controller
23 compatible = "ti,twl4030-gpio";
/OK3568_Linux_fs/u-boot/drivers/usb/phy/
H A Dtwl4030.c27 #include <twl4030.h>
46 printf("TWL4030:USB:Write[0x%x] Error %d\n", address, ret); in twl4030_usb_write()
60 printf("TWL4030:USB:Read[0x%x] Error %d\n", address, ret); in twl4030_usb_read()
129 /* twl4030 ldo init */ in twl4030_usb_ulpi_init()
132 /* Enable the twl4030 phy */ in twl4030_usb_ulpi_init()
151 printf("Error:TWL4030:USB Timeout setting PHY DPLL clock\n"); in twl4030_usb_ulpi_init()
/OK3568_Linux_fs/kernel/Documentation/hwmon/
H A Dtwl4030-madc-hwmon.rst1 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
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/
H A Dtwl-rtc.txt1 * Texas Instruments TWL4030/6030 RTC
4 - compatible : Should be "ti,twl4030-rtc"
9 compatible = "ti,twl4030-rtc";
/OK3568_Linux_fs/u-boot/board/nokia/rx51/
H A Drx51.c28 #include <twl4030.h>
314 * Description: Set twl4030 regulator mode over i2c powerbus.
388 /* initialize twl4030 power managment */ in misc_init_r()
401 /* enable I2C access to powerbus (needed for twl4030 regulator) */ in misc_init_r()
456 * Description: Reset timeout of twl4030 watchdog.
466 /* localy lock twl4030 i2c bus */ in hw_watchdog_reset()
483 /* localy unlock twl4030 i2c bus */ in hw_watchdog_reset()
488 * TWL4030 keypad handler for cfb_console
543 /* this is a workaround for qemu twl4030 emulation */ in rx51_kp_init()
603 /* localy lock twl4030 i2c bus */ in rx51_kp_tstc()
[all …]

123456