Home
last modified time | relevance | path

Searched +full:typec +full:- +full:power +full:- +full:opmode (Results 1 – 17 of 17) sorted by relevance

/linux/Documentation/devicetree/bindings/usb/
H A Dst,stusb160x.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STUSB160x Type-C controller
10 - Amelie Delaunay <amelie.delaunay@foss.st.com>
15 - st,stusb1600
23 vdd-supply:
24 description: main power supply (4.1V-22V)
26 vsys-supply:
27 description: low power supply (3.0V-5.5V)
[all …]
H A Dwillsemi,wusb3801.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: WUSB3801 Type-C port controller
10 The Will Semiconductor WUSB3801 is a USB Type-C port controller which
12 compatible with the USB Type-C Cable and Connector Specification v1.2.
15 - Samuel Holland <samuel@sholland.org>
20 - willsemi,wusb3801
30 $ref: ../connector/usb-connector.yaml#
33 The managed USB Type-C connector. Since WUSB3801 does not support
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-bletchley.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/usb/pd.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/i2c/i2c.h>
14 compatible = "facebook,bletchley-bmc", "aspeed,ast2600";
29 iio-hwmon {
[all …]
/linux/Documentation/devicetree/bindings/connector/
H A Dusb-connector.yaml1 # 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 …]
/linux/drivers/usb/typec/
H A Dclass.c1 // SPDX-License-Identifier: GPL-2.0
3 * USB Type-C Connector Class
25 .name = "typec",
28 /* ------------------------------------------------------------------------- */
65 return partner->identity; in get_pd_identity()
69 return cable->identity; in get_pd_identity()
76 struct typec_port *port = to_typec_port(dev->parent); in get_pd_product_type()
84 if (port->data_role == TYPEC_HOST) in get_pd_product_type()
85 ptype = product_type_ufp[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type()
87 ptype = product_type_dfp[PD_IDH_DFP_PTYPE(id->id_header)]; in get_pd_product_type()
[all …]
H A Dwusb3801.c1 // SPDX-License-Identifier: GPL-2.0
3 * Willsemi WUSB3801 Type-C port controller driver
12 #include <linux/usb/typec.h>
101 switch (wusb3801->port_type) { in wusb3801_get_default_role()
108 if (wusb3801->cap.prefer_role == TYPEC_SOURCE) in wusb3801_get_default_role()
185 return regmap_update_bits(wusb3801->regmap, WUSB3801_REG_CTRL0, in wusb3801_try_role()
196 ret = regmap_update_bits(wusb3801->regmap, WUSB3801_REG_CTRL0, in wusb3801_port_type_set()
202 wusb3801->port_type = type; in wusb3801_port_type_set()
214 return regmap_write(wusb3801->regmap, WUSB3801_REG_CTRL0, in wusb3801_hw_init()
215 wusb3801_map_try_role(wusb3801->cap.prefer_role) | in wusb3801_hw_init()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsdm632-fairphone-fp3.dts1 // SPDX-License-Identifier: BSD-3-Clause
5 /dts-v1/;
7 #include <dt-bindings/leds/common.h>
15 chassis-type = "handset";
16 qcom,msm-id = <349 0>;
17 qcom,board-id = <8 0x10000>;
26 stdout-path = "serial0:115200n8";
29 gpio-keys {
30 compatible = "gpio-keys";
32 key-volume-up {
[all …]
H A Dsm6115-fxtec-pro1x.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (c) 2023 - 2024, Dang Huynh <danct12@riseup.net>
6 /dts-v1/;
11 #include <dt-bindings/arm/qcom,ids.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/usb/pd.h>
18 chassis-type = "handset";
20 qcom,msm-id = <QCOM_ID_SM6115 0x10000>;
23 #address-cells = <2>;
24 #size-cells = <2>;
[all …]
H A Dqrb2210-rb1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 /dts-v1/;
8 #include <dt-bindings/leds/common.h>
14 compatible = "qcom,qrb2210-rb1", "qcom,qrb2210", "qcom,qcm2290";
23 stdout-path = "serial0:115200n8";
27 clk40M: can-clk {
28 compatible = "fixed-clock";
29 clock-frequency = <40000000>;
30 #clock-cells = <0>;
34 gpio-keys {
[all …]
H A Dqrb4210-rb2.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/usb/pd.h>
16 compatible = "qcom,qrb4210-rb2", "qcom,qrb4210", "qcom,sm4250";
24 stdout-path = "serial0:115200n8";
28 clk40M: can-clk {
29 compatible = "fixed-clock";
30 clock-frequency = <40000000>;
31 #clock-cells = <0>;
[all …]
H A Dsm7225-fairphone-fp4.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
15 #include <dt-bindings/firmware/qcom,scm.h>
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
18 #include <dt-bindings/input/input.h>
19 #include <dt-bindings/leds/common.h>
20 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
21 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
22 #include <dt-bindings/usb/pd.h>
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx93-tqma9352-mba93xxla.dts1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright (c) 2022-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
4 * D-82229 Seefeld, Germany.
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/net/ti-dp83867.h>
13 #include <dt-bindings/pwm/pwm.h>
14 #include <dt-bindings/usb/pd.h>
15 #include "imx93-tqma9352.dtsi"
[all …]
H A Dimx93-tqma9352-mba93xxca.dts1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright (c) 2022-2023 TQ-Systems GmbH <linux@ew.tq-group.com>,
4 * D-82229 Seefeld, Germany.
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/net/ti-dp83867.h>
13 #include <dt-bindings/pwm/pwm.h>
15 #include "imx93-tqma9352.dtsi"
18 model = "TQ-Systems i.MX93 TQMa93xxLA/TQMa93xxCA on MBa93xxCA starter kit";
[all …]
/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/extcon/extcon-tusb320.c - TUSB320 extcon driver
10 #include <linux/extcon-provider.h>
17 #include <linux/usb/typec.h>
108 ret = regmap_read(priv->regmap, sizeof(sig) - 1 - i, &val); in tusb320_check_signature()
112 dev_err(priv->dev, "signature mismatch!\n"); in tusb320_check_signature()
113 return -ENODEV; in tusb320_check_signature()
125 if (priv->state != TUSB320_ATTACHED_STATE_NONE) in tusb320_set_mode()
126 return -EBUSY; in tusb320_set_mode()
129 ret = regmap_write_bits(priv->regmap, TUSB320_REGA, in tusb320_set_mode()
[all …]
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2017 Google, Inc
5 * USB Power Delivery protocol stack.
210 VDM_STATE_ERR_BUSY = -3,
211 VDM_STATE_ERR_SEND = -2,
212 VDM_STATE_ERR_TMOUT = -1,
240 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
510 * SNK_READY for non-pd link.
583 (tcpm_cc_is_sink((port)->cc1) || tcpm_cc_is_sink((port)->cc2))
590 ((tcpm_cc_is_source((port)->cc1) && \
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3566-pinenote.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
17 stdout-path = "serial2:1500000n8";
20 adc-keys {
21 compatible = "adc-keys";
22 io-channels = <&saradc 0>;
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xx-dkx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/mfd/st,stpmic1.h>
22 reserved-memory {
23 #address-cells = <1>;
24 #size-cells = <1>;
28 compatible = "shared-dma-pool";
30 no-map;
34 compatible = "shared-dma-pool";
[all …]