Home
last modified time | relevance | path

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

12

/linux/Documentation/devicetree/bindings/regulator/
H A Dvctrl.txt1 Bindings for Voltage controlled regulators
5 --------------------
6 - compatible : must be "vctrl-regulator".
7 - regulator-min-microvolt : smallest voltage consumers may set
8 - regulator-max-microvolt : largest voltage consumers may set
9 - ctrl-supply : The regulator supplying the control voltage.
10 - ctrl-voltage-range : an array of two integer values describing the range
11 (min/max) of the control voltage. The values specify
12 the control voltage needed to generate the corresponding
13 regulator-min/max-microvolt output voltage.
[all …]
H A Dmps,mpq7920.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Saravanan Sekar <sravanhome@gmail.com>
14 pattern: "pmic@[0-9a-f]{1,2}"
17 - mps,mpq7920
27 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5]
30 mps,switch-freq:
44 "^ldo[1-4]$":
49 "^buck[1-4]$":
[all …]
/linux/drivers/regulator/
H A Dvctrl-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for voltage controller regulators
50 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_ctrl_voltage()
51 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_ctrl_voltage()
53 return ctrl->min_uV + in vctrl_calc_ctrl_voltage()
54 DIV_ROUND_CLOSEST_ULL((s64)(out_uV - out->min_uV) * in vctrl_calc_ctrl_voltage()
55 (ctrl->max_uV - ctrl->min_uV), in vctrl_calc_ctrl_voltage()
56 out->max_uV - out->min_uV); in vctrl_calc_ctrl_voltage()
61 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_output_voltage()
62 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_output_voltage()
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dbq25980.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Andrew Davis <afd@ti.com>
15 for use in high-power density portable electronics. These inductorless
20 - $ref: power-supply.yaml#
25 - ti,bq25980
26 - ti,bq25975
27 - ti,bq25960
32 ti,watchdog-timeout-ms:
[all …]
H A Dbq24257.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Bq24250, bq24251 and bq24257 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24250
20 - ti,bq24251
21 - ti,bq24257
29 ti,battery-regulation-voltage:
[all …]
H A Dmaxim,max14577.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
22 - maxim,max14577-charger
23 - maxim,max77836-charger
25 maxim,constant-uvolt:
27 Battery Constant Voltage in uV
32 maxim,eoc-uamp:
34 Current in uA for End-Of-Charge mode.
[all …]
/linux/Documentation/devicetree/bindings/leds/backlight/
H A Dqcom-wled.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <andersson@kernel.org>
11 - Kiran Gunda <quic_kgunda@quicinc.com>
21 - qcom,pm8941-wled
22 - qcom,pmi8950-wled
23 - qcom,pmi8994-wled
24 - qcom,pmi8998-wled
[all …]
H A Dmediatek,mt6370-backlight.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/mediatek,mt6370-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiaEn Wu <chiaen_wu@richtek.com>
14 The MT6370 Backlight WLED driver supports up to a 29V output voltage for
21 - $ref: common.yaml#
26 - mediatek,mt6370-backlight
27 - mediatek,mt6372-backlight
29 default-brightness:
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dmaxim,max14577.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
17 includes voltage safeout regulators, charger and MicroUSB management IC.
20 includes voltage safeout and LDO regulators, charger, fuel-gauge and MicroUSB
26 - maxim,max14577
27 - maxim,max77836
35 wakeup-source: true
46 - maxim,max14577-muic
[all …]
/linux/Documentation/devicetree/bindings/extcon/
H A Dextcon-rt8973a.txt2 * Richtek RT8973A - Micro USB Switch device
4 The Richtek RT8973A is Micro USB Switch with OVP and I2C interface. The RT8973A
6 voltage system from abnormal high input voltage (up to 28V) and supports high
7 speed USB operation. Also, RT8973A support 'auto-configuration' mode.
8 If auto-configuration mode is enabled, RT8973A would control internal h/w patch
9 for USB D-/D+ switching.
12 - compatible: Should be "richtek,rt8973a-muic"
13 - reg: Specifies the I2C slave address of the MUIC block. It should be 0x14
14 - interrupts: Interrupt specifiers for detection interrupt sources.
19 compatible = "richtek,rt8973a-muic";
[all …]
/linux/Documentation/hwmon/
H A Dmpq8785.rst1 .. SPDX-License-Identifier: GPL-2.0-only
15 -----------
17 The MPQ8785 is a fully integrated, PMBus-compatible, high-frequency, synchronous
26 The MPQ8785 adopts MPS's proprietary multi-phase digital constant-on-time (MCOT)
29 with excellent current sharing and phase interleaving for high-current
32 Fully integrated protection features include over-current protection (OCP),
33 over-voltage protection (OVP), under-voltage protection (UVP), and
34 over-temperature protection (OTP).
41 - PMBus rev 1.3 interface.
44 for input voltage:
[all …]
/linux/include/linux/platform_data/
H A Dlp8755.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 #define LP8755_NAME "lp8755-regulator"
20 *OVP : over voltage protect activated
61 * @buck_data : buck0~6 init voltage in uV
/linux/drivers/usb/typec/mux/
H A Dit5205.c1 // SPDX-License-Identifier: GPL-2.0
3 * ITE IT5205 Type-C USB alternate mode passive mux
25 #define IT5205FN_CHIP_ID 0x35303235 /* "5025" -> "5205" */
45 /* CSBU Over Voltage Protection Register */
75 regmap_update_bits(it->regmap, IT5205_REG_MUXCR, in it5205_switch_set()
79 regmap_update_bits(it->regmap, IT5205_REG_MUXCR, in it5205_switch_set()
85 regmap_write(it->regmap, IT5205_REG_MUXCR, 0); in it5205_switch_set()
97 if (state->mode >= TYPEC_STATE_MODAL && in it5205_mux_set()
98 state->alt->svid != USB_TYPEC_DP_SID) in it5205_mux_set()
99 return -EINVAL; in it5205_mux_set()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dite,it5205.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ITE IT5202 Type-C USB Alternate Mode Passive MUX
10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
11 - Tianping Fang <tianping.fang@mediatek.com>
20 vcc-supply:
23 mode-switch:
27 orientation-switch:
31 ite,ovp-enable:
[all …]
/linux/drivers/extcon/
H A Dextcon-rt8973a.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * extcon-rt8973a.c - Richtek RT8973A extcon driver to support USB switches
19 #include <linux/extcon-provider.h>
21 #include "extcon-rt8973a.h"
98 /* Define OVP (Over Voltage Protection), OTP (Over Temperature Protection) */
145 /* |---------|--ADC| */
152 { RT8973A_INT1_ATTACH, "muic-attach" },
153 { RT8973A_INT1_DETACH, "muic-detach" },
154 { RT8973A_INT1_CHGDET, "muic-chgdet" },
155 { RT8973A_INT1_DCD_T, "muic-dcd-t" },
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-gru-chromebook.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Gru-Chromebook shared properties
8 #include "rk3399-gru.dtsi"
11 pp900_ap: pp900-ap {
12 compatible = "regulator-fixed";
13 regulator-name = "pp900_ap";
16 regulator-always-on;
17 regulator-boot-on;
18 regulator-min-microvolt = <900000>;
19 regulator-max-microvolt = <900000>;
[all …]
/linux/drivers/video/backlight/
H A Dmp3309c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
92 /* I2C register #0 - Device enable */ in mp3309c_enable_device()
93 ret = regmap_update_bits(chip->regmap, REG_I2C_0, REG_I2C_0_EN, in mp3309c_enable_device()
99 * I2C register #1 - Set working mode: in mp3309c_enable_device()
100 * - enable/disable synchronous mode in mp3309c_enable_device()
101 * - set overvoltage protection (OVP) in mp3309c_enable_device()
104 if (chip->pdata->sync_mode) in mp3309c_enable_device()
106 reg_val |= chip->pdata->over_voltage_protection; in mp3309c_enable_device()
107 ret = regmap_write(chip->regmap, REG_I2C_1, reg_val); in mp3309c_enable_device()
122 if (chip->pdata->dimming_mode == DIMMING_PWM) { in mp3309c_bl_update_status()
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8974-sony-xperia-rhine.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 stdout-path = "serial0:115200n8";
18 gpio-keys {
19 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&gpio_keys_pin_a>;
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsdm845-xiaomi-beryllium-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include <dt-bindings/leds/common.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
8 #include <dt-bindings/sound/qcom,q6afe.h>
9 #include <dt-bindings/sound/qcom,q6asm.h>
11 #include "sdm845-wcd9340.dtsi"
19 /delete-node/ &tz_mem;
20 /delete-node/ &adsp_mem;
[all …]
H A Dsdm845-xiaomi-polaris.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/input/linux-event-codes.h>
13 #include <dt-bindings/sound/qcom,q6afe.h>
14 #include <dt-bindings/sound/qcom,q6asm.h>
16 #include "sdm845-wcd9340.dtsi"
25 /delete-node/ &rmtfs_mem;
[all …]
H A Dsdm845-sony-xperia-tama.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
15 qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */
16 qcom,board-id = <8 0>;
24 stdout-path = "serial0:115200n8";
27 gpio-keys {
28 compatible = "gpio-keys";
30 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &vol_up_n>;
[all …]
H A Dsdm630-sony-xperia-nile.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/input/gpio-keys.h>
13 #include <dt-bindings/leds/common.h>
17 qcom,msm-id = <318 0>;
18 qcom,board-id = <8 1>;
19 qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>;
21 /* This part enables graphical output via bootloader-enabled display */
25 #address-cells = <2>;
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-librem5.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018-2020 Purism SPC
6 /dts-v1/;
8 #include "dt-bindings/input/input.h"
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/leds/common.h>
11 #include "dt-bindings/pwm/pwm.h"
12 #include "dt-bindings/usb/pd.h"
18 chassis-type = "handset";
20 backlight_dsi: backlight-dsi {
[all …]
/linux/drivers/power/supply/
H A Dbq24257_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
64 u8 vbat; /* regulation voltage */
67 u8 vovp; /* over voltage protection voltage */
68 u8 vindpm; /* VDMP input threshold voltage */
211 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq24257_field_read()
221 return regmap_field_write(bq->rmap_fields[field_id], val); in bq24257_field_write()
232 return idx - 1; in bq24257_find_idx()
273 return -ENODATA; in bq24257_get_input_current_limit()
275 val->intval = bq24257_iilimit_map[ret]; in bq24257_get_input_current_limit()
285 * while the charger auto-detection mechanism is active. In this in bq24257_set_input_current_limit()
[all …]
H A Drt9455_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 #define RT9455_DRIVER_NAME "rt9455-charger"
165 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \
169 * Each array initialised below shows the possible real-world values for a
171 * ascending order. The index of each real-world value represents the value
181 * voltage.
198 * voltage.
200 /* REG02[7:2] (Boost output voltage) in uV */
265 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx()
269 return (tbl_size - 1); in rt9455_find_idx()
[all …]

12