/linux/arch/arm64/boot/dts/qcom/ |
H A D | qcs404-evb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 19 stdout-path = "serial0"; 22 vph_pwr: vph-pwr-regulator { 23 compatible = "regulator-fixed"; 24 regulator-name = "vph_pwr"; 25 regulator-always-on; 26 regulator-boot-on; [all …]
|
H A D | msm8992-lg-h815.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 16 /delete-node/ &cont_splash_mem; 19 /delete-node/ &dfps_data_mem; 24 chassis-type = "handset"; 26 qcom,msm-id = <0xfb 0x0>; 27 qcom,pmic-id = <0x10009 0x1000a 0x0 0x0>; 28 qcom,board-id = <0xb64 0x0>; 31 /delete-node/ psci; [all …]
|
H A D | sdm450-motorola-ali.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 11 /delete-node/ &qseecom_mem; 16 chassis-type = "handset"; 17 qcom,msm-id = <338 0>; 18 qcom,board-id = <0x43 0xc200>; 20 gpio-keys { 21 compatible = "gpio-keys"; 23 key-volume-up { 30 reserved-memory { [all …]
|
H A D | msm8996-xiaomi-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 compatible = "gpio-gate-clock"; 17 #clock-cells = <0>; 18 enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&divclk1_default>; [all …]
|
H A D | msm8956-sony-xperia-loire.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2016-2022, AngeloGioacchino Del Regno 16 qcom,msm-id = <266 0x10001>; /* MSM8956 v1.1 */ 17 qcom,board-id = <8 0>; 27 stdout-path = "serial0:115200n8"; 30 reserved-memory { 31 cont-splash@83000000 { 38 record-size = <0x20000>; 39 console-size = <0x40000>; 40 ftrace-size = <0x20000>; [all …]
|
H A D | msm8953-motorola-potter.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 11 /delete-node/ &cont_splash_mem; 12 /delete-node/ &qseecom_mem; 17 chassis-type = "handset"; 18 qcom,msm-id = <293 0>; 19 qcom,board-id = <0x46 0x83a0>; 22 #address-cells = <2>; 23 #size-cells = <2>; 27 compatible = "simple-framebuffer"; [all …]
|
H A D | msm8953-xiaomi-mido.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 2 /dts-v1/; 7 #include <dt-bindings/leds/common.h> 9 /delete-node/ &cont_splash_mem; 10 /delete-node/ &qseecom_mem; 15 chassis-type = "handset"; 16 qcom,msm-id = <293 0>; 17 qcom,board-id = <11 0>; 24 speaker_amp: audio-amplifier { 26 mode-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; [all …]
|
H A D | msm8953-xiaomi-tissot.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/leds/common.h> 13 /delete-node/ &adsp_fw_mem; 14 /delete-node/ &qseecom_mem; 15 /delete-node/ &wcnss_fw_mem; 20 chassis-type = "handset"; 21 qcom,msm-id = <293 0>; 22 qcom,board-id = <0x1000b 0x00>; 24 gpio-keys { [all …]
|
H A D | msm8953-xiaomi-daisy.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 11 /delete-node/ &adsp_fw_mem; 12 /delete-node/ &qseecom_mem; 13 /delete-node/ &wcnss_fw_mem; 18 chassis-type = "handset"; 19 qcom,msm-id = <293 0>; 20 qcom,board-id = <0x1000b 0x9>; 23 #address-cells = <2>; 24 #size-cells = <2>; [all …]
|
H A D | apq8096-ifc6640.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 14 compatible = "inforce,ifc6640", "qcom,apq8096-sbc", "qcom,apq8096"; 16 qcom,msm-id = <291 0x00030001>; 17 qcom,board-id = <0x00010018 0>; 24 stdout-path = "serial0:115200n8"; 27 v1p05: v1p05-regulator { [all …]
|
H A D | msm8953-xiaomi-vince.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/leds/common.h> 13 /delete-node/ &adsp_fw_mem; 14 /delete-node/ &cont_splash_mem; 15 /delete-node/ &qseecom_mem; 16 /delete-node/ &wcnss_fw_mem; 21 chassis-type = "handset"; 22 qcom,msm-id = <293 0>; 23 qcom,board-id = <0x1000b 0x08>; [all …]
|
H A D | msm8998-mtp.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 13 compatible = "qcom,msm8998-mtp", "qcom,msm8998"; 14 chassis-type = "handset"; 16 qcom,board-id = <8 0>; 24 stdout-path = "serial0:115200n8"; 27 vph_pwr: vph-pwr-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vph_pwr"; 30 regulator-always-on; [all …]
|
H A D | sdm660-xiaomi-lavender.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/input/gpio-keys.h> 18 chassis-type = "handset"; 25 #address-cells = <2>; 26 #size-cells = <2>; 29 stdout-path = "serial0:115200n8"; 32 compatible = "simple-framebuffer"; 41 vph_pwr: vph-pwr-regulator { [all …]
|
H A D | apq8096-db820c.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 6 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 #include <dt-bindings/sound/qcom,q6afe.h> 16 #include <dt-bindings/sound/qcom,q6asm.h> 17 #include <dt-bindings/sound/qcom,wcd9335.h> [all …]
|
H A D | msm8994-sony-xperia-kitakami.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/gpio-keys.h> 18 * and requires driver-side changes (including CPR, be warned!!). 21 qcom,msm-id = <207 0x20000>, <207 0x20001>; 23 qcom,pmic-id = <0x10009 0x1000a 0x00 0x00>; 25 qcom,board-id = <8 0>; 28 /delete-node/ psci; 30 gpio-keys { 31 compatible = "gpio-keys"; [all …]
|
H A D | msm8998-oneplus-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * OnePlus 5(T) (cheeseburger / dumpling) common device tree source based on msm8998-mtp.dtsi 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 qcom,msm-id = <292 0x20001>; /* 8998 v2.1 */ 23 #address-cells = <2>; 24 #size-cells = <2>; 29 compatible = "simple-framebuffer"; 47 power-domains = <&mmcc MDSS_GDSC>; [all …]
|
H A D | msm8998-fxtec-pro1.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 chassis-type = "handset"; 21 qcom,board-id = <0x02000b 0x10>; 29 * Until we hook up type-c detection, we 32 extcon_usb: extcon-usb { 33 compatible = "linux,extcon-usb-gpio"; [all …]
|
H A D | msm8998-xiaomi-sagit.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Xiaomi Mi 6 (sagit) device tree source based on msm8998-mtp.dtsi 10 /dts-v1/; 16 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/leds/common.h> 18 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 24 /delete-node/ &adsp_mem; 25 /delete-node/ &mpss_mem; 26 /delete-node/ &venus_mem; 27 /delete-node/ &mba_mem; [all …]
|
H A D | sdm630-sony-xperia-nile.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/input/gpio-keys.h> 13 #include <dt-bindings/leds/common.h> 17 qcom,msm-id = <318 0>; 18 qcom,board-id = <8 1>; 19 qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00>; 21 /* This part enables graphical output via bootloader-enabled display */ 25 #address-cells = <2>; [all …]
|
H A D | msm8998-sony-xperia-yoshino.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 18 qcom,msm-id = <0x124 0x20000>, <0x124 0x20001>; /* 8998v2, v2.1 */ 19 qcom,board-id = <8 0>; 23 compatible = "gpio-gate-clock"; 24 pinctrl-0 = <&div_clk1>; 25 pinctrl-names = "default"; 27 #clock-cells = <0>; [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 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 …]
|
H A 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> 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 …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
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# 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 D | qcom-apq8060-dragonboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 7 #include "qcom-msm8660.dtsi" 12 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 19 stdout-path = "serial0:115200n8"; 23 vph: regulator-fixed { [all …]
|