/linux-6.12.1/drivers/regulator/ |
D | helpers.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 // helpers.c -- Voltage/Current Regulator framework helper functions. 20 * regulator_is_enabled_regmap - standard is_enabled() for regmap users 33 ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val); in regulator_is_enabled_regmap() 37 val &= rdev->desc->enable_mask; in regulator_is_enabled_regmap() 39 if (rdev->desc->enable_is_inverted) { in regulator_is_enabled_regmap() 40 if (rdev->desc->enable_val) in regulator_is_enabled_regmap() 41 return val != rdev->desc->enable_val; in regulator_is_enabled_regmap() 44 if (rdev->desc->enable_val) in regulator_is_enabled_regmap() 45 return val == rdev->desc->enable_val; in regulator_is_enabled_regmap() [all …]
|
D | 88pm800-regulator.c | 1 // 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 …]
|
D | rohm-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/mfd/rohm-generic.h> 21 if (ret != -EINVAL) in set_dvs_level() 25 /* If voltage is set to 0 => disable */ in set_dvs_level() 30 /* Some setups don't allow setting own voltage but do allow enabling */ in set_dvs_level() 35 return -EINVAL; in set_dvs_level() 37 for (i = 0; i < desc->n_voltages; i++) { in set_dvs_level() 38 /* NOTE to next hacker - Does not support pickable ranges */ in set_dvs_level() 39 if (desc->linear_range_selectors_bitfield) in set_dvs_level() 40 return -EINVAL; in set_dvs_level() [all …]
|
/linux-6.12.1/drivers/power/supply/ |
D | bd99954-charger.c | 1 // 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 …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
D | rn_clk_mgr.c | 61 for (i = 0; i < context->stream_count; i++) { in rn_get_active_display_cnt_wa() 62 const struct dc_stream_state *stream = context->streams[i]; in rn_get_active_display_cnt_wa() 64 if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A || in rn_get_active_display_cnt_wa() 65 stream->signal == SIGNAL_TYPE_DVI_SINGLE_LINK || in rn_get_active_display_cnt_wa() 66 stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK) in rn_get_active_display_cnt_wa() 70 for (i = 0; i < dc->link_count; i++) { in rn_get_active_display_cnt_wa() 71 const struct dc_link *link = dc->links[i]; in rn_get_active_display_cnt_wa() 74 if (link->link_enc->funcs->is_dig_enabled && in rn_get_active_display_cnt_wa() 75 link->link_enc->funcs->is_dig_enabled(link->link_enc)) in rn_get_active_display_cnt_wa() 90 struct dc *dc = clk_mgr_base->ctx->dc; in rn_set_low_power_state() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mmc/ |
D | mmc-spi-slot.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-spi-slot.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 13 - $ref: mmc-controller.yaml 14 - $ref: /schemas/spi/spi-peripheral-props.yaml 21 const: mmc-spi-slot 29 voltage-ranges: 30 $ref: /schemas/types.yaml#/definitions/uint32-matrix [all …]
|
D | fsl,esdhc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Frank Li <Frank.Li@nxp.com> 19 - enum: 20 - fsl,mpc8536-esdhc 21 - fsl,mpc8378-esdhc 22 - fsl,p2020-esdhc 23 - fsl,p4080-esdhc 24 - fsl,t1040-esdhc [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/ |
D | xlnx,zynqmp-ams.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/xlnx,zynqmp-ams.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Anand Ashok Dumbre <anand.ashok.dumbre@xilinx.com> 13 The AMS (Analog Monitoring System) includes an ADC as well as on-chip sensors 14 that can be used to sample external voltages and monitor on-die operating 15 conditions, such as temperature and supply voltage levels. 27 …--------------------------------------------------------------------------------------------------… 28 AMS CTRL |0 |System PLLs voltage measurement, VCC_PSPLL. |Voltage [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/dac/ |
D | adi,ltc2672.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 11 - Kim Seer Paller <kimseer.paller@analog.com> 14 Analog Devices LTC2672 5 channel, 12-/16-Bit, 300mA DAC 15 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2672.pdf 20 - adi,ltc2672 25 spi-max-frequency: 28 vcc-supply: [all …]
|
/linux-6.12.1/Documentation/hwmon/ |
D | bt1-pvt.rst | 1 .. 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 …]
|
/linux-6.12.1/include/linux/ |
D | linear_range.h | 1 /* 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). 42 int ranges); 47 int linear_range_get_value_array(const struct linear_range *r, int ranges, 58 int ranges, unsigned int val,
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | stericsson,db8500-prcmu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/stericsson,db8500-prcmu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson DB8500 PRCMU - Power Reset and Control Management Unit 10 - Linus Walleij <linus.walleij@linaro.org> 13 The DB8500 Power Reset and Control Management Unit is an XP70 8-bit 14 microprocessor that is embedded in the always-on power domain of the 20 pattern: '^prcmu@[0-9a-f]+$' 23 description: The device is compatible both to the device-specific [all …]
|
D | richtek,rt5033.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 30 The regulators of RT5033 have to be instantiated under a sub-node named 31 "regulators". For SAFE_LDO voltage there is only one value of 4.9 V. LDO 32 voltage ranges from 1.2 V to 3.0 V in 0.1 V steps. BUCK voltage ranges 44 $ref: /schemas/power/supply/richtek,rt5033-charger.yaml# 47 - compatible 48 - reg [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/ |
D | imx23.dtsi | 1 // 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 …]
|
D | imx28.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <dt-bindings/gpio/gpio.h> 6 #include "imx28-pinfunc.h" 9 #address-cells = <1>; 10 #size-cells = <1>; 12 interrupt-parent = <&icoll>; 15 * pre-existing /chosen node to be available to insert the 42 #address-cells = <1>; 43 #size-cells = <0>; 46 compatible = "arm,arm926ej-s"; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/qcom/ |
D | pm8058.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #interrupt-cells = <2>; 7 interrupt-controller; 8 #address-cells = <1>; 9 #size-cells = <0>; 12 compatible = "qcom,pm8058-pwrkey"; 14 interrupts-extended = <&pm8058 50 IRQ_TYPE_EDGE_RISING>, 17 pull-up; 21 compatible = "qcom,pm8058-keypad-led"; 27 compatible = "qcom,pm8058-vib"; [all …]
|
D | pm8921.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #interrupt-cells = <2>; 7 interrupt-controller; 8 #address-cells = <1>; 9 #size-cells = <0>; 12 compatible = "qcom,pm8921-pwrkey"; 14 interrupts-extended = <&pm8921 50 IRQ_TYPE_EDGE_RISING>, 17 pull-up; 21 compatible = "qcom,pm8921-mpp", 22 "qcom,ssbi-mpp"; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/ |
D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 26 precharge-current-microamp: 27 Current of pre-charge mode. The pre-charge current levels are 350 mA [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pci/ |
D | nvidia,tegra20-pcie.txt | 4 - 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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/regulator/ |
D | ltc3676.txt | 1 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 …]
|
D | ltc3589.txt | 1 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 …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx6sl.dtsi | 1 // 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 50 #address-cells = <1>; 51 #size-cells = <0>; 54 compatible = "arm,cortex-a9"; [all …]
|
D | imx6sx.dtsi | 1 // 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 60 #address-cells = <1>; [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 40 dc->ctx->logger 50 * This file is gcc-parseable HW gospel, coming straight from HW engineers. 54 * remain as-is as it provides us with a guarantee from HW that it is correct. 70 * slow-slow corner + 10% margin with voltages aligned to FCLK. 80 /* default DISP CLK voltage state on RV */ 86 /* default DPP CLK voltage state on RV */ 92 /* default PHY CLK voltage state on RV */ 305 input->src.is_hsplit = false; in pipe_ctx_to_e2e_pipe_params() 308 if (pipe->plane_state->stereo_format == PLANE_STEREO_FORMAT_SIDE_BY_SIDE || in pipe_ctx_to_e2e_pipe_params() 309 pipe->plane_state->stereo_format == PLANE_STEREO_FORMAT_TOP_AND_BOTTOM) { in pipe_ctx_to_e2e_pipe_params() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/phy/ |
D | mediatek,xsphy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: MediaTek XS-PHY Controller 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 The XS-PHY controller supports physical layer functionality for USB3.1 18 ---------------------------------- 45 pattern: "^xs-phy@[0-9a-f]+$" 49 - enum: 50 - mediatek,mt3611-xsphy [all …]
|