/Linux-v5.15/drivers/regulator/ |
D | qcom-rpmh-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. 18 #include <soc/qcom/cmd-db.h> 21 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 24 * enum rpmh_regulator_type - supported RPMh accelerator types 68 * struct rpmh_vreg_hw_data - RPMh regulator hardware configurations 97 * struct rpmh_vreg - individual RPMh regulator data structure encapsulating a 99 * @dev: Device pointer for the top-level PMIC RPMh 110 * state (e.g. enabled --> disabled). 114 * bypass (pass-through) mode or not. This is [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/qcom/ |
D | sm8150-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 /dts-v1/; 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include <dt-bindings/gpio/gpio.h> 18 compatible = "qcom,sm8150-mtp", "qcom,sm8150"; 25 stdout-path = "serial0:115200n8"; 28 vph_pwr: vph-pwr-regulator { 29 compatible = "regulator-fixed"; 30 regulator-name = "vph_pwr"; [all …]
|
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/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14 compatible = "qcom,sm8350-hdk", "qcom,sm8350"; 21 stdout-path = "serial0:115200n8"; 24 vph_pwr: vph-pwr-regulator { 25 compatible = "regulator-fixed"; 26 regulator-name = "vph_pwr"; [all …]
|
D | sm8150-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/gpio/gpio.h> 17 compatible = "qcom,sm8150-hdk", "qcom,sm8150"; 24 stdout-path = "serial0:115200n8"; 27 vph_pwr: vph-pwr-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vph_pwr"; 30 regulator-min-microvolt = <3700000>; [all …]
|
D | sm8350-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 20 compatible = "qcom,sm8350-mtp", "qcom,sm8350"; 27 stdout-path = "serial0:115200n8"; 30 vph_pwr: vph-pwr-regulator { 31 compatible = "regulator-fixed"; 32 regulator-name = "vph_pwr"; 33 regulator-min-microvolt = <3700000>; [all …]
|
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"; 24 stdout-path = "serial0:115200n8"; 27 vph_pwr: vph-pwr-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vph_pwr"; 30 regulator-min-microvolt = <3700000>; [all …]
|
D | sm8250-hdk.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 16 compatible = "qcom,sm8250-hdk", "qcom,sm8250"; 23 stdout-path = "serial0:115200n8"; 26 vph_pwr: vph-pwr-regulator { 27 compatible = "regulator-fixed"; 28 regulator-name = "vph_pwr"; 29 regulator-min-microvolt = <3700000>; 30 regulator-max-microvolt = <3700000>; [all …]
|
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"; 23 stdout-path = "serial0:115200n8"; 27 compatible = "regulator-fixed"; 28 regulator-name = "vreg_3p3"; 29 regulator-min-microvolt = <3300000>; 30 regulator-max-microvolt = <3300000>; [all …]
|
D | sdm845-mtp.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 16 compatible = "qcom,sdm845-mtp", "qcom,sdm845"; 23 stdout-path = "serial0:115200n8"; 26 vph_pwr: vph-pwr-regulator { 27 compatible = "regulator-fixed"; 28 regulator-name = "vph_pwr"; 29 regulator-min-microvolt = <3700000>; [all …]
|
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/regulator/qcom,rpmh-regulator.h> 15 /delete-node/ &cdsp_mem; 16 /delete-node/ &gpu_mem; 17 /delete-node/ &ipa_fw_mem; 18 /delete-node/ &ipa_gsi_mem; 19 /delete-node/ &mpss_mem; 20 /delete-node/ &slpi_mem; [all …]
|
D | sdm845-oneplus-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 18 /delete-node/ &rmtfs_mem; 27 stdout-path = "serial0:115200n8"; 30 gpio-keys { 31 compatible = "gpio-keys"; 35 pinctrl-names = "default"; [all …]
|
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 …]
|
D | sm8250-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 compatible = "qcom,sm8250-mtp", "qcom,sm8250"; 24 stdout-path = "serial0:115200n8"; 27 thermal-zones { 28 camera-thermal { 29 polling-delay-passive = <0>; 30 polling-delay = <0>; 31 thermal-sensors = <&pm8150l_adc_tm 0>; [all …]
|
D | sdm845-db845c.dts | 1 // SPDX-License-Identifier: GPL-2.0 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> 11 #include <dt-bindings/sound/qcom,q6afe.h> 12 #include <dt-bindings/sound/qcom,q6asm.h> 27 stdout-path = "serial0:115200n8"; 30 dc12v: dc12v-regulator { 31 compatible = "regulator-fixed"; [all …]
|
D | qrb5165-rb5.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> 18 compatible = "qcom,qrb5165-rb5", "qcom,sm8250"; 26 stdout-path = "serial0:115200n8"; 31 compatible = "fixed-clock"; 32 #clock-cells = <0>; 33 clock-frequency = <40000000>; [all …]
|
D | sdm845-cheza.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 26 stdout-path = "serial0:115200n8"; 30 compatible = "pwm-backlight"; 32 enable-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>; 33 power-supply = <&ppvar_sys>; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&ap_edp_bklten>; [all …]
|
/Linux-v5.15/arch/arm/vfp/ |
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 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() 85 * Special-case zero. in vfp_double_normaliseround() [all …]
|
/Linux-v5.15/drivers/iio/imu/st_lsm9ds0/ |
D | st_lsm9ds0_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 lsm9ds0->vdd = devm_regulator_get(dev, "vdd"); in st_lsm9ds0_power_enable() 27 if (IS_ERR(lsm9ds0->vdd)) { in st_lsm9ds0_power_enable() 28 dev_err(dev, "unable to get Vdd supply\n"); in st_lsm9ds0_power_enable() 29 return PTR_ERR(lsm9ds0->vdd); in st_lsm9ds0_power_enable() 31 ret = regulator_enable(lsm9ds0->vdd); in st_lsm9ds0_power_enable() 33 dev_warn(dev, "Failed to enable specified Vdd supply\n"); in st_lsm9ds0_power_enable() 37 lsm9ds0->vdd_io = devm_regulator_get(dev, "vddio"); in st_lsm9ds0_power_enable() 38 if (IS_ERR(lsm9ds0->vdd_io)) { in st_lsm9ds0_power_enable() 40 regulator_disable(lsm9ds0->vdd); in st_lsm9ds0_power_enable() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/sound/ |
D | qcom,wcd9335.txt | 3 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, supports 5 the MSM8996, MSM8976, and MSM8956 chipsets. It has in-built 11 - compatible: 21 - reg 26 - interrupts 28 Value type: <prop-encoded-array> 31 - interrupt-names: 37 - reset-gpios: 42 - slim-ifc-dev: 47 - clocks: [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
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> 12 #include "qcom-pmx55.dtsi" 16 compatible = "qcom,sdx55-mtp", "qcom,sdx55"; 17 qcom,board-id = <0x5010008 0x0>; 24 stdout-path = "serial0:115200n8"; 27 reserved-memory { [all …]
|
D | qcom-sdx55-telit-fn980-tlb.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include "qcom-sdx55.dtsi" 11 #include "qcom-pmx55.dtsi" 15 compatible = "qcom,sdx55-telit-fn980-tlb", "qcom,sdx55"; 16 qcom,board-id = <0xb010008 0x0>; 23 stdout-path = "serial0:921600n8"; 26 reserved-memory { [all …]
|
D | qcom-sdx55-t55.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 10 #include "qcom-sdx55.dtsi" 11 #include "qcom-pmx55.dtsi" 15 compatible = "qcom,sdx55-t55", "qcom,sdx55"; 16 qcom,board-id = <0xb010008 0x4>; 23 stdout-path = "serial0:115200n8"; 26 reserved-memory { [all …]
|
/Linux-v5.15/drivers/iio/light/ |
D | cm3605.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 * struct cm3605 - CM3605 state 37 * @vdd: regulator controlling VDD 46 struct regulator *vdd; member 61 IIO_EV_TYPE_THRESH, cm3605->dir); in cm3605_prox_irq() 65 if (cm3605->dir == IIO_EV_DIR_RISING) in cm3605_prox_irq() 66 cm3605->dir = IIO_EV_DIR_FALLING; in cm3605_prox_irq() 68 cm3605->dir = IIO_EV_DIR_RISING; in cm3605_prox_irq() 78 ret = iio_read_channel_processed(cm3605->aout, &res); in cm3605_get_lux() 82 dev_dbg(cm3605->dev, "read %d mV from ADC\n", res); in cm3605_get_lux() [all …]
|
/Linux-v5.15/drivers/hwmon/ |
D | mcp3021.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * mcp3021.c - driver for Microchip MCP3021 and MCP3221 5 * Copyright (C) 2008-2009, 2012 Freescale Semiconductor, Inc. 11 * voltage unit is mV. Through the sysfs interface, lm-sensors tool 25 /* Vdd / reference voltage in millivolt */ 33 #define MCP3021_OUTPUT_RES 10 /* 10-bit resolution */ 37 #define MCP3221_OUTPUT_RES 12 /* 12-bit resolution */ 49 u32 vdd; /* supply and reference voltage in millivolt */ member 66 return -EIO; in mcp3021_read16() 72 * The ten-bit output code is composed of the lower 4-bit of the in mcp3021_read16() [all …]
|
/Linux-v5.15/drivers/iio/adc/ |
D | max1241.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MAX1241 low-power, 12-bit serial ADC 5 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1240-MAX1241.pdf 25 struct regulator *vdd; member 58 .rx_buf = &adc->data, in max1241_read() 63 return spi_sync_transfer(adc->spi, xfers, ARRAY_SIZE(xfers)); in max1241_read() 75 mutex_lock(&adc->lock); in max1241_read_raw() 77 if (adc->shutdown) { in max1241_read_raw() 78 gpiod_set_value(adc->shutdown, 0); in max1241_read_raw() 81 gpiod_set_value(adc->shutdown, 1); in max1241_read_raw() [all …]
|