| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/connector/ |
| H A D | usb-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 20 - enum: 21 - usb-a-connector 22 - usb-b-connector 23 - usb-c-connector 25 - items: [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/) 8 requesting data role swapping on the port. Swapping is supported 11 notified about role changes so that poll(2) on the attribute 12 wakes up. Change on the role will also generate uevent 13 KOBJ_CHANGE on the port. The current role is show in brackets, 22 The supported power roles. This attribute can be used to request 23 power role swap on the port. Swapping is supported as 26 notified about role changes so that poll(2) on the attribute 27 wakes up. Change on the role will also generate uevent 28 KOBJ_CHANGE. The current role is show in brackets, for example [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | fusb302.txt | 4 - compatible: "fairchild,fusb302" 5 - reg: I2C slave address 6 - pinctrl-names: Musb be "default" 7 - pinctrl-0: fusb1_int musb be set to pull up. 8 - vbus-5v-gpios: enable/disable 5v vbus output 9 - vbus-other-gpios: enable/disable other high-voltage vbus output 10 - int-n-gpios: I2C int pin 11 - fusb302,role: typec port power role 13 - fusb302,try_role: enable try.role function, it would try your wanted 14 role when detect. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/usb/ |
| H A D | typec.rst | 3 USB Type-C connector class 7 ------------ 9 The typec class is meant for describing the USB Type-C ports in a system to the 14 The platforms are expected to register every USB Type-C port they have with the 15 class. In a normal case the registration will be done by a USB Type-C or PD PHY 18 considers the component registering the USB Type-C ports with the class as "port 26 attributes are described in Documentation/ABI/testing/sysfs-class-typec. 29 -------------------- 36 "port0-partner". Full path to the device would be 37 /sys/class/typec/port0/port0-partner/. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/ |
| H A D | mediatek,mt6360-tcpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Mediatek MT6360 Type-C Port Switch and Power Delivery controller DT bindings 10 - ChiYuan Huang <cy_huang@richtek.com> 13 Mediatek MT6360 is a multi-functional device. It integrates charger, ADC, flash, RGB indicators, 14 regulators (BUCKs/LDOs), and TypeC Port Switch with Power Delivery controller. 15 This document only describes MT6360 Type-C Port Switch and Power Delivery controller. 20 - mediatek,mt6360-tcpc [all …]
|
| H A D | richtek,rt1711h.txt | 4 - compatible : Must be "richtek,rt1711h". 5 - reg : Must be 0x4e, it's slave address of RT1711H. 6 - interrupts : <a b> where a is the interrupt number and b represents an 9 Required sub-node: 10 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings 12 Documentation/devicetree/bindings/connector/usb-connector.yaml 18 interrupt-parent = <&gpio26>; 22 compatible = "usb-c-connector"; 23 label = "USB-C"; 24 data-role = "dual"; [all …]
|
| H A D | etek,et7303.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Etek ET7303 Type-C Port controller DT bindings 10 - Wang Jie <dave.wang@rock-chips.com> 27 description: TCPC connected to USB controller to support dual-role switch. 30 - port@0 34 $ref: ../connector/usb-connector.yaml# 39 - compatible 40 - reg [all …]
|
| H A D | hynetek,husb311.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Hynetek HUSB311 Type-C Port controller DT bindings 10 - Guenter Roeck <linux@roeck-us.net> 11 - Heikki Krogerus <heikki.krogerus@linux.intel.com> 28 description: TCPC connected to USB controller to support dual-role switch. 31 - port@0 35 $ref: ../connector/usb-connector.yaml# 40 - compatible [all …]
|
| H A D | typec-tcpci.txt | 2 --------------------------------------------- 5 - compatible: should be set one of following: 6 - "nxp,ptn5110" for NXP USB PD TCPC PHY IC ptn5110. 8 - reg: the i2c slave address of typec port controller device. 9 - interrupt-parent: the phandle to the interrupt controller which provides 11 - interrupts: interrupt specification for tcpci alert. 13 Required sub-node: 14 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings 16 Documentation/devicetree/bindings/connector/usb-connector.yaml 23 interrupt-parent = <&gpio3>; [all …]
|
| H A D | maxim,max33359.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Maxim TCPCI Type-C PD controller DT bindings 10 - Badhri Jagan Sridharan <badhri@google.com> 12 description: Maxim TCPCI Type-C PD controller 17 - maxim,max33359 27 $ref: ../connector/usb-connector.yaml# 32 - compatible 33 - reg [all …]
|
| H A D | fcs,fusb302.txt | 1 Fairchild FUSB302 Type-C Port controllers 4 - compatible : "fcs,fusb302" 5 - reg : I2C slave address 6 - interrupts : Interrupt specifier 8 Required sub-node: 9 - connector : The "usb-c-connector" attached to the FUSB302 IC. The bindings 12 Documentation/devicetree/bindings/connector/usb-connector.yaml 17 fusb302: typec-portc@54 { 20 interrupt-parent = <&nmi_intc>; 24 compatible = "usb-c-connector"; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/chrome/ |
| H A D | google,cros-ec-typec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/chrome/google,cros-ec-typec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Benson Leung <bleung@chromium.org> 11 - Prashant Malani <pmalani@chromium.org> 17 cros-ec node like google,cros-ec-spi. 21 const: google,cros-ec-typec 24 $ref: /schemas/connector/usb-connector.yaml# 27 - compatible [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588-nvr-demo1-v21.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "dt-bindings/usb/pd.h" 7 #include "rk3588-nvr-demo.dtsi" 11 ite_pwr_en: ite-pwr-en { 12 compatible = "regulator-fixed"; 13 regulator-name = "ITE-PWR_EN"; 14 regulator-min-microvolt = <1200000>; 15 regulator-max-microvolt = <1200000>; 16 regulator-boot-on; 17 regulator-always-on; [all …]
|
| H A D | rk3588s-evb3-lp4x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "dt-bindings/usb/pd.h" 9 #include "rk3588s-evb.dtsi" 10 #include "rk3588s-rk806-dual.dtsi" 13 combophy_avdd0v85: combophy-avdd0v85 { 14 compatible = "regulator-fixed"; 15 regulator-name = "combophy_avdd0v85"; 16 regulator-boot-on; 17 regulator-always-on; 18 regulator-min-microvolt = <850000>; [all …]
|
| H A D | rk3588-evb6-lp4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "dt-bindings/usb/pd.h" 9 #include "rk3588-evb.dtsi" 10 #include "rk3588-rk806-dual.dtsi" 13 pcie20_avdd0v85: pcie20-avdd0v85 { 14 compatible = "regulator-fixed"; 15 regulator-name = "pcie20_avdd0v85"; 16 regulator-boot-on; 17 regulator-always-on; 18 regulator-min-microvolt = <850000>; [all …]
|
| H A D | rk3588-evb4-lp4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "dt-bindings/usb/pd.h" 9 #include "rk3588-evb.dtsi" 10 #include "rk3588-rk806-single.dtsi" 13 fan: pwm-fan { 14 compatible = "pwm-fan"; 15 #cooling-cells = <2>; 17 cooling-levels = <0 50 100 150 200 255>; 18 rockchip,temp-trips = < 27 pcie30_avdd1v8: pcie30-avdd1v8 { [all …]
|
| H A D | rk3562-evb1-lp4x-v10.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "dt-bindings/usb/pd.h" 11 #include "rk3562-evb.dtsi" 12 #include "rk3562-evb1-cam.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/pinctrl/rockchip.h> 15 #include <dt-bindings/sensor-dev.h> 19 compatible = "rockchip,rk3562-evb1-lp4x-v10", "rockchip,rk3562"; 21 dc_12v: dc-12v { [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/ |
| H A D | cros_ec_typec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include <linux/usb/role.h> 24 #define DRV_NAME "cros-ec-typec" 53 /* Platform-specific data for the Chrome OS EC Type C controller. */ 73 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in cros_typec_parse_port_props() 75 dev_err(dev, "power-role not found: %d\n", ret); in cros_typec_parse_port_props() 82 cap->type = ret; in cros_typec_parse_port_props() 84 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in cros_typec_parse_port_props() 86 dev_err(dev, "data-role not found: %d\n", ret); in cros_typec_parse_port_props() 93 cap->data = ret; in cros_typec_parse_port_props() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mq-hummingboard-pulse.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright (C) 2018 Jon Nettleton <jon@solid-run.com> 6 /dts-v1/; 8 #include "dt-bindings/usb/pd.h" 9 #include "imx8mq-sr-som.dtsi" 13 compatible = "solidrun,hummingboard-pulse", "fsl,imx8mq"; 16 stdout-path = &uart1; 19 reg_usdhc2_vmmc: regulator-usdhc2-vmmc { 20 compatible = "regulator-fixed"; 21 pinctrl-names = "default"; [all …]
|
| H A D | imx8mn-evk.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/usb/pd.h> 11 stdout-path = &uart2; 14 gpio-leds { 15 compatible = "gpio-leds"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_gpio_led>; 22 default-state = "on"; 31 reg_usdhc2_vmmc: regulator-usdhc2 { 32 compatible = "regulator-fixed"; [all …]
|
| H A D | imx8mm-evk.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/usb/pd.h> 13 stdout-path = &uart2; 22 compatible = "gpio-leds"; 23 pinctrl-names = "default"; 24 pinctrl-0 = <&pinctrl_gpio_led>; 29 default-state = "on"; 33 reg_usdhc2_vmmc: regulator-usdhc2 { 34 compatible = "regulator-fixed"; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/x86/ |
| H A D | intel_cht_int33fe_typec.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * 3. FUSB302 USB Type-C Controller 16 * instantiate I²C clients for chips 2 - 4, so that standard I²C drivers 32 * Grrr, I severely dislike buggy BIOS-es. At least one BIOS enumerates 56 static const char * const max17047_suppliers[] = { "bq24190-charger" }; 59 PROPERTY_ENTRY_STRING_ARRAY("supplied-from", max17047_suppliers), 78 PROPERTY_ENTRY_STRING("linux,extcon-name", "cht_wcove_pwrsrc"), 79 PROPERTY_ENTRY_REF_ARRAY("usb-role-switch", fusb302_mux_refs), 109 PROPERTY_ENTRY_STRING("data-role", "dual"), 110 PROPERTY_ENTRY_STRING("power-role", "dual"), [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/power/power_delivery/ |
| H A D | tcpm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2015-2017 Google, Inc 5 * USB Power Delivery protocol stack. 12 #include <irq-generic.h> 14 #include <power/power_delivery/tcpm.h> 15 #include <power/power_delivery/pd_vdo.h> 187 VDM_STATE_ERR_BUSY = -3, 188 VDM_STATE_ERR_SEND = -2, 189 VDM_STATE_ERR_TMOUT = -1, 216 * Initial current capability of the new source when vSafe5V is applied during PD3.0 Fast Role Swap. [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_cmd_ps.c | 18 /* structure of a power request */ 38 * lps: protocol + power 39 * ips: power 108 struct phl_info_t *phl_info = ps->phl_info; in _chk_rssi_diff_reach_thld() 109 struct rtw_ps_cap_t *ps_cap = _get_ps_cap(ps->phl_info); in _chk_rssi_diff_reach_thld() 111 u8 *rssi_bcn_min = &ps->rssi_bcn_min; in _chk_rssi_diff_reach_thld() 124 if (DIFF(*rssi_bcn_min, cur_rssi_bcn_min) < ps_cap->lps_rssi_diff_threshold) { in _chk_rssi_diff_reach_thld() 126 __func__, *rssi_bcn_min, cur_rssi_bcn_min, ps_cap->lps_rssi_diff_threshold); in _chk_rssi_diff_reach_thld() 146 struct phl_info_t *phl_info = ps->phl_info; in _chk_bcn_offset_changed() 153 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, ridx); in _chk_bcn_offset_changed() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_cmd_ps.c | 18 /* structure of a power request */ 30 * +----------------------+-------------------+-----------------------+ 32 * +----------------------+-------------------+-----------------------+ 34 * | +-------------------+-----------------------+ 36 * | +-------------------+-----------------------+ 40 * +----------------------+-------------------+-----------------------+ 42 * | +-------------------+-----------------------+ 47 * +----------------------+-------------------+-----------------------+ 59 * lps: protocol + power 60 * ips: power [all …]
|