Home
last modified time | relevance | path

Searched +full:sar +full:- +full:voltage (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dnuvoton,nau8824.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - John Hsu <KCHSU0@nuvoton.com>
13 - $ref: dai-common.yaml#
18 - nuvoton,nau8824
23 '#sound-dai-cells':
28 - description: The phandle of the master clock to the CODEC
30 clock-names:
32 - const: mclk
[all …]
Dnuvoton,nau8825.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - John Hsu <KCHSU0@nuvoton.com>
13 - $ref: dai-common.yaml#
18 - nuvoton,nau8825
26 nuvoton,jkdet-enable:
31 nuvoton,jkdet-pull-enable:
34 If set - pin pull enabled, otherwise pin in high impedance state.
37 nuvoton,jkdet-pull-up:
[all …]
/linux-6.12.1/Documentation/hwmon/
Dadm1266.rst1 .. SPDX-License-Identifier: GPL-2.0
9 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1266.pdf
15 -----------
19 ADM1266 is a sequencer that features voltage readback from 17 channels via an
20 integrated 12 bit SAR ADC, accessed using a PMBus interface.
27 -------------
29 The following attributes are supported. Limits are read-write, history reset
30 attributes are write-only, all other attributes are read-only.
33 inX_input Measured voltage.
34 inX_min Minimum Voltage.
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/
Dadi,ad7291.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AD7291 8-Channel, I2C, 12-Bit SAR ADC with Temperature Sensor
10 - Michael Auchter <michael.auchter@ni.com>
13 Analog Devices AD7291 8-Channel I2C 12-Bit SAR ADC with Temperature Sensor
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7291.pdf
19 - adi,ad7291
24 vref-supply:
26 The regulator supply for ADC reference voltage.
[all …]
Drockchip-saradc.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/rockchip-saradc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip Successive Approximation Register (SAR) A/D Converter
10 - Heiko Stuebner <heiko@sntech.de>
15 - const: rockchip,saradc
16 - const: rockchip,rk3066-tsadc
17 - const: rockchip,rk3399-saradc
18 - const: rockchip,rk3588-saradc
[all …]
Dadi,ad4695.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices Easy Drive Multiplexed SAR Analog to Digital Converters
10 - Michael Hennerich <Michael.Hennerich@analog.com>
11 - Nuno Sá <nuno.sa@analog.com>
14 A family of similar multi-channel analog to digital converters with SPI bus.
21 $ref: /schemas/spi/spi-peripheral-props.yaml#
26 - adi,ad4695
27 - adi,ad4696
[all …]
Dadi,ad4000.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marcelo Schmitt <marcelo.schmitt@analog.com>
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4000-4004-4008.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4001-4005.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4002-4006-4010.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4003-4007-4011.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad4020-4021-4022.pdf
20 https://www.analog.com/media/en/technical-documentation/data-sheets/adaq4001.pdf
[all …]
/linux-6.12.1/sound/soc/codecs/
Dnau8824.c1 // SPDX-License-Identifier: GPL-2.0-only
35 static int quirk_override = -1;
37 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
211 ret = down_timeout(&nau8824->jd_sem, timeout); in nau8824_sema_acquire()
213 dev_warn(nau8824->dev, "Acquire semaphore timeout\n"); in nau8824_sema_acquire()
215 ret = down_interruptible(&nau8824->jd_sem); in nau8824_sema_acquire()
217 dev_warn(nau8824->dev, "Acquire semaphore fail\n"); in nau8824_sema_acquire()
225 up(&nau8824->jd_sem); in nau8824_sema_release()
304 "Off", "NC", "u-law", "A-law" };
359 static const DECLARE_TLV_DB_MINMAX(hp_vol_tlv, -3000, 0);
[all …]
Dnau8825.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Co-author: Meng-Huang Kuo <mhkuo@nuvoton.com>
35 #define NUVOTON_CODEC_DAI "nau8825-hifi"
223 * nau8825_sema_acquire - acquire the semaphore of nau88l25
233 * this function returns -ETIME. If the sleep is interrupted by a signal,
234 * this function will return -EINTR. It returns 0 if the semaphore was
246 ret = down_timeout(&nau8825->xtalk_sem, timeout); in nau8825_sema_acquire()
248 dev_warn(nau8825->dev, "Acquire semaphore timeout\n"); in nau8825_sema_acquire()
250 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire()
252 dev_warn(nau8825->dev, "Acquire semaphore fail\n"); in nau8825_sema_acquire()
[all …]
Drt5682s.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rt5682s.c -- RT5682I-VS ALSA SoC audio component driver
25 #include <sound/soc-dapm.h>
38 .dai_clk_names[RT5682S_DAI_WCLK_IDX] = "rt5682-dai-wclk",
39 .dai_clk_names[RT5682S_DAI_BCLK_IDX] = "rt5682-dai-bclk",
46 [RT5682S_SUPPLY_LDO1_IN] = "LDO1-IN",
69 ret = regmap_multi_reg_write(rt5682s->regmap, patch_list, ARRAY_SIZE(patch_list)); in rt5682s_apply_patch_list()
624 regmap_write(rt5682s->regmap, RT5682S_RESET, 0); in rt5682s_reset()
634 dev_dbg(component->dev, "%s btn_type=%x\n", __func__, btn_type); in rt5682s_button_detect()
651 mutex_lock(&rt5682s->sar_mutex); in rt5682s_sar_power_mode()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Drohm,bd71815-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd71815-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
13 BD71815AGW is a single-chip power management ICs for battery-powered
15 for LED and a 500 mA single-cell linear charger. Also included is a Coulomb
16 counter, a real-time clock (RTC), and a 32.768 kHz clock gate and two GPOs.
30 gpio-controller: true
32 "#gpio-cells":
[all …]
/linux-6.12.1/drivers/iio/adc/
Dltc2309.c1 // SPDX-License-Identifier: GPL-2.0
3 * The LTC2309 is an 8-Channel, 12-Bit SAR ADC with an I2C Interface.
6 * https://www.analog.com/media/en/technical-documentation/data-sheets/2309fd.pdf
30 * struct ltc2309 - internal device data structure
34 * @vref_mv: Internal voltage reference
113 ret = i2c_smbus_write_byte(ltc2309->client, din); in ltc2309_read_raw_channel()
115 dev_err(ltc2309->dev, "i2c command failed: %pe\n", in ltc2309_read_raw_channel()
120 ret = i2c_master_recv(ltc2309->client, (char *)&buf, 2); in ltc2309_read_raw_channel()
122 dev_err(ltc2309->dev, "i2c read failed: %pe\n", ERR_PTR(ret)); in ltc2309_read_raw_channel()
140 mutex_lock(&ltc2309->lock); in ltc2309_read_raw()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
45 Say yes here to build support for Analog Devices AD4130-8 SPI analog
73 Say yes here to build support for Analog Devices AD7091R-5 ADC.
81 Say yes here to build support for Analog Devices AD7091R-2, AD7091R-4,
82 and AD7091R-8 ADC.
88 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
92 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
107 - AD7172-2
108 - AD7173-8
[all …]
Dimx93_adc.c1 // SPDX-License-Identifier: GPL-2.0+
22 #define IMX93_ADC_DRIVER_NAME "imx93-adc"
107 mcr = readl(adc->regs + IMX93_ADC_MCR); in imx93_adc_power_down()
109 writel(mcr, adc->regs + IMX93_ADC_MCR); in imx93_adc_power_down()
111 ret = readl_poll_timeout(adc->regs + IMX93_ADC_MSR, msr, in imx93_adc_power_down()
115 if (ret == -ETIMEDOUT) in imx93_adc_power_down()
116 dev_warn(adc->dev, in imx93_adc_power_down()
126 mcr = readl(adc->regs + IMX93_ADC_MCR); in imx93_adc_power_up()
128 writel(mcr, adc->regs + IMX93_ADC_MCR); in imx93_adc_power_up()
139 mcr = readl(adc->regs + IMX93_ADC_MCR); in imx93_adc_config_ad_clk()
[all …]
Dmeson_saradc.c1 // SPDX-License-Identifier: GPL-2.0
3 * Amlogic Meson Successive Approximation Register (SAR) A/D Converter
10 #include <linux/clk-provider.h>
16 #include <linux/nvmem-consumer.h>
96 (8 + (((_chan) - 2) * 3))
153 * and u-boot source served as reference). These only seem to be relevant on
380 for (i = 0; i < indio_dev->num_channels; i++) in find_channel_by_num()
381 if (indio_dev->channels[i].channel == num) in find_channel_by_num()
382 return &indio_dev->channels[i]; in find_channel_by_num()
391 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, &regval); in meson_sar_adc_get_fifo_count()
[all …]
Dad7291.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AD7291 8-Channel, I2C, 12-Bit SAR ADC with Temperature Sensor
5 * Copyright 2010-2011 Analog Devices Inc.
26 * If no events enabled - single polled channel read
30 * The noise-delayed bit as per datasheet suggestion is always enabled.
83 u16 c_mask; /* Active voltage channels for events */
89 struct i2c_client *client = chip->client; in ad7291_i2c_read()
94 dev_err(&client->dev, "I2C read error\n"); in ad7291_i2c_read()
105 return i2c_smbus_write_word_swapped(chip->client, reg, data); in ad7291_i2c_write()
126 command = chip->command | AD7291_ALERT_CLEAR; in ad7291_event_handler()
[all …]
Dad7380.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Analog Devices AD738x Simultaneous Sampling SAR ADCs
9 * ad7380/1 : https://www.analog.com/media/en/technical-documentation/data-sheets/AD7380-7381.pdf
10 * ad7383/4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7383-7384.pdf
11 …* ad7386/7/8 : https://www.analog.com/media/en/technical-documentation/data-sheets/AD7386-7387-738…
12 * ad7380-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7380-4.pdf
13 * ad7381-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7381-4.pdf
14 …* ad7383/4-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7383-4-ad7384
15 …* ad7386/7/8-4 : https://www.analog.com/media/en/technical-documentation/data-sheets/ad7386-4-7387
37 /* 2.5V internal reference voltage */
[all …]
/linux-6.12.1/arch/arm64/boot/dts/nvidia/
Dtegra210-smaug.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/mfd/max77620.h>
6 #include <dt-bindings/pinctrl/pinctrl-tegra.h>
12 compatible = "google,smaug-rev8", "google,smaug-rev7",
13 "google,smaug-rev6", "google,smaug-rev5",
14 "google,smaug-rev4", "google,smaug-rev3",
15 "google,smaug-rev2", "google,smaug-rev1",
25 stdout-path = "serial0:115200n8";
[all …]
/linux-6.12.1/arch/arm/mach-omap2/
Dpowerdomain.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2007-2008, 2011 Texas Instruments, Inc.
6 * Copyright (C) 2007-2011 Nokia Corporation
33 #include "voltage.h"
72 if (!strcmp(name, temp_pwrdm->name)) { in _pwrdm_lookup()
82 * _pwrdm_register - register a powerdomain
86 * -EINVAL if given a null pointer, -EEXIST if a powerdomain is
94 if (!pwrdm || !pwrdm->name) in _pwrdm_register()
95 return -EINVAL; in _pwrdm_register()
98 pwrdm->prcm_partition == OMAP4430_INVALID_PRCM_PARTITION) { in _pwrdm_register()
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-iio3 Contact: linux-iio@vger.kernel.org
11 Contact: linux-iio@vger.kernel.org
25 Contact: linux-iio@vger.kernel.org
31 Contact: linux-iio@vger.kernel.org
38 Contact: linux-iio@vger.kernel.org
44 The contents of the label are free-form, but there are some
51 * "proximity-wifi"
52 * "proximity-lte"
53 * "proximity-wifi-lte"
54 * "proximity-wifi-left"
[all …]
/linux-6.12.1/
DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]