Home
last modified time | relevance | path

Searched +full:fb +full:- +full:voltage +full:- +full:divider (Results 1 – 25 of 28) sorted by relevance

12

/linux/Documentation/devicetree/bindings/regulator/
H A 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 …]
H A Dmps,mp886x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Monolithic Power Systems MP8867/MP8869 voltage regulator
10 - Jisheng Zhang <jszhang@kernel.org>
13 - $ref: regulator.yaml#
18 - mps,mp8867
19 - mps,mp8869
24 enable-gpios:
28 mps,fb-voltage-divider:
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx53-usbarmory.dts8 * This file is dual-licensed: you can use it either under the terms
47 /dts-v1/;
52 compatible = "inversepath,imx53-usbarmory", "fsl,imx53";
57 stdout-path = &uart1;
66 compatible = "gpio-leds";
67 pinctrl-names = "default";
68 pinctrl-0 = <&pinctrl_led>;
70 led-user {
73 linux,default-trigger = "heartbeat";
83 operating-points = <
[all …]
H A Dimx6qdl-gw552x.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
25 gpio-keys {
26 compatible = "gpio-keys";
28 user-pb {
34 user-pb1x {
37 interrupt-parent = <&gsc>;
41 key-erased {
[all …]
H A Dimx6qdl-gw51xx.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
24 gpio-keys {
25 compatible = "gpio-keys";
27 user-pb {
33 user-pb1x {
36 interrupt-parent = <&gsc>;
40 key-erased {
[all …]
H A Dimx6qdl-gw551x.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/media/tda1997x.h>
50 #include <dt-bindings/input/linux-event-codes.h>
51 #include <dt-bindings/interrupt-controller/irq.h>
52 #include <dt-bindings/sound/fsl-imx-audmux.h>
68 gpio-keys {
69 compatible = "gpio-keys";
71 user-pb {
[all …]
H A Dimx6qdl-gw553x.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/linux-event-codes.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
63 stdout-path = &uart2;
66 gpio-keys {
67 compatible = "gpio-keys";
69 user-pb {
75 user-pb1x {
[all …]
H A Dimx6qdl-gw52xx.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
27 compatible = "pwm-backlight";
29 brightness-levels = <0 4 8 16 32 64 128 255>;
30 default-brightness-level = <7>;
33 gpio-keys {
34 compatible = "gpio-keys";
36 user-pb {
[all …]
H A Dimx6qdl-gw53xx.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
27 compatible = "pwm-backlight";
29 brightness-levels = <0 4 8 16 32 64 128 255>;
30 default-brightness-level = <7>;
33 gpio-keys {
34 compatible = "gpio-keys";
36 user-pb {
[all …]
H A Dimx6qdl-gw5903.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/linux-event-codes.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
54 stdout-path = &uart2;
58 compatible = "pwm-backlight";
60 brightness-levels = <
73 default-brightness-level = <100>;
76 gpio-keys {
[all …]
H A Dimx6qdl-gw5904.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/linux-event-codes.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
68 stdout-path = &uart2;
72 compatible = "pwm-backlight";
74 brightness-levels = <0 4 8 16 32 64 128 255>;
75 default-brightness-level = <7>;
78 gpio-keys {
[all …]
H A Dimx6qdl-gw560x.dtsi4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
50 #include <dt-bindings/interrupt-controller/irq.h>
64 stdout-path = &uart2;
67 backlight-display {
68 compatible = "pwm-backlight";
70 brightness-levels = <
83 default-brightness-level = <100>;
[all …]
/linux/Documentation/hwmon/
H A Dltc4261.rst10 Addresses scanned: -
14 http://cds.linear.com/docs/Datasheet/42612fb.pdf
16 Author: Guenter Roeck <linux@roeck-us.net>
20 -----------
22 The LTC4261/LTC4261-2 negative voltage Hot Swap controllers allow a board
27 -----------
37 $ echo ltc4261 0x10 > /sys/bus/i2c/devices/i2c-1/new_device
41 -------------
43 Voltage readings provided by this driver are reported as obtained from the ADC
44 registers. If a set of voltage divider resistors is installed, calculate the
[all …]
H A Dltc2945.rst10 Addresses scanned: -
14 https://www.analog.com/media/en/technical-documentation/data-sheets/2945fb.pdf
16 Author: Guenter Roeck <linux@roeck-us.net>
20 -----------
22 The LTC2945 is a rail-to-rail system monitor that measures current, voltage,
27 -----------
37 $ echo ltc2945 0x10 > /sys/bus/i2c/devices/i2c-1/new_device
41 -------------
43 Voltage readings provided by this driver are reported as obtained from the ADC
44 registers. If a set of voltage divider resistors is installed, calculate the
[all …]
/linux/drivers/gpu/drm/pl111/
H A Dpl111_display.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved.
7 * Copyright (c) 2006-2008 Intel Corporation
14 #include <linux/dma-buf.h>
15 #include <linux/media-bus-format.h>
33 irq_stat = readl(priv->regs + CLCD_PL111_MIS); in pl111_irq()
39 drm_crtc_handle_vblank(&priv->pipe.crtc); in pl111_irq()
45 writel(irq_stat, priv->regs + CLCD_PL111_ICR); in pl111_irq()
54 struct drm_device *drm = pipe->crtc.dev; in pl111_mode_valid()
55 struct pl111_drm_dev_private *priv = drm->dev_private; in pl111_mode_valid()
[all …]
/linux/drivers/clk/
H A Dclk-versaclock5.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * - Use spread spectrum
11 * - Use integer divider in FOD if applicable
15 #include <linux/clk-provider.h>
26 #include <dt-bindings/clock/versaclock.h>
31 /* Factory-reserved register block */
76 /* Output divider control for divider 1,2,3,4 */
139 /* chip has built-in oscilator */
206 /* Factory reserved regs, make them read-only */ in vc5_regmap_is_writeable()
210 /* Factory reserved regs, make them read-only */ in vc5_regmap_is_writeable()
[all …]
/linux/drivers/regulator/
H A Dltc3589.c1 // SPDX-License-Identifier: GPL-2.0
3 // Linear Technology LTC3589,LTC3589-1 regulator support
107 return regmap_update_bits(ltc3589->regmap, rdev->desc->vsel_reg + 1, in ltc3589_set_suspend_voltage()
108 rdev->desc->vsel_mask, sel); in ltc3589_set_suspend_voltage()
118 mask = rdev->desc->apply_bit << 1; in ltc3589_set_suspend_mode()
123 mask |= rdev->desc->apply_bit; in ltc3589_set_suspend_mode()
124 bit |= rdev->desc->apply_bit; in ltc3589_set_suspend_mode()
125 return regmap_update_bits(ltc3589->regmap, LTC3589_VCCR, mask, bit); in ltc3589_set_suspend_mode()
179 struct ltc3589 *ltc3589 = config->driver_data; in ltc3589_of_parse_cb()
180 struct regulator_desc *rdesc = &ltc3589->regulator_descs[desc->id]; in ltc3589_of_parse_cb()
[all …]
H A Dltc3676.c1 // SPDX-License-Identifier: GPL-2.0-only
76 struct device *dev = ltc3676->dev; in ltc3676_set_suspend_voltage()
86 return regmap_update_bits(ltc3676->regmap, rdev->desc->vsel_reg + 1, in ltc3676_set_suspend_voltage()
87 rdev->desc->vsel_mask, sel); in ltc3676_set_suspend_voltage()
94 struct device *dev = ltc3676->dev; in ltc3676_set_suspend_mode()
109 dev_warn(&rdev->dev, "%s: regulator mode: 0x%x not supported\n", in ltc3676_set_suspend_mode()
110 rdev->desc->name, mode); in ltc3676_set_suspend_mode()
111 return -EINVAL; in ltc3676_set_suspend_mode()
114 return regmap_update_bits(ltc3676->regmap, rdev->desc->vsel_reg, in ltc3676_set_suspend_mode()
121 struct device *dev = ltc3676->dev; in ltc3676_set_voltage_sel()
[all …]
H A Dmp886x.c1 // SPDX-License-Identifier: GPL-2.0
49 const struct mp886x_cfg_info *ci = di->ci; in mp886x_set_switch_freq()
52 for (i = 0; i < ARRAY_SIZE(ci->switch_freq); i++) { in mp886x_set_switch_freq()
53 if (freq == ci->switch_freq[i]) { in mp886x_set_switch_freq()
54 regmap_update_bits(regmap, ci->fs_reg, in mp886x_set_switch_freq()
55 0x3 << ci->fs_shift, i << ci->fs_shift); in mp886x_set_switch_freq()
60 dev_err(di->dev, "invalid frequency %d\n", freq); in mp886x_set_switch_freq()
67 regmap_update_bits(rdev->regmap, MP886X_SYSCNTLREG1, in mp886x_set_mode()
71 regmap_update_bits(rdev->regmap, MP886X_SYSCNTLREG1, in mp886x_set_mode()
75 return -EINVAL; in mp886x_set_mode()
[all …]
/linux/drivers/gpu/drm/amd/include/
H A Datombios.h2 * Copyright 2006-2007 Advanced Micro Devices, Inc.
107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication
108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication
110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,…
222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios,
245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios,
427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_…
433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_…
440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di…
517 …ULONG ucPostDiv:8; //return parameter: post divider which is used to program to register d…
[all …]
H A Datomfirmware.h6 * Description header file of general definitions for OS and pre-OS video drivers
31 * If a change in VBIOS/Driver/Tool's interface is only needed for pre-SoC15 products, then the chan…
115 ATOM_SCALER_DISABLE =0, /*scaler bypass mode, auto-center & no replication*/
116 ATOM_SCALER_CENTER =1, //For Fudo, it's bypass and auto-center & auto replication
202 #define BIOS_VERSION_PREFIX "ATOMBIOSBK-AMD"
245 …tom_string_def atom_bios_string; //Signature to distinguish between Atombios and non-atombios,
600 uint16_t hw_bootup_vddgfx_mv; // hw default vddgfx voltage level decide by board strap
601 uint16_t hw_bootup_vddc_mv; // hw default vddc voltage level decide by board strap
602 uint16_t hw_bootup_mvddc_mv; // hw default mvddc voltage level decide by board strap
603 uint16_t hw_bootup_vddci_mv; // hw default vddci voltage level decide by board strap
[all …]
/linux/drivers/gpu/drm/radeon/
H A Datombios.h2 * Copyright 2006-2007 Advanced Micro Devices, Inc.
214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios,
397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_…
403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_…
410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di…
483 …ULONG ucPostDiv:8; //return parameter: post divider which is used to program to register d…
487 …ULONG ucPostDiv:8; //return parameter: post divider which is used to program to register d…
504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)…
523 …COMPUTE_MEMORY_ENGINE_PLL_PARAMETERS_V4 ulClock; //Output Parameter: ucPostDiv=DFS divider
524 ATOM_S_MPLL_FB_DIVIDER ulFbDiv; //Output Parameter: PLL FB divider
[all …]
H A Devergreen.c62 spin_lock_irqsave(&rdev->cg_idx_lock, flags); in eg_cg_rreg()
65 spin_unlock_irqrestore(&rdev->cg_idx_lock, flags); in eg_cg_rreg()
73 spin_lock_irqsave(&rdev->cg_idx_lock, flags); in eg_cg_wreg()
76 spin_unlock_irqrestore(&rdev->cg_idx_lock, flags); in eg_cg_wreg()
84 spin_lock_irqsave(&rdev->pif_idx_lock, flags); in eg_pif_phy0_rreg()
87 spin_unlock_irqrestore(&rdev->pif_idx_lock, flags); in eg_pif_phy0_rreg()
95 spin_lock_irqsave(&rdev->pif_idx_lock, flags); in eg_pif_phy0_wreg()
98 spin_unlock_irqrestore(&rdev->pif_idx_lock, flags); in eg_pif_phy0_wreg()
106 spin_lock_irqsave(&rdev->pif_idx_lock, flags); in eg_pif_phy1_rreg()
109 spin_unlock_irqrestore(&rdev->pif_idx_lock, flags); in eg_pif_phy1_rreg()
[all …]
/linux/drivers/gpu/drm/solomon/
H A Dssd130x.c1 // SPDX-License-Identifier: GPL-2.0-only
245 return regmap_bulk_write(ssd130x->regmap, SSD13XX_DATA, values, count); in ssd130x_write_data()
267 ret = regmap_write(ssd130x->regmap, SSD13XX_COMMAND, value); in ssd130x_write_cmd()
270 } while (--count); in ssd130x_write_cmd()
282 u8 col_end = col_start + cols - 1; in ssd130x_set_col_range()
285 if (col_start == ssd130x->col_start && col_end == ssd130x->col_end) in ssd130x_set_col_range()
292 ssd130x->col_start = col_start; in ssd130x_set_col_range()
293 ssd130x->col_end = col_end; in ssd130x_set_col_range()
300 u8 page_end = page_start + pages - 1; in ssd130x_set_page_range()
303 if (page_start == ssd130x->page_start && page_end == ssd130x->page_end) in ssd130x_set_page_range()
[all …]
/linux/drivers/gpu/drm/tegra/
H A Ddc.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/dma-mapping.h>
43 stats->frames = 0; in tegra_dc_stats_reset()
44 stats->vblank = 0; in tegra_dc_stats_reset()
45 stats->underflow = 0; in tegra_dc_stats_reset()
46 stats->overflow = 0; in tegra_dc_stats_reset()
65 offset = 0x000 + (offset - 0x500); in tegra_plane_offset()
66 return plane->offset + offset; in tegra_plane_offset()
70 offset = 0x180 + (offset - 0x700); in tegra_plane_offset()
71 return plane->offset + offset; in tegra_plane_offset()
[all …]

12