Home
last modified time | relevance | path

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

/linux-6.12.1/Documentation/devicetree/bindings/regulator/
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
/linux-6.12.1/drivers/regulator/
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 …]
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 …]
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 …]
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>
121 * - If it is already there then it will make that register as most
125 * - If requested voltage is not found then it will use the least
135 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register()
136 int found_index = MAX8973_MAX_VOUT_REG - 1; in find_voltage_set_register()
139 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
140 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register()
[all …]
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 …]
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 // core.c -- Voltage/Current Regulator framework.
105 if (rdev->constraints && rdev->constraints->name) in rdev_get_name()
106 return rdev->constraints->name; in rdev_get_name()
107 else if (rdev->desc->name) in rdev_get_name()
108 return rdev->desc->name; in rdev_get_name()
121 if (!rdev->constraints) { in regulator_ops_is_valid()
126 if (rdev->constraints->valid_ops_mask & ops) in regulator_ops_is_valid()
133 * regulator_lock_nested - lock a single regulator
153 if (!ww_mutex_trylock(&rdev->mutex, ww_ctx)) { in regulator_lock_nested()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
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 …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
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 …]
Dimx8mp-skov-reva.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 #include <dt-bindings/leds/common.h>
26 compatible = "pwm-backlight";
27 pinctrl-0 = <&pinctrl_backlight>;
29 power-supply = <&reg_24v>;
30 enable-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>;
31 brightness-levels = <0 255>;
32 num-interpolated-steps = <17>;
33 default-brightness-level = <8>;
38 compatible = "gpio-leds";
[all …]
/linux-6.12.1/arch/arm/boot/dts/rockchip/
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 …]
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 …]
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 …]
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3399-rock-4c-plus.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include <dt-bindings/leds/common.h>
10 #include "rk3399-t.dtsi"
14 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 …]
/linux-6.12.1/arch/arm/boot/dts/microchip/
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 …]
/linux-6.12.1/drivers/clk/tegra/
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 …]
/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-novatek-nt35510.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * per-panel, e.g. for physical size.
86 #define NT35510_P0_SDVPCTR_HI_Z 3 /* source driver output = High impedance */
146 * struct nt35510_config - the display-specific NT35510 configuration
172 * +------------------------------------------->
206 * @bt1ctr: setting for boost power control for the AVDD step-up
209 * frequency for the step-up circuit:
219 * amplification for the step-up circuit:
230 * @avee: setting for AVEE ranging from 0x00 = -6.5V to 0x14 = -4.5V
231 * in 0.1V steps the default is 0x05 which means -6.0V
[all …]
/linux-6.12.1/arch/arm64/boot/dts/ti/
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";
46 compatible = "gpio-usb-b-connector", "usb-b-connector";
47 pinctrl-names = "default";
[all …]