| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/afe/ |
| D | current-sense-amplifier.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-amplifier.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Current Sense Amplifier 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the output voltage from a current sense 14 amplifier, the interesting measurement is almost always the current 15 through the sense resistor, not the voltage output. This binding 16 describes such a current sense circuit. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/afe/ |
| D | current-sense-amplifier.txt | 1 Current Sense Amplifier 4 When an io-channel measures the output voltage from a current sense 5 amplifier, the interesting measurement is almost always the current 6 through the sense resistor, not the voltage output. This binding 7 describes such a current sense circuit. 10 - compatible : "current-sense-amplifier" 11 - io-channels : Channel node of a voltage io-channel. 12 - sense-resistor-micro-ohms : The sense resistance in microohms. 15 - sense-gain-mult: Amplifier gain multiplier. The default is <1>. 16 - sense-gain-div: Amplifier gain divider. The default is <1>. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | adi,max98396.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: Analog Devices MAX98396 Speaker Amplifier 10 - Ryan Lee <ryans.lee@analog.com> 13 The MAX98396 is a mono Class-DG speaker amplifier with I/V sense. 21 - adi,max98396 22 - adi,max98397 27 avdd-supply: 30 dvdd-supply: [all …]
|
| D | tas2562.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 14 The TAS2562 is a mono, digital input Class-D audio amplifier optimized for 16 Integrated speaker voltage and current sense provides for 19 Specifications about the audio amplifier can be found at: 26 - $ref: dai-common.yaml# 31 - ti,tas2562 32 - ti,tas2563 [all …]
|
| D | tas27xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020-2022 Texas Instruments Incorporated 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Shenghao Ding <shenghao-ding@ti.com> 14 The TAS2764/TAS2780 is a mono, digital input Class-D audio amplifier 16 loudspeakers. Integrated speaker voltage and current sense provides 20 - $ref: dai-common.yaml# 25 - ti,tas2764 26 - ti,tas2780 [all …]
|
| D | tas2770.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2019-20 Texas Instruments Incorporated 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Shi Fu <shifu0704@thundersoft.com> 14 The TAS2770 is a mono, digital input Class-D audio amplifier optimized for 16 Integrated speaker voltage and current sense provides for 20 - $ref: dai-common.yaml# 25 - ti,tas2770 32 reset-gpio: [all …]
|
| D | max98373.txt | 1 Maxim Integrated MAX98373 Speaker Amplifier 7 - compatible : "maxim,max98373" 9 - reg : the I2C address of the device. 13 - maxim,vmon-slot-no : slot number used to send voltage information 18 - maxim,imon-slot-no : slot number used to send current information 21 - maxim,spkfb-slot-no : slot number used to send speaker feedback information 24 - maxim,interleave-mode : For cases where a single combined channel 25 for the I/V sense data is not sufficient, the device can also be configured 27 In this configuration, the current and voltage data will be frame interleaved 36 maxim,vmon-slot-no = <0>; [all …]
|
| D | cirrus,cs42l43.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 21 - $ref: dai-common.yaml# 26 - cirrus,cs42l43 31 vdd-p-supply: 35 vdd-a-supply: 39 vdd-d-supply: 43 vdd-io-supply: [all …]
|
| D | ti,tas2781.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2022 - 2023 Texas Instruments Incorporated 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Shenghao Ding <shenghao-ding@ti.com> 14 The TAS2781 is a mono, digital input Class-D audio amplifier 16 loudspeakers. An integrated on-chip DSP supports Texas Instruments 18 voltage and current sense provides for real time 22 - $ref: dai-common.yaml# 27 - ti,tas2781 [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | max9611.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Maxim max9611/max9612 high side current sense amplifier with 6 * 12-bit ADC interface. 12 * This driver supports input common-mode voltage, current-sense 13 * amplifier with programmable gains and die temperature reading from 16 * Op-amp, analog comparator, and watchdog functionalities are not 49 * max9611 current sense amplifier voltage output: 57 * The complete formula to calculate current sense voltage is: 58 * (((adc_read >> 4) - offset) / ((1 / LSB) * 10^-3) 72 * (((adc_read >> 4) * 1000) - offset) / (1 / 14 * 1000) [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | max9611.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Maxim max9611/max9612 high side current sense amplifier with 6 * 12-bit ADC interface. 12 * This driver supports input common-mode voltage, current-sense 13 * amplifier with programmable gains and die temperature reading from 16 * Op-amp, analog comparator, and watchdog functionalities are not 50 * max9611 current sense amplifier voltage output: 58 * The complete formula to calculate current sense voltage is: 59 * (((adc_read >> 4) - offset) / ((1 / LSB) * 10^-3) 73 * (((adc_read >> 4) * 1000) - offset) / (1 / 14 * 1000) [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | max16065.rst | 11 Addresses scanned: - 15 http://datasheets.maxim-ic.com/en/ds/MAX16065-MAX16066.pdf 21 Addresses scanned: - 25 http://datasheets.maxim-ic.com/en/ds/MAX16067.pdf 31 Addresses scanned: - 35 http://datasheets.maxim-ic.com/en/ds/MAX16068.pdf 41 Addresses scanned: - 45 http://datasheets.maxim-ic.com/en/ds/MAX16070-MAX16071.pdf 47 Author: Guenter Roeck <linux@roeck-us.net> 51 ----------- [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | max16065.rst | 11 Addresses scanned: - 15 http://datasheets.maxim-ic.com/en/ds/MAX16065-MAX16066.pdf 21 Addresses scanned: - 25 http://datasheets.maxim-ic.com/en/ds/MAX16067.pdf 31 Addresses scanned: - 35 http://datasheets.maxim-ic.com/en/ds/MAX16068.pdf 41 Addresses scanned: - 45 http://datasheets.maxim-ic.com/en/ds/MAX16070-MAX16071.pdf 47 Author: Guenter Roeck <linux@roeck-us.net> 51 ----------- [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | ssm4567.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SSM4567 amplifier audio driver 137 /* The datasheet states that soft reset register is read-only, in ssm4567_writeable_reg() 138 * but logically it is write-only. */ in ssm4567_writeable_reg() 158 static const DECLARE_TLV_DB_MINMAX_MUTE(ssm4567_vol_tlv, -7125, 2400); 173 SND_SOC_DAPM_SWITCH("Amplifier Boost", SSM4567_REG_POWER_CTRL, 3, 1, 176 SND_SOC_DAPM_SIGGEN("Sense"), 178 SND_SOC_DAPM_PGA("Current Sense", SSM4567_REG_POWER_CTRL, 4, 1, NULL, 0), 179 SND_SOC_DAPM_PGA("Voltage Sense", SSM4567_REG_POWER_CTRL, 5, 1, NULL, 0), 180 SND_SOC_DAPM_PGA("VBAT Sense", SSM4567_REG_POWER_CTRL, 6, 1, NULL, 0), [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | ssm4567.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SSM4567 amplifier audio driver 137 /* The datasheet states that soft reset register is read-only, in ssm4567_writeable_reg() 138 * but logically it is write-only. */ in ssm4567_writeable_reg() 158 static const DECLARE_TLV_DB_MINMAX_MUTE(ssm4567_vol_tlv, -7125, 2400); 173 SND_SOC_DAPM_SWITCH("Amplifier Boost", SSM4567_REG_POWER_CTRL, 3, 1, 176 SND_SOC_DAPM_SIGGEN("Sense"), 178 SND_SOC_DAPM_PGA("Current Sense", SSM4567_REG_POWER_CTRL, 4, 1, NULL, 0), 179 SND_SOC_DAPM_PGA("Voltage Sense", SSM4567_REG_POWER_CTRL, 5, 1, NULL, 0), 180 SND_SOC_DAPM_PGA("VBAT Sense", SSM4567_REG_POWER_CTRL, 6, 1, NULL, 0), [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | tas2562.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Dan Murphy <dmurphy@ti.com> 14 The TAS2562 is a mono, digital input Class-D audio amplifier optimized for 16 Integrated speaker voltage and current sense provides for 19 Specifications about the audio amplifier can be found at: 28 - ti,tas2562 29 - ti,tas2563 30 - ti,tas2564 [all …]
|
| D | tas2764.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Dan Murphy <dmurphy@ti.com> 14 The TAS2764 is a mono, digital input Class-D audio amplifier optimized for 16 Integrated speaker voltage and current sense provides for 22 - ti,tas2764 29 reset-gpios: 33 shutdown-gpios: 40 ti,imon-slot-no: [all …]
|
| D | tas2770.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2019-20 Texas Instruments Incorporated 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Shi Fu <shifu0704@thundersoft.com> 14 The TAS2770 is a mono, digital input Class-D audio amplifier optimized for 16 Integrated speaker voltage and current sense provides for 22 - ti,tas2770 29 reset-gpio: 32 shutdown-gpios: [all …]
|
| D | max98373.txt | 1 Maxim Integrated MAX98373 Speaker Amplifier 7 - compatible : "maxim,max98373" 9 - reg : the I2C address of the device. 13 - maxim,vmon-slot-no : slot number used to send voltage information 18 - maxim,imon-slot-no : slot number used to send current information 21 - maxim,spkfb-slot-no : slot number used to send speaker feedback information 24 - maxim,interleave-mode : For cases where a single combined channel 25 for the I/V sense data is not sufficient, the device can also be configured 27 In this configuration, the current and voltage data will be frame interleaved 36 maxim,vmon-slot-no = <0>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | maxim,max9611.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs 10 - Jacopo Mondi <jacopo@jmondi.org> 13 These devices combine a high-side current sense amplifier with a 12 bit ADC. 19 - maxim,max9611 20 - maxim,max9612 25 shunt-resistor-micro-ohms: 28 RS- inputs, across which the current is measured. Value needed to compute [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | maxim,max9611.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs 10 - Jacopo Mondi <jacopo@jmondi.org> 13 These devices combine a high-side current sense amplifier with a 12 bit ADC. 19 - maxim,max9611 20 - maxim,max9612 25 shunt-resistor-micro-ohms: 29 RS- inputs, across which the current is measured. Value needed to compute [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3566-anbernic-rg353ps.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rg353x.dtsi" 21 compatible = "simple-battery"; 22 charge-full-design-microamp-hours = <3472000>; 23 charge-term-current-microamp = <300000>; 24 constant-charge-current-max-microamp = <2000000>; [all …]
|
| D | rk3566-anbernic-rg353p.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rg353x.dtsi" 22 compatible = "simple-battery"; 23 charge-full-design-microamp-hours = <3472000>; 24 charge-term-current-microamp = <300000>; 25 constant-charge-current-max-microamp = <2000000>; [all …]
|
| D | rk3566-anbernic-rg503.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include "rk3566-anbernic-rgxx3.dtsi" 21 compatible = "simple-battery"; 22 charge-full-design-microamp-hours = <3472000>; 23 charge-term-current-microamp = <300000>; 24 constant-charge-current-max-microamp = <2000000>; [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/afe/ |
| D | iio-rescale.c | 1 // SPDX-License-Identifier: GPL-2.0 46 return iio_read_channel_raw(rescale->source, val); in rescale_read_raw() 49 ret = iio_read_channel_scale(rescale->source, val, val2); in rescale_read_raw() 52 *val *= rescale->numerator; in rescale_read_raw() 53 *val2 *= rescale->denominator; in rescale_read_raw() 56 *val *= rescale->numerator; in rescale_read_raw() 57 if (rescale->denominator == 1) in rescale_read_raw() 59 *val2 = rescale->denominator; in rescale_read_raw() 63 tmp = div_s64(tmp, rescale->denominator); in rescale_read_raw() 64 tmp *= rescale->numerator; in rescale_read_raw() [all …]
|