Searched +full:vctrl +full:- +full:regulator (Results 1 – 5 of 5) sorted by relevance
1 // SPDX-License-Identifier: GPL-2.0-only14 #include <linux/regulator/coupler.h>15 #include <linux/regulator/driver.h>16 #include <linux/regulator/of_regulator.h>48 static int vctrl_calc_ctrl_voltage(struct vctrl_data *vctrl, int out_uV) in vctrl_calc_ctrl_voltage() argument50 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_ctrl_voltage()51 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_ctrl_voltage()53 return ctrl->min_uV + in vctrl_calc_ctrl_voltage()54 DIV_ROUND_CLOSEST_ULL((s64)(out_uV - out->min_uV) * in vctrl_calc_ctrl_voltage()55 (ctrl->max_uV - ctrl->min_uV), in vctrl_calc_ctrl_voltage()[all …]
1 # SPDX-License-Identifier: GPL-2.03 # Makefile for regulator drivers.7 obj-$(CONFIG_REGULATOR) += core.o dummy.o fixed-helper.o helpers.o devres.o irq_helpers.o8 obj-$(CONFIG_REGULATOR_NETLINK_EVENTS) += event.o9 obj-$(CONFIG_OF) += of_regulator.o10 obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o11 obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER) += virtual.o12 obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o14 obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o15 obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)5 * Copyright 2016-2017 Google, Inc8 #include <dt-bindings/input/input.h>9 #include "rk3399-op1.dtsi"18 stdout-path = "serial2:115200n8";27 * - Rails that only connect to the EC (or devices that the EC talks to)29 * - Rails _are_ included if the rails go to the AP even if the AP35 * view, though, we won't create a full fixed regulator. We'll just38 * - The EC controls the enable and the EC always enables a rail as40 * - The rails are actually connected to each other by a jumper and[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)3 * Google Gru-Chromebook shared properties8 #include "rk3399-gru.dtsi"11 pp900_ap: regulator-pp900-ap {12 compatible = "regulator-fixed";13 regulator-name = "pp900_ap";16 regulator-always-on;17 regulator-boot-on;18 regulator-min-microvolt = <900000>;19 regulator-max-microvolt = <900000>;[all …]
1 // SPDX-License-Identifier: GPL-2.0-or-later3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board9 /dts-v1/;10 #include <dt-bindings/pwm/pwm.h>11 #include "at91-linea.dtsi"14 model = "Axentia TSE-850 3.0";19 compatible = "fixed-clock";21 #clock-cells = <0>;22 clock-frequency = <16000000>;23 clock-output-names = "sck";[all …]