Home
last modified time | relevance | path

Searched +full:continuous +full:- +full:voltage (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v6.1/Documentation/devicetree/bindings/regulator/
Dpwm-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/regulator/pwm-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Brian Norris <briannorris@chromium.org>
11 - Lee Jones <lee@kernel.org>
12 - Alexandre Courbot <acourbot@nvidia.com>
17 Voltage Table:
18 When in this mode, a voltage table (See below) of predefined voltage <=>
19 duty-cycle values must be provided via DT. Limitations are that the
[all …]
/Linux-v6.1/drivers/regulator/
Dpwm-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2014 - STMicroelectronics Inc.
31 /* Voltage table */
34 /* Continuous mode info */
35 struct pwm_continuous_reg_data continuous; member
52 * Voltage table call-backs
61 pwm_get_state(drvdata->pwm, &pwm_state); in pwm_regulator_init_state()
64 for (i = 0; i < rdev->desc->n_voltages; i++) { in pwm_regulator_init_state()
65 if (dutycycle == drvdata->duty_cycle_table[i].dutycycle) { in pwm_regulator_init_state()
66 drvdata->state = i; in pwm_regulator_init_state()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/
Daspeed,ast2600-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/aspeed,ast2600-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Billy Tsai <billy_tsai@aspeedtech.com>
13 • 10-bits resolution for 16 voltage channels.
14 • The device split into two individual engine and each contains 8 voltage
16 • Channel scanning can be non-continuous.
21 • Built-in a compensating method.
22 • Built-in a register to trim internal reference voltage.
[all …]
Dst,stm32-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 STM32 ADC is a successive approximation analog-to-digital converter.
12 in single, continuous, scan or discontinuous mode. Result of the ADC is
13 stored in a left-aligned or right-aligned 32-bit data register.
17 voltage goes beyond the user-defined, higher or lower thresholds.
22 - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
27 - st,stm32f4-adc-core
[all …]
/Linux-v6.1/arch/arm/mach-omap2/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
160 bool "AVS(Adaptive Voltage Scaling) support for OMAP IP versions 1&2"
164 Say Y to enable AVS(Adaptive Voltage Scaling)
172 initialized and not enabled. To enable the automatic voltage
187 Class 3 implementation of Smartreflex employs continuous hardware
188 voltage calibration.
195 lost during off-mode entry on HS/EMU devices. This feature
196 requires support from PPA / boot-loader in HS/EMU devices, which
265 users who will wish to say yes at this point - almost everyone will
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-class-power-twl403012 "continuous" activate mode described as "linear" in
15 when voltage drops.
19 be taken that battery is not over-charged.
/Linux-v6.1/Documentation/hwmon/
Dsysfs-interface.rst5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is
6 completely chip-independent. It assumes that all the kernel drivers
10 This is a major improvement compared to lm-sensors 2.
22 For this reason, even if we aim at a chip-independent libsensors, it will
37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes
38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found
48 types for sensor chips are "in" (voltage), "temp" (temperature) and
61 to cause an alarm) is chip-dependent.
69 ----------------
76 -------------------------------------------------------------------------
[all …]
/Linux-v6.1/drivers/cpufreq/
DKconfig.arm1 # SPDX-License-Identifier: GPL-2.0-only
14 is based on an abstract continuous scale of CPU
42 module will be called sun50i-cpufreq-nvmem.
87 Some Broadcom STB SoCs use a co-processor running proprietary firmware
88 ("AVS") to handle voltage and frequency scaling. This driver provides
94 tristate "Calxeda Highbank-based"
119 based on cpufreq-dt.
196 For details, take a look at <file:Documentation/cpu-freq>.
239 voltage scaling mode in which it is possible to reduce the
240 core voltage of the CPU.
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/input/touchscreen/
Dbrcm,iproc-touchscreen.txt4 - compatible: must be "brcm,iproc-touchscreen"
5 - ts_syscon: handler of syscon node defining physical base
9 - clocks: The clock provided by the SOC to driver the tsc
10 - clock-names: name for the clock
11 - interrupts: The touchscreen controller's interrupt
12 - address-cells: Specify the number of u32 entries needed in child nodes.
14 - size-cells: Specify number of u32 entries needed to specify child nodes size
18 - scanning_period: Time between scans. Each step is 1024 us. Valid 1-256.
19 - debounce_timeout: Each step is 512 us. Valid 0-255
20 - settling_timeout: The settling duration (in ms) is the amount of time
[all …]
/Linux-v6.1/drivers/iio/adc/
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 …]
/Linux-v6.1/drivers/media/dvb-frontends/
Dcx24123.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Conexant cx24123/cx24109 - DVB QPSK Satellite demod/tuner driver
7 * Support for KWorld DVB-S 100 by Vadim Catana <skystar@moldova.cc>
9 * Support for CX24123/CX24113-NIM by Patrick Boettcher <pb@linuxtv.org>
26 "(1-9, default:off).");
197 {0x0d, 0x7f}, /* Force driver to shift until the maximum (+-10 MHz) */
198 {0x0e, 0x03}, /* Default non-inverted, FEC 3/4 (default) */
210 {0x2c, 0x00}, /* DiSEqC Message (0x2c - 0x31) */
217 {0x33, 0x00}, /* Interrupts off (0x33 - 0x34) */
229 {0x67, 0x83}, /* Non-DCII symbol clock */
[all …]
/Linux-v6.1/drivers/media/pci/ddbridge/
Dddbridge.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2010-2017 Digital Devices GmbH
50 #define DDBRIDGE_VERSION "0.9.33-integrated"
115 u8 con_clock; /* use a continuous clock */
171 enum fe_sec_voltage voltage; member
175 enum fe_sec_voltage voltage);
283 u32 voltage[4]; member
354 /* ddbridge-core.c */
/Linux-v6.1/drivers/input/touchscreen/
Dwm9705.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9705.c -- Codec driver for Wolfson WM9705 AC97 Codec.
55 * required between the switch matrix applying a voltage across the
147 dev_dbg(wm->dev, in wm9705_phy_init()
150 dev_dbg(wm->dev, in wm9705_phy_init()
158 dev_dbg(wm->dev, "supplied delay out of range."); in wm9705_phy_init()
164 dev_dbg(wm->dev, "setting adc sample delay to %d u Secs.", in wm9705_phy_init()
169 dev_dbg(wm->dev, "setting pdd to Vmid/%d", 1 - (pdd & 0x000f)); in wm9705_phy_init()
182 wm->dig[2] | WM97XX_PRP_DET_DIG); in wm9705_dig_enable()
186 wm->dig[2] & ~WM97XX_PRP_DET_DIG); in wm9705_dig_enable()
[all …]
Dwm9713.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9713.c -- Codec touch driver for Wolfson WM9713 AC97 Codec.
68 * required between the switch matrix applying a voltage across the
87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen.");
163 dev_info(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9713_phy_init()
170 dev_info(wm->dev, "setting 5-wire touchscreen mode."); in wm9713_phy_init()
173 dev_warn(wm->dev, in wm9713_phy_init()
183 dev_info(wm->dev, in wm9713_phy_init()
186 dev_info(wm->dev, in wm9713_phy_init()
193 dev_info(wm->dev, "supplied delay out of range."); in wm9713_phy_init()
[all …]
Dwm9712.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs.
68 * required between the switch matrix applying a voltage across the
87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen.");
160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init()
167 dev_dbg(wm->dev, "setting 5-wire touchscreen mode.\n"); in wm9712_phy_init()
170 dev_warn(wm->dev, "pressure measurement is not " in wm9712_phy_init()
171 "supported in 5-wire mode\n"); in wm9712_phy_init()
179 dev_dbg(wm->dev, in wm9712_phy_init()
182 dev_dbg(wm->dev, in wm9712_phy_init()
[all …]
/Linux-v6.1/drivers/iio/imu/inv_icm42600/
Dinv_icm42600.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
68 /* ODR suffixed by LN or LP are Low-Noise or Low-Power mode only */
87 /* Low-Noise mode sensor data filter (3rd order filter by default) */
90 /* Low-Power mode sensor data filter (averaging) */
101 #define INV_ICM42600_SENSOR_CONF_INIT {-1, -1, -1, -1}
116 * struct inv_icm42600_state - driver state variables
121 * @vdd_supply: VDD voltage regulator for the chip.
122 * @vddio_supply: I/O voltage regulator for the chip.
189 /* all sensor data are 16 bits (2 registers wide) in big-endian */
197 #define INV_ICM42600_DATA_INVALID -32768
[all …]
/Linux-v6.1/drivers/rtc/
Drtc-ds1742.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * - nvram size determined from resource
9 * - this ds1742 driver now supports ds1743.
59 void __iomem *ioaddr = pdata->ioaddr_rtc; in ds1742_rtc_set_time()
62 century = bin2bcd((tm->tm_year + 1900) / 100); in ds1742_rtc_set_time()
66 writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); in ds1742_rtc_set_time()
67 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); in ds1742_rtc_set_time()
68 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1742_rtc_set_time()
69 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in ds1742_rtc_set_time()
70 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in ds1742_rtc_set_time()
[all …]
Drtc-stk17ta8.c1 // SPDX-License-Identifier: GPL-2.0-only
75 void __iomem *ioaddr = pdata->ioaddr; in stk17ta8_rtc_set_time()
78 flags = readb(pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_set_time()
79 writeb(flags | RTC_WRITE, pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_set_time()
81 writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); in stk17ta8_rtc_set_time()
82 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); in stk17ta8_rtc_set_time()
83 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in stk17ta8_rtc_set_time()
84 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in stk17ta8_rtc_set_time()
85 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in stk17ta8_rtc_set_time()
86 writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); in stk17ta8_rtc_set_time()
[all …]
Drtc-ds1553.c1 // SPDX-License-Identifier: GPL-2.0-only
74 void __iomem *ioaddr = pdata->ioaddr; in ds1553_rtc_set_time()
77 century = bin2bcd((tm->tm_year + 1900) / 100); in ds1553_rtc_set_time()
79 writeb(RTC_WRITE, pdata->ioaddr + RTC_CONTROL); in ds1553_rtc_set_time()
81 writeb(bin2bcd(tm->tm_year % 100), ioaddr + RTC_YEAR); in ds1553_rtc_set_time()
82 writeb(bin2bcd(tm->tm_mon + 1), ioaddr + RTC_MONTH); in ds1553_rtc_set_time()
83 writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY); in ds1553_rtc_set_time()
84 writeb(bin2bcd(tm->tm_mday), ioaddr + RTC_DATE); in ds1553_rtc_set_time()
85 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in ds1553_rtc_set_time()
86 writeb(bin2bcd(tm->tm_min), ioaddr + RTC_MINUTES); in ds1553_rtc_set_time()
[all …]
/Linux-v6.1/drivers/iio/pressure/
Dzpa2326.c1 // SPDX-License-Identifier: GPL-2.0-only
18 * ZPA2326 hardware supports 2 sampling mode: one shot and continuous.
29 * The continuous mode works according to a periodic hardware measurement
34 * - get device out of low power mode,
35 * - setup hardware sampling period,
36 * - at end of period, upon data ready interrupt: pop pressure samples out of
38 * - when no longer needed, stop sampling process by putting device into
70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */
78 * struct zpa2326_frequency - Hardware sampling frequency descriptor
102 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency()
[all …]
/Linux-v6.1/drivers/hwmon/
Dina238.c1 // SPDX-License-Identifier: GPL-2.0-only
53 /* 16 sample averaging, 1052us conversion time, continuous mode */
70 * Current (A) = (shunt voltage register * 5) * calibration / 81920
72 * The maximum shunt voltage is 163.835 mV (0x7fff, ADC_RANGE = 0, gain = 4).
80 * bus voltage is 102396.875 mV, 0x7fff), where the maximum power that can
118 /* 24-bit register read */ in ina238_read_reg24()
123 return -EIO; in ina238_read_reg24()
158 return -EOPNOTSUPP; in ina238_read_in()
181 return -EOPNOTSUPP; in ina238_read_in()
185 return -EOPNOTSUPP; in ina238_read_in()
[all …]
Dina3221.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * INA3221 Triple Current/Voltage Monitor
5 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
10 #include <linux/hwmon-sysfs.h>
53 #define INA3221_CONFIG_CHx_EN(x) BIT(14 - (x))
70 /* Alert Flags: SF is the summation-alert flag */
98 * struct ina3221_input - channel input source specific information
110 * struct ina3221_data - device specific information
118 * @single_shot: running in single-shot operating mode
136 return ina->summation_shunt_resistor != 0; in ina3221_is_enabled()
[all …]
/Linux-v6.1/sound/soc/codecs/
Dwcd-mbhc-v2.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
14 #include "wcd-mbhc-v2.h"
72 /* Holds type of Headset - Mono/Stereo */
74 /* Holds mbhc detection method - ADC/Legacy */
81 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field()
84 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field()
85 mbhc->fields[field].reg, in wcd_mbhc_write_field()
86 mbhc->fields[field].mask, val); in wcd_mbhc_write_field()
91 if (!mbhc->fields[field].reg) in wcd_mbhc_read_field()
[all …]
/Linux-v6.1/drivers/power/supply/
Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
83 u8 vreg; /* regulation voltage */
86 u8 sysvmin; /* minimum system voltage limit */
87 u8 boostv; /* boost regulation voltage */
93 u8 vclamp; /* IBAT compensation voltage limit */
262 * Most of the val -> idx conversions can be computed, given the minimum,
312 0, -10, -20, -30, -40, -60, -70, -80,
313 -90, -10, -120, -140, -150, -170, -190, -210,
357 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read()
367 return regmap_field_write(bq->rmap_fields[field_id], val); in bq25890_field_write()
[all …]
/Linux-v6.1/Documentation/admin-guide/pm/
Dcpufreq.rst1 .. SPDX-License-Identifier: GPL-2.0
19 different clock frequency and voltage configurations, often referred to as
20 Operating Performance Points or P-states (in ACPI terminology). As a rule,
21 the higher the clock frequency and the higher the voltage, the more instructions
23 frequency and the higher the voltage, the more energy is consumed over a unit of
24 time (or the more power is drawn) by the CPU in the given P-state. Therefore
29 as possible and then there is no reason to use any P-states different from the
30 highest one (i.e. the highest-performance frequency/voltage configuration
37 different frequency/voltage configurations or (in the ACPI terminology) to be
38 put into different P-states.
[all …]

123