Home
last modified time | relevance | path

Searched +full:vconn +full:- +full:supply (Results 1 – 11 of 11) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/usb/
Dqcom,pmic-typec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/qcom,pmic-typec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PMIC based USB Type-C block
10 - Bryan O'Donoghue <[email protected]>
13 Qualcomm PMIC Type-C block
18 - enum:
19 - qcom,pmi632-typec
20 - qcom,pm8150b-typec
[all …]
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 <[email protected]>
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 …]
/linux-6.14.4/drivers/usb/typec/
Dstusb160x.c1 // SPDX-License-Identifier: GPL-2.0
3 * STMicroelectronics STUSB160x Type-C controller family driver
38 #define STUSB1600_REG_MAX 0x2F /* RO - Reserved */
245 ret = regmap_read(chip->regmap, STUSB160X_CC_CAPABILITY_CTRL, &val); in stusb160x_get_vconn()
247 dev_err(chip->dev, "Unable to get Vconn status: %d\n", ret); in stusb160x_get_vconn()
258 /* Manage VCONN input supply */ in stusb160x_set_vconn()
259 if (chip->vconn_supply) { in stusb160x_set_vconn()
261 ret = regulator_enable(chip->vconn_supply); in stusb160x_set_vconn()
263 dev_err(chip->dev, in stusb160x_set_vconn()
264 "failed to enable vconn supply: %d\n", in stusb160x_set_vconn()
[all …]
/linux-6.14.4/include/dt-bindings/usb/
Dpd.h1 /* SPDX-License-Identifier: GPL-2.0 */
64 #define PDO_APDO_TYPE_SHIFT 28 /* Only valid value currently is 0x0 - PPS */
89 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
99 * --------------------
107 * <15:0> :: USB-IF assigned VID for this cable vendor
139 * -------------
140 * <31:0> : USB-IF assigned XID for this cable
146 * -----------
154 * --------
160 * <10:8> :: Vconn power (AMA only)
[all …]
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dpm4125.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
13 compatible = "qcom,pm2250", "qcom,spmi-pmic";
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "qcom,pm8916-pon";
23 compatible = "qcom,pm8941-pwrkey";
[all …]
Dpm8150b.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
7 #include <dt-bindings/iio/qcom,spmi-vadc.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
12 thermal-zones {
13 pm8150b-thermal {
14 polling-delay-passive = <100>;
16 thermal-sensors = <&pm8150b_temp>;
43 compatible = "qcom,pm8150b", "qcom,spmi-pmic";
[all …]
Dpmi632.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/spmi/spmi.h>
11 thermal-zones {
12 pmi632-thermal {
13 polling-delay-passive = <100>;
15 thermal-sensors = <&pmi632_temp>;
42 compatible = "qcom,pmi632", "qcom,spmi-pmic";
44 #address-cells = <1>;
[all …]
Dpm7250b.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/spmi/spmi.h>
11 thermal-zones {
12 pm7250b-thermal {
13 polling-delay-passive = <100>;
15 thermal-sensors = <&pm7250b_temp>;
42 compatible = "qcom,pm7250b", "qcom,spmi-pmic";
44 #address-cells = <1>;
[all …]
/linux-6.14.4/drivers/usb/typec/tcpm/
Dtcpm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2017 Google, Inc
212 VDM_STATE_ERR_BUSY = -3,
213 VDM_STATE_ERR_SEND = -2,
214 VDM_STATE_ERR_TMOUT = -1,
243 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
532 * SNK_READY for non-pd link.
559 * Vconn source and cable plug will use the lower of their two revisions.
611 (tcpm_cc_is_sink((port)->cc1) || tcpm_cc_is_sink((port)->cc2))
618 ((tcpm_cc_is_source((port)->cc1) && \
[all …]
/linux-6.14.4/drivers/power/supply/
Dqcom_pmi8998_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
7 * This driver is for the switch-mode battery charger and boost
12 #include <linux/devm-helpers.h>
26 /* clang-format off */
352 /* clang-format on */
372 * struct smb2_chip - smb2 chip structure
383 * @chg_psy: Charger power supply instance
419 rc = regmap_read(chip->regmap, chip->base + POWER_PATH_STATUS, &stat); in smb2_get_prop_usb_online()
421 dev_err(chip->dev, "Couldn't read power path status: %d\n", rc); in smb2_get_prop_usb_online()
[all …]
/linux-6.14.4/include/linux/platform_data/
Dcros_ec_commands.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * NOTE: This file is auto-generated from ChromeOS EC Open Source code from
52 * The actual block is 0x800-0x8ff, but some BIOSes think it's 0x880-0x8ff
77 #define EC_MEMMAP_TEMP_SENSOR 0x00 /* Temp sensors 0x00 - 0x0f */
78 #define EC_MEMMAP_FAN 0x10 /* Fan speeds 0x10 - 0x17 */
79 #define EC_MEMMAP_TEMP_SENSOR_B 0x18 /* More temp sensors 0x18 - 0x1f */
81 #define EC_MEMMAP_ID_VERSION 0x22 /* Version of data in 0x20 - 0x2f */
82 #define EC_MEMMAP_THERMAL_VERSION 0x23 /* Version of data in 0x00 - 0x1f */
83 #define EC_MEMMAP_BATTERY_VERSION 0x24 /* Version of data in 0x40 - 0x7f */
84 #define EC_MEMMAP_SWITCHES_VERSION 0x25 /* Version of data in 0x30 - 0x33 */
[all …]