Home
last modified time | relevance | path

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

123

/linux/Documentation/devicetree/bindings/phy/
H A 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 …]
H A 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 …]
H A 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 …]
/linux/Documentation/devicetree/bindings/nvmem/
H A 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#
15 - $ref: nvmem-deprecated-cells.yaml#
19 const: sunplus,sp7021-ocotp
24 reg-names:
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ibm-system1.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/leds/leds-pca955x.h>
12 compatible = "ibm,system1-bmc", "aspeed,ast2600";
74 stdout-path = "uart5:115200n8";
82 reserved-memory {
83 #address-cells = <1>;
[all …]
H A 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";
27 * i2c bus 30-31 assigned to OCP slot 0-1
33 * i2c bus 32-33 assigned to Riser slot 0-1
39 * i2c bus 38-39 assigned to FRU on Riser slot 0-1
82 stdout-path = &uart5;
[all …]
H A 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
60 stdout-path = &uart5;
[all …]
/linux/Documentation/devicetree/bindings/i2c/
H A 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 …]
/linux/include/linux/
H A Dpower_supply.h1 /* SPDX-License-Identifier: GPL-2.0-only */
226 /* Run-time specific power supply configuration */
349 int vbat_uv; /* Battery voltage in microvolt */
354 * struct power_supply_maintenance_charge_table - setting for maintenace charging
358 * reach this voltage the maintenance charging current is turned off. It is
359 * turned back on if we fall below this voltage.
360 * @charge_voltage_max_uv: maintenance charging voltage that is usually a bit
362 * charge_current_max_ua until we get back up to this voltage.
366 * maintenance charge current and voltage pair in respective array and wait
387 * +-------------------------------------------------------------------> t
[all …]
/linux/sound/soc/codecs/
H A 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 …]
/linux/include/linux/usb/
H A 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 …]
/linux/drivers/phy/rockchip/
H A 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>
50 * enum usb_chg_state - Different states involved in USB charger detection.
89 * struct rockchip_chg_det_reg - usb charger detect registers
97 * @vdm_src_en: open dm voltage source.
98 * @vdp_src_en: open dp voltage source.
115 * struct rockchip_usb2phy_port_cfg - usb-phy port configuration.
120 * @disfall_en: host disconnect fall edge detection enable.
121 * @disfall_st: host disconnect fall edge detection state.
[all …]
/linux/drivers/power/supply/
H A Drt5033_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/devm-helpers.h>
18 #include <linux/mfd/rt5033-private.h>
45 struct regmap *regmap = charger->regmap; in rt5033_get_charger_state()
72 if (charger->otg) in rt5033_get_charger_state()
80 struct regmap *regmap = charger->regmap; in rt5033_get_charger_type()
102 struct regmap *regmap = charger->regmap; in rt5033_get_charger_current_limit()
118 struct regmap *regmap = charger->regmap; in rt5033_get_charger_const_voltage()
134 struct rt5033_charger_data *chg = &charger->chg; in rt5033_init_const_charge()
139 /* Set constant voltage mode */ in rt5033_init_const_charge()
[all …]
H A 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 …]
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2017 Google, Inc
210 VDM_STATE_ERR_BUSY = -3,
211 VDM_STATE_ERR_SEND = -2,
212 VDM_STATE_ERR_TMOUT = -1,
240 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
280 * @min_volt: Actual min voltage at the local port
281 * @req_min_volt: Requested min voltage to the port partner
282 * @max_volt: Actual max voltage at the local port
283 * @req_max_volt: Requested max voltage to the port partner
[all …]
/linux/drivers/scsi/sym53c8xx_2/
H A 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 …]
/linux/drivers/mmc/host/
H A 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 …]
/linux/drivers/gpu/drm/radeon/
H A Drs600.c39 #include <linux/io-64-nonatomic-lo-hi.h>
59 AVIVO_D2CRTC_H_TOTAL - AVIVO_D1CRTC_H_TOTAL
84 * avivo_wait_for_vblank - vblank wait asic callback.
89 * Wait for vblank on the requested crtc (r5xx-r7xx).
95 if (crtc >= rdev->num_crtc) in avivo_wait_for_vblank()
121 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip()
122 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in rs600_page_flip()
123 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); in rs600_page_flip()
128 WREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset, tmp); in rs600_page_flip()
131 WREG32(AVIVO_D1GRPH_FLIP_CONTROL + radeon_crtc->crtc_offset, in rs600_page_flip()
[all …]
/linux/drivers/media/usb/dvb-usb-v2/
H A Ddvbsky.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 enum fe_sec_voltage voltage);
45 mutex_lock(&d->usb_mutex); in dvbsky_usb_generic_rw()
47 memcpy(state->obuf, wbuf, wlen); in dvbsky_usb_generic_rw()
49 ret = dvb_usbv2_generic_rw_locked(d, state->obuf, wlen, in dvbsky_usb_generic_rw()
50 state->ibuf, rlen); in dvbsky_usb_generic_rw()
53 memcpy(rbuf, state->ibuf, rlen); in dvbsky_usb_generic_rw()
55 mutex_unlock(&d->usb_mutex); in dvbsky_usb_generic_rw()
66 mutex_lock(&d->usb_mutex); in dvbsky_stream_ctrl()
67 memcpy(state->obuf, obuf_pre, 3); in dvbsky_stream_ctrl()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsc7280-herobrine.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
16 #include <dt-bindings/input/gpio-keys.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/leds/common.h>
20 #include "sc7280-qcard.dtsi"
21 #include "sc7280-chrome-common.dtsi"
25 stdout-path = "serial0:115200n8";
33 * 2. higher voltage above lower voltage.
37 /* This is the top level supply and variable voltage */
38 ppvar_sys: ppvar-sys-regulator {
[all …]
/linux/drivers/phy/sunplus/
H A Dphy-sunplus-usb2.c1 // SPDX-License-Identifier: GPL-2.0
8 * Note 1 : non-posted write command for the registers accesses of
18 #include <linux/nvmem-consumer.h>
86 cell = nvmem_cell_get(usbphy->dev, disc_name); in update_disc_vol()
88 if (PTR_ERR(cell) == -EPROBE_DEFER) in update_disc_vol()
89 return -EPROBE_DEFER; in update_disc_vol()
98 set = (set >> usbphy->disc_vol_addr_off) & J_DISC; in update_disc_vol()
104 val = readl(usbphy->phy_regs + CONFIG7); in update_disc_vol()
106 writel(val, usbphy->phy_regs + CONFIG7); in update_disc_vol()
117 ret = clk_prepare_enable(usbphy->phy_clk); in sp_uphy_init()
[all …]
/linux/drivers/cpufreq/
H A Dpowernow-k7.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * - We cli/sti on stepping A0 CPUs around the FID/VID transition.
12 * CPU with half frequency multipliers may hang upon wakeup from disconnect.
13 * - We disable half multipliers if ACPI is used on A0 stepping CPUs.
38 #include "powernow-k7.h"
69 /* divide by 1000 to get VCore voltage in V. */
82 150, 225, 160, 165, 170, 180, -1, -1,
95 static unsigned int minimum_speed = -1;
107 delta = (fsbspeed > f) ? fsbspeed - f : f - fsbspeed; in check_fsb()
134 if ((c->x86_model == 6) && (c->x86_stepping == 0)) { in check_powernow()
[all …]
/linux/arch/arm/boot/dts/sunplus/
H A Dsunplus-sp7021.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/clock/sunplus,sp7021-clkc.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/reset/sunplus,sp7021-reset.h>
11 #include <dt-bindings/pinctrl/sppctl-sp7021.h>
12 #include <dt-bindings/gpio/gpio.h>
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <XTAL>;
25 clock-output-names = "extclk";
[all …]
/linux/drivers/mmc/core/
H A Dsdio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2006-2007 Pierre Ossman
31 MMC_DEV_ATTR(vendor, "0x%04x\n", card->cis.vendor);
32 MMC_DEV_ATTR(device, "0x%04x\n", card->cis.device);
33 MMC_DEV_ATTR(revision, "%u.%u\n", card->major_rev, card->minor_rev);
34 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr);
35 MMC_DEV_ATTR(rca, "0x%04x\n", card->rca);
42 if (num > card->num_info) \
43 return -ENODATA; \
44 if (!card->info[num - 1][0]) \
[all …]
/linux/drivers/media/usb/dvb-usb/
H A Dtechnisat-usb2.c2 * Linux driver for Technisat DVB-S/S2 USB 2.0 device
8 * registered office is Witan Gate House 500 - 600 Witan Gate West,
29 #define DVB_USB_LOG_PREFIX "technisat-usb2"
30 #include "dvb-usb.h"
41 "set debugging level (bit-mask: 1=info,2=eeprom,4=i2c,8=rc)." \
49 "disable LED control of the device (default: 0 - LED control is active).");
78 /* i2c-access methods */
92 return -ENOMEM; in technisat_usb2_i2c_access()
94 deb_i2c("i2c-access: %02x, tx: ", device_addr); in technisat_usb2_i2c_access()
124 err("i2c-error: out failed %02x = %d", device_addr, ret); in technisat_usb2_i2c_access()
[all …]

123