Home
last modified time | relevance | path

Searched +full:rpm +full:- +full:pm8921 +full:- +full:regulators (Results 1 – 9 of 9) sorted by relevance

/linux/Documentation/devicetree/bindings/regulator/
H A Dqcom,rpm-regulator.yaml1 # 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#
7 title: Qualcomm RPM regulator
10 The Qualcomm RPM regulator is modelled as a subdevice of the RPM.
12 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml
13 for information regarding the RPM node.
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
[all …]
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,rpm.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Resource Power Manager (RPM)
10 This driver is used to interface with the Resource Power Manager (RPM) found
11 in various Qualcomm platforms. The RPM allows each component in the system
12 to vote for state of the system resources, such as clocks, regulators and bus
16 - Bjorn Andersson <andersson@kernel.org>
21 - qcom,rpm-apq8064
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8064-cm-qs600.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
5 #include "qcom-apq8064-v2.0.dtsi"
7 #include "pm8921.dtsi"
10 model = "CompuLab CM-QS600";
11 compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064";
18 stdout-path = "serial0:115200n8";
21 sdcc4_pwrseq: pwrseq-sdcc4 {
22 pinctrl-names = "default";
[all …]
H A Dqcom-apq8064-ifc6410.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/leds/common.h>
4 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
6 #include "qcom-apq8064-v2.0.dtsi"
8 #include "pm8921.dtsi"
12 compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
25 stdout-path = "serial0:115200n8";
29 compatible = "gpio-leds";
30 pinctrl-names = "default";
[all …]
H A Dqcom-msm8960-cdp.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
4 #include "qcom-msm8960.dtsi"
5 #include "pm8921.dtsi"
9 compatible = "qcom,msm8960-cdp", "qcom,msm8960";
16 stdout-path = "serial0:115200n8";
19 ext_l2: gpio-regulator {
20 compatible = "regulator-fixed";
21 regulator-name = "ext_l2";
23 startup-delay-us = <10000>;
[all …]
H A Dqcom-apq8064-asus-nexus7-flo.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/pinctrl/qcom,pmic-gpio.h>
6 #include "qcom-apq8064-v2.0.dtsi"
8 #include "pm8921.dtsi"
12 compatible = "asus,nexus7-flo", "qcom,apq8064";
13 chassis-type = "tablet";
21 stdout-path = "serial0:115200n8";
24 reserved-memory {
[all …]
H A Dqcom-apq8064-sony-xperia-lagan-yuga.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/mfd/qcom-rpm.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
7 #include "qcom-apq8064-v2.0.dtsi"
9 #include "pm8921.dtsi"
13 compatible = "sony,xperia-yuga", "qcom,apq8064";
14 chassis-type = "handset";
21 stdout-path = "serial0:115200n8";
[all …]
H A Dqcom-msm8960-samsung-expressatt.dts1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
5 #include "qcom-msm8960.dtsi"
6 #include "pm8921.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
9 #include <dt-bindings/input/gpio-keys.h>
12 model = "Samsung Galaxy Express SGH-I437";
14 chassis-type = "handset";
[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)
48 struct qcom_rpm *rpm; member
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()
[all …]