/openbmc/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. 17 #include <soc/qcom/cmd-db.h> 20 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 23 * enum rpmh_regulator_type - supported RPMh accelerator types 34 #define RPMH_REGULATOR_REG_VRM_VOLTAGE 0x0 35 #define RPMH_REGULATOR_REG_ENABLE 0x4 36 #define RPMH_REGULATOR_REG_VRM_MODE 0x8 47 #define PMIC4_BOB_MODE_PASS 0 67 * struct rpmh_vreg_hw_data - RPMh regulator hardware configurations [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,wcd9335.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC with in-built 27 clock-names: 29 - const: mclk 30 - const: slimbus 35 interrupt-names: 37 - const: intr1 [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm8150-microsoft-surface-duo.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> 17 compatible = "microsoft,surface-duo", "qcom,sm8150"; 18 chassis-type = "handset"; 25 stdout-path = "serial0:115200n8"; 28 vph_pwr: vph-pwr-regulator { 29 compatible = "regulator-fixed"; 30 regulator-name = "vph_pwr"; [all …]
|
H A D | sm8450-sony-xperia-nagara.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> 16 /delete-node/ &adsp_mem; 17 /delete-node/ &rmtfs_mem; 18 /delete-node/ &video_mem; 21 chassis-type = "handset"; 28 stdout-path = "serial0:115200n8"; 31 gpio-keys { 32 compatible = "gpio-keys"; [all …]
|
H A D | sm8450-hdk.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 10 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350b.h> 11 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 12 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 13 #include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h> 24 compatible = "qcom,sm8450-hdk", "qcom,sm8450"; 25 chassis-type = "embedded"; [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/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/sound/qcom,q6afe.h> 13 #include <dt-bindings/sound/qcom,q6asm.h> 16 #include "sdm845-wcd9340.dtsi" 20 /delete-node/ &rmtfs_mem; 29 stdout-path = "serial0:115200n8"; 32 gpio-hall-sensor { [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 | 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 | sm8550-qrd.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 21 compatible = "qcom,sm8550-qrd", "qcom,sm8550"; 22 chassis-type = "handset"; 28 wcd938x: audio-codec { 29 compatible = "qcom,wcd9385-codec"; 31 pinctrl-names = "default"; 32 pinctrl-0 = <&wcd_default>; [all …]
|
H A D | sm8550-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 20 compatible = "qcom,sm8550-mtp", "qcom,sm8550"; 21 chassis-type = "handset"; 27 wcd938x: audio-codec { 28 compatible = "qcom,wcd9385-codec"; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&wcd_default>; 33 qcom,micbias1-microvolt = <1800000>; [all …]
|
H A D | sdm845-shift-axolotl.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 20 qcom,msm-id = <321 0x20001>; 21 qcom,board-id = <11 0>; 30 #address-cells = <2>; 31 #size-cells = <2>; 34 stdout-path = "serial0"; [all …]
|
H A D | sm8250-sony-xperia-edo.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 /delete-node/ &adsp_mem; 14 /delete-node/ &spss_mem; 15 /delete-node/ &cdsp_secure_heap; 18 qcom,msm-id = <356 0x20001>; /* SM8250 v2.1 */ 19 qcom,board-id = <0x10008 0>; 22 #address-cells = <2>; 23 #size-cells = <2>; 27 compatible = "simple-framebuffer"; [all …]
|
H A D | sm8250-xiaomi-elish-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/arm/qcom,ids.h> 7 #include <dt-bindings/phy/phy.h> 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 19 /delete-node/ &adsp_mem; 20 /delete-node/ &cdsp_secure_heap; 21 /delete-node/ &slpi_mem; 22 /delete-node/ &spss_mem; 23 /delete-node/ &xbl_aop_mem; 26 classis-type = "tablet"; [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 | sm8250-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include <dt-bindings/sound/qcom,q6afe.h> 10 #include <dt-bindings/sound/qcom,q6asm.h> 11 #include <dt-bindings/gpio/gpio.h> 20 compatible = "qcom,sm8250-mtp", "qcom,sm8250"; 21 chassis-type = "handset"; 27 wcd938x: audio-codec { 28 compatible = "qcom,wcd9380-codec"; [all …]
|
H A D | sm8350-hdk.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2020-2021, Linaro Limited 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14 compatible = "qcom,sm8350-hdk", "qcom,sm8350"; 15 chassis-type = "embedded"; 22 stdout-path = "serial0:115200n8"; 25 hdmi-connector { 26 compatible = "hdmi-connector"; 31 remote-endpoint = <<9611_out>; [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 | 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"; 33 reg = <0 0xe1000000 0 0x2300000>; 35 /* The display, even though it's 4K, initializes at 1080-ish p */ [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 | sm8150-sony-xperia-kumano.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 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/ &cdsp_mem; 17 /delete-node/ &gpu_mem; 18 /delete-node/ &ipa_fw_mem; 19 /delete-node/ &ipa_gsi_mem; 20 /delete-node/ &mpss_mem; [all …]
|
/openbmc/linux/arch/arm/vfp/ |
H A D | vfpdouble.c | 8 * This C source file is part of the SoftFloat IEC/IEEE Floating-point 14 * National Science Foundation under grant MIP-9311980. The original version 15 * of this code was written as part of a project to build a fixed-point vector 44 .sign = 0, 51 str, d->sign != 0, d->exponent, d->significand); in vfp_double_dump() 56 int bits = 31 - fls(vd->significand >> 32); in vfp_double_normalise_denormal() 58 bits = 63 - fls(vd->significand); in vfp_double_normalise_denormal() 63 vd->exponent -= bits - 1; in vfp_double_normalise_denormal() 64 vd->significand <<= bits; in vfp_double_normalise_denormal() 81 if (vd->exponent == 2047 && (vd->significand == 0 || exceptions)) in vfp_double_normaliseround() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom,rpmh-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,rpmh-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 11 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 14 rpmh-regulator devices support PMIC regulator management via the Voltage 22 It is used for clock buffers, low-voltage switches, and LDO/SMPS regulators 37 For PM6150, smps1 - smps5, ldo1 - ldo19 38 For PM6150L, smps1 - smps8, ldo1 - ldo11, bob [all …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-sdx65-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 7 #include "qcom-sdx65.dtsi" 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 15 compatible = "qcom,sdx65-mtp", "qcom,sdx65"; 16 qcom,board-id = <0x2010008 0x302>; 23 stdout-path = "serial0:115200n8"; 26 reserved-memory { 27 #address-cells = <1>; 28 #size-cells = <1>; [all …]
|
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 …]
|
/openbmc/u-boot/doc/device-tree-bindings/adc/ |
H A D | adc.txt | 5 - use microvolts constraint or 6 - use regulator phandle to enable/read supply's Voltage 10 - vdd-polarity-negative: positive reference Voltage has a negative polarity 11 - vss-polarity-negative: negative reference Voltage has a negative polarity 13 Chose one option, for each supply (Vdd/Vss): 16 - vdd-supply: phandle to Vdd regulator's node 17 - vss-supply: phandle to Vss regulator's node 20 - vdd-microvolts: positive reference Voltage value [uV] 21 - vss-microvolts: negative reference Voltage value [uV] 23 Example with constant 'Vdd' value: [all …]
|