Home
last modified time | relevance | path

Searched +full:usb +full:- +full:c +full:- +full:connector (Results 1 – 25 of 217) sorted by relevance

123456789

/linux-5.10/Documentation/devicetree/bindings/connector/
Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: USB Connector
10 - Rob Herring <robh@kernel.org>
13 A USB connector node represents a physical USB connector. It should be a child
14 of a USB interface controller or a separate node when it is attached to both
15 MUX and USB interface controller.
20 - enum:
[all …]
/linux-5.10/Documentation/devicetree/bindings/usb/
Dfcs,fusb302.txt1 Fairchild FUSB302 Type-C Port controllers
4 - compatible : "fcs,fusb302"
5 - reg : I2C slave address
6 - interrupts : Interrupt specifier
8 Required sub-node:
9 - connector : The "usb-c-connector" attached to the FUSB302 IC. The bindings
10 of the connector node are specified in:
12 Documentation/devicetree/bindings/connector/usb-connector.yaml
17 fusb302: typec-portc@54 {
20 interrupt-parent = <&nmi_intc>;
[all …]
Dtypec-tcpci.txt2 ---------------------------------------------
5 - compatible: should be set one of following:
6 - "nxp,ptn5110" for NXP USB PD TCPC PHY IC ptn5110.
8 - reg: the i2c slave address of typec port controller device.
9 - interrupt-parent: the phandle to the interrupt controller which provides
11 - interrupts: interrupt specification for tcpci alert.
13 Required sub-node:
14 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings
15 of connector node are specified in
16 Documentation/devicetree/bindings/connector/usb-connector.yaml
[all …]
Drichtek,rt1711h.txt4 - compatible : Must be "richtek,rt1711h".
5 - reg : Must be 0x4e, it's slave address of RT1711H.
6 - interrupts : <a b> where a is the interrupt number and b represents an
9 Required sub-node:
10 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings
11 of connector node are specified in
12 Documentation/devicetree/bindings/connector/usb-connector.yaml
18 interrupt-parent = <&gpio26>;
21 usb_con: connector {
22 compatible = "usb-c-connector";
[all …]
Dmediatek,mt6360-tcpc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Mediatek MT6360 Type-C Port Switch and Power Delivery controller DT bindings
10 - ChiYuan Huang <cy_huang@richtek.com>
13 Mediatek MT6360 is a multi-functional device. It integrates charger, ADC, flash, RGB indicators,
15 This document only describes MT6360 Type-C Port Switch and Power Delivery controller.
20 - mediatek,mt6360-tcpc
25 interrupt-names:
[all …]
Dgeneric.txt1 Generic USB Properties
4 - maximum-speed: tells USB controllers we want to work up to a certain
5 speed. Valid arguments are "super-speed-plus",
6 "super-speed", "high-speed", "full-speed" and
7 "low-speed". In case this isn't passed via DT, USB
10 - dr_mode: tells Dual-Role USB controllers that we want to work on a
13 passed via DT, USB DRD controllers should default to
15 - phy_type: tells USB controllers that we want to configure the core to support
16 a UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is
18 In case this isn't passed via DT, USB controllers should
[all …]
Dti,hd3ss3220.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/ti,hd3ss3220.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Biju Das <biju.das.jz@bp.renesas.com>
12 description: |-
13 HD3SS3220 is a USB SuperSpeed (SS) 2:1 mux with DRP port controller. The device provides Channel
14 Configuration (CC) logic and 5V VCONN sourcing for ecosystems implementing USB Type-C. The
30 SS data bus to the SS capable connector.
35 description: Super Speed (SS) MUX inputs connected to SS capable connector.
[all …]
Dti,tps6598x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/usb/ti,tps6598x.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Texas Instruments 6598x Type-C Port Switch and Power Delivery controller DT bindings
10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org>
13 Texas Instruments 6598x Type-C Port Switch and Power Delivery controller
18 - ti,tps6598x
25 interrupt-names:
27 - const: irq
[all …]
/linux-5.10/Documentation/driver-api/usb/
Dtypec.rst3 USB Type-C connector class
7 ------------
9 The typec class is meant for describing the USB Type-C ports in a system to the
14 The platforms are expected to register every USB Type-C port they have with the
15 class. In a normal case the registration will be done by a USB Type-C or PD PHY
17 USB PD controller or even driver for Thunderbolt3 controller. This document
18 considers the component registering the USB Type-C ports with the class as "port
26 attributes are described in Documentation/ABI/testing/sysfs-class-typec.
29 --------------------
36 "port0-partner". Full path to the device would be
[all …]
Dtypec_bus.rst2 API for USB Type-C Alternate Mode drivers
6 ------------
9 Messages (VDM) as defined in USB Type-C and USB Power Delivery Specifications.
13 USB Type-C bus allows binding a driver to the discovered partner alternate
16 :ref:`USB Type-C Connector Class <typec>` provides a device for every alternate
36 ------
43 space (See Documentation/ABI/testing/sysfs-class-typec). Port drivers should not
46 ``->vdm`` is the most important callback in the operation callbacks vector. It
49 the SVID specific commands to each other using :c:func:`typec_altmode_vdm()`.
52 in need to reconfigure the pins on the connector, the alternate mode driver
[all …]
/linux-5.10/drivers/usb/typec/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 tristate "USB Type-C Support"
6 USB Type-C Specification defines a cable and connector for USB where
8 be Type-A plug on one end of the cable and Type-B plug on the other.
9 Determination of the host-to-device relationship happens through a
10 specific Configuration Channel (CC) which goes through the USB Type-C
12 Accessory Modes - Analog Audio and Debug - and if USB Power Delivery
13 is supported, the Alternate Modes, where the connector is used for
14 something else then USB communication.
16 USB Power Delivery Specification defines a protocol that can be used
[all …]
Dmux.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB Type-C Multiplexer/DeMultiplexer Switch support
5 * Copyright (C) 2018 Intel Corporation
16 #include <linux/usb/typec_mux.h>
29 return strcmp(name + (name_len - suffix_len), suffix) == 0; in dev_name_ends_with()
34 return dev_fwnode(dev) == fwnode && dev_name_ends_with(dev, "-switch"); in switch_fwnode_match()
48 return dev ? to_typec_switch(dev) : ERR_PTR(-EPROBE_DEFER); in typec_switch_match()
52 * fwnode_typec_switch_get - Find USB Type-C orientation switch
57 * ERR_PTR(-EPROBE_DEFER) when a connection was found but the switch
64 sw = fwnode_connection_find_match(fwnode, "orientation-switch", NULL, in fwnode_typec_switch_get()
[all …]
Dhd3ss3220.c1 // SPDX-License-Identifier: GPL-2.0+
3 * TI HD3SS3220 Type-C DRP Port Controller Driver
5 * Copyright (C) 2019 Renesas Electronics Corp.
10 #include <linux/usb/role.h>
15 #include <linux/usb/typec.h>
44 return regmap_update_bits(hd3ss3220->regmap, HD3SS3220_REG_GEN_CTRL, in hd3ss3220_set_source_pref()
55 ret = regmap_read(hd3ss3220->regmap, HD3SS3220_REG_CN_STAT_CTRL, in hd3ss3220_get_attached_state()
92 usb_role_switch_set_role(hd3ss3220->role_sw, role_val); in hd3ss3220_dr_set()
93 typec_set_data_role(hd3ss3220->port, role); in hd3ss3220_dr_set()
106 usb_role_switch_set_role(hd3ss3220->role_sw, role_state); in hd3ss3220_set_role()
[all …]
/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-typec-displayport5 Shows the current DisplayPort configuration for the connector.
6 Valid values are USB, source and sink. Source means DisplayPort
14 USB [source] sink
18 Note. USB configuration does not equal to Exit Mode. It is
20 USB Type-C Standard. Functionally it equals to the situation
22 Documentation/ABI/testing/sysfs-bus-typec, and use file
29 VESA DisplayPort Alt Mode on USB Type-C Standard defines six
30 different pin assignments for USB Type-C connector that are
31 labeled A, B, C, D, E, and F. The supported pin assignments are
37 C [D]
[all …]
Dsysfs-class-usb_role5 Place in sysfs for USB Role Switches. USB Role Switch is a
6 device that can select the data role (host or device) for USB
14 requesting role swapping with non-USB Type-C ports. With USB
15 Type-C ports, the ABI defined for USB Type-C connector class
19 - none
20 - host
21 - device
/linux-5.10/include/linux/
Dextcon.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * External Connector (extcon) framework
4 * - linux/include/linux/extcon.h for extcon consumer device driver.
6 * Copyright (C) 2015 Samsung Electronics
9 * Copyright (C) 2012 Samsung Electronics
14 * Copyright (C) 2008 Google, Inc.
26 #define EXTCON_TYPE_USB BIT(0) /* USB connector */
27 #define EXTCON_TYPE_CHG BIT(1) /* Charger connector */
28 #define EXTCON_TYPE_JACK BIT(2) /* Jack connector */
29 #define EXTCON_TYPE_DISP BIT(3) /* Display connector */
[all …]
/linux-5.10/Documentation/firmware-guide/acpi/
Dintel-pmc-mux.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Intel North Mux-Agent
10 North Mux-Agent is a function of the Intel PMC firmware that is supported on
12 configuring the various USB Multiplexer/DeMultiplexers on the system. The
13 platforms that allow the mux-agent to be configured from the operating system
16 The North Mux-Agent (aka. Intel PMC Mux Control, or just mux-agent) driver
18 (drivers/platform/x86/intel_scu_ipc.c). The driver registers with the USB Type-C
19 Mux Class which allows the USB Type-C Controller and Interface drivers to
21 also registers with the USB Role Class in order to support both USB Host and
22 Device modes. The driver is located here: drivers/usb/typec/mux/intel_pmc_mux.c.
[all …]
/linux-5.10/drivers/extcon/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "External Connector Class (extcon) support"
5 Say Y here to enable external connector class (extcon) support.
9 cables attached. For example, an external connector of a device
11 host USB ports. Many of 30-pin connectors including PDMI are
33 tristate "X-Power AXP288 EXTCON support"
37 Say Y here to enable support for USB peripheral detection
38 and USB MUX switching by X-Power AXP288 PMIC.
47 FSA9480 microUSB switch and accessory detector chip. The FSA9480 is a USB
49 I2C and enables USB data, stereo and mono audio, video, microphone
[all …]
/linux-5.10/include/linux/usb/
Dtypec_altmode.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/usb/typec.h>
15 * struct typec_altmode - USB Type-C alternate mode device
19 * @vdo: VDO returned by Discover Modes USB PD command
40 dev_set_drvdata(&altmode->dev, data); in typec_altmode_set_drvdata()
45 return dev_get_drvdata(&altmode->dev); in typec_altmode_get_drvdata()
49 * struct typec_altmode_ops - Alternate mode specific operations vector
79 * These are the connector states (USB, Safe and Alt Mode) defined in USB Type-C
80 * Specification. SVID specific connector states are expected to follow and
84 TYPEC_STATE_SAFE, /* USB Safe State */
[all …]
/linux-5.10/Documentation/devicetree/bindings/chrome/
Dgoogle,cros-ec-typec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/chrome/google,cros-ec-typec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Google Chrome OS EC(Embedded Controller) Type C port driver.
10 - Benson Leung <bleung@chromium.org>
11 - Prashant Malani <pmalani@chromium.org>
15 Type C port state. This node is intended to allow the host to read and
16 control the Type C ports. The node for this device should be under a
17 cros-ec node like google,cros-ec-spi.
[all …]
/linux-5.10/arch/arm/boot/dts/
Dstih410-b2260.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2016 STMicroelectronics (R&D) Limited.
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
12 compatible = "st,stih410-b2260", "st,stih410";
16 stdout-path = &uart1;
30 compatible = "gpio-leds";
34 linux,default-trigger = "heartbeat";
35 default-state = "off";
41 default-state = "off";
[all …]
/linux-5.10/drivers/usb/typec/ucsi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 tristate "USB Type-C Connector System Software Interface driver"
7 USB Type-C Connector System Software Interface (UCSI) is a
9 control the USB Type-C ports. On UCSI system the USB Type-C ports
13 that are equipped with Embedded Controller and USB Type-C ports.
21 https://www.intel.com/content/www/us/en/io/universal-serial-bus/usb-type-c-ucsi-spec.html
33 Cypress CCGx Type-C controller over I2C interface.
/linux-5.10/arch/arm64/boot/dts/socionext/
Duniphier-ld20-akebi96.dts1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
5 // Derived from uniphier-ld20-global.dts.
7 // Copyright (C) 2015-2017 Socionext Inc.
8 // Copyright (C) 2019-2020 Linaro Ltd.
10 /dts-v1/;
11 #include <dt-bindings/gpio/uniphier-gpio.h>
12 #include "uniphier-ld20.dtsi"
16 compatible = "socionext,uniphier-ld20-akebi96",
17 "socionext,uniphier-ld20";
20 stdout-path = "serial0:115200n8";
[all …]
/linux-5.10/Documentation/input/devices/
Dxpad.rst2 xpad - Linux USB driver for Xbox compatible controllers
5 This driver exposes all first-party and third-party Xbox compatible
25 - if you are using a known controller
26 - if you are using a known dance pad
27 - if using an unknown device (one not listed below), what you set in the
28 module configuration for "Map D-PAD to buttons rather than axes for unknown
33 If you said Y it will map the d-pad to buttons, which is needed for dance
43 ------------------
46 The jstest-program from joystick-1.2.15 (jstest-version 2.1.0) will report 8
49 All 8 axes work, though they all have the same range (-32768..32767)
[all …]
/linux-5.10/drivers/usb/core/
Dhub.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * usb hub driver head file
5 * Copyright (C) 1999 Linus Torvalds
6 * Copyright (C) 1999 Johannes Erdfelt
7 * Copyright (C) 1999 Gregory P. Smith
8 * Copyright (C) 2001 Brad Hards (bhards@bigpond.net.au)
9 * Copyright (C) 2012 Intel Corp (tianyu.lan@intel.com)
14 #include <linux/usb.h>
15 #include <linux/usb/ch11.h>
16 #include <linux/usb/hcd.h>
[all …]

123456789