Home
last modified time | relevance | path

Searched +full:vsel +full:- +full:active +full:- +full:high (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dactive-semi,act8865.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/active-semi,act8865.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Active-semi ACT8865 regulator
10 - Paul Cercueil <paul@crapouillou.net>
14 const: active-semi,act8865
19 system-power-controller:
25 active-semi,vsel-high:
27 Indicates the VSEL pin is high. If this property is missing,
[all …]
H A Drichtek,rt5739.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Richtek RT5739 Step-Down Buck Converter
10 - ChiYuan Huang <cy_huang@richtek.com>
13 The RT5739 is a step-down switching buck converter that can deliver the
16 capability at over 80% high efficiency.
19 - $ref: regulator.yaml#
24 - richtek,rt5733
25 - richtek,rt5739
[all …]
H A Drichtek,rt4803.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
20 https://www.richtek.com/assets/product_file/RT4803/DS4803-03.pdf
21 https://www.richtek.com/assets/product_file/RT4803A/DS4803A-06.pdf
24 - $ref: regulator.yaml#
29 - richtek,rt4803
34 richtek,vsel-active-high:
36 description: Specify the VSEL register group is using when system is active
[all …]
H A Dactive-semi,act8945a.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/active-semi,act8945a.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Active-semi ACT8945a regulator
10 - Paul Cercueil <paul@crapouillou.net>
14 const: active-semi,act8945a
19 system-power-controller:
25 active-semi,vsel-high:
27 Indicates the VSEL pin is high. If this property is missing,
[all …]
H A Dactive-semi,act8600.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/active-semi,act8600.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Active-semi ACT8600 regulator
10 - Paul Cercueil <paul@crapouillou.net>
14 const: active-semi,act8600
19 system-power-controller:
25 active-semi,vsel-high:
27 Indicates the VSEL pin is high. If this property is missing,
[all …]
H A Drichtek,rt6160-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/richtek,rt6160-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - ChiYuan Huang <cy_huang@richtek.com>
13 The RT6160 is a high-efficiency buck-boost converter that can provide
18 https://www.richtek.com/assets/product_file/RT6160A/DS6160A-00.pdf
21 - $ref: regulator.yaml#
26 - richtek,rt6160
31 enable-gpios:
[all …]
H A Dactive-semi,act8846.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/active-semi,act8846.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Active-semi ACT8846 regulator
10 - Paul Cercueil <paul@crapouillou.net>
14 const: active-semi,act8846
19 system-power-controller:
25 active-semi,vsel-high:
27 Indicates the VSEL pin is high. If this property is missing,
[all …]
/openbmc/linux/drivers/regulator/
H A Drt4803.c1 // SPDX-License-Identifier: GPL-2.0-only
51 return -EINVAL; in rt4803_set_mode()
54 modeval <<= ffs(RT4803_MODE_MASK) - 1; in rt4803_set_mode()
69 modeval >>= ffs(RT4803_MODE_MASK) - 1; in rt4803_get_mode()
111 unsigned int reg, vsel; in rt4803_set_suspend_voltage() local
113 if (rdev->desc->vsel_reg == RT4803_REG_VSELL) in rt4803_set_suspend_voltage()
118 vsel = (uV - rdev->desc->min_uV) / rdev->desc->uV_step; in rt4803_set_suspend_voltage()
119 vsel <<= ffs(RT4803_VSEL_MASK) - 1; in rt4803_set_suspend_voltage()
121 return regmap_update_bits(regmap, reg, RT4803_VSEL_MASK, vsel); in rt4803_set_suspend_voltage()
154 struct device *dev = &i2c->dev; in rt4803_probe()
[all …]
H A Drt5739.c1 // SPDX-License-Identifier: GPL-2.0-only
53 const struct regulator_desc *desc = rdev->desc; in rt5739_set_mode()
57 if (desc->vsel_reg == RT5739_REG_NSEL0) in rt5739_set_mode()
70 return -EINVAL; in rt5739_set_mode()
78 const struct regulator_desc *desc = rdev->desc; in rt5739_get_mode()
83 if (desc->vsel_reg == RT5739_REG_NSEL0) in rt5739_get_mode()
100 const struct regulator_desc *desc = rdev->desc; in rt5739_set_suspend_voltage()
102 unsigned int reg, vsel; in rt5739_set_suspend_voltage() local
105 max_uV = desc->min_uV + desc->uV_step * (desc->n_voltages - 1); in rt5739_set_suspend_voltage()
107 if (uV < desc->min_uV || uV > max_uV) in rt5739_set_suspend_voltage()
[all …]
H A Dact8945a-regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Voltage regulation driver for active-semi ACT8945A PMIC
16 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
52 #define ACT8945A_ENA 0x80 /* ON - [7] */
53 #define ACT8945A_VSEL_MASK 0x3F /* VSET - [5:0] */
84 struct regmap *regmap = rdev->regmap; in act8945a_set_suspend_state()
118 return -EINVAL; in act8945a_set_suspend_state()
157 struct regmap *regmap = rdev->regmap; in act8945a_set_mode()
184 return -EINVAL; in act8945a_set_mode()
197 return -EINVAL; in act8945a_set_mode()
[all …]
H A Dmax8973-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max8973-regulator.c -- Maxim max8973A
5 * Regulator driver for MAXIM 8973A DC-DC step-down switching regulator.
21 #include <linux/regulator/max8973-regulator.h>
123 * - If it is already there then it will make that register as most
127 * - If requested voltage is not found then it will use the least
137 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register()
138 int found_index = MAX8973_MAX_VOUT_REG - 1; in find_voltage_set_register()
141 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
142 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register()
[all …]
H A Dact8865-regulator.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * act8865-regulator.c - Voltage regulation for active-semi ACT88xx PMUs
5 * http://www.active-semi.com/products/power-management-units/act88xx/
22 #include <dt-bindings/regulator/active-semi,8865-regulator.h>
124 #define ACT8865_ENA 0x80 /* ON - [7] */
125 #define ACT8865_DIS 0x40 /* DIS - [6] */
127 #define ACT8865_VSEL_MASK 0x3F /* VSET - [5:0] */
130 #define ACT8600_LDO10_ENA 0x40 /* ON - [6] */
131 #define ACT8600_SUDCDC_VSEL_MASK 0xFF /* SUDCDC VSET - [7:0] */
239 struct regmap *regmap = rdev->regmap; in act8865_set_suspend_state()
[all …]
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 // core.c -- Voltage/Current Regulator framework.
103 if (rdev->constraints && rdev->constraints->name) in rdev_get_name()
104 return rdev->constraints->name; in rdev_get_name()
105 else if (rdev->desc->name) in rdev_get_name()
106 return rdev->desc->name; in rdev_get_name()
119 if (!rdev->constraints) { in regulator_ops_is_valid()
124 if (rdev->constraints->valid_ops_mask & ops) in regulator_ops_is_valid()
131 * regulator_lock_nested - lock a single regulator
149 if (!ww_mutex_trylock(&rdev->mutex, ww_ctx)) { in regulator_lock_nested()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dact8945a.txt1 Device-Tree bindings for Active-semi ACT8945A MFD driver
4 - compatible: "active-semi,act8945a".
5 - reg: the I2C slave address for the ACT8945A chip
8 - a regulators: see ../regulator/act8945a-regulator.txt
9 - a charger: see ../power/act8945a-charger.txt
13 compatible = "active-semi,act8945a";
16 active-semi,vsel-high;
20 regulator-name = "VDD_1V35";
21 regulator-min-microvolt = <1350000>;
22 regulator-max-microvolt = <1350000>;
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dimx7ulp-evk.dts9 /dts-v1/;
15 compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp", "Generic DT based system";
19 stdout-path = &lpuart4;
24 wlreg_on-supply = <&wlreg_on>;
35 compatible = "gpio-backlight";
36 pinctrl-names = "default";
37 pinctrl-0 = <&pinctrl_backlight>;
39 default-on;
43 mipi_dsi_reset: mipi-dsi-reset {
44 compatible = "gpio-reset";
[all …]
H A Drk3288-miqi.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR X11
14 ext_gmac: external-gmac-clock {
15 compatible = "fixed-clock";
16 #clock-cells = <0>;
17 clock-frequency = <125000000>;
18 clock-output-names = "ext_gmac";
21 io_domains: io-domains {
22 compatible = "rockchip,rk3288-io-voltage-domain";
25 audio-supply = <&vcca_33>;
26 flash0-supply = <&vcc_flash>;
[all …]
H A Drk3399-puma.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR X11
6 #include <dt-bindings/pwm/pwm.h>
10 model = "Theobroma Systems RK3399-Q7 SoM";
11 compatible = "tsd,rk3399-q7", "tsd,puma", "rockchip,rk3399";
14 u-boot,spl-payload-offset = <0x40000>; /* @ 256KB */
15 u-boot,mmc-env-offset = <0x4000>; /* @ 16KB */
16 u-boot,efi-partition-entries-offset = <0x200000>; /* 2MB */
17 u-boot,boot-led = "module_led";
18 sysreset-gpio = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>;
22 stdout-path = "serial0:115200n8";
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-nitrogen.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
13 compatible = "boundary,imx8mq-nitrogen8m", "fsl,imx8mq";
16 stdout-path = "serial0:115200n8";
24 gpio-keys {
25 compatible = "gpio-keys";
26 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_gpio_keys>;
29 button-power {
[all …]
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-r89.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pwm/pwm.h>
20 ext_gmac: external-gmac-clock {
21 compatible = "fixed-clock";
22 clock-frequency = <125000000>;
23 clock-output-names = "ext_gmac";
24 #clock-cells = <0>;
27 gpio-keys {
[all …]
H A Drk3288-firefly-reload-core.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/input.h>
16 ext_gmac: external-gmac-clock {
17 compatible = "fixed-clock";
18 #clock-cells = <0>;
19 clock-frequency = <125000000>;
20 clock-output-names = "ext_gmac";
24 vcc_flash: flash-regulator {
25 compatible = "regulator-fixed";
26 regulator-name = "vcc_flash";
[all …]
H A Drk3288-miqi.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
15 stdout-path = "serial2:115200n8";
23 ext_gmac: external-gmac-clock {
24 compatible = "fixed-clock";
25 #clock-cells = <0>;
26 clock-frequency = <125000000>;
27 clock-output-names = "ext_gmac";
31 compatible = "gpio-leds";
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-rock-4c-plus.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/leds/common.h>
11 #include "rk3399-t-opp.dtsi"
15 compatible = "radxa,rock-4c-plus", "rockchip,rk3399";
23 stdout-path = "serial2:1500000n8";
26 clkin_gmac: external-gmac-clock {
27 compatible = "fixed-clock";
28 clock-frequency = <125000000>;
29 clock-output-names = "clkin_gmac";
[all …]
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dat91-sama5d2_xplained.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board
8 /dts-v1/;
10 #include "sama5d2-pinfunc.h"
11 #include <dt-bindings/mfd/atmel-flexcom.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
28 stdout-path = "serial0:115200n8";
[all …]
/openbmc/linux/drivers/clk/tegra/
H A Dclk-dfll.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * clk-dfll.c - Tegra DFLL clock source common code
5 * Copyright (C) 2012-2019 NVIDIA Corporation. All rights reserved.
12 * "CL-DVFS". To try to avoid confusion, this code refers to them
18 * DFLL can be operated in either open-loop mode or closed-loop mode.
19 * In open-loop mode, the DFLL generates an output clock appropriate
20 * to the supply voltage. In closed-loop mode, when configured with a
27 * performance-measurement code and any code that relies on the CPU
32 #include <linux/clk-provider.h>
49 #include "clk-dfll.h"
[all …]
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62-verdin.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/net/ti-dp83867.h>
18 stdout-path = "serial2:115200n8";
45 verdin_gpio_keys: gpio-keys {
46 compatible = "gpio-keys";
[all …]