Home
last modified time | relevance | path

Searched +full:vref +full:- +full:p +full:- +full:supply (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dti,adc12138.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments ADC12138 and similar self-calibrating ADCs
10 - Akinobu Mita <akinobu.mita@gmail.com>
19 - ti,adc12130
20 - ti,adc12132
21 - ti,adc12138
34 spi-max-frequency: true
36 vref-p-supply:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/
Ddpot-dac.txt5 divided voltage is provided by a vref regulator.
7 .------.
8 .-----------. | |
9 | vref |--' .---.
10 | regulator |--. | |
11 '-----------' | | d |
12 | | p |
14 | | t |<---------+
16 | '---' dac output voltage
18 '------+------------+
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7766.c1 // SPDX-License-Identifier: GPL-2.0-or-later
67 static irqreturn_t ad7766_trigger_handler(int irq, void *p) in ad7766_trigger_handler() argument
69 struct iio_poll_func *pf = p; in ad7766_trigger_handler()
70 struct iio_dev *indio_dev = pf->indio_dev; in ad7766_trigger_handler()
74 ret = spi_sync(ad7766->spi, &ad7766->msg); in ad7766_trigger_handler()
78 iio_push_to_buffers_with_timestamp(indio_dev, ad7766->data, in ad7766_trigger_handler()
79 pf->timestamp); in ad7766_trigger_handler()
81 iio_trigger_notify_done(indio_dev->trig); in ad7766_trigger_handler()
91 ret = regulator_bulk_enable(ARRAY_SIZE(ad7766->reg), ad7766->reg); in ad7766_preenable()
93 dev_err(&ad7766->spi->dev, "Failed to enable supplies: %d\n", in ad7766_preenable()
[all …]
Dti-adc108s102.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2013-2015 Intel Corporation.
29 * In case of ACPI, we use the hard-wired 5000 mV of the Galileo and IOT2000
31 * via the vref-supply regulator.
38 * chips. The ADC108S102 effectively returns a 12-bit result with the 2
39 * least-significant bits unset.
45 * 16-bit SPI command format:
47 * [13:11] 3-bit channel address
53 * 16-bit SPI response format:
55 * [11:0] 12-bit ADC sample (for ADC108S102, [1:0] will always be 0).
[all …]
Dad7768-1.c1 // SPDX-License-Identifier: GPL-2.0
3 * Analog Devices AD7768-1 SPI ADC driver
156 struct regulator *vref; member
184 shift = 32 - (8 * len); in ad7768_spi_reg_read()
185 st->data.d8[0] = AD7768_RD_FLAG_MSK(addr); in ad7768_spi_reg_read()
187 ret = spi_write_then_read(st->spi, st->data.d8, 1, in ad7768_spi_reg_read()
188 &st->data.d32, len); in ad7768_spi_reg_read()
192 return (be32_to_cpu(st->data.d32) >> shift); in ad7768_spi_reg_read()
199 st->data.d8[0] = AD7768_WR_FLAG_MSK(addr); in ad7768_spi_reg_write()
200 st->data.d8[1] = val & 0xFF; in ad7768_spi_reg_write()
[all …]
Dti-ads7950.c1 // SPDX-License-Identifier: GPL-2.0
12 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
36 * Device tree users encode that via the vref-supply regulator.
54 (((val) >> (dec)) & ((1 << (bits)) - 1))
61 (TI_ADS7950_MAN_CMD(TI_ADS7950_CR_WRITE | st->cmd_settings_bitmask))
64 (TI_ADS7950_GPIO_CMD(st->gpio_cmd_settings_bitmask))
84 * [0-3] GPIO signal
87 * [6] Sets Vref range1(2.5v) or range2(5v)
95 * [0-3] GPIO direction
96 * [4-6] Different GPIO alarm mode configurations
[all …]
Dmax1363.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2008-2010 Jonathan Cameron
7 * Copyright (C) 2002-2004 Stefan Eletzhofer
52 /* think about including max11600 etc - more settings */
59 /* max1363 only - though don't care on others.
80 /* max123{6-9} only */
83 /* max1363 only - merely part of channel selects or don't care for others */
88 /* max1363 strictly 0x06 - but doesn't matter */
95 * struct max1363_mode - scan mode information
123 * struct max1363_chip_info - chip specifc information
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dst,stpmic1.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - pascal Paillet <p.paillet@st.com>
24 "#interrupt-cells":
27 interrupt-controller: true
36 const: st,stpmic1-onkey
40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic
41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic
43 interrupt-names:
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dads7846.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * - corgi_ts.c
11 * Copyright (C) 2004-2005 Richard Purdie
12 * - omap_ts.[hc], ads7846.h, ts_osk.c
42 * Support for ads7843 tested on Atmel at91sam926x-EK.
56 * note. The strength of filtering can be set in the board-* specific
70 * with msbs zeroed). Instead, we read them as two 8-bit values,
83 * driver is used with DMA-based SPI controllers (like atmel_spi) on
84 * systems where main memory is not DMA-coherent (most non-x86 boards).
90 /* for ads7845 with mpc5121 psc spi we use 3-byte buffers */
[all …]
/kernel/linux/linux-5.10/include/sound/
Dsoc-dapm.h1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management
15 #include <sound/soc-topology.h>
23 #define SND_SOC_NOPM -1
29 * 1. Codec domain - VREF, VMID
32 * 2. Platform/Machine domain - physically connected inputs and outputs
35 * 3. Path domain - Internal codec path mixers
38 * 4. Stream domain - DAC's and ADC's.
137 /* path domain with event - event handler must return 0 for success */
307 .tlv.p = (tlv_array), \
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dpcm512x.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <sound/soc-dapm.h>
54 * We can't use the same notifier block for more than one supply and
65 regcache_mark_dirty(pcm512x->regmap); \
66 regcache_cache_only(pcm512x->regmap, true); \
227 ucontrol->value.integer.value[0] = pcm512x->overclock_pll; in pcm512x_overclock_pll_get()
242 return -EBUSY; in pcm512x_overclock_pll_put()
245 pcm512x->overclock_pll = ucontrol->value.integer.value[0]; in pcm512x_overclock_pll_put()
255 ucontrol->value.integer.value[0] = pcm512x->overclock_dsp; in pcm512x_overclock_dsp_get()
270 return -EBUSY; in pcm512x_overclock_dsp_put()
[all …]
Dwcd9335.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
3 // Copyright (c) 2017-2018, Linaro Limited
18 #include <sound/soc-dapm.h>
25 #include "wcd-clsh-v2.h"
89 #define WCD9335_SLIM_RX_CH(p) \ argument
90 {.port = p + WCD9335_RX_START, .shift = p,}
92 #define WCD9335_SLIM_TX_CH(p) \ argument
93 {.port = p, .shift = p,}
96 #define WCD9335_CALCULATE_VOUT_D(req_mv) (((req_mv - 650) * 10) / 25)
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0031_linux_drivers_perf_phy_pinctrl_ptp_pwm.patch7 Change-Id: I50a0069a60f92f57dd6112f6a9700811be19e564
9 diff --git a/drivers/perf/fsl_imx8_ddr_perf.c b/drivers/perf/fsl_imx8_ddr_perf.c
11 --- a/drivers/perf/fsl_imx8_ddr_perf.c
13 @@ -5,6 +5,7 @@
21 @@ -14,12 +15,15 @@
37 @@ -28,9 +32,18 @@
56 @@ -40,32 +53,56 @@
57 #define to_ddr_pmu(p) container_of(p, struct ddr_pmu, pmu)
80 -static const struct fsl_ddr_devtype_data imx8_devtype_data;
106 { .compatible = "fsl,imx8-ddr-pmu", .data = &imx8_devtype_data},
[all …]
/kernel/linux/linux-5.10/sound/pci/vx222/
Dvx222_ops.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * VX222-specific low-level routines
77 return chip->port[vx2_reg_index[reg]] + vx2_reg_offset[reg]; in vx2_reg_addr()
81 * snd_vx_inb - read a byte from the register
91 * snd_vx_outb - write a byte on the register
100 dev_dbg(chip->card->dev, "outb: %x -> %x\n", val, vx2_reg_addr(chip, offset)); in vx2_outb()
105 * snd_vx_inl - read a 32bit word from the register
115 * snd_vx_outl - write a 32bit word on the register
123 dev_dbg(chip->card->dev, "outl: %x -> %x\n", val, vx2_reg_addr(chip, offset)); in vx2_outl()
142 * vx_reset_dsp - reset the DSP
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
31 power supply alarms (hwmon).
44 tristate "Active-semi ACT8945A"
49 Support for the ACT8945A PMIC from Active-semi. This device
50 features three step-down DC/DC converters and four low-dropout
66 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
69 called sun4i-gpadc.
88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
119 over at91-usart-serial driver and usart-spi-driver. Only one function
135 tristate "Atmel HLCDC (High-end LCD Controller)"
[all …]
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch1 diff -Naur a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
2 --- a/arch/arm/boot/Makefile 2022-05-27 17:20:13.781877650 +0800
3 +++ b/arch/arm/boot/Makefile 2022-05-31 11:56:47.693259679 +0800
4 @@ -16,6 +16,7 @@
12 @@ -24,10 +25,12 @@
13 ZRELADDR := $(zreladdr-y)
14 PARAMS_PHYS := $(params_phys-y)
15 INITRD_PHYS := $(initrd_phys-y)
16 +DTB_OBJS ?= $(dtb-y)
21 -targets := Image zImage xipImage bootpImage uImage
[all …]
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch6 Change-Id: I9825adaa8537a316db8a1831e759a74223b9e428
7 ---
9 drivers/block/nbd.c | 6 -
12 drivers/clk/clk.c | 2 +-
13 drivers/clk/rockchip/Kconfig | 42 +-
15 drivers/clk/rockchip/clk-cpu.c | 92 +-
16 drivers/clk/rockchip/clk-ddr.c | 171 +-
17 drivers/clk/rockchip/clk-half-divider.c | 35 +-
18 drivers/clk/rockchip/clk-pll.c | 779 ++-
19 drivers/clk/rockchip/clk-rk3399.c | 589 +-
[all …]
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch1 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
3 --- a/arch/arm/Kconfig
5 @@ -330,7 +330,7 @@ config ARCH_MULTIPLATFORM
9 - select AUTO_ZRELADDR
14 @@ -751,6 +751,8 @@ source "arch/arm/mach-highbank/Kconfig"
16 source "arch/arm/mach-hisi/Kconfig"
18 +source "arch/arm/mach-hibvt/Kconfig"
20 source "arch/arm/mach-imx/Kconfig"
22 source "arch/arm/mach-integrator/Kconfig"
23 diff --git a/arch/arm/Makefile b/arch/arm/Makefile
[all …]