| /linux/arch/arm/boot/dts/aspeed/ | 
| H A D | aspeed-bmc-facebook-bletchley.dts | 1 // 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/usb/ | 
| 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 | fcs,fusb302.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Fairchild FUSB302 Type-C Port controller
 10   - Rob Herring <robh@kernel.org>
 22   vbus-supply:
 27     $ref: /schemas/connector/usb-connector.yaml#
 31   - compatible
 32   - reg
 33   - interrupts
 [all …]
 
 | 
| H A D | nxp,ptn5110.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: NXP PTN5110 Type-C Port Controller
 10   - Li Jun <jun.li@nxp.com>
 15       - const: nxp,ptn5110
 16       - const: tcpci
 26     $ref: /schemas/connector/usb-connector.yaml#
 30   - compatible
 31   - reg
 [all …]
 
 | 
| 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
 10   - ChiYuan Huang <cy_huang@richtek.com>
 13   Mediatek MT6360 is a multi-functional device. It integrates charger, ADC, flash, RGB indicators,
 15   This document only describes MT6360 Type-C Port Switch and Power Delivery controller.
 20       - mediatek,mt6360-tcpc
 25   interrupt-names:
 [all …]
 
 | 
| /linux/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 | imx8mq-librem5-devkit.dts | 1 // SPDX-License-Identifier: GPL-2.0+3  * Copyright 2018-2019 Purism SPC
 6 /dts-v1/;
 8 #include "dt-bindings/input/input.h"
 9 #include <dt-bindings/interrupt-controller/irq.h>
 10 #include <dt-bindings/leds/common.h>
 11 #include "dt-bindings/pwm/pwm.h"
 12 #include "dt-bindings/usb/pd.h"
 17 	compatible = "purism,librem5-devkit", "fsl,imx8mq";
 19 	backlight_dsi: backlight-dsi {
 [all …]
 
 | 
| H A D | imx95-19x19-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include <dt-bindings/pwm/pwm.h>
 9 #include <dt-bindings/usb/pd.h>
 15 #define BRD_SM_CTRL_SD3_WAKE		0x8000	/* PCAL6408A-0 */
 16 #define BRD_SM_CTRL_PCIE1_WAKE		0x8001	/* PCAL6408A-4 */
 17 #define BRD_SM_CTRL_BT_WAKE		0x8002	/* PCAL6408A-5 */
 18 #define BRD_SM_CTRL_PCIE2_WAKE		0x8003	/* PCAL6408A-6 */
 19 #define BRD_SM_CTRL_BUTTON		0x8004	/* PCAL6408A-7 */
 23 	compatible = "fsl,imx95-19x19-evk", "fsl,imx95";
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/mfd/ | 
| H A D | mediatek,mt6360.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Gene Chen <gene_chen@richtek.com>
 25   wakeup-source: true
 30   interrupt-names:
 33   interrupt-controller: true
 35   "#interrupt-cells":
 41     $ref: /schemas/regulator/mt6360-regulator.yaml#
 47     $ref: /schemas/usb/mediatek,mt6360-tcpc.yaml#
 [all …]
 
 | 
| H A D | mediatek,mt6370.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - ChiYuan Huang <cy_huang@richtek.com>
 13   MT6370 is a highly-integrated smart power management IC, which includes a
 14   single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C &
 26   wakeup-source: true
 31   interrupt-controller: true
 33   "#interrupt-cells":
 46         const: mediatek,mt6370-adc
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/exynos/google/ | 
| H A D | gs101-pixel-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only3  * Device Tree nodes common for all GS101-based Pixel
 5  * Copyright 2021-2023 Google LLC
 6  * Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org>
 9 /dts-v1/;
 11 #include <dt-bindings/gpio/gpio.h>
 12 #include <dt-bindings/input/input.h>
 13 #include <dt-bindings/usb/pd.h>
 14 #include "gs101-pinctrl.h"
 25 		stdout-path = &serial_0;
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/rockchip/ | 
| H A D | rk3588-orangepi-5-plus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include <dt-bindings/gpio/gpio.h>
 9 #include <dt-bindings/pinctrl/rockchip.h>
 10 #include <dt-bindings/soc/rockchip,vop2.h>
 11 #include <dt-bindings/usb/pd.h>
 12 #include "rk3588-orangepi-5.dtsi"
 16 	compatible = "xunlong,orangepi-5-plus", "rockchip,rk3588";
 18 	hdmi0-con {
 19 		compatible = "hdmi-connector";
 [all …]
 
 | 
| H A D | rk3588-firefly-itx-3588j.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)3 /dts-v1/;
 5 #include <dt-bindings/gpio/gpio.h>
 6 #include <dt-bindings/input/input.h>
 7 #include <dt-bindings/leds/common.h>
 8 #include <dt-bindings/pinctrl/rockchip.h>
 9 #include <dt-bindings/pwm/pwm.h>
 10 #include <dt-bindings/soc/rockchip,vop2.h>
 11 #include "dt-bindings/usb/pd.h"
 13 #include "rk3588-firefly-core-3588j.dtsi"
 [all …]
 
 | 
| H A D | rk3399-orangepi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include "dt-bindings/pwm/pwm.h"
 9 #include "dt-bindings/input/input.h"
 10 #include <dt-bindings/interrupt-controller/irq.h>
 11 #include "dt-bindings/usb/pd.h"
 16 	compatible = "xunlong,rk3399-orangepi", "rockchip,rk3399";
 26 		stdout-path = "serial2:1500000n8";
 29 	clkin_gmac: external-gmac-clock {
 30 		compatible = "fixed-clock";
 [all …]
 
 | 
| H A D | rk3588s-indiedroid-nova.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)3 /dts-v1/;
 5 #include <dt-bindings/gpio/gpio.h>
 6 #include <dt-bindings/input/linux-event-codes.h>
 7 #include <dt-bindings/pinctrl/rockchip.h>
 8 #include <dt-bindings/soc/rockchip,vop2.h>
 9 #include <dt-bindings/usb/pd.h>
 16 	adc-keys-0 {
 17 		compatible = "adc-keys";
 18 		io-channel-names = "buttons";
 [all …]
 
 | 
| H A D | rk3399-firefly.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 7 #include <dt-bindings/input/linux-event-codes.h>
 8 #include <dt-bindings/interrupt-controller/irq.h>
 9 #include <dt-bindings/pwm/pwm.h>
 10 #include <dt-bindings/usb/pd.h>
 14 	model = "Firefly-RK3399 Board";
 15 	compatible = "firefly,firefly-rk3399", "rockchip,rk3399";
 25 		stdout-path = "serial2:1500000n8";
 29 		compatible = "pwm-backlight";
 [all …]
 
 | 
| H A D | rk3588s-odroid-m2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)3 /dts-v1/;
 5 #include <dt-bindings/gpio/gpio.h>
 6 #include <dt-bindings/leds/common.h>
 7 #include <dt-bindings/pinctrl/rockchip.h>
 8 #include <dt-bindings/soc/rockchip,vop2.h>
 9 #include <dt-bindings/usb/pd.h>
 13 	model = "Hardkernel ODROID-M2";
 14 	compatible = "hardkernel,odroid-m2", "rockchip,rk3588s";
 23 		stdout-path = "serial2:1500000n8";
 [all …]
 
 | 
| H A D | rk3399-pinebook-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)8 /dts-v1/;
 9 #include <dt-bindings/input/gpio-keys.h>
 10 #include <dt-bindings/input/linux-event-codes.h>
 11 #include <dt-bindings/pwm/pwm.h>
 12 #include <dt-bindings/usb/pd.h>
 13 #include <dt-bindings/leds/common.h>
 18 	compatible = "pine64,pinebook-pro", "rockchip,rk3399";
 19 	chassis-type = "laptop";
 28 		stdout-path = "serial2:1500000n8";
 [all …]
 
 | 
