/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom,smd-rpm-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 resides as a subnode of the SMD. As such, the SMD-RPM regulator requires 18 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml 21 The regulator node houses sub-nodes for each regulator within the device. 22 Each sub-node is identified using the node's name, with valid values listed 53 For pm8941, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 73 For pmi8994, s1, s2, s3, boost-bypass [all …]
|
H A D | qcom,spmi-regulator.yaml | 1 # 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# 7 title: Qualcomm SPMI Regulators 10 - Robert Marko <robimarko@gmail.com> 15 - qcom,pm6125-regulators 16 - qcom,pm660-regulators 17 - qcom,pm660l-regulators 18 - qcom,pm8004-regulators [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | pm8941.dtsi | 1 // 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>; 39 pm8941_0: pm8941@0 { [all …]
|
H A D | pm8226.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8226-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8226_temp>; [all …]
|
H A D | qcom-apq8074-dragonboard.dts | 1 // 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" 8 #include "pm8941.dtsi" 10 /delete-node/ &mpss_region; 14 compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; 23 stdout-path = "serial0:115200n8"; [all …]
|
H A D | qcom-msm8974pro-htc-m8.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 #include "qcom-msm8974pro.dtsi" 4 #include "pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 10 chassis-type = "handset"; 16 gpio-keys { 17 compatible = "gpio-keys"; 19 pinctrl-0 = <&gpio_keys_default>; 20 pinctrl-names = "default"; 22 key-volume-down { [all …]
|
H A D | qcom-msm8974-samsung-hlte.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 4 #include "pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 chassis-type = "handset"; 21 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; [all …]
|
H A D | qcom-msm8974pro-fairphone-fp2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 4 #include "pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 chassis-type = "handset"; 21 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; [all …]
|
H A D | qcom-msm8974pro-sony-xperia-shinano-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 4 #include "pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 18 stdout-path = "serial0:115200n8"; 21 gpio-keys { 22 compatible = "gpio-keys"; 24 pinctrl-0 = <&gpio_keys_pin_a>; [all …]
|
H A D | qcom-msm8974pro-oneplus-bacon.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 4 #include "pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 chassis-type = "handset"; 12 qcom,msm-id = <194 0x10000>; 13 qcom,board-id = <8 0>; 21 stdout-path = "serial0:115200n8"; 24 gpio-keys { [all …]
|
H A D | qcom-msm8974-sony-xperia-rhine.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 4 #include "pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 stdout-path = "serial0:115200n8"; 20 gpio-keys { 21 compatible = "gpio-keys"; 23 pinctrl-names = "default"; [all …]
|
H A D | qcom-msm8974-lge-nexus5-hammerhead.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 4 #include "pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 chassis-type = "handset"; 21 stdout-path = "serial0:115200n8"; 24 gpio-keys { 25 compatible = "gpio-keys"; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | pm8994.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8994-thermal { 10 polling-delay-passive = <250>; 12 thermal-sensors = <&pm8994_temp>; 15 pm8994_alert0: pm8994-alert0 { [all …]
|
H A D | pm8937.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/spmi/spmi.h> 11 thermal-zones { 12 pm8937-thermal { 13 polling-delay-passive = <0>; 14 polling-delay = <0>; 15 thermal-sensors = <&pm8937_temp>; 42 compatible = "qcom,pm8937", "qcom,spmi-pmic"; [all …]
|
H A D | pm8950.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 12 #include <dt-bindings/spmi/spmi.h> 16 compatible = "qcom,pm8950", "qcom,spmi-pmic"; 18 #address-cells = <1>; 19 #size-cells = <0>; 22 compatible = "qcom,pm8916-pon"; [all …]
|
H A D | pms405.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/spmi/spmi.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/iio/qcom,spmi-vadc.h> 9 #include <dt-bindings/thermal/thermal.h> 12 thermal-zones { 13 pms405-thermal { 14 polling-delay-passive = <250>; 16 thermal-sensors = <&pms405_temp>; 19 pms405_alert0: pms405-alert0 { [all …]
|
H A D | pm660.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/thermal/thermal.h> 13 thermal-zones { 14 pm660-thermal { 15 polling-delay-passive = <250>; 17 thermal-sensors = <&pm660_temp>; [all …]
|
H A D | pmp8074.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 3 #include <dt-bindings/spmi/spmi.h> 4 #include <dt-bindings/iio/qcom,spmi-vadc.h> 8 compatible = "qcom,pmp8074", "qcom,spmi-pmic"; 10 #address-cells = <1>; 11 #size-cells = <0>; 14 compatible = "qcom,spmi-adc-rev2"; 17 #address-cells = <1>; 18 #size-cells = <0>; 19 #io-channel-cells = <1>; [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | qcom,spmi-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SPMI PMICs multi-function device 13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes 14 each. A function can consume one or more of these fixed-size register regions. 16 The Qualcomm SPMI series includes the PM8941, PM8841, PMA8084, PM8998 and other 24 - Stephen Boyd <sboyd@kernel.org> 29 - pattern: '^pmic@.*$' [all …]
|
/linux/drivers/regulator/ |
H A D | qcom_smd-regulator.c | 1 // 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 D | qcom_spmi-regulator.c | 1 // 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 76 * voltage switch type regulators. Its value 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 [all …]
|