Home
last modified time | relevance | path

Searched +full:regulator +full:- +full:over +full:- +full:current +full:- +full:protection (Results 1 – 25 of 33) 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->bas in qcom_labibb_ocp_hw_enable()
[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 Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 // core.c -- Voltage/Current Regulator framework.
24 #include <linux/regulator/of_regulator.h>
25 #include <linux/regulator/consumer.h>
26 #include <linux/regulator/coupler.h>
27 #include <linux/regulator/driver.h>
28 #include <linux/regulator/machine.h>
32 #include <trace/events/regulator.h>
58 struct regulator_dev *regulator; member
87 * Work item used to forward regulator events.
[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
[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/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/arm/qcom,ids.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9 #include <dt-bindings/sound/qcom,q6afe.h>
10 #include <dt-bindings/sound/qcom,q6asm.h>
12 #include "sdm845-wcd9340.dtsi"
20 /delete-node/ &tz_mem;
[all …]
H A Dsdm845-sony-xperia-tama.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/arm/qcom,ids.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
16 qcom,msm-id = <QCOM_ID_SDM845 0x20001>; /* SDM845 v2.1 */
17 qcom,board-id = <8 0>;
25 stdout-path = "serial0:115200n8";
28 gpio-keys {
29 compatible = "gpio-keys";
[all …]
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 …]
H A Dsdm845-xiaomi-polaris.dts1 // SPDX-License-Identifier: BSD-3-Clause
7 /dts-v1/;
9 #include <dt-bindings/arm/qcom,ids.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
13 #include <dt-bindings/input/linux-event-codes.h>
14 #include <dt-bindings/sound/qcom,q6afe.h>
15 #include <dt-bindings/sound/qcom,q6asm.h>
17 #include "sdm845-wcd9340.dtsi"
[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 …]

12