| H A D | rk3588s-evb1-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)7 /dts-v1/;
 9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/input/input.h>
 11 #include <dt-bindings/pinctrl/rockchip.h>
 12 #include <dt-bindings/soc/rockchip,vop2.h>
 13 #include <dt-bindings/usb/pd.h>
 18 	compatible = "rockchip,rk3588s-evb1-v10", "rockchip,rk3588s";
 26 		stdout-path = "serial2:1500000n8";
 29 	adc-keys {
 [all …]
 
 | 
| /linux/drivers/usb/typec/ | 
| H A D | anx7411.c | 1 // SPDX-License-Identifier: GPL-2.0-only4  * Driver for Analogix ANX7411 USB Type-C and PD controller
 152 /* 0: SINK off; 1: SINK on */
 341 	ret = anx7411_reg_read(ctx->spi_client, REQUEST_CURRENT);  in anx7411_detect_power_mode()
 345 	ctx->typec.request_current = ret * CURRENT_UNIT; /* 50ma per unit */  in anx7411_detect_power_mode()
 347 	ret = anx7411_reg_read(ctx->spi_client, REQUEST_VOLTAGE);  in anx7411_detect_power_mode()
 351 	ctx->typec.request_voltage = ret * VOLTAGE_UNIT; /* 100mv per unit */  in anx7411_detect_power_mode()
 353 	if (ctx->psy_online == ANX7411_PSY_OFFLINE) {  in anx7411_detect_power_mode()
 354 		ctx->psy_online = ANX7411_PSY_FIXED_ONLINE;  in anx7411_detect_power_mode()
 355 		ctx->usb_type = POWER_SUPPLY_USB_TYPE_PD;  in anx7411_detect_power_mode()
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/hisilicon/ | 
| H A D | hi3660-hikey960.dts | 1 // SPDX-License-Identifier: GPL-2.09 /dts-v1/;
 12 #include "hikey960-pinctrl.dtsi"
 13 #include <dt-bindings/gpio/gpio.h>
 14 #include <dt-bindings/input/input.h>
 15 #include <dt-bindings/interrupt-controller/irq.h>
 16 #include <dt-bindings/usb/pd.h>
 20 	compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660";
 35 		stdout-path = "serial6:115200n8";
 44 	reserved-memory {
 [all …]
 
 | 
| /linux/drivers/usb/typec/tcpm/ | 
| H A D | tcpm.c | 1 // SPDX-License-Identifier: GPL-2.0+3  * Copyright 2015-2017 Google, Inc
 213 	VDM_STATE_ERR_BUSY = -3,
 214 	VDM_STATE_ERR_SEND = -2,
 215 	VDM_STATE_ERR_TMOUT = -1,
 244  * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
 519 	/* Sink FRS */
 522 	/* Sink caps have been queried */
 537 	 * SNK_READY for non-pd link.
 623 /* As long as cc is pulled up, we can consider it as sink. */
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/qcom/ | 
| H A D | sm8250-xiaomi-elish-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause3  * Copyright (c) 2022-2024 Jianhua Lu <lujianhua000@gmail.com>
 6 #include <dt-bindings/arm/qcom,ids.h>
 7 #include <dt-bindings/phy/phy.h>
 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 9 #include <dt-bindings/usb/pd.h>
 20 /delete-node/ &adsp_mem;
 21 /delete-node/ &cdsp_secure_heap;
 22 /delete-node/ &slpi_mem;
 23 /delete-node/ &spss_mem;
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/mediatek/ | 
| H A D | mt8395-genio-1200-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)7 /dts-v1/;
 11 #include <dt-bindings/gpio/gpio.h>
 12 #include <dt-bindings/input/input.h>
 13 #include <dt-bindings/interrupt-controller/irq.h>
 14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
 15 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
 16 #include <dt-bindings/spmi/spmi.h>
 17 #include <dt-bindings/usb/pd.h>
 20 	model = "MediaTek Genio 1200 EVK-P1V2-EMMC";
 [all …]
 
 | 
| H A D | mt8390-genio-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)4  * Author: Chris Chen <chris-qj.chen@mediatek.com>
 9  *                    Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
 14 #include <dt-bindings/gpio/gpio.h>
 15 #include <dt-bindings/input/input.h>
 16 #include <dt-bindings/interrupt-controller/irq.h>
 17 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h>
 18 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
 19 #include <dt-bindings/spmi/spmi.h>
 20 #include <dt-bindings/usb/pd.h>
 [all …]
 
 |