/linux/drivers/regulator/ |
H A D | qcom-rpmh-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. 14 #include <linux/regulator/driver.h> 15 #include <linux/regulator/machine.h> 16 #include <linux/regulator/of_regulator.h> 18 #include <soc/qcom/cmd-db.h> 19 #include <soc/qcom/rpmh.h> 21 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 24 * enum rpmh_regulator_type - supported RPMh accelerator types 25 * @VRM: RPMh VRM accelerator which supports voting on enable, voltage, [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm845-lg-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 16 /delete-node/ &adsp_mem; 17 /delete-node/ &cdsp_mem; 18 /delete-node/ &gpu_mem; 19 /delete-node/ &ipa_fw_mem; 20 /delete-node/ &mba_region; 21 /delete-node/ &mpss_region; [all …]
|
H A D | sdm845-samsung-starqltechn.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * SDM845 Samsung S9 (SM-G9600) (starqltechn / star2qltechn) common device tree source 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 chassis-type = "handset"; 16 model = "Samsung Galaxy S9 SM-G9600"; 20 #address-cells = <2>; 21 #size-cells = <2>; 24 compatible = "simple-framebuffer"; [all …]
|
H A D | x1e78100-lenovo-thinkpad-t14s.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 #include "x1e80100-pmics.dtsi" 19 compatible = "lenovo,thinkpad-t14s", "qcom,x1e78100", "qcom,x1e80100"; 20 chassis-type = "laptop"; 22 wcd938x: audio-codec { [all …]
|
H A D | x1e80100-crd.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 #include "x1e80100-pmics.dtsi" 19 compatible = "qcom,x1e80100-crd", "qcom,x1e80100"; 25 wcd938x: audio-codec { [all …]
|
H A D | sm6350-sony-xperia-lena-pdx213.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 chassis-type = "handset"; 16 qcom,msm-id = <434 0x10000>, <459 0x10000>; 17 qcom,board-id = <0x1000B 0>; 20 #address-cells = <2>; 21 #size-cells = <2>; 25 compatible = "simple-framebuffer"; [all …]
|
H A D | sm8350-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 19 compatible = "qcom,sm8350-mtp", "qcom,sm8350"; 20 chassis-type = "handset"; 27 stdout-path = "serial0:115200n8"; 30 vph_pwr: vph-pwr-regulator { 31 compatible = "regulator-fixed"; 32 regulator-name = "vph_pwr"; 33 regulator-min-microvolt = <3700000>; [all …]
|
H A D | sm8350-microsoft-surface-duo2.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 19 compatible = "microsoft,surface-duo2", "qcom,sm8350"; 20 chassis-type = "handset"; 27 stdout-path = "serial0:115200n8"; 30 vph_pwr: vph-pwr-regulator { 31 compatible = "regulator-fixed"; 32 regulator-name = "vph_pwr"; 33 regulator-min-microvolt = <3700000>; [all …]
|
H A D | sdm845-mtp.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 compatible = "qcom,sdm845-mtp", "qcom,sdm845"; 18 chassis-type = "handset"; 25 stdout-path = "serial0:115200n8"; 28 vph_pwr: vph-pwr-regulator { 29 compatible = "regulator-fixed"; 30 regulator-name = "vph_pwr"; 31 regulator-min-microvolt = <3700000>; [all …]
|
H A D | sdm845-oneplus-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/qcom,q6afe.h> 14 #include <dt-bindings/sound/qcom,q6asm.h> 17 #include "sdm845-wcd9340.dtsi" 21 /delete-node/ &rmtfs_mem; 30 stdout-path = "serial0:115200n8"; [all …]
|
H A D | sa8540p-ride.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include "sa8540p-pmics.dtsi" 17 compatible = "qcom,sa8540p-ride", "qcom,sa8540p"; 29 stdout-path = "serial0:115200n8"; 34 regulators-0 { 35 compatible = "qcom,pm8150-rpmh-regulators"; 36 qcom,pmic-id = "a"; [all …]
|
H A D | sa8155p-adp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include <dt-bindings/gpio/gpio.h> 16 compatible = "qcom,sa8155p-adp", "qcom,sa8155p"; 24 stdout-path = "serial0:115200n8"; 27 vreg_3p3: vreg-3p3-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vreg_3p3"; 30 regulator-min-microvolt = <3300000>; [all …]
|
H A D | sm7125-xiaomi-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 8 #include <dt-bindings/arm/qcom,ids.h> 9 #include <dt-bindings/firmware/qcom,scm.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 16 /delete-node/ &ipa_fw_mem; 17 /delete-node/ &rmtfs_mem; 20 chassis-type = "handset"; 22 qcom,msm-id = <QCOM_ID_SM7125 0>; [all …]
|
H A D | sc7280-qcard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 14 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 15 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 34 wcd9385: audio-codec-1 { 35 compatible = "qcom,wcd9385-codec"; 36 pinctrl-names = "default", "sleep"; 37 pinctrl-0 = <&wcd_reset_n>, <&us_euro_hs_sel>; 38 pinctrl-1 = <&wcd_reset_n_sleep>, <&us_euro_hs_sel>; [all …]
|
H A D | sdm845-xiaomi-polaris.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/input/linux-event-codes.h> 13 #include <dt-bindings/sound/qcom,q6afe.h> 14 #include <dt-bindings/sound/qcom,q6asm.h> 16 #include "sdm845-wcd9340.dtsi" 25 /delete-node/ &rmtfs_mem; [all …]
|
H A D | sa8295p-adp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 11 #include <dt-bindings/spmi/spmi.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 #include "sa8540p-pmics.dtsi" 19 compatible = "qcom,sa8295p-adp", "qcom,sa8540p"; 26 stdout-path = "serial0:115200n8"; 29 dp2-connector { [all …]
|
H A D | sdm845-sony-xperia-tama.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */ 16 qcom,board-id = <8 0>; 24 stdout-path = "serial0:115200n8"; 27 gpio-keys { 28 compatible = "gpio-keys"; 30 pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &vol_up_n>; [all …]
|
H A D | sm8350-sony-xperia-sagami.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 18 * Yes, you are correct, there is NO MORE {msm,board,pmic}-id on SM8350! 24 chassis-type = "handset"; 27 #address-cells = <2>; 28 #size-cells = <2>; 32 compatible = "simple-framebuffer"; 35 /* The display, even though it's 4K, initializes at 1080-ish p */ 49 gpio-keys { [all …]
|
H A D | sdx75-idp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 16 compatible = "qcom,sdx75-idp", "qcom,sdx75"; 22 vph_pwr: vph-pwr-regulator { 23 compatible = "regulator-fixed"; 24 regulator-name = "vph_pwr"; 25 regulator-min-microvolt = <3700000>; 26 regulator-max-microvolt = <3700000>; 29 vph_ext: vph-ext-regulator { [all …]
|
/linux/Documentation/devicetree/bindings/soc/qcom/ |
H A D | qcom,rpmh-rsc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpmh-rsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm RPMH RSC 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 13 Resource Power Manager Hardened (RPMH) is the mechanism for communicating 27 ACTIVE - Triggered by Linux 28 SLEEP - Triggered by F/W 29 WAKE - Triggered by F/W [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-sdx55-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 7 /dts-v1/; 9 #include "qcom-sdx55.dtsi" 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 16 compatible = "qcom,sdx55-mtp", "qcom,sdx55"; 17 qcom,board-id = <0x5010008 0x0>; 24 stdout-path = "serial0:115200n8"; 27 reserved-memory { 28 #address-cells = <1>; [all …]
|
H A D | qcom-sdx55-telit-fn980-tlb.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include "qcom-sdx55.dtsi" 15 compatible = "qcom,sdx55-telit-fn980-tlb", "qcom,sdx55"; 16 qcom,board-id = <0xb010008 0x0>; 23 stdout-path = "serial0:921600n8"; 26 reserved-memory { 27 #address-cells = <1>; [all …]
|
H A D | qcom-sdx55-t55.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include "qcom-sdx55.dtsi" 15 compatible = "qcom,sdx55-t55", "qcom,sdx55"; 16 qcom,board-id = <0xb010008 0x4>; 23 stdout-path = "serial0:115200n8"; 26 reserved-memory { 27 #address-cells = <1>; [all …]
|
H A D | qcom-sdx65-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 11 #include "qcom-sdx65.dtsi" 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 19 compatible = "qcom,sdx65-mtp", "qcom,sdx65"; 20 qcom,board-id = <0x2010008 0x302>; 27 stdout-path = "serial0:115200n8"; 30 reserved-memory { 31 #address-cells = <1>; 32 #size-cells = <1>; [all …]
|
/linux/include/dt-bindings/regulator/ |
H A D | qcom,rpmh-regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * These mode constants may be used to specify modes for various RPMh regulator 9 * device tree properties (e.g. regulator-initial-mode). Each type of regulator 20 * %RPMH_REGULATOR_MODE_AUTO: Auto mode in which the regulator hardware 22 * upon the real-time load current. This mode is 26 * of the regulator is allowed. This mode
|