Home
last modified time | relevance | path

Searched refs:typec (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v5.15/drivers/platform/chrome/
Dcros_ec_typec.c168 static int cros_typec_add_partner(struct cros_typec_data *typec, int port_num, in cros_typec_add_partner() argument
171 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_add_partner()
192 static void cros_typec_unregister_altmodes(struct cros_typec_data *typec, int port_num, in cros_typec_unregister_altmodes() argument
195 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_unregister_altmodes()
203 devm_kfree(typec->dev, node); in cros_typec_unregister_altmodes()
219 static void cros_typec_remove_partner(struct cros_typec_data *typec, in cros_typec_remove_partner() argument
222 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_partner()
227 cros_typec_unregister_altmodes(typec, port_num, true); in cros_typec_remove_partner()
237 static void cros_typec_remove_cable(struct cros_typec_data *typec, in cros_typec_remove_cable() argument
240 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_cable()
[all …]
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-class-typec1 USB Type-C port devices (eg. /sys/class/typec/port0/)
3 What: /sys/class/typec/<port>/data_role
18 What: /sys/class/typec/<port>/power_role
33 What: /sys/class/typec/<port>/port_type
51 What: /sys/class/typec/<port>/vconn_source
69 What: /sys/class/typec/<port>/power_operation_mode
85 What: /sys/class/typec/<port>/preferred_role
96 What: /sys/class/typec/<port>/supported_accessory_modes
103 What: /sys/class/typec/<port>/usb_power_delivery_revision
115 What: /sys/class/typec/<port>-{partner|cable}/usb_power_delivery_revision
[all …]
Dsysfs-bus-typec1 What: /sys/bus/typec/devices/.../active
15 What: /sys/bus/typec/devices/.../description
22 What: /sys/bus/typec/devices/.../mode
39 What: /sys/bus/typec/devices/.../svid
46 What: /sys/bus/typec/devices/.../vdo
Dsysfs-driver-typec-displayport1 What: /sys/bus/typec/devices/.../displayport/configuration
22 Documentation/ABI/testing/sysfs-bus-typec, and use file
23 /sys/bus/typec/devices/.../active).
25 What: /sys/bus/typec/devices/.../displayport/pin_assignment
/Linux-v5.15/Documentation/ABI/obsolete/
Dsysfs-class-typec2 under /sys/bus/typec (see Documentation/ABI/testing/sysfs-bus-typec).
4 What: /sys/class/typec/<port|partner|cable>/<dev>/svid
11 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/
20 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/description
27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo
34 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/active
/Linux-v5.15/Documentation/driver-api/usb/
Dtypec.rst9 The typec class is meant for describing the USB Type-C ports in a system to the
26 attributes are described in Documentation/ABI/testing/sysfs-class-typec.
30 Every port will be presented as its own device under /sys/class/typec/. The
34 /sys/class/typec/. The parent of the partner device will always be the port it
37 /sys/class/typec/port0/port0-partner/.
40 devices under /sys/class/typec/. The cable attached to the port "port0" port
48 Alternate Mode devices will not be attached to the typec class. The parent of an
50 mode of port0-partner will be presented under /sys/class/typec/port0-partner/.
52 device named "mode<index>", for example /sys/class/typec/port0/<alternate
65 .. kernel-doc:: drivers/usb/typec/class.c
[all …]
Dtypec_bus.rst16 :ref:`USB Type-C Connector Class <typec>` provides a device for every alternate
43 space (See Documentation/ABI/testing/sysfs-class-typec). Port drivers should not
109 .. kernel-doc:: drivers/usb/typec/bus.c
115 .. kernel-doc:: drivers/usb/typec/bus.c
121 .. kernel-doc:: drivers/usb/typec/bus.c
Dindex.rst21 typec
/Linux-v5.15/drivers/usb/typec/
DMakefile2 obj-$(CONFIG_TYPEC) += typec.o
3 typec-y := class.o mux.o bus.o port-mapper.o
9 obj-$(CONFIG_TYPEC_QCOM_PMIC) += qcom-pmic-typec.o
DKconfig43 Connector Class API (Documentation/driver-api/usb/typec.rst)
44 <https://www.kernel.org/doc/html/latest/driver-api/usb/typec.html>
45 and ABI (Documentation/ABI/testing/sysfs-class-typec).
49 source "drivers/usb/typec/tcpm/Kconfig"
51 source "drivers/usb/typec/ucsi/Kconfig"
53 source "drivers/usb/typec/tipd/Kconfig"
91 source "drivers/usb/typec/mux/Kconfig"
93 source "drivers/usb/typec/altmodes/Kconfig"
/Linux-v5.15/Documentation/devicetree/bindings/phy/
Dphy-rockchip-typec.txt5 - compatible : must be "rockchip,rk3399-typec-phy"
32 - rockchip,typec-conn-dir
39 compatible = "rockchip,rk3399-typec-phy";
63 compatible = "rockchip,rk3399-typec-phy";
/Linux-v5.15/drivers/usb/typec/altmodes/
Dnvidia.c30 MODULE_DEVICE_TABLE(typec, nvidia_typec_id);
/Linux-v5.15/drivers/phy/rockchip/
DMakefile10 obj-$(CONFIG_PHY_ROCKCHIP_TYPEC) += phy-rockchip-typec.o
/Linux-v5.15/Documentation/devicetree/bindings/usb/
Dfcs,fusb302.txt17 fusb302: typec-portc@54 {
Dtypec-tcpci.txt8 - reg: the i2c slave address of typec port controller device.
/Linux-v5.15/drivers/usb/
DMakefile66 obj-$(CONFIG_TYPEC) += typec/
/Linux-v5.15/Documentation/devicetree/bindings/mfd/
Dsprd,sc27xx-pmic.txt13 - IC level interface, such as power on/off control, RTC and typec and so on.
/Linux-v5.15/arch/arm/boot/dts/
Drockchip-radxa-dalang-carrier.dtsi54 vbus_typec: vbus-typec {
/Linux-v5.15/arch/arm64/boot/dts/rockchip/
Drk3399-rock-pi-4.dtsi101 vcc5v0_typec: vcc5v0-typec-regulator {
538 usb-typec {
539 vcc5v0_typec_en: vcc5v0-typec-en {
Drk3399-hugsun-x99.dts101 vcc5v0_typec: vcc5v0-typec-regulator {
452 fusb0: typec-portc@22 {
566 usb-typec {
Drk3399-roc-pc.dtsi531 fusb1: usb-typec@22 {
548 fusb0: usb-typec@22 {
682 usb-typec {
Drk3399-rockpro64.dtsi181 vcc5v0_typec: vcc5v0-typec-regulator {
529 fusb0: typec-portc@22 {
673 usb-typec {
Drk3308-roc-cc.dts52 typec_vcc5v: typec-vcc5v {
Drk3399-firefly.dts224 vcc5v0_typec: vcc5v0-typec-regulator {
560 fusb0: typec-portc@22 {
728 usb-typec {
/Linux-v5.15/arch/arm64/boot/dts/freescale/
Dimx8mn-var-som-symphony.dts103 extcon_usbotg1: typec@3d {

12