Home
last modified time | relevance | path

Searched +full:twl4030 +full:- +full:usb (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dtwlxxxx-usb.txt1 USB COMPARATOR OF TWL CHIPS
3 TWL6030 USB COMPARATOR
4 - compatible : Should be "ti,twl6030-usb"
5 - interrupts : Two interrupt numbers to the cpu should be specified. First
8 usb interrupt number that raises VBUS interrupts when the controller has to
10 - usb-supply : phandle to the regulator device tree node. It should be vusb
13 twl6030-usb {
14 compatible = "ti,twl6030-usb";
19 &twl6030-usb {
20 usb-supply = <&vusb>;
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dtwl4030.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
10 compatible = "ti,twl4030";
11 interrupt-controller;
12 #interrupt-cells = <1>;
15 compatible = "ti,twl4030-rtc";
20 compatible = "ti,twl4030-bci";
22 bci3v1-supply = <&vusb3v1>;
23 io-channels = <&twl_madc 11>;
24 io-channel-names = "vac";
[all …]
H A Domap3-evm-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/input/input.h>
7 #include "omap-gpmc-smsc911x.dtsi"
12 cpu0-supply = <&vcc>;
16 /* HS USB Port 2 Power */
18 compatible = "regulator-fixed";
19 regulator-name = "hsusb2_vbus";
20 regulator-min-microvolt = <3300000>;
21 regulator-max-microvolt = <3300000>;
23 startup-delay-us = <70000>;
[all …]
H A Domap3-beagle-xm.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
11 compatible = "ti,omap3-beagle-xm", "ti,omap3630", "ti,omap3";
15 cpu0-supply = <&vcc>;
32 #clock-cells = <0>;
33 compatible = "fixed-clock";
34 clock-frequency = <26000000>;
37 led-controller-1 {
38 compatible = "gpio-leds";
[all …]
H A Domap3-overo-base.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
17 led-controller {
18 compatible = "pwm-leds";
20 led-1 {
23 max-brightness = <127>;
24 linux,default-trigger = "mmc0";
29 compatible = "ti,omap-twl4030";
35 /* HS USB Port 2 Power */
37 compatible = "regulator-fixed";
38 regulator-name = "hsusb2_vbus";
[all …]
H A Domap3-cm-t3x30.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Common support for CompuLab CM-T3x30 CoMs
6 #include "omap3-cm-t3x.dtsi"
11 cpu0-supply = <&vcc>;
16 compatible = "ti,omap-twl4030";
17 ti,model = "cm-t35";
25 smsc1_pins: smsc1-pins {
26 pinctrl-single,pins = <
32 hsusb0_pins: hsusb0-pins {
33 pinctrl-single,pins = <
[all …]
H A Domap3-sniper.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015-2016 Paul Kocialkowski <contact@paulk.fr>
5 /dts-v1/;
8 #include <dt-bindings/input/input.h>
12 compatible = "lg,omap3-sniper", "ti,omap3630", "ti,omap3";
16 cpu0-supply = <&vcc>;
27 pinctrl-names = "default";
29 uart3_pins: uart3-pins {
30 pinctrl-single,pins = <
36 dp3t_sel_pins: dp3t-sel-pins {
[all …]
H A Domap3-tao3530.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
6 /dts-v1/;
26 cpu0-supply = <&vcc>;
35 /* HS USB Port 2 Power */
37 compatible = "regulator-fixed";
38 regulator-name = "hsusb2_vbus";
39 regulator-min-microvolt = <3300000>;
40 regulator-max-microvolt = <3300000>;
42 startup-delay-us = <70000>;
[all …]
H A Dlogicpd-torpedo-som.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 #include <dt-bindings/input/input.h>
7 stdout-path = &uart1;
12 cpu0-supply = <&vcc>;
22 compatible = "gpio-leds";
23 led-user0 {
26 linux,default-trigger = "none";
32 #clock-cells = <0>;
33 compatible = "fixed-clock";
34 clock-frequency = <26000000>;
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dtwl4030.dtsi2 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
13 compatible = "ti,twl4030";
14 interrupt-controller;
15 #interrupt-cells = <1>;
18 compatible = "ti,twl4030-rtc";
23 compatible = "ti,twl4030-bci";
25 bci3v1-supply = <&vusb3v1>;
29 compatible = "ti,twl4030-wdt";
32 vaux1: regulator-vaux1 {
33 compatible = "ti,twl4030-vaux1";
[all …]
H A Domap3-evm-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/input/input.h>
7 #include "omap-gpmc-smsc911x.dtsi"
12 cpu0-supply = <&vcc>;
16 /* HS USB Port 2 Power */
18 compatible = "regulator-fixed";
19 regulator-name = "hsusb2_vbus";
20 regulator-min-microvolt = <3300000>;
21 regulator-max-microvolt = <3300000>;
23 startup-delay-us = <70000>;
[all …]
H A Domap3-beagle-xm.dts2 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
8 /dts-v1/;
14 compatible = "ti,omap3-beagle-xm", "ti,omap36xx", "ti,omap3";
18 cpu0-supply = <&vcc>;
34 compatible = "gpio-leds";
38 gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
39 linux,default-trigger = "heartbeat";
44 gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
45 linux,default-trigger = "mmc0";
50 compatible = "pwm-leds";
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dtwl4030-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/twl4030-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TWL4030 BCI (Battery Charger Interface)
10 The battery charger needs to interact with the USB phy in order to know when
14 value in explicit configuration in device-tree. Rather if there is a sibling
15 of the BCI node which is compatible with "ti,twl4030-usb", then that is used
16 to determine when and how use USB power for charging.
19 - Sebastian Reichel <sre@kernel.org>
[all …]
/openbmc/u-boot/drivers/usb/phy/
H A Dtwl4030.c1 // SPDX-License-Identifier: GPL-2.0+
7 * repository git.gitorious.org/u-boot-omap3/mainline.git,
8 * branch omap3-dev-usb, file drivers/usb/gadget/twl4030_usb.c
12 * ------------------------------------------------------------------------
17 * Copyright (C) 2004-2007 Texas Instruments
23 * ------------------------------------------------------------------------
26 #include <twl4030.h>
45 printf("TWL4030:USB:Write[0x%x] Error %d\n", address, ret); in twl4030_usb_write()
59 printf("TWL4030:USB:Read[0x%x] Error %d\n", address, ret); in twl4030_usb_read()
120 * An interface between the USB link controller like musb and the
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0+
6 comment "USB Phy"
9 bool "TWL4030 PHY"
/openbmc/linux/drivers/mfd/
H A Dtwl4030-irq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl4030-irq.c - TWL4030/TPS659x0 irq support
5 * Copyright (C) 2005-2006 Texas Instruments, Inc.
26 #include "twl-core.h"
29 * TWL4030 IRQ handling has two stages in hardware, and thus in software.
32 * SIH modules are more traditional IRQ components, which support per-IRQ
39 * We set up IRQs starting at a platform-specified base, always starting
70 /* SIR ignored -- set interrupt, for testing only */
108 /* sih_modules_twl4030 is used both in twl4030 and twl5030 */
117 /* Note: *all* of these IRQs default to no-trigger */
[all …]
H A Dtwl-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl_core.c - driver for TWL4030/TWL5030/TWL60X0/TPS659x0 PM
6 * Copyright (C) 2005-2006 Texas Instruments, Inc.
37 #include <linux/mfd/twl4030-audio.h>
39 #include "twl-core.h"
42 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power
60 /* subchip/slave 0 - USB ID */
63 /* subchip/slave 1 - AUD ID */
70 /* subchip/slave 2 - AUX ID */
80 #define TWL5031_BASEADD_INTERRUPTS 0x00B9 /* Different than TWL4030's
[all …]
H A Dtwl4030-power.c3 * Handle TWL4030 Power initialization
9 * Peter De Schrijver <peter.de-schrijver@nokia.com>
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33 #include <asm/mach-types.h>
51 #define STARTON_USB BIT(2) /* Start on USB host */
57 #define PHY_TO_OFF_PM_MASTER(p) (p - 0x36)
58 #define PHY_TO_OFF_PM_RECEIVER(p) (p - 0x5b)
60 /* resource - hfclk */
222 int err = -EINVAL; in twl4030_write_script()
224 for (; len; len--, address++, script++) { in twl4030_write_script()
[all …]
/openbmc/linux/drivers/phy/ti/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 tristate "TI DA8xx USB PHY Driver"
11 Enable this to support the USB PHY on DA8xx SoCs.
13 This driver controls both the USB 1.1 PHY and the USB 2.0 PHY.
16 tristate "TI dm816x USB PHY driver"
22 Enable this for dm816x USB to work.
73 The USB OTG controller communicates with the comparator using this
92 Support for TI TUSB1210 USB ULPI PHY.
95 tristate "TWL4030 USB Transceiver Driver"
102 Enable this to support the USB OTG transceiver on TWL4030
H A Dphy-twl4030-usb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl4030_usb - TWL4030 USB transceiver, talking to OMAP OTG controller
5 * Copyright (C) 2004-2007 Texas Instruments
10 * - HS USB ULPI mode works.
11 * - 3-pin mode support may be added in future.
22 #include <linux/usb/otg.h>
25 #include <linux/usb/musb.h>
26 #include <linux/usb/ulpi.h>
138 * cable is present and we need to be runtime-enabled
150 /* TWL4030 internal USB regulator supplies */
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_PHY_DA8XX_USB) += phy-da8xx-usb.o
3 obj-$(CONFIG_PHY_DM816X_USB) += phy-dm816x-usb.o
4 obj-$(CONFIG_OMAP_CONTROL_PHY) += phy-omap-control.o
5 obj-$(CONFIG_OMAP_USB2) += phy-omap-usb2.o
6 obj-$(CONFIG_TI_PIPE3) += phy-ti-pipe3.o
7 obj-$(CONFIG_PHY_TUSB1210) += phy-tusb1210.o
8 obj-$(CONFIG_TWL4030_USB) += phy-twl4030-usb.o
9 obj-$(CONFIG_PHY_AM654_SERDES) += phy-am654-serdes.o
10 obj-$(CONFIG_PHY_TI_GMII_SEL) += phy-gmii-sel.o
[all …]
/openbmc/linux/drivers/regulator/
H A Dtwl-regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl-regulator.c -- support regulators in twl4030/twl6030 family chips
22 * The TWL4030/TW5030/TPS659x0 family chips include power management, a
23 * USB OTG transceiver, an RTC, ADC, PWM, and lots more. Some versions
25 * These chips are often used in OMAP-based systems.
27 * This driver implements software-based resource control for various
39 /* voltage in mV = table[VSEL]; table_len must be a power-of-two */
61 /* Common offset in TWL4030/6030 */
63 /* TWL4030 register offsets */
81 &value, info->base + offset); in twlreg_read()
[all …]
/openbmc/u-boot/drivers/usb/musb/
H A Domap3.c1 // SPDX-License-Identifier: GPL-2.0+
7 * repository git.gitorious.org/u-boot-omap3/mainline.git,
8 * branch omap3-dev-usb, file drivers/usb/host/omap3530_usb.c
12 * ------------------------------------------------------------------------
16 * ------------------------------------------------------------------------
20 #include <twl4030.h>
33 * OMAP3 USB OTG registers.
70 l = readl(&otg->revision); in musb_db_otg_regs()
72 l = readl(&otg->sysconfig); in musb_db_otg_regs()
74 l = readl(&otg->sysstatus); in musb_db_otg_regs()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-platform-twl4030-usb1 What: /sys/bus/platform/devices/*twl4030-usb/vbus
3 Read-only status reporting if VBUS (approx 5V)
4 is being supplied by the USB bus.
/openbmc/linux/drivers/power/supply/
H A Dtwl4030_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * TWL4030/TPS65950 BCI (Battery Charger Interface) driver
21 #include <linux/usb/otg.h>
73 #define TWL4030_ICHGEOC BIT(4) /* Battery current end-of-charge */
110 MODULE_PARM_DESC(allow_usb, "Allow USB charge drawing default current");
115 struct power_supply *usb; member
137 /* When setting the USB current we slowly increase the
147 #define USB_MAX_CURRENT 1700000 /* TWL4030 caps at 1.7A */
207 * CGAIN == 0: ICHG = (BCIICHG * 1.7) / (2^10 - 1) - 0.85
208 * CGAIN == 1: ICHG = (BCIICHG * 3.4) / (2^10 - 1) - 1.7
[all …]

1234