Home
last modified time | relevance | path

Searched +full:regulator +full:- +full:over +full:- +full:current +full:- +full:protection (Results 1 – 25 of 29) sorted by relevance

12

/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xx-osd32.dtsi1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */
3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
7 #include "stm32mp15-pinctrl.dtsi"
9 #include <dt-bindings/mfd/st,stpmic1.h>
12 reserved-memory {
13 #address-cells = <1>;
14 #size-cells = <1>;
18 compatible = "shared-dma-pool";
20 no-map;
24 compatible = "shared-dma-pool";
[all …]
H A Dstm32mp157c-odyssey-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 /dts-v1/;
10 #include "stm32mp15-pinctrl.dtsi"
11 #include "stm32mp15xxac-pinctrl.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/mfd/st,stpmic1.h>
17 model = "Seeed Studio Odyssey-STM32MP157C SOM";
18 compatible = "seeed,stm32mp157c-odyssey-som", "st,stm32mp157";
25 reserved-memory {
[all …]
H A Dstm32mp15xx-dhcor-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
8 #include "stm32mp15-pinctrl.dtsi"
9 #include "stm32mp15xxac-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/mfd/st,stpmic1.h>
23 reserved-memory {
24 #address-cells = <1>;
25 #size-cells = <1>;
29 compatible = "shared-dma-pool";
[all …]
H A Dstm32mp157a-stinger96.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
9 #include "stm32mp15-pinctrl.dtsi"
10 #include "stm32mp15xxac-pinctrl.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/mfd/st,stpmic1.h>
24 stdout-path = "serial1:115200n8";
33 compatible = "gpio-leds";
38 linux,default-trigger = "heartbeat";
39 default-state = "off";
[all …]
H A Dstm32mp13xx-dhcor-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/mfd/st,stpmic1.h>
10 #include <dt-bindings/regulator/st,stm32mp13-regulator.h>
11 #include "stm32mp13-pinctrl.dtsi"
15 compatible = "dh,stm32mp131a-dhcor-som",
32 reserved-memory {
33 #address-cells = <1>;
[all …]
H A Dstm32mp157c-emstamp-argon.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
9 #include "stm32mp15-pinctrl.dtsi"
10 #include "stm32mp15xxac-pinctrl.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/mfd/st,stpmic1.h>
23 stdout-path = "serial0:115200n8";
31 reserved-memory {
32 #address-cells = <1>;
33 #size-cells = <1>;
37 compatible = "shared-dma-pool";
[all …]
H A Dstm32mp157c-phycore-stm32mp15-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) 2022-2023 Steffen Trumtrar <kernel@pengutronix.de>
4 * Copyright (C) Phytec GmbH 2019-2020 - All Rights Reserved
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/leds/leds-pca9532.h>
14 #include <dt-bindings/mfd/st,stpmic1.h>
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dams,as3711.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Austria MicroSystems AS3711 Quad Buck High Current PMIC with Charger
10 - Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
15 two step-up DC/DC converters are defined.
26 Step-up converter configuration, to be used as a backlight source
31 const: ams,as3711-bl
33 su1-dev:
34 description: Framebuffer phandle for the first step-up converter
[all …]
H A Drohm,bd96801-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd96801-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
13 BD96801 and BD96805 are automotive grade, single-chip power management ICs.
15 over-/under voltage and over current detection and a watchdog.
20 - rohm,bd96801
21 - rohm,bd96805
38 interrupt-names:
[all …]
/linux/drivers/regulator/
H A Dqcom-labibb-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/regulator/driver.h>
11 #include <linux/regulator/of_regulator.h>
114 ret = regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_enable()
115 vreg->base + REG_LABIBB_INT_LATCHED_CLR, in qcom_labibb_ocp_hw_enable()
121 return regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_enable()
122 vreg->base + REG_LABIBB_INT_EN_SET, in qcom_labibb_ocp_hw_enable()
130 return regmap_update_bits(rdev->regmap, in qcom_labibb_ocp_hw_disable()
131 vreg->base + REG_LABIBB_INT_EN_CLR, in qcom_labibb_ocp_hw_disable()
136 * qcom_labibb_check_ocp_status - Check the Over-Current Protection status
[all …]
H A Drt5759-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <linux/regulator/driver.h>
10 #include <linux/regulator/of_regulator.h>
70 return -EINVAL; in rt5759_set_mode()
122 /* Only support over current protection parameter */ in rt5759_set_ocp()
137 i = ARRAY_SIZE(ocp_lvl) - 1; in rt5759_set_ocp()
155 /* Only support over temperature protection parameter */ in rt5759_set_otp()
170 i = ARRAY_SIZE(otp_lvl) - 1; in rt5759_set_otp()
212 struct device_node *np = priv->dev->of_node; in rt5759_regulator_register()
213 struct regulator_desc *reg_desc = &priv->desc; in rt5759_regulator_register()
[all …]
H A Dbd96801-regulator.c1 // SPDX-License-Identifier: GPL-2.0
3 // bd96801-regulator.c ROHM BD96801 regulator driver
11 * regulator safety limits (like limits for the over/under -voltages, over
12 * current, thermal protection) would require the configuring driver to be
23 * which implements some of the safety limit configurations - but leaves the
36 #include <linux/mfd/rohm-generic.h>
37 #include <linux/mfd/rohm-bd96801.h>
42 #include <linux/regulator/coupler.h>
43 #include <linux/regulator/driver.h>
44 #include <linux/regulator/machine.h>
[all …]
H A Dqcom_spmi-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
8 #include <linux/devm-helpers.h>
18 #include <linux/regulator/driver.h>
47 /* Soft start strength of a voltage switch type regulator */
57 * struct spmi_regulator_init_data - spmi-regulator initialization data
59 * used to enable the regulator, if any
67 * used to force the regulator into high power
256 /* Common regulator control register layout */
266 /* Common regulator mode register layout */
[all …]
H A Dbd9576-regulator.c1 // SPDX-License-Identifier: GPL-2.0
3 // ROHM BD9576MUF/BD9573MUF regulator driver
10 #include <linux/mfd/rohm-bd957x.h>
11 #include <linux/mfd/rohm-generic.h>
16 #include <linux/regulator/driver.h>
17 #include <linux/regulator/machine.h>
18 #include <linux/regulator/of_regulator.h>
137 const struct regulator_desc *desc = rdev->desc; in bd957x_vout34_list_voltage()
138 int multiplier = selector & desc->vsel_mask & 0x7f; in bd957x_vout34_list_voltage()
145 return desc->fixed_uV - tune; in bd957x_vout34_list_voltage()
[all …]
/linux/include/linux/mfd/
H A Drohm-bd957x.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
18 * - I2C/thermal,
19 * - Over voltage protection
20 * - Short-circuit protection
21 * - Over current protection
22 * - Over voltage detection
23 * - Under voltage detection
24 * - Under voltage protection
25 * - 'system interrupt'.
28 * information - for example which of the regulators have over-voltage.
[all …]
/linux/Documentation/devicetree/bindings/regulator/
H A Dqcom,spmi-regulator.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/qcom,spmi-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Robert Marko <robimarko@gmail.com>
15 - qcom,pm6125-regulators
16 - qcom,pm660-regulators
17 - qcom,pm660l-regulators
18 - qcom,pm8004-regulators
19 - qcom,pm8005-regulators
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dpm8941.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/spmi/spmi.h>
8 thermal-zones {
9 pm8941-thermal {
10 polling-delay-passive = <100>;
11 polling-delay = <0>;
12 thermal-sensors = <&pm8941_temp>;
40 compatible = "qcom,pm8941", "qcom,spmi-pmic";
[all …]
/linux/Documentation/power/regulator/
H A Doverview.rst2 Linux voltage and current regulator framework
9 voltage and current regulators.
11 The intention is to allow systems to dynamically control regulator power output
13 regulators (where voltage output is controllable) and current sinks (where
14 current limit is controllable).
26 - Regulator
27 - Electronic device that supplies power to other devices.
29 some can control their output voltage and or current.
31 Input Voltage -> Regulator -> Output Voltage
34 - PMIC
[all …]
/linux/drivers/mfd/
H A Dhi6421-pmic-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) <2011-2014> HiSilicon Technologies Co., Ltd.
7 * Copyright (c) <2013-2017> Linaro Ltd.
16 #include <linux/mfd/hi6421-pmic.h>
24 { .name = "hi6421-regulator", },
28 { .name = "hi6421v530-regulator", },
40 .compatible = "hisilicon,hi6421-pmic",
44 .compatible = "hisilicon,hi6421v530-pmic",
59 type = (uintptr_t)device_get_match_data(&pdev->dev); in hi6421_pmic_probe()
61 pmic = devm_kzalloc(&pdev->dev, sizeof(*pmic), GFP_KERNEL); in hi6421_pmic_probe()
[all …]
H A Drohm-bd96801.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 * regulator safety limits (like limits for the over/under -voltages, over
14 * current, thermal protection) would require the configuring driver to be
25 * which implements some of the safety limit configurations - but leaves the
40 #include <linux/mfd/rohm-bd96801.h>
41 #include <linux/mfd/rohm-bd96802.h>
42 #include <linux/mfd/rohm-generic.h>
59 DEFINE_RES_IRQ_NAMED(BD96801_OTP_ERR_STAT, "otp-err"),
60 DEFINE_RES_IRQ_NAMED(BD96801_DBIST_ERR_STAT, "dbist-err"),
61 DEFINE_RES_IRQ_NAMED(BD96801_EEP_ERR_STAT, "eep-err"),
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8998-sony-xperia-yoshino.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
18 qcom,msm-id = <0x124 0x20000>, <0x124 0x20001>; /* 8998v2, v2.1 */
19 qcom,board-id = <8 0>;
23 compatible = "gpio-gate-clock";
24 pinctrl-0 = <&div_clk1>;
25 pinctrl-names = "default";
27 #clock-cells = <0>;
[all …]
/linux/sound/soc/codecs/
H A Dtas2764.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <linux/regulator/consumer.h>
49 #include "tas2764-quirks.h"
52 "fault: over temperature", /* INT_LTCH0 & BIT(0) */
53 "fault: over current",
79 latched[i] = snd_soc_component_read(tas2764->component, in tas2764_irq()
84 dev_crit_ratelimited(tas2764->dev, "%s\n", in tas2764_irq()
91 dev_err_ratelimited(tas2764->dev, "other context to the fault: %02x,%02x,%02x,%02x,%02x", in tas2764_irq()
93 snd_soc_component_update_bits(tas2764->component, in tas2764_irq()
104 if (tas2764->reset_gpio) { in tas2764_reset()
[all …]
H A Dcs35l36.c1 // SPDX-License-Identifier: GPL-2.0
3 // cs35l36.c -- CS35L36 ALSA SoC audio driver
18 #include <linux/regulator/consumer.h>
27 #include <sound/soc-dapm.h>
446 TLV_DB_MINMAX_ITEM(-10200, 1200));
463 ucontrol->value.integer.value[0] = cs35l36->ldm_mode_sel; in cs35l36_ldm_sel_get()
475 int val = (ucontrol->value.integer.value[0]) ? CS35L36_NG_AMP_EN_MASK : in cs35l36_ldm_sel_put()
478 cs35l36->ldm_mode_sel = val; in cs35l36_ldm_sel_put()
480 regmap_update_bits(cs35l36->regmap, CS35L36_NG_CFG, in cs35l36_ldm_sel_put()
492 SOC_SINGLE("Amp Gain Zero-Cross Switch", CS35L36_AMP_GAIN_CTRL,
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-mlxreg-io1 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health
6 0 - health failed, 2 - health OK, 3 - ASIC in booting state.
10 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version
11 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version
20 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir
25 forward direction - relevant bit is set 0;
26 reversed direction - relevant bit is set 1.
30 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
39 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
48 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio
[all …]
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt16 force -- enable ACPI if default was off
17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
20 strict -- Be less tolerant of platforms that are not
22 rsdt -- prefer RSDT over (default) XSDT
23 copy_dsdt -- copy DSDT to memory
24 nocmcff -- Disable firmware first mode for corrected
28 nospcr -- disable console in ACPI SPCR table as
45 If set to vendor, prefer vendor-specific driver
[all …]

12