/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_typec.c | 248 if (!typec->ports[i]) in cros_unregister_ports() 443 dev_err(typec->dev, in cros_typec_enable_tbt() 498 dev_err(typec->dev, in cros_typec_enable_dp() 627 dev_dbg(typec->dev, in cros_typec_configure_mux() 641 dev_warn(typec->dev, in cros_typec_configure_mux() 881 dev_err(typec->dev, in cros_typec_handle_sop_disc() 1071 ret = cros_ec_cmd(typec->ec, typec->pd_ctrl_ver, in cros_typec_port_update() 1173 typec = devm_kzalloc(dev, sizeof(*typec), GFP_KERNEL); in cros_typec_probe() 1174 if (!typec) in cros_typec_probe() 1177 typec->dev = dev; in cros_typec_probe() [all …]
|
H A D | cros_typec_vdm.c | 20 void cros_typec_handle_vdm_attention(struct cros_typec_data *typec, int port_num) in cros_typec_handle_vdm_attention() argument 32 ret = cros_ec_cmd(typec->ec, 0, EC_CMD_TYPEC_VDM_RESPONSE, &req, in cros_typec_handle_vdm_attention() 35 dev_warn(typec->dev, "Failed VDM response fetch, port: %d\n", port_num); in cros_typec_handle_vdm_attention() 41 dev_dbg(typec->dev, "Received VDM Attention header: %x, port: %d\n", hdr, port_num); in cros_typec_handle_vdm_attention() 43 amode = typec_match_altmode(typec->ports[port_num]->port_altmode, in cros_typec_handle_vdm_attention() 46 dev_err(typec->dev, in cros_typec_handle_vdm_attention() 59 void cros_typec_handle_vdm_response(struct cros_typec_data *typec, int port_num) in cros_typec_handle_vdm_response() argument 70 ret = cros_ec_cmd(typec->ec, 0, EC_CMD_TYPEC_VDM_RESPONSE, &req, in cros_typec_handle_vdm_response() 73 dev_warn(typec->dev, "Failed VDM response fetch, port: %d\n", port_num); in cros_typec_handle_vdm_response() 79 dev_dbg(typec->dev, "Received VDM header: %x, port: %d\n", hdr, port_num); in cros_typec_handle_vdm_response() [all …]
|
H A D | cros_typec_vdm.h | 10 void cros_typec_handle_vdm_attention(struct cros_typec_data *typec, int port_num); 11 void cros_typec_handle_vdm_response(struct cros_typec_data *typec, int port_num);
|
H A D | Makefile | 20 cros-ec-typec-objs := cros_ec_typec.o cros_typec_vdm.o 21 obj-$(CONFIG_CROS_EC_TYPEC) += cros-ec-typec.o
|
/openbmc/linux/drivers/usb/typec/ |
H A D | anx7411.c | 280 struct typec_params typec; member 379 if (ctx->typec.partner) in anx7411_register_partner() 477 if (!ctx->typec.role_sw) in anx7411_set_usb_role() 494 typec_set_data_role(ctx->typec.port, ctx->typec.data_role); in anx7411_data_role_detect() 496 typec_set_vconn_role(ctx->typec.port, ctx->typec.vconn_role); in anx7411_data_role_detect() 519 typec_set_pwr_role(ctx->typec.port, ctx->typec.power_role); in anx7411_power_role_detect() 570 ctx->typec.amode[i] = typec_partner_register_altmode(ctx->typec.partner, in anx7411_typec_register_altmode() 584 if (ctx->typec.partner) { in anx7411_unregister_partner() 622 if (!ctx->typec.partner) in anx7411_register_altmode() 1298 if (ctx->typec.partner) in anx7411_runtime_pm_suspend() [all …]
|
H A 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
|
H A 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" 113 source "drivers/usb/typec/mux/Kconfig" 115 source "drivers/usb/typec/altmodes/Kconfig"
|
/openbmc/linux/Documentation/ABI/testing/ |
H A 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 85 What: /sys/class/typec/<port>/preferred_role 134 What: /sys/class/typec/<port>/orientation 176 What: /sys/class/typec/<port>-partner/type 211 What: /sys/class/typec/<port>-partner/identity/ 231 What: /sys/class/typec/<port>-cable/type [all …]
|
H A 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
|
H A 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 51 What: /sys/bus/typec/devices/.../displayport/hpd
|
/openbmc/linux/Documentation/ABI/obsolete/ |
H A 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
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A D | typec.rst | 37 /sys/class/typec/port0/port0-partner/. 65 .. kernel-doc:: drivers/usb/typec/class.c 84 .. kernel-doc:: drivers/usb/typec/class.c 96 .. kernel-doc:: drivers/usb/typec/class.c 117 .. kernel-doc:: drivers/usb/typec/class.c 129 .. kernel-doc:: drivers/usb/typec/class.c 139 .. kernel-doc:: drivers/usb/typec/class.c 154 .. kernel-doc:: drivers/usb/typec/class.c 163 .. kernel-doc:: drivers/usb/typec/class.c 168 .. kernel-doc:: drivers/usb/typec/class.c [all …]
|
H A 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
|
H A D | index.rst | 21 typec
|
/openbmc/linux/Documentation/devicetree/bindings/chrome/ |
H A D | google,cros-ec-typec.yaml | 4 $id: http://devicetree.org/schemas/chrome/google,cros-ec-typec.yaml# 21 const: google,cros-ec-typec 51 typec { 52 compatible = "google,cros-ec-typec";
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | st,typec-stm32g0.yaml | 4 $id: http://devicetree.org/schemas/usb/st,typec-stm32g0.yaml# 19 const: st,stm32g0-typec 57 typec@53 { 58 compatible = "st,stm32g0-typec";
|
H A D | st,stusb160x.yaml | 44 typec-power-opmode: true 63 typec: stusb1600@28 { 76 typec-power-opmode = "default";
|
H A D | qcom,pmic-typec.yaml | 4 $id: http://devicetree.org/schemas/usb/qcom,pmic-typec.yaml# 18 - qcom,pm8150b-typec 97 pm8150b_typec: typec@1500 { 98 compatible = "qcom,pm8150b-typec";
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A 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";
|
H A D | ti,phy-j721e-wiz.yaml | 57 typec-dir-gpios: 64 typec-dir-debounce-ms: 69 Number of milliseconds to wait before sampling typec-dir-gpio.
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-bletchley.dts | 390 sled1_fusb302: typec-portc@22 { 404 typec-power-opmode = "default"; 476 sled2_fusb302: typec-portc@22 { 490 typec-power-opmode = "default"; 562 sled3_fusb302: typec-portc@22 { 576 typec-power-opmode = "default"; 648 sled4_fusb302: typec-portc@22 { 662 typec-power-opmode = "default"; 734 sled5_fusb302: typec-portc@22 { 748 typec-power-opmode = "default"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7280-idp-ec-h1.dtsi | 35 typec { 36 compatible = "google,cros-ec-typec";
|
/openbmc/linux/drivers/usb/typec/altmodes/ |
H A D | nvidia.c | 30 MODULE_DEVICE_TABLE(typec, nvidia_typec_id);
|
/openbmc/linux/Documentation/devicetree/bindings/connector/ |
H A D | usb-connector.yaml | 99 typec-power-opmode: 205 new-source-frs-typec-current: 267 - typec-power-opmode 268 - new-source-frs-typec-current 318 # USB-C connector attached to a typec port controller(ptn5110), which has 322 typec: ptn5110 { 348 # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220)
|
/openbmc/linux/drivers/phy/rockchip/ |
H A D | Makefile | 12 obj-$(CONFIG_PHY_ROCKCHIP_TYPEC) += phy-rockchip-typec.o
|