/linux-6.12.1/Documentation/devicetree/bindings/usb/ |
D | gpio-sbu-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/gpio-sbu-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO-based SBU mux 10 - Bjorn Andersson <andersson@kernel.org> 13 In USB Type-C applications the SBU lines needs to be connected, disconnected 21 - enum: 22 - nxp,cbdtu02043 23 - onnn,fsusb43l10x [all …]
|
D | fcs,fsa4480.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 - const: fcs,fsa4480 16 - items: 17 - enum: 18 - ocs,ocp96011 19 - const: fcs,fsa4480 27 vcc-supply: [all …]
|
D | nxp,ptn36502.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: NXP PTN36502 Type-C USB 3.1 Gen 1 and DisplayPort v1.2 combo redriver 10 - Luca Weiss <luca.weiss@fairphone.com> 15 - nxp,ptn36502 20 vdd18-supply: 23 orientation-switch: true 24 retimer-switch: true 31 description: Super Speed (SS) Output endpoint to the Type-C connector [all …]
|
D | onnn,nb7vpq904m.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: ON Semiconductor Type-C DisplayPort ALT Mode Linear Redriver 10 - Neil Armstrong <neil.armstrong@linaro.org> 15 - onnn,nb7vpq904m 20 vcc-supply: 23 enable-gpios: true 24 orientation-switch: true 25 retimer-switch: true [all …]
|
/linux-6.12.1/Documentation/firmware-guide/acpi/ |
D | intel-pmc-mux.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Intel North Mux-Agent 10 North Mux-Agent is a function of the Intel PMC firmware that is supported on 13 platforms that allow the mux-agent to be configured from the operating system 16 The North Mux-Agent (aka. Intel PMC Mux Control, or just mux-agent) driver 18 (drivers/platform/x86/intel_scu_ipc.c). The driver registers with the USB Type-C 19 Mux Class which allows the USB Type-C Controller and Interface drivers to 22 Device modes. The driver is located here: drivers/usb/typec/mux/intel_pmc_mux.c. 28 ------- 30 For every USB Type-C connector under the mux-agent control on the system, there [all …]
|
/linux-6.12.1/drivers/usb/typec/mux/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 menu "USB Type-C Multiplexer/DeMultiplexer Switch support" 12 common USB Type-C connector. 16 tristate "Generic GPIO based SBU mux for USB Type-C applications" 18 Say Y or M if your system uses a GPIO based mux for managing the 19 connected state and the swapping of the SBU lines in a Type-C port. 22 tristate "Pericom PI3USB30532 Type-C cross switch driver" 25 Say Y or M if your system has a Pericom PI3USB30532 Type-C cross 26 switch / mux chip found on some devices with a Type-C port. 29 tristate "Intel PMC mux control" [all …]
|
D | gpio-sbu-mux.c | 1 // SPDX-License-Identifier: GPL-2.0 19 struct typec_mux_dev *mux; member 33 mutex_lock(&sbu_mux->lock); in gpio_sbu_switch_set() 35 enabled = sbu_mux->enabled; in gpio_sbu_switch_set() 36 swapped = sbu_mux->swapped; in gpio_sbu_switch_set() 50 if (enabled != sbu_mux->enabled) in gpio_sbu_switch_set() 51 gpiod_set_value_cansleep(sbu_mux->enable_gpio, enabled); in gpio_sbu_switch_set() 53 if (swapped != sbu_mux->swapped) in gpio_sbu_switch_set() 54 gpiod_set_value_cansleep(sbu_mux->select_gpio, swapped); in gpio_sbu_switch_set() 56 sbu_mux->enabled = enabled; in gpio_sbu_switch_set() [all …]
|
D | fsa4480.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2021-2022 Linaro Ltd. 4 * Copyright (C) 2018-2020 The Linux Foundation 58 struct typec_mux_dev *mux; member 74 /* Accesses only done under fsa4480->lock */ 80 bool reverse = (fsa->orientation == TYPEC_ORIENTATION_REVERSE); in fsa4480_set() 84 if (fsa->swap_sbu_lanes) in fsa4480_set() 88 if (fsa->mode < TYPEC_STATE_MODAL || in fsa4480_set() 89 (!fsa->svid && (fsa->mode == TYPEC_MODE_USB2 || in fsa4480_set() 90 fsa->mode == TYPEC_MODE_USB3))) { in fsa4480_set() [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 obj-$(CONFIG_TYPEC_MUX_FSA4480) += fsa4480.o 4 obj-$(CONFIG_TYPEC_MUX_GPIO_SBU) += gpio-sbu-mux.o 5 obj-$(CONFIG_TYPEC_MUX_PI3USB30532) += pi3usb30532.o 6 obj-$(CONFIG_TYPEC_MUX_INTEL_PMC) += intel_pmc_mux.o 7 obj-$(CONFIG_TYPEC_MUX_IT5205) += it5205.o 8 obj-$(CONFIG_TYPEC_MUX_NB7VPQ904M) += nb7vpq904m.o 9 obj-$(CONFIG_TYPEC_MUX_PTN36502) += ptn36502.o 10 obj-$(CONFIG_TYPEC_MUX_WCD939X_USBSS) += wcd939x-usbss.o
|
D | wcd939x-usbss.c | 1 // SPDX-License-Identifier: GPL-2.0-only 72 #define WCD_USBSS_SWITCH_SELECT0_DP_AUXP_SWITCHES BIT(7) /* 1-> MG2 */ 73 #define WCD_USBSS_SWITCH_SELECT0_DP_AUXM_SWITCHES BIT(6) /* 1-> MG2 */ 76 #define WCD_USBSS_SWITCH_SELECT0_SENSE_SWITCHES BIT(1) /* 1-> SBU2 */ 77 #define WCD_USBSS_SWITCH_SELECT0_MIC_SWITCHES BIT(0) /* 1-> MG2 */ 89 #define WCD_USBSS_SWITCH_SELECT1_AGND_SWITCHES BIT(0) /* 1-> MG2 */ 190 struct typec_mux_dev *mux; member 242 bool reverse = (usbss->orientation == TYPEC_ORIENTATION_REVERSE); in wcd939x_usbss_set() 249 if (usbss->mode < TYPEC_STATE_MODAL || in wcd939x_usbss_set() 250 (!usbss->svid && (usbss->mode == TYPEC_MODE_USB2 || in wcd939x_usbss_set() [all …]
|
D | intel_pmc_mux.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for Intel PMC USB mux control 169 /* SoC expects the USB Type-C port numbers to start with 0 */ in update_port_status() 170 port_num = port->usb3_port - 1; in update_port_status() 172 port->iom_status = readl(port->pmc->iom_base + in update_port_status() 173 port->pmc->iom_port_status_offset + in update_port_status() 174 port_num * port->pmc->iom_port_status_size); in update_port_status() 179 if (port->sbu_orientation) in sbu_orientation() 180 return port->sbu_orientation - 1; in sbu_orientation() 182 return port->orientation - 1; in sbu_orientation() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sc8180x-lenovo-flex-5g.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2020-2023, Linaro Limited 7 /dts-v1/; 9 #include <dt-bindings/firmware/qcom,scm.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 #include "sc8180x-pmics.dtsi" [all …]
|
D | sc8180x-primus.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2020-2023, Linaro Limited 7 /dts-v1/; 9 #include <dt-bindings/firmware/qcom,scm.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 #include "sc8180x-pmics.dtsi" [all …]
|
D | sc8280xp-crd.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include "sc8280xp-pmics.dtsi" 17 compatible = "qcom,sc8280xp-crd", "qcom,sc8280xp"; 26 compatible = "pwm-backlight"; 28 enable-gpios = <&pmc8280_1_gpios 8 GPIO_ACTIVE_HIGH>; 29 power-supply = <&vreg_edp_bl>; 31 pinctrl-names = "default"; [all …]
|
D | sc8280xp-lenovo-thinkpad-x13s.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 #include "sc8280xp-pmics.dtsi" 21 compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp"; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/connector/ |
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> 15 MUX and USB interface controller. 20 - enum: 21 - usb-a-connector 22 - usb-b-connector 23 - usb-c-connector [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/freescale/ |
D | imx8qxp-mek.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 9 #include <dt-bindings/usb/pd.h> 13 compatible = "fsl,imx8qxp-mek", "fsl,imx8qxp"; 16 stdout-path = &lpuart0; 24 reg_usdhc2_vmmc: usdhc2-vmmc { 25 compatible = "regulator-fixed"; 26 regulator-name = "SD1_SPWR"; 27 regulator-min-microvolt = <3000000>; 28 regulator-max-microvolt = <3000000>; [all …]
|
D | imx8qm-mek.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 /dts-v1/; 9 #include <dt-bindings/usb/pd.h> 14 compatible = "fsl,imx8qm-mek", "fsl,imx8qm"; 17 stdout-path = &lpuart0; 21 /delete-node/ cpu-map; 22 /delete-node/ cpu@100; 23 /delete-node/ cpu@101; 26 thermal-zones { [all …]
|