Searched +full:power +full:- +full:mode +full:- +full:hysteretic (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/regulator/ |
D | qcom,rpm-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,rpm-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 The regulator node houses sub-nodes for each regulator within the device. 16 Each sub-node is identified using the node's name, with valid values listed 28 l29, lvs1, lvs2, lvs3, lvs4, lvs5, lvs6, lvs7, usb-switch, hdmi-switch, 37 - Bjorn Andersson <andersson@kernel.org> 42 - qcom,rpm-pm8058-regulators 43 - qcom,rpm-pm8901-regulators [all …]
|
/linux-6.12.1/drivers/regulator/ |
D | qcom_rpm-regulator.c | 1 // 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> 32 struct request_member fm; /* force mode */ 33 struct request_member pm; /* power mode */ 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() [all …]
|