Home
last modified time | relevance | path

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

123456

/linux-6.15/drivers/platform/chrome/
H A Dcros_ec_typec.c293 if (!typec->ports[i]) in cros_unregister_ports()
494 dev_err(typec->dev, in cros_typec_enable_tbt()
551 dev_err(typec->dev, in cros_typec_enable_dp()
711 dev_dbg(typec->dev, in cros_typec_configure_mux()
733 dev_warn(typec->dev, in cros_typec_configure_mux()
973 dev_err(typec->dev, in cros_typec_handle_sop_disc()
1163 ret = cros_ec_cmd(typec->ec, typec->pd_ctrl_ver, in cros_typec_port_update()
1265 typec = devm_kzalloc(dev, sizeof(*typec), GFP_KERNEL); in cros_typec_probe()
1266 if (!typec) in cros_typec_probe()
1269 typec->dev = dev; in cros_typec_probe()
[all …]
H A Dcros_typec_vdm.c20 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 Dcros_typec_vdm.h10 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 DMakefile21 cros-ec-typec-objs := cros_ec_typec.o cros_typec_vdm.o
23 cros-ec-typec-objs += cros_typec_altmode.o
25 obj-$(CONFIG_CROS_EC_TYPEC) += cros-ec-typec.o
/linux-6.15/drivers/usb/typec/
H A Danx7411.c281 struct typec_params typec; member
382 if (ctx->typec.partner) in anx7411_register_partner()
480 if (!ctx->typec.role_sw) in anx7411_set_usb_role()
497 typec_set_data_role(ctx->typec.port, ctx->typec.data_role); in anx7411_data_role_detect()
499 typec_set_vconn_role(ctx->typec.port, ctx->typec.vconn_role); in anx7411_data_role_detect()
522 typec_set_pwr_role(ctx->typec.port, ctx->typec.power_role); in anx7411_power_role_detect()
573 ctx->typec.amode[i] = typec_partner_register_altmode(ctx->typec.partner, in anx7411_typec_register_altmode()
587 if (ctx->typec.partner) { in anx7411_unregister_partner()
625 if (!ctx->typec.partner) in anx7411_register_altmode()
1278 if (ctx->typec.role_sw) in anx7411_typec_port_probe()
[all …]
H A DMakefile2 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 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"
113 source "drivers/usb/typec/mux/Kconfig"
115 source "drivers/usb/typec/altmodes/Kconfig"
/linux-6.15/Documentation/ABI/testing/
H A 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
85 What: /sys/class/typec/<port>/preferred_role
134 What: /sys/class/typec/<port>/orientation
152 What: /sys/class/typec/<port>/usb_capability
189 What: /sys/class/typec/<port>-partner/type
258 What: /sys/class/typec/<port>-cable/type
[all …]
H A 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
H A 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
51 What: /sys/bus/typec/devices/.../displayport/hpd
/linux-6.15/Documentation/devicetree/bindings/usb/
H A Dqcom,pmic-typec.yaml4 $id: http://devicetree.org/schemas/usb/qcom,pmic-typec.yaml#
19 - qcom,pmi632-typec
20 - qcom,pm8150b-typec
23 - qcom,pm6150-typec
24 - qcom,pm7250b-typec
25 - const: qcom,pm8150b-typec
28 - qcom,pm4125-typec
29 - const: qcom,pmi632-typec
106 - qcom,pmi632-typec
138 pm8150b_typec: typec@1500 {
[all …]
H A Dst,typec-stm32g0.yaml4 $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 Dst,stusb160x.yaml44 typec-power-opmode: true
63 typec: stusb1600@28 {
76 typec-power-opmode = "default";
/linux-6.15/Documentation/ABI/obsolete/
H A 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-6.15/Documentation/driver-api/usb/
H A Dtypec.rst37 /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 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
/linux-6.15/Documentation/devicetree/bindings/chrome/
H A Dgoogle,cros-ec-typec.yaml4 $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";
/linux-6.15/Documentation/devicetree/bindings/phy/
H A 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-6.15/arch/arm64/boot/dts/qcom/
H A Dpm4125.dtsi45 pm4125_typec: typec@1500 {
46 compatible = "qcom,pm4125-typec", "qcom,pmi632-typec";
H A Dpm6150.dtsi73 pm6150_typec: typec@1500 {
74 compatible = "qcom,pm6150-typec",
75 "qcom,pm8150b-typec";
H A Dpm7250b.dtsi53 pm7250b_typec: typec@1500 {
54 compatible = "qcom,pm7250b-typec", "qcom,pm8150b-typec";
H A Dsc7280-idp-ec-h1.dtsi36 typec {
37 compatible = "google,cros-ec-typec";
/linux-6.15/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-bletchley.dts390 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 …]
/linux-6.15/arch/arm/boot/dts/st/
H A Dstm32mp153c-lxa-fairytux2-gen2.dts73 usb_c: typec@28 {
85 typec-power-opmode = "default";
/linux-6.15/arch/arm64/boot/dts/exynos/google/
H A Dgs101-pixel-common.dtsi109 usb-typec@25 {
167 typec-power-opmode = "default";
208 typec_int: typec-int-pins {

123456