Home
last modified time | relevance | path

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

12345

/Linux-v5.10/arch/arm/boot/dts/
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 …]
/Linux-v5.10/Documentation/devicetree/bindings/regulator/
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 …]
/Linux-v5.10/Documentation/devicetree/bindings/mfd/
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";
Dtwl4030-audio.txt1 Texas Instruments TWL family (twl4030) audio module
7 - compatible : must be "ti,twl4030-audio"
36 compatible = "ti,twl4030-audio";
/Linux-v5.10/sound/soc/codecs/
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 …]
/Linux-v5.10/Documentation/devicetree/bindings/input/
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";
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";
/Linux-v5.10/drivers/mfd/
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 …]
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 …]
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");
Dtwl-core.c3 * twl_core.c - driver for TWL4030/TWL5030/TWL60X0/TPS659x0 PM
37 #include <linux/mfd/twl4030-audio.h>
42 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power
80 #define TWL5031_BASEADD_INTERRUPTS 0x00B9 /* Different than TWL4030's
137 /* Structure for each TWL4030/TWL6030 Slave */
179 /* TWL4030 specific IPs */
384 return 4; /* TWL4030 class have four slave address */ in twl_get_num_slaves()
432 * twl_i2c_write - Writes a n bit register in TWL4030/TWL5030/TWL60X0
460 * twl_i2c_read - Reads a n bit register in TWL4030/TWL5030/TWL60X0
522 pr_err("TWL4030 Unable to unlock IDCODE registers -%d\n", err); in twl_read_idcode_register()
[all …]
/Linux-v5.10/drivers/regulator/
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 …]
/Linux-v5.10/sound/soc/ti/
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 …]
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",
/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/
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";
/Linux-v5.10/Documentation/devicetree/bindings/watchdog/
Dtwl4030-wdt.txt1 Device tree bindings for twl4030-wdt driver (TWL4030 watchdog)
4 compatible = "ti,twl4030-wdt";
9 compatible = "ti,twl4030-wdt";
/Linux-v5.10/Documentation/devicetree/bindings/sound/
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";
/Linux-v5.10/Documentation/devicetree/bindings/usb/
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";
/Linux-v5.10/Documentation/devicetree/bindings/gpio/
Dgpio-twl4030.txt1 twl4030 GPIO controller bindings
5 - "ti,twl4030-gpio" for twl4030 GPIO controller
23 compatible = "ti,twl4030-gpio";
/Linux-v5.10/drivers/input/keyboard/
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 …]
/Linux-v5.10/drivers/input/misc/
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" },
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");
/Linux-v5.10/Documentation/devicetree/bindings/rtc/
Dtwl-rtc.txt1 * Texas Instruments TWL4030/6030 RTC
4 - compatible : Should be "ti,twl4030-rtc"
9 compatible = "ti,twl4030-rtc";
/Linux-v5.10/Documentation/hwmon/
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
/Linux-v5.10/Documentation/devicetree/bindings/power/supply/
Dtwl-charger.txt10 "ti,twl4030-usb", then that is used to determine when and how
15 - "ti,twl4030-bci"
26 compatible = "ti,twl4030-bci";

12345