/Linux-v6.1/drivers/platform/chrome/ |
D | cros_ec_typec.c | 184 static int cros_typec_add_partner(struct cros_typec_data *typec, int port_num, in cros_typec_add_partner() argument 187 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_add_partner() 208 static void cros_typec_unregister_altmodes(struct cros_typec_data *typec, int port_num, in cros_typec_unregister_altmodes() argument 211 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_unregister_altmodes() 219 devm_kfree(typec->dev, node); in cros_typec_unregister_altmodes() 251 static void cros_typec_remove_partner(struct cros_typec_data *typec, in cros_typec_remove_partner() argument 254 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_partner() 259 cros_typec_unregister_altmodes(typec, port_num, true); in cros_typec_remove_partner() 278 static void cros_typec_remove_cable(struct cros_typec_data *typec, in cros_typec_remove_cable() argument 281 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_cable() [all …]
|
/Linux-v6.1/drivers/usb/typec/ |
D | anx7411.c | 280 struct typec_params typec; member 342 ctx->typec.request_current = ret * CURRENT_UNIT; /* 50ma per unit */ in anx7411_detect_power_mode() 348 ctx->typec.request_voltage = ret * VOLTAGE_UNIT; /* 100mv per unit */ in anx7411_detect_power_mode() 356 if (!ctx->typec.cc_orientation_valid) in anx7411_detect_power_mode() 359 if (ctx->typec.cc_connect == CC1_CONNECTED) in anx7411_detect_power_mode() 360 mode = CC1_RP(ctx->typec.cc_status); in anx7411_detect_power_mode() 362 mode = CC2_RP(ctx->typec.cc_status); in anx7411_detect_power_mode() 364 typec_set_pwr_opmode(ctx->typec.port, mode - 1); in anx7411_detect_power_mode() 368 typec_set_pwr_opmode(ctx->typec.port, TYPEC_PWR_MODE_PD); in anx7411_detect_power_mode() 379 if (ctx->typec.partner) in anx7411_register_partner() [all …]
|
D | Makefile | 2 obj-$(CONFIG_TYPEC) += typec.o 3 typec-y := class.o mux.o bus.o pd.o retimer.o 4 typec-$(CONFIG_ACPI) += port-mapper.o 11 obj-$(CONFIG_TYPEC_QCOM_PMIC) += qcom-pmic-typec.o
|
D | Kconfig | 43 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" 126 source "drivers/usb/typec/mux/Kconfig" 128 source "drivers/usb/typec/altmodes/Kconfig"
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-class-typec | 1 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 …]
|
D | sysfs-bus-typec | 1 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
|
D | sysfs-driver-typec-displayport | 1 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-v6.1/Documentation/ABI/obsolete/ |
D | sysfs-class-typec | 2 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-v6.1/Documentation/driver-api/usb/ |
D | typec.rst | 9 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 …]
|
D | typec_bus.rst | 16 :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
|
D | index.rst | 21 typec
|
/Linux-v6.1/Documentation/devicetree/bindings/phy/ |
D | phy-rockchip-typec.txt | 5 - 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-v6.1/arch/arm64/boot/dts/qcom/ |
D | sc7280-idp-ec-h1.dtsi | 35 typec { 36 compatible = "google,cros-ec-typec";
|
D | msm8996-xiaomi-common.dtsi | 218 typec: tusb320l@47 { label 351 extcon = <&typec>; 357 extcon = <&typec>; 371 extcon = <&typec>;
|
/Linux-v6.1/drivers/usb/typec/altmodes/ |
D | nvidia.c | 30 MODULE_DEVICE_TABLE(typec, nvidia_typec_id);
|
/Linux-v6.1/drivers/phy/rockchip/ |
D | Makefile | 12 obj-$(CONFIG_PHY_ROCKCHIP_TYPEC) += phy-rockchip-typec.o
|
/Linux-v6.1/Documentation/devicetree/bindings/usb/ |
D | fcs,fusb302.txt | 17 fusb302: typec-portc@54 {
|
D | typec-tcpci.txt | 8 - reg: the i2c slave address of typec port controller device.
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | aspeed-bmc-facebook-bletchley.dts | 301 sled1_fusb302: typec-portc@22 { 387 sled2_fusb302: typec-portc@22 { 473 sled3_fusb302: typec-portc@22 { 559 sled4_fusb302: typec-portc@22 { 645 sled5_fusb302: typec-portc@22 { 731 sled6_fusb302: typec-portc@22 {
|
D | rockchip-radxa-dalang-carrier.dtsi | 54 vbus_typec: vbus-typec {
|
/Linux-v6.1/drivers/usb/ |
D | Makefile | 66 obj-$(CONFIG_TYPEC) += typec/
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | sprd,sc27xx-pmic.txt | 13 - IC level interface, such as power on/off control, RTC and typec and so on.
|
/Linux-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3399-rock-4c-plus.dts | 105 vcc5v0_typec: vcc5v0-typec-regulator { 515 usb-typec { 516 vcc5v0_typec0_en: vcc5v0-typec-en {
|
D | rk3399-hugsun-x99.dts | 102 vcc5v0_typec: vcc5v0-typec-regulator { 453 fusb0: typec-portc@22 { 567 usb-typec {
|
D | rk3399-rock-pi-4.dtsi | 77 vbus_typec: vbus-typec-regulator { 609 usb-typec { 610 vcc5v0_typec_en: vcc5v0-typec-en {
|