/openbmc/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 …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
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 | sdm632-fairphone-fp3.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 7 #include <dt-bindings/leds/common.h> 15 chassis-type = "handset"; 16 qcom,msm-id = <349 0>; 17 qcom,board-id = <8 0x10000>; 26 stdout-path = "serial0:115200n8"; 29 gpio-keys { 30 compatible = "gpio-keys"; 32 key-volume-up { [all …]
|
H A D | sdm632-motorola-ocean.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 11 /delete-node/ &cont_splash_mem; 12 /delete-node/ &qseecom_mem; 17 chassis-type = "handset"; 18 qcom,msm-id = <349 0>; 19 qcom,board-id = <0x141 0xc100>; 20 qcom,pmic-id = <0x10016 0x25 0x00 0x00>; 23 compatible = "led-backlight"; [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-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 | msm8992-lg-bullhead.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2021-2022, Petr Vorel <petr.vorel@gmail.com> 9 /dts-v1/; 16 /delete-node/ &cont_splash_mem; 19 /delete-node/ &dfps_data_mem; 24 chassis-type = "handset"; 26 qcom,msm-id = <251 0>, <252 0>; 27 qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>; 30 /delete-node/ psci; 37 stdout-path = "serial0:115200n8"; [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-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 | 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 | msm8992-xiaomi-libra.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/gpio-keys.h> 14 /delete-node/ &adsp_mem; 15 /delete-node/ &audio_mem; 16 /delete-node/ &mpss_mem; 17 /delete-node/ &peripheral_region; 18 /delete-node/ &rmtfs_mem; 23 chassis-type = "handset"; [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 | 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 | msm8994-msft-lumia-octagon.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/gpio-keys.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 /delete-node/ &adsp_mem; 21 /delete-node/ &audio_mem; 22 /delete-node/ &cont_splash_mem; 23 /delete-node/ &mba_mem; 24 /delete-node/ &mpss_mem; 25 /delete-node/ &peripheral_region; [all …]
|
H A D | msm8996-sony-xperia-tone.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 18 /delete-node/ &adsp_mem; 19 /delete-node/ &slpi_mem; 20 /delete-node/ &venus_mem; 21 /delete-node/ &gpu_mem; [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 …]
|
/openbmc/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" 11 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 18 stdout-path = "serial0:115200n8"; 22 vph: regulator-fixed { [all …]
|
/openbmc/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> 49 if (vreg->enabled_updated) { in rpm_reg_write_active() 52 req[reqlen].value = cpu_to_le32(vreg->is_enabled); in rpm_reg_write_active() 56 if (vreg->uv_updated && vreg->is_enabled) { in rpm_reg_write_active() 59 req[reqlen].value = cpu_to_le32(vreg->uV); in rpm_reg_write_active() 63 if (vreg->load_updated && vreg->is_enabled) { in rpm_reg_write_active() 66 req[reqlen].value = cpu_to_le32(vreg->load / 1000); in rpm_reg_write_active() 73 ret = qcom_rpm_smd_write(vreg->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in rpm_reg_write_active() [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 …]
|
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 …]
|