Home
last modified time | relevance | path

Searched +full:vdd +full:- +full:s (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/Linux-v5.15/arch/arm/mach-omap2/
Dvoltage.c1 // SPDX-License-Identifier: GPL-2.0-only
29 #include "prm-regbits-34xx.h"
30 #include "prm-regbits-44xx.h"
46 * voltdm_get_voltage() - Gets the current non-auto-compensated voltage
49 * API to get the current non-auto-compensated voltage for a voltage domain.
55 pr_warn("%s: VDD specified does not exist!\n", __func__); in voltdm_get_voltage()
59 return voltdm->nominal_volt; in voltdm_get_voltage()
63 * voltdm_scale() - API to scale voltage of a particular voltage domain.
77 pr_warn("%s: VDD specified does not exist!\n", __func__); in voltdm_scale()
78 return -EINVAL; in voltdm_scale()
[all …]
Dboard-n8x0.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap2/board-n8x0.c
5 * Copyright (C) 2005-2009 Nokia Corporation
8 * Modified from mach-omap2/board-generic.c
22 #include <linux/platform_data/spi-omap2-mcspi.h>
23 #include <linux/platform_data/mmc-omap.h>
28 #include <asm/mach-types.h>
33 #include "common-board-devices.h"
57 else if (of_machine_is_compatible("nokia,n810-wimax")) in board_check_revision()
82 i--; in tusb_set_power()
[all …]
/Linux-v5.15/drivers/iio/imu/st_lsm9ds0/
Dst_lsm9ds0_core.c1 // 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/arch/arm64/boot/dts/qcom/
Dsm8250-sony-xperia-edo.dtsi1 // 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 …]
Dsm8150-sony-xperia-kumano.dtsi1 // 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 …]
Dsdm845-mtp.dts1 // 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 …]
Dsdm845-oneplus-common.dtsi1 // 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 …]
/Linux-v5.15/arch/arm/vfp/
Dvfpdouble.c8 * 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
50 pr_debug("VFP: %s: sign=%d exponent=%d significand=%016llx\n", in vfp_double_dump()
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 …]
/Linux-v5.15/drivers/mmc/core/
Ddebugfs.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/fault-inject.h>
34 static int mmc_ios_show(struct seq_file *s, void *data) in mmc_ios_show() argument
55 struct mmc_host *host = s->private; in mmc_ios_show()
56 struct mmc_ios *ios = &host->ios; in mmc_ios_show()
59 seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); in mmc_ios_show()
60 if (host->actual_clock) in mmc_ios_show()
61 seq_printf(s, "actual clock:\t%u Hz\n", host->actual_clock); in mmc_ios_show()
62 seq_printf(s, "vdd:\t\t%u ", ios->vdd); in mmc_ios_show()
63 if ((1 << ios->vdd) & MMC_VDD_165_195) in mmc_ios_show()
[all …]
/Linux-v5.15/drivers/regulator/
Dqcom-rpmh-regulator.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
4 #define pr_fmt(fmt) "%s: " fmt, __func__
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).
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_pps.c1 // SPDX-License-Identifier: MIT
29 mutex_lock(&dev_priv->pps_mutex); in intel_pps_lock()
39 mutex_unlock(&dev_priv->pps_mutex); in intel_pps_unlock()
50 enum pipe pipe = intel_dp->pps.pps_pipe; in vlv_power_sequencer_kick()
56 if (drm_WARN(&dev_priv->drm, in vlv_power_sequencer_kick()
57 intel_de_read(dev_priv, intel_dp->output_reg) & DP_PORT_EN, in vlv_power_sequencer_kick()
58 "skipping pipe %c power sequencer kick due to [ENCODER:%d:%s] being active\n", in vlv_power_sequencer_kick()
59 pipe_name(pipe), dig_port->base.base.base.id, in vlv_power_sequencer_kick()
60 dig_port->base.base.name)) in vlv_power_sequencer_kick()
63 drm_dbg_kms(&dev_priv->drm, in vlv_power_sequencer_kick()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/regulator/
Dst,stm32mp1-pwr-reg.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/st,stm32mp1-pwr-reg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Pascal Paillet <p.paillet@st.com>
14 const: st,stm32mp1,pwr-reg
19 vdd-supply:
20 description: Input supply phandle(s) for vdd input
22 vdd_3v3_usbfs-supply:
23 description: Input supply phandle(s) for vdd_3v3_usbfs input
[all …]
Dqcom,rpmh-regulator.yaml1 # 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 - David Collins <collinsd@codeaurora.org>
13 rpmh-regulator devices support PMIC regulator management via the Voltage
21 It is used for clock buffers, low-voltage switches, and LDO/SMPS regulators
36 For PM6150, smps1 - smps5, ldo1 - ldo19
37 For PM6150L, smps1 - smps8, ldo1 - ldo11, bob
38 For PM7325, smps1 - smps8, ldo1 - ldo19
[all …]
Dregulator-max77620.txt3 Device has multiple DCDC(sd[0-3] and LDOs(ldo[0-8]). The input supply
6 sub-node "regulators" which is child node of device node.
14 -------------------
18 in-sd0-supply: Input supply for SD0, INA-SD0 or INB-SD0 pins.
19 in-sd1-supply: Input supply for SD1.
20 in-sd2-supply: Input supply for SD2.
21 in-sd3-supply: Input supply for SD3.
22 in-ldo0-1-supply: Input supply for LDO0 and LDO1.
23 in-ldo2-supply: Input supply for LDO2.
24 in-ldo3-5-supply: Input supply for LDO3 and LDO5
[all …]
/Linux-v5.15/drivers/mfd/
Dstmfx.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for STMicroelectronics Multi-Function eXpander (STMFX) core
6 * Author(s): Amelie Delaunay <amelie.delaunay@st.com>.
78 .of_compatible = "st,stmfx-0300-pinctrl",
79 .name = "stmfx-pinctrl",
84 .of_compatible = "st,stmfx-0300-idd",
85 .name = "stmfx-idd",
90 .of_compatible = "st,stmfx-0300-ts",
91 .name = "stmfx-ts",
122 ret = regmap_read(stmfx->map, STMFX_REG_SYS_CTRL, &sys_ctrl); in stmfx_function_enable()
[all …]
/Linux-v5.15/drivers/iio/adc/
Dstm32-adc-core.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
8 * Inspired from: fsl-imx25-tsadc
25 #include "stm32-adc-core.h"
41 * struct stm32_adc_common_regs - stm32 common registers
61 * struct stm32_adc_priv_cfg - stm32 core compatible configuration data
77 * struct stm32_adc_priv - stm32 ADC core private data
78 * @irq: irq(s) for ADC block
84 * @vdd: vdd supply reference
87 * @vdd_uv: vdd supply voltage (microvolts)
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/media/
Dsamsung-s5c73m3.txt2 ------------------------------
4 The S5C73M3 camera ISP supports MIPI CSI-2 and parallel (ITU-R BT.656) video
11 ---------------------
15 - compatible : "samsung,s5c73m3";
16 - reg : I2C slave address of the sensor;
17 - vdd-int-supply : digital power supply (1.2V);
18 - vdda-supply : analog power supply (1.2V);
19 - vdd-reg-supply : regulator input power supply (2.8V);
20 - vddio-host-supply : host I/O power supply (1.8V to 2.8V);
21 - vddio-cis-supply : CIS I/O power supply (1.2V to 1.8V);
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/sound/
Dqcom,msm8916-wcd-analog.txt8 - compatible = "qcom,pm8916-wcd-analog-codec";
9 - reg: represents the slave base address provided to the peripheral.
10 - interrupts: List of interrupts in given SPMI peripheral.
11 - interrupt-names: Names specified to above list of interrupts in same
13 "cdc_spk_cnp_int" - Speaker click and pop interrupt.
14 "cdc_spk_clip_int" - Speaker clip interrupt.
15 "cdc_spk_ocp_int" - Speaker over current protect interrupt.
16 "mbhc_ins_rem_det1" - jack insert removal detect interrupt 1.
17 "mbhc_but_rel_det" - button release interrupt.
18 "mbhc_but_press_det" - button press event
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_mdss.c1 // SPDX-License-Identifier: GPL-2.0-only
19 struct regulator *vdd; member
33 msm_writel(data, mdp5_mdss->mmio + reg); in mdss_write()
38 return msm_readl(mdp5_mdss->mmio + reg); in mdss_read()
51 irq_hw_number_t hwirq = fls(intr) - 1; in mdss_irq()
53 generic_handle_domain_irq(mdp5_mdss->irqcontroller.domain, hwirq); in mdss_irq()
61 * interrupt-controller implementation, so sub-blocks (MDP/HDMI/eDP/DSI/etc)
62 * can register to get their irq's delivered
76 clear_bit(irqd->hwirq, &mdp5_mdss->irqcontroller.enabled_mask); in mdss_hw_mask_irq()
85 set_bit(irqd->hwirq, &mdp5_mdss->irqcontroller.enabled_mask); in mdss_hw_unmask_irq()
[all …]
/Linux-v5.15/arch/arm/mach-s3c/
Dadc.c1 // SPDX-License-Identifier: GPL-1.0+
5 // Ben Dooks <ben@simtec.co.uk>, <ben-linux@fluff.org>
22 #include "regs-adc.h"
23 #include <linux/soc/samsung/s3c-adc.h>
74 struct regulator *vdd; member
81 #define adc_dbg(_adc, msg...) dev_dbg(&(_adc)->pdev->dev, msg)
85 unsigned con = readl(adc->regs + S3C2410_ADCCON); in s3c_adc_convert()
88 writel(con, adc->regs + S3C2410_ADCCON); in s3c_adc_convert()
94 unsigned con = readl(adc->regs + S3C2410_ADCCON); in s3c_adc_select()
95 enum s3c_cpu_type cpu = platform_get_device_id(adc->pdev)->driver_data; in s3c_adc_select()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/iio/magnetometer/
Dyamaha,yas530.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 The Yamaha YAS530 magnetometers is a line of 3-axis magnetometers
15 of Yamaha's first magnetometer YAS529. Over the years this magnetometer
20 pattern: '^magnetometer@[0-9a-f]+$'
24 - enum:
25 - yamaha,yas530
26 - yamaha,yas532
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/iio/accel/
Dbosch,bma400.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dan Robertson <dan@dlrobertson.com>
16 https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMA400-DS000.pdf
21 - bosch,bma400
26 vdd-supply:
29 vddio-supply:
30 description: phandle to the regulator that provides power to the sensor's IO
36 - compatible
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/iio/adc/
Dst,stm32-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 STM32 ADC is a successive approximation analog-to-digital converter.
13 stored in a left-aligned or right-aligned 32-bit data register.
17 voltage goes beyond the user-defined, higher or lower thresholds.
22 - Fabrice Gasnier <fabrice.gasnier@st.com>
27 - st,stm32f4-adc-core
28 - st,stm32h7-adc-core
[all …]
Dmaxim,max1241.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Maxim MAX1241 12-bit, single-channel analog to digital converter
11 - Alexandru Lazar <alazar@startmail.com>
14 Bindings for the max1241 12-bit, single-channel ADC device. Datasheet
16 https://datasheets.maximintegrated.com/en/ds/MAX1240-MAX1241.pdf
21 - maxim,max1241
26 vdd-supply:
30 vref-supply:
[all …]
/Linux-v5.15/arch/arm/boot/dts/
Dsun9i-a80-cubieboard4.dts5 * Chen-Yu Tsai <wens@csie.org>
7 * This file is dual-licensed: you can use it either under the terms
46 /dts-v1/;
47 #include "sun9i-a80.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
53 compatible = "cubietech,a80-cubieboard4", "allwinner,sun9i-a80";
60 stdout-path = "serial0:115200n8";
64 compatible = "gpio-leds";
66 led-0 {
71 led-1 {
[all …]

12345678910>>...13