Home
last modified time | relevance | path

Searched +full:sbu +full:- +full:mux (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dgpio-sbu-mux.yaml1 # 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 - onnn,fsusb43l10x
23 - pericom,pi3usb102
[all …]
H A Donnn,nb7vpq904m.yaml1 # 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
25 retimer-switch:
29 orientation-switch:
[all …]
/openbmc/linux/Documentation/firmware-guide/acpi/
H A Dintel-pmc-mux.rst1 .. 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 …]
/openbmc/linux/drivers/usb/typec/mux/
H A DKconfig1 # 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 …]
H A Dgpio-sbu-mux.c1 // 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(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(sbu_mux->select_gpio, swapped); in gpio_sbu_switch_set()
56 sbu_mux->enabled = enabled; in gpio_sbu_switch_set()
[all …]
H A Dfsa4480.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2021-2022 Linaro Ltd.
4 * Copyright (C) 2018-2020 The Linux Foundation
54 struct typec_mux_dev *mux; member
69 /* Accesses only done under fsa4480->lock */
75 bool reverse = (fsa->orientation == TYPEC_ORIENTATION_REVERSE); in fsa4480_set()
80 if (fsa->mode < TYPEC_STATE_MODAL || in fsa4480_set()
81 (!fsa->svid && (fsa->mode == TYPEC_MODE_USB2 || in fsa4480_set()
82 fsa->mode == TYPEC_MODE_USB3))) { in fsa4480_set()
85 } else if (fsa->svid) { in fsa4480_set()
[all …]
H A DMakefile1 # 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_NB7VPQ904M) += nb7vpq904m.o
H A Dintel_pmc_mux.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for Intel PMC USB mux control
170 /* SoC expects the USB Type-C port numbers to start with 0 */ in update_port_status()
171 port_num = port->usb3_port - 1; in update_port_status()
173 port->iom_status = readl(port->pmc->iom_base + in update_port_status()
174 port->pmc->iom_port_status_offset + in update_port_status()
175 port_num * port->pmc->iom_port_status_size); in update_port_status()
180 if (port->sbu_orientation) in sbu_orientation()
181 return port->sbu_orientation - 1; in sbu_orientation()
183 return port->orientation - 1; in sbu_orientation()
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsc8180x-lenovo-flex-5g.dts1 // 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/gpio/gpio.h>
10 #include <dt-bindings/input/gpio-keys.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 #include "sc8180x-pmics.dtsi"
18 compatible = "lenovo,flex-5g", "qcom,sc8180x";
[all …]
H A Dsc8180x-primus.dts1 // 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/gpio/gpio.h>
10 #include <dt-bindings/input/gpio-keys.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 #include "sc8180x-pmics.dtsi"
18 compatible = "qcom,sc8180x-primus", "qcom,sc8180x";
[all …]
H A Dsc8280xp-crd.dts1 // 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 …]
H A Dsc8280xp-lenovo-thinkpad-x13s.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h>
11 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
12 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h>
13 #include <dt-bindings/input/gpio-keys.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/leds/common.h>
16 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
[all …]
/openbmc/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>
15 MUX and USB interface controller.
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8qxp-mek.dts1 // 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 …]
/openbmc/linux/
H A Dopengrok0.0.log1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz'
2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz'
3 2024-12-2
[all...]
/openbmc/
Dopengrok1.0.log1 2025-03-14 03:00:40.378-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-03-14 03:00:40.496-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]
Dopengrok2.0.log1 2025-03-13 03:00:39.225-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-03-13 03:00:39.341-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]