Home
last modified time | relevance | path

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

12345678910>>...15

/kernel/linux/linux-5.10/drivers/regulator/
Dhelpers.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 // helpers.c -- Voltage/Current Regulator framework helper functions.
19 * regulator_is_enabled_regmap - standard is_enabled() for regmap users
32 ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val); in regulator_is_enabled_regmap()
36 val &= rdev->desc->enable_mask; in regulator_is_enabled_regmap()
38 if (rdev->desc->enable_is_inverted) { in regulator_is_enabled_regmap()
39 if (rdev->desc->enable_val) in regulator_is_enabled_regmap()
40 return val != rdev->desc->enable_val; in regulator_is_enabled_regmap()
43 if (rdev->desc->enable_val) in regulator_is_enabled_regmap()
44 return val == rdev->desc->enable_val; in regulator_is_enabled_regmap()
[all …]
D88pm800-regulator.c1 // SPDX-License-Identifier: GPL-2.0-only
78 * vreg - the buck regs string.
79 * ereg - the string for the enable register.
80 * ebit - the bit number in the enable register.
81 * amax - the current
82 * Buck has 2 kinds of voltage steps. It is easy to find voltage by ranges,
83 * not the constant voltage table.
84 * n_volt - Number of available selectors
108 * vreg - the LDO regs string
109 * ereg - the string for the enable register.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mmc/
Dmmc-spi-slot.txt7 - spi-max-frequency : maximum frequency for this device (Hz).
8 - voltage-ranges : two cells are required, first cell specifies minimum
9 slot voltage (mV), second cell specifies maximum slot voltage (mV).
10 Several ranges could be specified.
13 - gpios : may specify GPIOs in this order: Card-Detect GPIO,
14 Write-Protect GPIO. Note that this does not follow the
19 mmc-slot@0 {
20 compatible = "fsl,mpc8323rdb-mmc-slot",
21 "mmc-spi-slot";
25 voltage-ranges = <3300 3300>;
[all …]
Dfsl-esdhc.txt7 by mmc.txt and the properties used by the sdhci-esdhc driver.
10 - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc".
12 "fsl,mpc8536-esdhc"
13 "fsl,mpc8378-esdhc"
14 "fsl,p2020-esdhc"
15 "fsl,p4080-esdhc"
16 "fsl,t1040-esdhc"
17 "fsl,t4240-esdhc"
19 "fsl,ls1012a-esdhc"
20 "fsl,ls1088a-esdhc"
[all …]
Dfsl-imx-esdhc.txt7 by mmc.txt and the properties used by the sdhci-esdhc-imx driver.
10 - compatible : Should be "fsl,<chip>-esdhc", the supported chips include
11 "fsl,imx25-esdhc"
12 "fsl,imx35-esdhc"
13 "fsl,imx51-esdhc"
14 "fsl,imx53-esdhc"
15 "fsl,imx6q-usdhc"
16 "fsl,imx6sl-usdhc"
17 "fsl,imx6sx-usdhc"
18 "fsl,imx7d-usdhc"
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dmmc-spi-slot.txt7 - spi-max-frequency : maximum frequency for this device (Hz).
8 - voltage-ranges : two cells are required, first cell specifies minimum
9 slot voltage (mV), second cell specifies maximum slot voltage (mV).
10 Several ranges could be specified.
13 - gpios : may specify GPIOs in this order: Card-Detect GPIO,
14 Write-Protect GPIO. Note that this does not follow the
19 mmc-slot@0 {
20 compatible = "fsl,mpc8323rdb-mmc-slot",
21 "mmc-spi-slot";
25 voltage-ranges = <3300 3300>;
[all …]
Dfsl-esdhc.txt7 by mmc.txt and the properties used by the sdhci-esdhc driver.
10 - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc".
12 "fsl,mpc8536-esdhc"
13 "fsl,mpc8378-esdhc"
14 "fsl,p2020-esdhc"
15 "fsl,p4080-esdhc"
16 "fsl,t1040-esdhc"
17 "fsl,t4240-esdhc"
19 "fsl,ls1012a-esdhc"
20 "fsl,ls1028a-esdhc"
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/dac/
Dad5758.txt4 - compatible: Must be "adi,ad5758"
5 - reg: SPI chip select number for the device
6 - spi-max-frequency: Max SPI frequency to use (< 50000000)
7 - spi-cpha: is the only mode that is supported
11 - adi,dc-dc-mode: Mode of operation of the dc-to-dc converter
14 voltage and dynamically regulates the supply voltage,
16 headroom voltage for the output buffer.
19 In this mode, the VDPC+ voltage is user-programmable to
24 current or voltage output at the VIOUT pin. Only one mode
29 * 2: DPC voltage mode
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/
Dad5758.txt4 - compatible: Must be "adi,ad5758"
5 - reg: SPI chip select number for the device
6 - spi-max-frequency: Max SPI frequency to use (< 50000000)
7 - spi-cpha: is the only mode that is supported
11 - adi,dc-dc-mode: Mode of operation of the dc-to-dc converter
14 voltage and dynamically regulates the supply voltage,
16 headroom voltage for the output buffer.
19 In this mode, the VDPC+ voltage is user-programmable to
24 current or voltage output at the VIOUT pin. Only one mode
29 * 2: DPC voltage mode
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dbd99954-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
17 * Curve (2) represents battery voltage.
20 * a) Trickle-charge with constant current (8).
21 * b) pre-charge with constant current (6)
22 * c) fast-charge, first with constant current (5) phase. After
23 * the battery voltage has reached target level (4) we have constant
24 * voltage phase until charging current has dropped to termination
30 *(4)` `.` ` ` ` ` ` ` ` ` ` ` ` ` ` ----------------------------.
32 * . o----+/:/ ` ` ` ` ` ` ` ` ` ` ` ` `.` ` (5)
34 * . + /- -- .
[all …]
/kernel/linux/linux-5.10/include/linux/
Dlinear_range.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * struct linear_range - table of selector - value pairs
12 * Define a lookup-table for range of values. Intended to help when looking
13 * for a register value matching certaing physical measure (like voltage).
15 * of the physical measure (like voltage).
31 int ranges);
36 int linear_range_get_value_array(const struct linear_range *r, int ranges,
45 int ranges, unsigned int val,
/kernel/linux/linux-5.10/Documentation/hwmon/
Dbt1-pvt.rst1 .. SPDX-License-Identifier: GPL-2.0-only
3 Kernel driver bt1-pvt
8 * Baikal-T1 PVT sensor (in SoC)
10 Prefix: 'bt1-pvt'
12 Addresses scanned: -
21 -----------
24 embedded into Baikal-T1 process, voltage and temperature sensors. PVT IP-core
25 consists of one temperature and four voltage sensors, which can be used to
26 monitor the chip internal environment like heating, supply voltage and
29 compile-time configurable due to the hardware interface implementation
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c66 for (i = 0; i < context->stream_count; i++) { in rn_get_active_display_cnt_wa()
67 const struct dc_stream_state *stream = context->streams[i]; in rn_get_active_display_cnt_wa()
70 if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A || in rn_get_active_display_cnt_wa()
71 stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in rn_get_active_display_cnt_wa()
72 stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK || in rn_get_active_display_cnt_wa()
73 stream->signal == SIGNAL_TYPE_DISPLAY_PORT) in rn_get_active_display_cnt_wa()
77 for (i = 0; i < dc->link_count; i++) { in rn_get_active_display_cnt_wa()
78 const struct dc_link *link = dc->links[i]; in rn_get_active_display_cnt_wa()
87 if (link->connector_signal == SIGNAL_TYPE_VIRTUAL || in rn_get_active_display_cnt_wa()
88 link->link_enc->funcs->is_dig_enabled(link->link_enc)) in rn_get_active_display_cnt_wa()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/pci/
Dnvidia,tegra20-pcie.txt4 - compatible: Must be:
5 - "nvidia,tegra20-pcie": for Tegra20
6 - "nvidia,tegra30-pcie": for Tegra30
7 - "nvidia,tegra124-pcie": for Tegra124 and Tegra132
8 - "nvidia,tegra210-pcie": for Tegra210
9 - "nvidia,tegra186-pcie": for Tegra186
10 - power-domains: To ungate power partition by BPMP powergate driver. Must
13 - device_type: Must be "pci"
14 - reg: A list of physical base address and length for each set of controller
15 registers. Must contain an entry for each entry in the reg-names property.
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx23.dtsi1 // SPDX-License-Identifier: GPL-2.0+
5 #include "imx23-pinfunc.h"
8 #address-cells = <1>;
9 #size-cells = <1>;
11 interrupt-parent = <&icoll>;
14 * pre-existing /chosen node to be available to insert the
31 #address-cells = <1>;
32 #size-cells = <0>;
35 compatible = "arm,arm926ej-s";
42 compatible = "simple-bus";
[all …]
Dimx6sx.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/clock/imx6sx-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include "imx6sx-pinfunc.h"
12 #address-cells = <1>;
13 #size-cells = <1>;
16 * pre-existing /chosen node to be available to insert the
57 #address-cells = <1>;
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dimx23.dtsi1 // SPDX-License-Identifier: GPL-2.0+
5 #include "imx23-pinfunc.h"
8 #address-cells = <1>;
9 #size-cells = <1>;
11 interrupt-parent = <&icoll>;
14 * pre-existing /chosen node to be available to insert the
31 #address-cells = <1>;
32 #size-cells = <0>;
35 compatible = "arm,arm926ej-s";
42 compatible = "simple-bus";
[all …]
Dimx6sl.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/interrupt-controller/irq.h>
6 #include "imx6sl-pinfunc.h"
7 #include <dt-bindings/clock/imx6sl-clock.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
14 * pre-existing /chosen node to be available to insert the
40 #address-cells = <1>;
41 #size-cells = <0>;
44 compatible = "arm,cortex-a9";
[all …]
/kernel/linux/linux-4.19/drivers/regulator/
D88pm800-regulator.c86 * vreg - the buck regs string.
87 * ereg - the string for the enable register.
88 * ebit - the bit number in the enable register.
89 * amax - the current
90 * Buck has 2 kinds of voltage steps. It is easy to find voltage by ranges,
91 * not the constant voltage table.
92 * n_volt - Number of available selectors
116 * vreg - the LDO regs string
117 * ereg - the string for the enable register.
118 * ebit - the bit number in the enable register.
[all …]
/kernel/linux/linux-5.10/include/linux/regulator/
Ddriver.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * driver.h -- SoC Regulator driver support.
53 * struct regulator_ops - regulator operations.
60 * @set_voltage: Set the voltage for the regulator within the range specified.
61 * The driver should select the voltage closest to min_uV.
62 * @set_voltage_sel: Set the voltage for the regulator using the specified
64 * @map_voltage: Convert a voltage into a selector
65 * @get_voltage: Return the currently configured voltage for the regulator;
66 * return -ENOTRECOVERABLE if regulator can't be read at
68 * @get_voltage_sel: Return the currently configured voltage selector for the
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/
Dnvidia,tegra20-pcie.txt4 - compatible: Must be:
5 - "nvidia,tegra20-pcie": for Tegra20
6 - "nvidia,tegra30-pcie": for Tegra30
7 - "nvidia,tegra124-pcie": for Tegra124 and Tegra132
8 - "nvidia,tegra210-pcie": for Tegra210
9 - "nvidia,tegra186-pcie": for Tegra186
10 - power-domains: To ungate power partition by BPMP powergate driver. Must
13 - device_type: Must be "pci"
14 - reg: A list of physical base address and length for each set of controller
15 registers. Must contain an entry for each entry in the reg-names property.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/regulator/
Dltc3676.txt1 Linear Technology LTC3676 8-output regulators
4 - compatible: "lltc,ltc3676"
5 - reg: I2C slave address
8 - regulators: Contains eight regulator child nodes sw1, sw2, sw3, sw4,
14 the resistor values of their external feedback voltage dividers:
17 - lltc,fb-voltage-divider: An array of two integers containing the resistor
18 values R1 and R2 of the feedback voltage divider in ohms.
21 412.5mV to 800mV in 12.5 mV steps. The output voltage thus ranges between
26 regulator can not be disabled and thus should have the regulator-always-on
37 regulator-min-microvolt = <674400>;
[all …]
Dltc3589.txt1 Linear Technology LTC3589, LTC3589-1, and LTC3589-2 8-output regulators
4 - compatible: "lltc,ltc3589", "lltc,ltc3589-1" or "lltc,ltc3589-2"
5 - reg: I2C slave address
8 - regulators: Contains eight regulator child nodes sw1, sw2, sw3, bb-out,
13 nodes for sw1, sw2, sw3, bb-out, ldo1, and ldo2 additionally need to specify
14 the resistor values of their external feedback voltage dividers:
17 - lltc,fb-voltage-divider: An array of two integers containing the resistor
18 values R1 and R2 of the feedback voltage divider in ohms.
21 0.3625 V to 0.75 V in 12.5 mV steps. The output voltage thus ranges between
22 0.3625 * (1 + R1/R2) V and 0.75 * (1 + R1/R2) V. Regulators bb-out and ldo1
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dltc3676.txt1 Linear Technology LTC3676 8-output regulators
4 - compatible: "lltc,ltc3676"
5 - reg: I2C slave address
8 - regulators: Contains eight regulator child nodes sw1, sw2, sw3, sw4,
14 the resistor values of their external feedback voltage dividers:
17 - lltc,fb-voltage-divider: An array of two integers containing the resistor
18 values R1 and R2 of the feedback voltage divider in ohms.
21 412.5mV to 800mV in 12.5 mV steps. The output voltage thus ranges between
26 regulator can not be disabled and thus should have the regulator-always-on
37 regulator-min-microvolt = <674400>;
[all …]
Dltc3589.txt1 Linear Technology LTC3589, LTC3589-1, and LTC3589-2 8-output regulators
4 - compatible: "lltc,ltc3589", "lltc,ltc3589-1" or "lltc,ltc3589-2"
5 - reg: I2C slave address
8 - regulators: Contains eight regulator child nodes sw1, sw2, sw3, bb-out,
13 nodes for sw1, sw2, sw3, bb-out, ldo1, and ldo2 additionally need to specify
14 the resistor values of their external feedback voltage dividers:
17 - lltc,fb-voltage-divider: An array of two integers containing the resistor
18 values R1 and R2 of the feedback voltage divider in ohms.
21 0.3625 V to 0.75 V in 12.5 mV steps. The output voltage thus ranges between
22 0.3625 * (1 + R1/R2) V and 0.75 * (1 + R1/R2) V. Regulators bb-out and ldo1
[all …]

12345678910>>...15