Home
last modified time | relevance | path

Searched +full:vin_5vs +full:- +full:supply (Results 1 – 6 of 6) sorted by relevance

/linux/Documentation/devicetree/bindings/regulator/
H A Dqcom,spmi-regulator.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/qcom,spmi-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Robert Marko <robimarko@gmail.com>
15 - qcom,pm6125-regulators
16 - qcom,pm660-regulators
17 - qcom,pm660l-regulators
18 - qcom,pm8004-regulators
19 - qcom,pm8005-regulators
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dpm8941.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/spmi/spmi.h>
8 thermal-zones {
9 pm8941-thermal {
10 polling-delay-passive = <100>;
11 polling-delay = <0>;
12 thermal-sensors = <&pm8941_temp>;
40 compatible = "qcom,pm8941", "qcom,spmi-pmic";
[all …]
H A Dqcom-apq8074-dragonboard.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include "qcom-msm8974.dtsi"
10 /delete-node/ &mpss_region;
14 compatible = "qcom,apq8074-dragonboard", "qcom,apq8074";
23 stdout-path = "serial0:115200n8";
26 gpio-keys {
[all …]
/linux/drivers/regulator/
H A Dqcom_rpm-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
16 #include <dt-bindings/mfd/qcom-rpm.h>
45 (((reg)->parts->fm.mask >> (reg)->parts->fm.shift) == 3)
193 if (WARN_ON((value << req->shift) & ~req->mask)) in rpm_reg_write()
194 return -EINVAL; in rpm_reg_write()
196 vreg->val[req->word] &= ~req->mask; in rpm_reg_write()
197 vreg->val[req->word] |= value << req->shift; in rpm_reg_write()
199 return qcom_rpm_write(vreg->rpm, in rpm_reg_write()
201 vreg->resource, in rpm_reg_write()
[all …]
H A Dqcom_smd-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
12 #include <linux/soc/qcom/smd-rpm.h>
48 if (vreg->enabled_updated) { in rpm_reg_write_active()
51 req[reqlen].value = cpu_to_le32(vreg->is_enabled); in rpm_reg_write_active()
55 if (vreg->uv_updated && vreg->is_enabled) { in rpm_reg_write_active()
58 req[reqlen].value = cpu_to_le32(vreg->uV); in rpm_reg_write_active()
62 if (vreg->load_updated && vreg->is_enabled) { in rpm_reg_write_active()
65 req[reqlen].value = cpu_to_le32(vreg->load / 1000); in rpm_reg_write_active()
73 vreg->type, vreg->id, in rpm_reg_write_active()
[all …]
H A Dqcom_spmi-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
8 #include <linux/devm-helpers.h>
57 * struct spmi_regulator_init_data - spmi-regulator initialization data
365 * struct spmi_voltage_range - regulator set point voltage mapping description
380 * (max_uV - min_uV) % step_uV == 0
381 * (set_point_min_uV - min_uV) % step_uV == 0*
382 * (set_point_max_uV - min_uV) % step_uV == 0*
383 * n_voltages = (set_point_max_uV - set_point_min_uV) / step_uV + 1
440 const char *supply; member
[all …]