| /OK3568_Linux_fs/kernel/drivers/platform/chrome/ |
| H A D | cros_ec_typec.c | 17 #include <linux/usb/typec.h> 24 #define DRV_NAME "cros-ec-typec" 145 static int cros_typec_add_partner(struct cros_typec_data *typec, int port_num, in cros_typec_add_partner() argument 148 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_add_partner() 169 static void cros_typec_remove_partner(struct cros_typec_data *typec, in cros_typec_remove_partner() argument 172 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_partner() 186 static void cros_unregister_ports(struct cros_typec_data *typec) in cros_unregister_ports() argument 190 for (i = 0; i < typec->num_ports; i++) { in cros_unregister_ports() 191 if (!typec->ports[i]) in cros_unregister_ports() 193 cros_typec_remove_partner(typec, i); in cros_unregister_ports() [all …]
|
| /OK3568_Linux_fs/kernel/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 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 …]
|
| 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
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/usb/ |
| H A 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 …]
|
| 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
|
| /OK3568_Linux_fs/kernel/drivers/usb/typec/ |
| H A D | Kconfig | 3 menuconfig TYPEC config 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). 47 if TYPEC 49 source "drivers/usb/typec/tcpm/Kconfig" 51 source "drivers/usb/typec/ucsi/Kconfig" 101 source "drivers/usb/typec/mux/Kconfig" 103 source "drivers/usb/typec/altmodes/Kconfig" 105 endif # TYPEC
|
| H A D | Makefile | 2 obj-$(CONFIG_TYPEC) += typec.o 3 typec-y := class.o mux.o bus.o 9 obj-$(CONFIG_TYPEC_QCOM_PMIC) += qcom-pmic-typec.o
|
| H A D | qcom-pmic-typec.c | 210 "qcom-pmic-typec", qcom_usb); in qcom_pmic_typec_probe() 246 { .compatible = "qcom,pm8150b-usb-typec" }, 253 .name = "qcom,pmic-typec",
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/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 41 typec { 42 compatible = "google,cros-ec-typec";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/misc/ |
| H A D | hisilicon-hikey-usb.yaml | 27 typec-vbus-gpios: 29 description: phandle to the typec-vbus gpio 55 - typec-vbus-gpios 67 typec-vbus-gpios = <&gpio25 2 GPIO_ACTIVE_HIGH>;
|
| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | Kconfig | 162 tristate "Rockchip TYPEC PHY Driver" 167 select TYPEC 169 Enable this to support the Rockchip USB TYPEC PHY. 182 select TYPEC
|
| H A D | phy-rockchip-typec.c | 59 #include <linux/phy/phy-rockchip-typec.h> 692 * For the TypeC PHY, the 4 lanes are mapping to the USB TypeC receptacle pins 695 * PHY Lanes/Module Pins TypeC Receptacle Pins 703 * USB and DP lanes mapping to TypeC PHY lanes for each of pin assignment 705 * Alt Mode on USB TypeC Standard as follows: 723 * setting of orientation of TypeC PHY. in tcphy_set_lane_mapping() 1101 * 1, Reverses the polarity (If TYPEC, Pulls ups aux_p and pull in tcphy_dp_aux_set_flip() 1103 * 0, Normal polarity (if TYPEC, pulls up aux_m and pulls down in tcphy_dp_aux_set_flip() 1380 dev_err(tcphy->dev, "Error register typec orientation switch: %ld\n", in tcphy_setup_orien_switch() 1634 dev_err(tcphy->dev, "Error register typec mux: %ld\n", in tcphy_setup_typec_mux() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | phy-rockchip-typec.txt | 5 - compatible : must be "rockchip,rk3399-typec-phy" 37 - rockchip,typec-conn-dir 44 compatible = "rockchip,rk3399-typec-phy"; 83 compatible = "rockchip,rk3399-typec-phy";
|
| H A D | ti,phy-j721e-wiz.yaml | 59 typec-dir-gpios: 66 typec-dir-debounce-ms: 71 Number of milliseconds to wait before sampling typec-dir-gpio.
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/ |
| H A D | typec-tcpci.txt | 1 TCPCI(Typec port cotroller interface) binding 8 - reg: the i2c slave address of typec port controller device.
|
| /OK3568_Linux_fs/kernel/include/trace/hooks/ |
| H A D | typec.h | 3 #define TRACE_SYSTEM typec 19 #include <../drivers/usb/typec/tcpm/tcpci.h>
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/connector/ |
| H A D | usb-connector.yaml | 179 new-source-frs-typec-current: 286 # USB-C connector attached to a typec port controller(ptn5110), which has 290 typec: ptn5110 { 303 # USB-C connector attached to SoC and USB3 typec port controller(hd3ss3220)
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588s-evb3-lp4x.dtsi | 67 vbus5v0_typec: vbus5v0-typec { 258 usb-typec { 293 rockchip,typec-vbus-det;
|
| H A D | rk3588-evb6-lp4.dtsi | 53 vbus5v0_typec: vbus5v0-typec { 429 usb-typec { 459 rockchip,typec-vbus-det;
|
| /OK3568_Linux_fs/buildroot/output/OK3568/target/usr/lib/modules/5.10.160/ |
| H A D | modules.builtin | |
| /OK3568_Linux_fs/kernel/drivers/usb/typec/mux/ |
| H A D | pi3usb30532.c | 142 dev_err(dev, "Error registering typec switch: %ld\n", in pi3usb30532_probe() 154 dev_err(dev, "Error registering typec mux: %ld\n", in pi3usb30532_probe()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | google,cros-ec.yaml | 88 typec: 89 $ref: "/schemas/chrome/google,cros-ec-typec.yaml#"
|
| /OK3568_Linux_fs/kernel/drivers/phy/ti/ |
| H A D | phy-j721e-wiz.c | 736 /* if typec-dir gpio was specified, set LN10 SWAP bit based on that */ in wiz_phy_reset_deassert() 874 wiz->gpio_typec_dir = devm_gpiod_get_optional(dev, "typec-dir", in wiz_probe() 879 dev_err(dev, "Failed to request typec-dir gpio: %d\n", in wiz_probe() 885 ret = of_property_read_u32(node, "typec-dir-debounce-ms", in wiz_probe() 888 dev_err(dev, "Invalid typec-dir-debounce property\n"); in wiz_probe() 899 dev_err(dev, "Invalid typec-dir-debounce property\n"); in wiz_probe()
|