/linux/Documentation/devicetree/bindings/regulator/ |
H A D | active-semi,act8865.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-sem [all...] |
H A D | silergy,sy8827n.yaml | 1 # 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-gpio [all...] |
H A D | richtek,rtq2134-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rtq2134-regulato [all...] |
H A D | active-semi,act8945a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-sem [all...] |
/linux/drivers/regulator/ |
H A D | rt4803.c | 1 // 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() 84 unsigned int state, events = 0; in rt4803_get_error_flags() local 87 ret = regmap_read(regmap, RT4803_REG_STAT, &state); in rt4803_get_error_flags() 91 if (state in rt4803_get_error_flags() 111 unsigned int reg, vsel; rt4803_set_suspend_voltage() local [all...] |
H A D | wm831x-dcdc.c | 1 // 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 -EINVA in wm831x_dcdc_get_mode() 208 wm831x_buckv_set_dvs(struct regulator_dev * rdev,int state) wm831x_buckv_set_dvs() argument 227 wm831x_buckv_set_voltage_sel(struct regulator_dev * rdev,unsigned vsel) wm831x_buckv_set_voltage_sel() argument 282 int vsel; wm831x_buckv_set_suspend_voltage() local [all...] |
H A D | tps62360-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tps62360.c -- TI tps62360 72 * - If it is already there then it will make that register as most 76 * - If requested voltage is not found then it will use the least 86 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register() 90 if (tps->curr_vset_vse in find_voltage_set_register() 110 int vsel; tps62360_dcdc_get_voltage_sel() local [all...] |
H A D | sy8827n.c | 1 // SPDX-License-Identifier: GPL-2.0 45 regmap_update_bits(rdev->regmap, di->vsel_reg, in sy8827n_set_mode() 49 regmap_update_bits(rdev->regmap, di->vsel_reg, in sy8827n_set_mode() 53 return -EINVAL; in sy8827n_set_mode() 64 ret = regmap_read(rdev->regmap, di->vsel_re in sy8827n_get_mode() [all...] |
H A D | max8973-regulator.c | 1 // 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-regulato 173 max8973_dcdc_set_voltage_sel(struct regulator_dev * rdev,unsigned vsel) max8973_dcdc_set_voltage_sel() argument [all...] |
H A D | lp872x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 92 /* dump registers in regmap-debugfs */ 160 ret = regmap_read(lp->regmap, addr, &val); in lp872x_read_byte() 162 dev_err(lp->dev, "failed to read 0x%.2x\n", addr); in lp872x_read_byte() 172 return regmap_write(lp->regmap, addr, data); in lp872x_write_byte() 178 return regmap_update_bits(lp->regmap, addr, mask, data); in lp872x_update_bits() 183 enum lp872x_id chip = lp->chipi in lp872x_get_timestep_usec() 254 enum gpiod_flags state; lp872x_set_dvs() local [all...] |
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-evb-ind.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 11 compatible = "rockchip,rk3399-evb-ind", "rockchip,rk3399"; 19 stdout-path = "serial2:1500000n8"; 22 vcc5v0_sys: regulator-vcc5v0-sys { 23 compatible = "regulator-fixe [all...] |
H A D | rk3399-rock-4c-plus.dts | 1 // 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-gma [all...] |
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx93-kontron-osm-s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/interrupt-controller/irq.h> 10 model = "Kontron OSM-S i.MX93"; 11 compatible = "kontron,imx93-osm-s", "fsl,imx93"; 24 stdout-path = &lpuart1; 27 reg_usdhc2_vcc: regulator-usdhc [all...] |
H A D | imx8mm-kontron-osm-s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 11 model = "Kontron OSM-S i.MX8MM (N802X SOM)"; 12 compatible = "kontron,imx8mm-osm-s", "fsl,imx8mm"; 30 stdout-pat [all...] |
H A D | imx8mp-kontron-osm-s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/interrupt-controller/irq.h> 10 model = "Kontron OSM-S i.MX8MP"; 11 compatible = "kontron,imx8mp-osm-s", "fsl,imx8mp"; 29 stdout-path = &uart3; 32 reg_usb1_vbus: regulator-usb [all...] |
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-sama5d2_xplained.dts | 1 // 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-binding [all...] |
/linux/drivers/clk/tegra/ |
H A D | clk-dfll.c | 1 // 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-loo 771 unsigned int vsel; dfll_init_out_if() local [all...] |
/linux/drivers/media/pci/ttpci/ |
H A D | budget.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Copyright (C) 1999-2002 Ralph Metzler 46 static void Set22K(struct budget *budget, int state) in Set22K() argument 48 struct saa7146_dev *dev = budget->dev; in Set22K() 51 saa7146_setgpio(dev, 3, (state ? SAA7146_GPIO_OUTHI : SAA7146_GPIO_OUTLO)); in Set22K() 62 struct saa7146_dev *dev = budget->de in DiseqcSendBit() [all...] |
/linux/drivers/gpu/drm/panel/ |
H A D | panel-novatek-nt35510.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * per-panel, e.g. for physical size. 87 #define NT35510_P0_SDVPCTR_HI_Z 3 /* source driver output = High impedance */ 147 * struct nt35510_config - the display-specific NT35510 configuration 173 * +-- [all...] |