Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dact8945a-regulator.txt1 Device-Tree bindings for regulators of Active-semi ACT8945A Multi-Function Device
4 - compatible: "active-semi,act8945a", please refer to ../mfd/act8945a.txt.
7 - active-semi,vsel-high: Indicates if the VSEL pin is set to logic-high.
8 If this property is missing, assume the VSEL pin is set to logic-low.
11 - vp1-supply: The input supply for REG_DCDC1
12 - vp2-supply: The input supply for REG_DCDC2
13 - vp3-supply: The input supply for REG_DCDC3
14 - inl45-supply: The input supply for REG_LDO1 and REG_LDO2
15 - inl67-supply: The input supply for REG_LDO3 and REG_LDO4
18 regulator-initial-mode, regulator-allowed-modes and regulator-mode could be
[all …]
Dsilergy,sy8827n.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jisheng Zhang <jszhang@kernel.org>
15 - silergy,sy8827n
20 enable-gpios:
24 silergy,vsel-state-high:
27 Indicates if the VSEL pin is set to high.
28 If this property is missing, assume the VSEL pin is set to low.
31 - compatible
[all …]
Dact8865-regulator.txt2 -------------------
5 - compatible: "active-semi,act8846" or "active-semi,act8865" or "active-semi,act8600"
6 - reg: I2C slave address
9 - system-power-controller: Telling whether or not this pmic is controlling
10 the system power. See Documentation/devicetree/bindings/power/power-controller.txt .
11 - active-semi,vsel-high: Indicates the VSEL pin is high.
12 If this property is missing, assume the VSEL pin is low(0).
15 - for act8600:
16 - vp1-supply: The input supply for DCDC_REG1
17 - vp2-supply: The input supply for DCDC_REG2
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dwm831x-dcdc.c1 // SPDX-License-Identifier: GPL-2.0+
3 // wm831x-dcdc.c -- DC-DC buck converter driver for the WM831x series
63 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_get_mode()
64 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_get_mode()
84 return -EINVAL; in wm831x_dcdc_get_mode()
107 return -EINVAL; in wm831x_dcdc_set_mode_int()
117 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_mode()
118 u16 reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_dcdc_set_mode()
127 struct wm831x *wm831x = dcdc->wm831x; in wm831x_dcdc_set_suspend_mode()
128 u16 reg = dcdc->base + WM831X_DCDC_SLEEP_CONTROL; in wm831x_dcdc_set_suspend_mode()
[all …]
Dtps62360-regulator.c2 * tps62360.c -- TI tps62360
22 * 02111-1307, USA
86 * - If it is already there then it will make that register as most
90 * - If requested voltage is not found then it will use the least
100 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register()
104 if (tps->curr_vset_vsel[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
105 new_vset_reg = tps->lru_index[i]; in find_voltage_set_register()
113 for (i = found_index; i > 0; i--) in find_voltage_set_register()
114 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register()
116 tps->lru_index[0] = new_vset_reg; in find_voltage_set_register()
[all …]
Dsy8827n.c1 // SPDX-License-Identifier: GPL-2.0
41 regmap_update_bits(rdev->regmap, di->vsel_reg, in sy8827n_set_mode()
45 regmap_update_bits(rdev->regmap, di->vsel_reg, in sy8827n_set_mode()
49 return -EINVAL; in sy8827n_set_mode()
60 ret = regmap_read(rdev->regmap, di->vsel_reg, &val); in sy8827n_get_mode()
85 struct regulator_desc *rdesc = &di->desc; in sy8827n_regulator_register()
88 rdesc->name = "sy8827n-reg"; in sy8827n_regulator_register()
89 rdesc->supply_name = "vin"; in sy8827n_regulator_register()
90 rdesc->ops = &sy8827n_regulator_ops; in sy8827n_regulator_register()
91 rdesc->type = REGULATOR_VOLTAGE; in sy8827n_regulator_register()
[all …]
Dmax8973-regulator.c2 * max8973-regulator.c -- Maxim max8973
4 * Regulator driver for MAXIM 8973 DC-DC step-down switching regulator.
22 * 02111-1307, USA
34 #include <linux/regulator/max8973-regulator.h>
136 * - If it is already there then it will make that register as most
140 * - If requested voltage is not found then it will use the least
150 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register()
151 int found_index = MAX8973_MAX_VOUT_REG - 1; in find_voltage_set_register()
154 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register()
155 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register()
[all …]
Dlp872x.c1 // SPDX-License-Identifier: GPL-2.0-only
93 /* dump registers in regmap-debugfs */
161 ret = regmap_read(lp->regmap, addr, &val); in lp872x_read_byte()
163 dev_err(lp->dev, "failed to read 0x%.2x\n", addr); in lp872x_read_byte()
173 return regmap_write(lp->regmap, addr, data); in lp872x_write_byte()
179 return regmap_update_bits(lp->regmap, addr, mask, data); in lp872x_update_bits()
184 enum lp872x_id chip = lp->chipid; in lp872x_get_timestep_usec()
204 return -EINVAL; in lp872x_get_timestep_usec()
213 return -EINVAL; in lp872x_get_timestep_usec()
234 addr = LP872X_LDO1_VOUT + rid - LP8725_ID_BASE; in lp872x_regulator_enable_time()
[all …]
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 // core.c -- Voltage/Current Regulator framework.
104 suspend_state_t state);
113 if (rdev->constraints && rdev->constraints->name) in rdev_get_name()
114 return rdev->constraints->name; in rdev_get_name()
115 else if (rdev->desc->name) in rdev_get_name()
116 return rdev->desc->name; in rdev_get_name()
128 if (!rdev->constraints) { in regulator_ops_is_valid()
133 if (rdev->constraints->valid_ops_mask & ops) in regulator_ops_is_valid()
140 * regulator_lock_nested - lock a single regulator
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_sd7220.c3 * Copyright (c) 2006 - 2012 QLogic Corporation. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
117 * Below keeps track of whether the "once per power-on" initialization has
120 * state of the reset "pin", is no longer valid. Instead, we check for the
126 struct qib_devdata *dd = ppd->dd; in qib_ibsd_ucode_loaded()
128 if (!dd->cspec->serdes_first_init_done && in qib_ibsd_ucode_loaded()
130 dd->cspec->serdes_first_init_done = 1; in qib_ibsd_ucode_loaded()
131 return dd->cspec->serdes_first_init_done; in qib_ibsd_ucode_loaded()
147 /* clear, then re-enable parity errs */ in qib_sd7220_clr_ibpar()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
Dbudget.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright (C) 1999-2002 Ralph Metzler
45 static void Set22K (struct budget *budget, int state) in Set22K() argument
47 struct saa7146_dev *dev=budget->dev; in Set22K()
49 saa7146_setgpio(dev, 3, (state ? SAA7146_GPIO_OUTHI : SAA7146_GPIO_OUTLO)); in Set22K()
58 struct saa7146_dev *dev=budget->dev; in DiseqcSendBit()
73 for (i=7; i>=0; i--) { in DiseqcSendByte()
84 struct saa7146_dev *dev=budget->dev; in SendDiSEqCMsg()
97 if (burst!=-1) { in SendDiSEqCMsg()
116 * GPIO 1: LNBP EN, GPIO 2: LNBP VSEL
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0022_linux_drivers_i2c.patch7 Change-Id: I4a66d5b97f61e6f70ee3a088441bee616aff2012
9 diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
11 --- a/drivers/i2c/busses/Kconfig
13 @@ -692,6 +692,14 @@ config I2C_IMX_LPI2C
15 will be called i2c-imx-lpi2c.
26 tristate "Intel IOPx3xx and IXP4xx on-chip I2C interface"
28 @@ -954,6 +962,12 @@ config I2C_RK3X
30 be called i2c-rk3x.
36 + This driver can support virtual i2c-rpmsg function.
41 @@ -1420,4 +1434,14 @@ config I2C_FSI
[all …]
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dinclude.patch1 diff --git a/include/drm/bridge/analogix_dp.h b/include/drm/bridge/analogix_dp.h
3 --- a/include/drm/bridge/analogix_dp.h
5 @@ -8,6 +8,7 @@
9 +#include <sound/hdmi-codec.h>
13 @@ -25,21 +26,32 @@ static inline bool is_rockchip(enum analogix_dp_devtype type)
46 @@ -50,4 +62,13 @@ void analogix_dp_remove(struct analogix_dp_device *dp);
60 diff --git a/include/drm/bridge/dw_hdmi.h b/include/drm/bridge/dw_hdmi.h
62 --- a/include/drm/bridge/dw_hdmi.h
64 @@ -6,12 +6,15 @@
69 #include <sound/hdmi-codec.h>
[all …]
Ddrivers.patch6 Change-Id: I9825adaa8537a316db8a1831e759a74223b9e428
7 ---
9 drivers/block/nbd.c | 6 -
12 drivers/clk/clk.c | 2 +-
13 drivers/clk/rockchip/Kconfig | 42 +-
15 drivers/clk/rockchip/clk-cpu.c | 92 +-
16 drivers/clk/rockchip/clk-ddr.c | 171 +-
17 drivers/clk/rockchip/clk-half-divider.c | 35 +-
18 drivers/clk/rockchip/clk-pll.c | 779 ++-
19 drivers/clk/rockchip/clk-rk3399.c | 589 +-
[all …]