Home
last modified time | relevance | path

Searched +full:disconnect +full:- +full:voltage (Results 1 – 25 of 121) sorted by relevance

12345

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
Dsunplus,sp7021-usb2-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/phy/sunplus,sp7021-usb2-phy.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Vincent Shih <vincent.sunplus@gmail.com>
15 const: sunplus,sp7021-usb2-phy
19 - description: UPHY register region
20 - description: MOON4 register region
22 reg-names:
24 - const: phy
[all …]
Dqcom,usb-snps-femto-v2.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/qcom,usb-snps-femto-v2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Synopsys Femto High-Speed USB PHY V2
10 - Wesley Cheng <quic_wcheng@quicinc.com>
13 Qualcomm High-Speed USB PHY
18 - items:
19 - enum:
20 - qcom,sa8775p-usb-hs-phy
[all …]
Dfsl,imx8mq-usb-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/fsl,imx8mq-usb-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Li Jun <jun.li@nxp.com>
15 - fsl,imx8mq-usb-phy
16 - fsl,imx8mp-usb-phy
21 "#phy-cells":
27 clock-names:
29 - const: phy
[all …]
Dmediatek,tphy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: MediaTek T-PHY Controller
11 - Chunfeng Yun <chunfeng.yun@mediatek.com>
14 The T-PHY controller supports physical layer functionality for a number of
17 Layout differences of banks between T-PHY V1 (mt8173/mt2701) and
18 T-PHY V2 (mt2712) / V3 (mt8195) when works on USB mode:
19 -----------------------------------
67 pattern: "^t-phy(@[0-9a-f]+)?$"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/nvmem/
Dsunplus,sp7021-ocotp.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/nvmem/sunplus,sp7021-ocotp.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: On-Chip OTP Memory for Sunplus SP7021
11 - Vincent Shih <vincent.sunplus@gmail.com>
14 - $ref: nvmem.yaml#
18 const: sunplus,sp7021-ocotp
23 reg-names:
25 - const: hb_gpio
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/
Di2c-mux-pca954x.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/i2c/i2c-mux-pca954x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
23 - enum:
24 - maxim,max7356
25 - maxim,max7357
26 - maxim,max7358
27 - maxim,max7367
[all …]
/kernel/linux/linux-6.6/include/linux/
Dpower_supply.h1 /* SPDX-License-Identifier: GPL-2.0-only */
226 /* Run-time specific power supply configuration */
354 int vbat_uv; /* Battery voltage in microvolt */
359 * struct power_supply_maintenance_charge_table - setting for maintenace charging
363 * reach this voltage the maintenance charging current is turned off. It is
364 * turned back on if we fall below this voltage.
365 * @charge_voltage_max_uv: maintenance charging voltage that is usually a bit
367 * charge_current_max_ua until we get back up to this voltage.
371 * maintenance charge current and voltage pair in respective array and wait
392 * +-------------------------------------------------------------------> t
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dphy-mtk-tphy.txt1 MediaTek T-PHY binding
2 --------------------------
4 T-phy controller supports physical layer functionality for a number of
8 - compatible : should be one of
9 "mediatek,generic-tphy-v1"
10 "mediatek,generic-tphy-v2"
11 "mediatek,mt2701-u3phy" (deprecated)
12 "mediatek,mt2712-u3phy" (deprecated)
13 "mediatek,mt8173-u3phy";
14 make use of "mediatek,generic-tphy-v1" on mt2701 instead and
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dtlv320aic3x.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * ---------------------------------------
17 * MONO_LOUT -> N/A | MONO_LOUT -> N/A
18 * | IN1L -> LINE1L
19 * | IN1R -> LINE1R
20 * | IN2L -> LINE2L
21 * | IN2R -> LINE2R
22 * | MIC3L/R -> N/A
25 * ---------------------------------------
53 "IOVDD", /* I/O Voltage */
[all …]
/kernel/linux/linux-6.6/include/linux/usb/
Dtcpm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2015-2017 Google, Inc
59 * struct tcpc_dev - Port configuration and callback functions
64 * and cc=Rp-def. This allows the tcpm to provide a fallback
65 * current-limit detection method for the cc=Rp-def case.
82 * Optional; if supported by hardware, called to start dual-role
83 * toggling or single-role connection detection. Toggling stops
99 * entering connected state and signals disabling upon disconnect.
103 * vbus threshold voltage below which the vbus discharge circuit
109 * detect VSAFE0V voltage level at vbus. When detection of VSAFE0V
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtlv320aic3x.c1 // SPDX-License-Identifier: GPL-2.0-only
17 * ---------------------------------------
18 * MONO_LOUT -> N/A | MONO_LOUT -> N/A
19 * | IN1L -> LINE1L
20 * | IN1R -> LINE1R
21 * | IN2L -> LINE2L
22 * | IN2R -> LINE2R
23 * | MIC3L/R -> N/A
26 * ---------------------------------------
55 "IOVDD", /* I/O Voltage */
[all …]
/kernel/linux/linux-6.6/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/clk-provider.h>
11 #include <linux/extcon-provider.h>
52 * enum usb_chg_state - Different states involved in USB charger detection.
91 * struct rockchip_chg_det_reg - usb charger detect registers
99 * @vdm_src_en: open dm voltage source.
100 * @vdp_src_en: open dp voltage source.
117 * struct rockchip_usb2phy_port_cfg - usb-phy port configuration.
122 * @disfall_en: host disconnect fall edge detection enable.
123 * @disfall_st: host disconnect fall edge detection state.
[all …]
/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/
Dtcpm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2017 Google, Inc
206 VDM_STATE_ERR_BUSY = -3,
207 VDM_STATE_ERR_SEND = -2,
208 VDM_STATE_ERR_TMOUT = -1,
236 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
275 * @min_volt: Actual min voltage at the local port
276 * @req_min_volt: Requested min voltage to the port partner
277 * @max_volt: Actual max voltage at the local port
278 * @req_max_volt: Requested max voltage to the port partner
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/
Daspeed-bmc-ampere-mtjade.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
8 compatible = "ampere,mtjade-bmc", "aspeed,ast2500";
12 * i2c bus 50-57 assigned to NVMe slot 0-7
24 * i2c bus 60-67 assigned to NVMe slot 8-15
36 * i2c bus 70-77 assigned to NVMe slot 16-23
48 * i2c bus 80-81 assigned to NVMe M2 slot 0-1
55 stdout-path = &uart5;
[all …]
Daspeed-bmc-ampere-mtmitchell.dts1 // SPDX-License-Identifier: GPL-2.0-only
4 /dts-v1/;
6 #include "aspeed-g6.dtsi"
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/gpio/aspeed-gpio.h>
12 compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600";
20 stdout-path = &uart5;
28 reserved-memory {
29 #address-cells = <1>;
30 #size-cells = <1>;
[all …]
/kernel/linux/linux-6.6/drivers/power/supply/
Dcpcap-battery.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Copyright (C) 2009-2010 Motorola, Inc.
23 #include <linux/nvmem-consumer.h>
28 #include <linux/mfd/motorola-cpcap.h>
32 * map to MC13783UG.pdf "Table 5-19. Register 13, Power Control 0"
116 int voltage; member
141 #define CPCAP_NO_BATTERY -400
153 return &ddata->state[state]; in cpcap_battery_get_state()
186 channel = ddata->channels[CPCAP_BATTERY_IIO_BATTDET]; in cpcap_charger_battery_temperature()
190 dev_warn(ddata->dev, "%s failed: %i\n", __func__, error); in cpcap_charger_battery_temperature()
[all …]
/kernel/linux/linux-6.6/drivers/usb/dwc2/
Dcore_intr.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * core_intr.c - DesignWare HS OTG Controller common interrupt handling
5 * Copyright (C) 2004-2013 Synopsys, Inc.
16 #include <linux/dma-mapping.h>
29 switch (hsotg->op_state) { in dwc2_op_state_str()
46 * dwc2_handle_usb_port_intr - handles OTG PRTINT interrupts.
63 * dwc2_handle_mode_mismatch_intr() - Logs a mode mismatch warning message
72 dev_warn(hsotg->dev, "Mode Mismatch Interrupt: currently in %s mode\n", in dwc2_handle_mode_mismatch_intr()
77 * dwc2_handle_otg_intr() - Handles the OTG Interrupts. It reads the OTG
90 dev_dbg(hsotg->dev, "++OTG Interrupt gotgint=%0x [%s]\n", gotgint, in dwc2_handle_otg_intr()
[all …]
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dcore_intr.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * core_intr.c - DesignWare HS OTG Controller common interrupt handling
5 * Copyright (C) 2004-2013 Synopsys, Inc.
16 * 3. The names of the above-listed copyright holders may not be used
46 #include <linux/dma-mapping.h>
59 switch (hsotg->op_state) { in dwc2_op_state_str()
76 * dwc2_handle_usb_port_intr - handles OTG PRTINT interrupts.
93 * dwc2_handle_mode_mismatch_intr() - Logs a mode mismatch warning message
102 dev_warn(hsotg->dev, "Mode Mismatch Interrupt: currently in %s mode\n", in dwc2_handle_mode_mismatch_intr()
107 * dwc2_handle_otg_intr() - Handles the OTG Interrupts. It reads the OTG
[all …]
/kernel/linux/linux-5.10/drivers/mmc/host/
Dushc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * - Only version 2 devices are supported.
9 * - Version 2 devices only support SDIO cards/devices (R2 response is
13 * [USHC] USB SD Host Controller specification (CS-118793-SP)
19 #include <linux/dma-mapping.h>
121 return usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0), in ushc_hw_reset()
131 ret = usb_control_msg(ushc->usb_dev, usb_rcvctrlpipe(ushc->usb_dev, 0), in ushc_hw_get_caps()
133 0, 0, &ushc->caps, sizeof(ushc->caps), 100); in ushc_hw_get_caps()
137 ushc->caps = le32_to_cpu(ushc->caps); in ushc_hw_get_caps()
139 version = ushc->caps & USHC_GET_CAPS_VERSION_MASK; in ushc_hw_get_caps()
[all …]
/kernel/linux/linux-6.6/drivers/mmc/host/
Dushc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * - Only version 2 devices are supported.
9 * - Version 2 devices only support SDIO cards/devices (R2 response is
13 * [USHC] USB SD Host Controller specification (CS-118793-SP)
19 #include <linux/dma-mapping.h>
121 return usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0), in ushc_hw_reset()
131 ret = usb_control_msg(ushc->usb_dev, usb_rcvctrlpipe(ushc->usb_dev, 0), in ushc_hw_get_caps()
133 0, 0, &ushc->caps, sizeof(ushc->caps), 100); in ushc_hw_get_caps()
137 ushc->caps = le32_to_cpu(ushc->caps); in ushc_hw_get_caps()
139 version = ushc->caps & USHC_GET_CAPS_VERSION_MASK; in ushc_hw_get_caps()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
Dsym_defs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * of PCI-SCSI IO processors.
6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * Copyright (C) 1998-2000 Gerard Roudier
12 * a port of the FreeBSD ncr driver to Linux-1.2.13.
16 * Stefan Esser <se@mi.Uni-Koeln.de>
24 *-----------------------------------------------------------------------------
31 #define SYM_DRIVER_NAME "sym-" SYM_VERSION
40 u_char burst_max; /* log-base-2 of max burst */
48 #define FE_ULTRA2 (1<<3) /* Ultra 2 - 40 Mtrans/sec */
[all …]
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/
Dsym_defs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * of PCI-SCSI IO processors.
6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * Copyright (C) 1998-2000 Gerard Roudier
12 * a port of the FreeBSD ncr driver to Linux-1.2.13.
16 * Stefan Esser <se@mi.Uni-Koeln.de>
24 *-----------------------------------------------------------------------------
31 #define SYM_DRIVER_NAME "sym-" SYM_VERSION
40 u_char burst_max; /* log-base-2 of max burst */
48 #define FE_ULTRA2 (1<<3) /* Ultra 2 - 40 Mtrans/sec */
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Drs600.c39 #include <linux/io-64-nonatomic-lo-hi.h>
58 AVIVO_D2CRTC_H_TOTAL - AVIVO_D1CRTC_H_TOTAL
83 * avivo_wait_for_vblank - vblank wait asic callback.
88 * Wait for vblank on the requested crtc (r5xx-r7xx).
94 if (crtc >= rdev->num_crtc) in avivo_wait_for_vblank()
120 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip()
121 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); in rs600_page_flip()
126 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip()
129 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, in rs600_page_flip()
131 WREG32(AVIVO_D1GRPH_SECONDARY_SURFACE_ADDRESS + radeon_crtc->crtc_offset, in rs600_page_flip()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
Drs600.c39 #include <linux/io-64-nonatomic-lo-hi.h>
60 AVIVO_D2CRTC_H_TOTAL - AVIVO_D1CRTC_H_TOTAL
85 * avivo_wait_for_vblank - vblank wait asic callback.
90 * Wait for vblank on the requested crtc (r5xx-r7xx).
96 if (crtc >= rdev->num_crtc) in avivo_wait_for_vblank()
122 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip()
123 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in rs600_page_flip()
124 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); in rs600_page_flip()
129 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip()
132 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, in rs600_page_flip()
[all …]
/kernel/linux/linux-5.10/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/clk-provider.h>
11 #include <linux/extcon-provider.h>
49 * enum usb_chg_state - Different states involved in USB charger detection.
88 * struct rockchip_chg_det_reg - usb charger detect registers
96 * @vdm_src_en: open dm voltage source.
97 * @vdp_src_en: open dp voltage source.
114 * struct rockchip_usb2phy_port_cfg - usb-phy port configuration.
125 * @utmi_hstdet: utmi host disconnect register.
142 * struct rockchip_usb2phy_cfg - usb-phy configuration.
[all …]

12345