Home
last modified time | relevance | path

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

12345678910>>...13

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/connector/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dmaxim,max33359.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/usb/maxim,max33359.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Maxim TCPCI Type-C PD controller DT bindings
10 - Badhri Jagan Sridharan <badhri@google.com>
12 description: Maxim TCPCI Type-C PD controller
17 - maxim,max33359
25 connector:
27 $ref: ../connector/usb-connector.yaml#
[all …]
H A Detek,et7303.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/usb/etek,et7303.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Etek ET7303 Type-C Port controller DT bindings
10 - Wang Jie <dave.wang@rock-chips.com>
27 description: TCPC connected to USB controller to support dual-role switch.
30 - port@0
32 connector:
34 $ref: ../connector/usb-connector.yaml#
[all …]
H A Dhynetek,husb311.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/usb/hynetek,husb311.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Hynetek HUSB311 Type-C Port controller DT bindings
10 - Guenter Roeck <linux@roeck-us.net>
11 - Heikki Krogerus <heikki.krogerus@linux.intel.com>
28 description: TCPC connected to USB controller to support dual-role switch.
31 - port@0
33 connector:
[all …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dusb-drd.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/usb/usb-drd.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic USB OTG Controller Device Tree Bindings
10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 otg-rev:
15 Tells usb driver the release number of the OTG and EH supplement with
16 which the device and its descriptors are compliant, in binary-coded
18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be
[all …]
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/usb/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/include/linux/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/firmware-guide/acpi/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/extcon/
H A 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 …]
/OK3568_Linux_fs/kernel/include/linux/usb/
H A 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
41 dev_set_drvdata(&altmode->dev, data); in typec_altmode_set_drvdata()
46 return dev_get_drvdata(&altmode->dev); in typec_altmode_get_drvdata()
50 * struct typec_altmode_ops - Alternate mode specific operations vector
81 * These are the connector states (USB, Safe and Alt Mode) defined in USB Type-C
82 * Specification. SVID specific connector states are expected to follow and
86 TYPEC_STATE_SAFE, /* USB Safe State */
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A 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 …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dstih410-b2260.dts2 * Copyright (C) 2016 STMicroelectronics (R&D) Limited.
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
15 compatible = "st,stih410-b2260", "st,stih410";
19 linux,stdout-path = &uart1;
20 stdout-path = &uart1;
36 compatible = "gpio-leds";
40 linux,default-trigger = "heartbeat";
41 default-state = "off";
47 default-state = "off";
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/chrome/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/usb/typec/ucsi/
H A Ducsi.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB Type-C Connector System Software Interface driver
5 * Copyright (C) 2017, Intel Corporation
15 #include <linux/usb/typec_dp.h>
21 * UCSI_TIMEOUT_MS - PPM communication timeout
31 * UCSI_SWAP_TIMEOUT_MS - Timeout for role swap requests
34 * if the PPM does not generate Connector Change events before that with
35 * partners that do not support USB Power Delivery, this should still work.
46 return ucsi->ops->sync_write(ucsi, UCSI_CONTROL, &ctrl, sizeof(ctrl)); in ucsi_acknowledge_command()
56 return ucsi->ops->sync_write(ucsi, UCSI_CONTROL, &ctrl, sizeof(ctrl)); in ucsi_acknowledge_connector_change()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 tristate "USB Type-C Connector System Software Interface driver"
8 USB Type-C Connector System Software Interface (UCSI) is a
10 control the USB Type-C ports. On UCSI system the USB Type-C ports
14 that are equipped with Embedded Controller and USB Type-C ports.
22 https://www.intel.com/content/www/us/en/io/universal-serial-bus/usb-type-c-ucsi-spec.html
34 Cypress CCGx Type-C controller over I2C interface.
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/socionext/
H A 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 …]

12345678910>>...13