| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | nau8824.txt | 6 - compatible : Must be "nuvoton,nau8824" 8 - reg : the I2C address of the device. This is either 0x1a (CSB=0) or 0x1b (CSB=1). 11 - nuvoton,jkdet-polarity: JKDET pin polarity. 0 - active high, 1 - active low. 13 - nuvoton,vref-impedance: VREF Impedance selection 14 0 - Open 15 1 - 25 kOhm 16 2 - 125 kOhm 17 3 - 2.5 kOhm 19 - nuvoton,micbias-voltage: Micbias voltage level. 20 0 - VDDA [all …]
|
| D | nau8825.txt | 6 - compatible : Must be "nuvoton,nau8825" 8 - reg : the I2C address of the device. This is either 0x1a (CSB=0) or 0x1b (CSB=1). 11 - nuvoton,jkdet-enable: Enable jack detection via JKDET pin. 12 - nuvoton,jkdet-pull-enable: Enable JKDET pin pull. If set - pin pull enabled, 14 - nuvoton,jkdet-pull-up: Pull-up JKDET pin. If set then JKDET pin is pull up, otherwise pull down. 15 - nuvoton,jkdet-polarity: JKDET pin polarity. 0 - active high, 1 - active low. 17 - nuvoton,vref-impedance: VREF Impedance selection 18 0 - Open 19 1 - 25 kOhm 20 2 - 125 kOhm [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | nuvoton,nau8824.yaml | 1 # 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': 29 nuvoton,jkdet-polarity: 34 - 0 # active high 35 - 1 # active low [all …]
|
| D | nuvoton,nau8825.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | adm1266.rst | 1 .. 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 …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | adm1266.rst | 1 .. 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | adi,ad7291.yaml | 1 # 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 …]
|
| D | rockchip-saradc.yaml | 1 # 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 - items: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | adi,ad7291.yaml | 1 # 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 …]
|
| D | rockchip-saradc.yaml | 1 # 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 …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | nau8824.c | 1 // 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 …]
|
| D | nau8825.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | nau8824.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 static int quirk_override = -1; 36 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 210 ret = down_timeout(&nau8824->jd_sem, timeout); in nau8824_sema_acquire() 212 dev_warn(nau8824->dev, "Acquire semaphore timeout\n"); in nau8824_sema_acquire() 214 ret = down_interruptible(&nau8824->jd_sem); in nau8824_sema_acquire() 216 dev_warn(nau8824->dev, "Acquire semaphore fail\n"); in nau8824_sema_acquire() 224 up(&nau8824->jd_sem); in nau8824_sema_release() 303 "Off", "NC", "u-law", "A-law" }; 358 static const DECLARE_TLV_DB_MINMAX(hp_vol_tlv, -3000, 0); [all …]
|
| D | nau8825.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Co-author: Meng-Huang Kuo <mhkuo@nuvoton.com> 34 #define NUVOTON_CODEC_DAI "nau8825-hifi" 238 * nau8825_sema_acquire - acquire the semaphore of nau88l25 248 * this function returns -ETIME. If the sleep is interrupted by a signal, 249 * this function will return -EINTR. It returns 0 if the semaphore was 261 ret = down_timeout(&nau8825->xtalk_sem, timeout); in nau8825_sema_acquire() 263 dev_warn(nau8825->dev, "Acquire semaphore timeout\n"); in nau8825_sema_acquire() 265 ret = down_trylock(&nau8825->xtalk_sem); in nau8825_sema_acquire() 267 dev_warn(nau8825->dev, "Acquire semaphore fail\n"); in nau8825_sema_acquire() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | rohm,bd71815-pmic.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 29 Say yes here to build support for Analog Devices AD7091R-5 ADC. 32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD an TI" 126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 148 Say yes here to build support for Analog Devices AD7766, AD7766-1, 149 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters. [all …]
|
| D | meson_saradc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Amlogic Meson Successive Approximation Register (SAR) A/D Converter 10 #include <linux/clk-provider.h> 15 #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 306 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_sar_adc_get_fifo_count() 317 tmp = div_s64((s64)val * priv->calibscale, MILLION) + priv->calibbias; in meson_sar_adc_calib_val() 319 return clamp(tmp, 0, (1 << priv->param->resolution) - 1); in meson_sar_adc_calib_val() 334 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_sar_adc_wait_busy_clear() [all …]
|
| D | ad7291.c | 1 // 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 …]
|
| D | rockchip_saradc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Rockchip Successive Approximation Register (SAR) A/D Converter 61 writel_relaxed(0, info->regs + SARADC_CTRL); in rockchip_saradc_power_down() 67 reinit_completion(&info->completion); in rockchip_saradc_conversion() 70 writel_relaxed(8, info->regs + SARADC_DLY_PU_SOC); in rockchip_saradc_conversion() 72 info->last_chan = chan; in rockchip_saradc_conversion() 76 | (chan->channel & SARADC_CTRL_CHN_MASK) in rockchip_saradc_conversion() 78 info->regs + SARADC_CTRL); in rockchip_saradc_conversion() 80 if (!wait_for_completion_timeout(&info->completion, SARADC_TIMEOUT)) in rockchip_saradc_conversion() 81 return -ETIMEDOUT; in rockchip_saradc_conversion() [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 33 Say yes here to build support for Analog Devices AD4130-8 SPI analog 44 Say yes here to build support for Analog Devices AD7091R-5 ADC. 47 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 51 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 126 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI" 152 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 163 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 174 Say yes here to build support for Analog Devices AD7766, AD7766-1, [all …]
|
| D | imx93_adc.c | 1 // 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 …]
|
| D | meson_saradc.c | 1 // 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, ®val); in meson_sar_adc_get_fifo_count() [all …]
|
| D | ad7291.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/ |
| D | tegra210-smaug.dts | 1 // 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", 24 stdout-path = "serial0:115200n8"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/ |
| D | tegra210-smaug.dts | 1 // 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 …]
|