/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/arm/boot/dts/qcom/ |
H A D | qcom-apq8064-cm-qs600.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-apq8064-v2.0.dtsi" 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 model = "CompuLab CM-QS600"; 8 compatible = "qcom,apq8064-cm-qs600", "qcom,apq8064"; 15 stdout-path = "serial0:115200n8"; 18 sdcc4_pwrseq: pwrseq-sdcc4 { 19 pinctrl-names = "default"; 20 pinctrl-0 = <&wlan_default_gpios>; [all …]
|
H A D | qcom-apq8064-ifc6410.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-apq8064-v2.0.dtsi" 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 9 compatible = "qcom,apq8064-ifc6410", "qcom,apq8064"; 22 stdout-path = "serial0:115200n8"; 26 compatible = "gpio-leds"; 27 pinctrl-names = "default"; 28 pinctrl-0 = <¬ify_led>; [all …]
|
H A D | qcom-msm8960-samsung-expressatt.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 4 #include "qcom-msm8960.dtsi" 5 #include <dt-bindings/reset/qcom,gcc-msm8960.h> 8 model = "Samsung Galaxy Express SGH-I437"; 10 chassis-type = "handset"; 19 stdout-path = "serial0:115200n8"; 33 vmmc-supply = <&pm8921_l5>; 38 vmmc-supply = <&pm8921_l6>; 39 vqmmc-supply = <&pm8921_l7>; [all …]
|
H A D | qcom-apq8064-asus-nexus7-flo.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-apq8064-v2.0.dtsi" 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 8 compatible = "asus,nexus7-flo", "qcom,apq8064"; 9 chassis-type = "tablet"; 17 stdout-path = "serial0:115200n8"; 20 reserved-memory { 21 #address-cells = <1>; [all …]
|
H A D | qcom-msm8960-cdp.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 4 #include "qcom-msm8960.dtsi" 8 compatible = "qcom,msm8960-cdp", "qcom,msm8960"; 15 stdout-path = "serial0:115200n8"; 18 ext_l2: gpio-regulator { 19 compatible = "regulator-fixed"; 20 regulator-name = "ext_l2"; 22 startup-delay-us = <10000>; 23 enable-active-high; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
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 | 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 | 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/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 …]
|