/linux-6.12.1/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 …]
|
/linux-6.12.1/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 | 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 TAS2563/TAS2781 is a mono, digital input Class-D audio 15 amplifier optimized for efficiently driving high peak power into 16 small loudspeakers. An integrated on-chip DSP supports Texas 18 integrated speaker voltage and current sense provides for real time 21 Specifications about the audio amplifier can be found at: [all …]
|
D | ti,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: 25 - $ref: dai-common.yaml# 30 - ti,tas2562 31 - ti,tas2564 [all …]
|
D | ti,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 | ti,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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
D | max98388.c | 1 // SPDX-License-Identifier: GPL-2.0 75 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98388_dac_event() 80 regmap_write(max98388->regmap, in max98388_dac_event() 85 regmap_write(max98388->regmap, in max98388_dac_event() 88 max98388->tdm_mode = false; in max98388_dac_event() 117 SND_SOC_DAPM_AIF_OUT("Voltage Sense", "HiFi Capture", 0, 119 SND_SOC_DAPM_AIF_OUT("Current Sense", "HiFi Capture", 0, 123 SND_SOC_DAPM_ADC("ADC Current", NULL, 125 SND_SOC_DAPM_SWITCH("VI Sense", SND_SOC_NOPM, 0, 0, 131 static DECLARE_TLV_DB_SCALE(max98388_digital_tlv, -6350, 50, 1); [all …]
|
D | max98373.c | 1 // SPDX-License-Identifier: GPL-2.0 23 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98373_dac_event() 28 regmap_update_bits(max98373->regmap, in max98373_dac_event() 34 regmap_update_bits(max98373->regmap, in max98373_dac_event() 38 max98373->tdm_mode = false; in max98373_dac_event() 70 SND_SOC_DAPM_AIF_OUT("Voltage Sense", "HiFi Capture", 0, 72 SND_SOC_DAPM_AIF_OUT("Current Sense", "HiFi Capture", 0, 74 SND_SOC_DAPM_AIF_OUT("Speaker FB Sense", "HiFi Capture", 0, 76 SND_SOC_DAPM_SWITCH("VI Sense", SND_SOC_NOPM, 0, 0, 78 SND_SOC_DAPM_SWITCH("SpkFB Sense", SND_SOC_NOPM, 0, 0, [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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-rg-arc.dtsi | 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" 12 compatible = "pwm-backlight"; 13 power-supply = <&vcc_sys>; 18 compatible = "simple-battery"; 19 charge-full-design-microamp-hours = <3472000>; [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" 20 adc-joystick { 21 compatible = "adc-joystick"; 22 io-channels = <&adc_mux 0>, 26 pinctrl-0 = <&joy_mux_en>; [all …]
|
D | rk3566-pinetab2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/soc/rockchip,vop2.h> 9 #include <dt-bindings/usb/pd.h> 13 chassis-type = "tablet"; 21 stdout-path = "serial2:1500000n8"; [all …]
|
D | rk3566-powkiddy-x55.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/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 14 chassis-type = "handset"; 25 stdout-path = "serial2:1500000n8"; 28 adc_joystick: adc-joystick { [all …]
|
/linux-6.12.1/drivers/iio/afe/ |
D | iio-rescale.c | 1 // SPDX-License-Identifier: GPL-2.0 33 *val *= rescale->numerator; in rescale_process_scale() 34 if (rescale->denominator == 1) in rescale_process_scale() 36 *val2 = rescale->denominator; in rescale_process_scale() 44 if (!check_mul_overflow(*val, rescale->numerator, &_val) && in rescale_process_scale() 45 !check_mul_overflow(*val2, rescale->denominator, &_val2)) { in rescale_process_scale() 53 tmp = div_s64(tmp, rescale->denominator); in rescale_process_scale() 54 tmp *= rescale->numerator; in rescale_process_scale() 82 * *val = 1 and *val2 = -0.5 yields -1.5 not -0.5. in rescale_process_scale() 86 tmp = (s64)abs(*val) * abs(rescale->numerator); in rescale_process_scale() [all …]
|
/linux-6.12.1/include/sound/ac97/ |
D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */ 44 /* range 0x3c-0x58 - MODEM */ 59 /* range 0x5a-0x7b - Vendor Specific */ 62 /* range 0x60-0x6f (page 1) - extended codec registers */ 68 #define AC97_SENSE_INFO 0x6a /* Sense Details */ 108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */ 109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */ 110 #define AC97_BC_20BIT_DAC 0x0080 /* 20-bit DAC resolution */ 112 #define AC97_BC_16BIT_ADC 0x0000 /* 16-bit ADC resolution */ [all …]
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/linux-6.12.1/arch/m68k/mac/ |
D | macboing.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mac bong noise generator. Note - we ought to put a boingy noise 6 * ---------------------------------------------------------------------- 10 * Juergen Mellinger (juergen.mellinger@t-online.de) 37 static unsigned long mac_bell_phase; /* 0..2*Pi -> 0..0x800 (wavetable size) */ 68 * this makes no sense here, because we have to set the default sample in mac_init_asc() 71 switch ( macintosh_config->ident ) in mac_init_asc() 99 * current location of the Apple Sound Chip--ASC--in other Macs.) The in mac_init_asc() 104 * Macintosh models have 16-bit audio input and output capability in mac_init_asc() 105 * because of the AT&T DSP3210 hardware circuitry and the 16-bit Singer in mac_init_asc() [all …]
|
/linux-6.12.1/drivers/hwmon/pmbus/ |
D | mp2975.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Hardware monitoring driver for MPS Multi-phase Digital VR Controllers 138 return -ENODATA; in mp2975_read_byte_data() 157 return 250 + (val - 1) * 5; in mp2975_vid2direct() 161 return 500 + (val - 1) * 10; in mp2975_vid2direct() 165 return 200 + (val - 1) * 10; in mp2975_vid2direct() 168 return -EINVAL; in mp2975_vid2direct() 176 /* Converts a milli-unit DIRECT value to LINEAR11 format */ 192 while (val < MIN_LIN_MANTISSA && exponent > -15) { in mp2975_data2reg_linear11() 193 exponent--; in mp2975_data2reg_linear11() [all …]
|