/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A 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 …]
|
H A 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 …]
|
H A D | mps,mp886x.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: 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 …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx53-usbarmory.dts | 8 * 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 D | imx6qdl-gw552x.dtsi | 1 // 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 D | imx6qdl-gw51xx.dtsi | 1 // 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 D | imx6qdl-gw551x.dtsi | 4 * 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 D | imx6qdl-gw553x.dtsi | 4 * 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 D | imx6qdl-gw52xx.dtsi | 1 // 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 D | imx6qdl-gw53xx.dtsi | 1 // 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 D | imx6qdl-gw5903.dtsi | 4 * 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 D | imx6qdl-gw5904.dtsi | 4 * 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; 67 compatible = "pwm-backlight"; 69 brightness-levels = <0 4 8 16 32 64 128 255>; 70 default-brightness-level = <7>; 73 gpio-keys { [all …]
|
H A D | imx6qdl-dhcom-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2015-2021 DH electronics GmbH 7 #include <dt-bindings/pwm/pwm.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/imx6qdl-clock.h> 10 #include <dt-bindings/input/input.h> 30 memory@10000000 { /* Appropriate memory size will be filled by U-Boot */ 35 reg_3p3v: regulator-3P3V { 36 compatible = "regulator-fixed"; 37 regulator-always-on; [all …]
|
H A D | imx6qdl-gw560x.dtsi | 4 * 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 …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | ltc4261.rst | 10 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 D | ltc2945.rst | 10 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomctrl.h | 76 uint32_t pll_post_divider; /* post divider value */ 78 pp_atomctrl_tcipll_fb_divider ul_fb_div; /* Output Parameter: PLL FB divider */ 79 uint8_t uc_pll_ref_div; /* Output Parameter: PLL ref divider */ 80 uint8_t uc_pll_post_div; /* Output Parameter: PLL post divider */ 86 uint32_t pll_post_divider; /* post divider value */ 88 pp_atomctrl_tcipll_fb_divider ul_fb_div; /*Output Parameter: PLL FB divider */ 89 uint8_t uc_pll_ref_div; /*Output Parameter: PLL ref divider */ 90 uint8_t uc_pll_post_div; /*Output Parameter: PLL post divider */ 165 …uint16_t us_max_nb_voltage; /* high NB voltage, calculated using current VDDNB (D24F2… 166 …uint16_t us_min_nb_voltage; /* low NB voltage, calculated using current VDDNB (D24F2x… [all …]
|
/openbmc/linux/drivers/gpu/drm/pl111/ |
H A D | pl111_display.c | 1 // 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 …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-versaclock5.c | 1 // 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 …]
|
/openbmc/linux/drivers/regulator/ |
H A D | ltc3589.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Linear Technology LTC3589,LTC3589-1 regulator support 109 return regmap_update_bits(ltc3589->regmap, rdev->desc->vsel_reg + 1, in ltc3589_set_suspend_voltage() 110 rdev->desc->vsel_mask, sel); in ltc3589_set_suspend_voltage() 120 mask = rdev->desc->apply_bit << 1; in ltc3589_set_suspend_mode() 125 mask |= rdev->desc->apply_bit; in ltc3589_set_suspend_mode() 126 bit |= rdev->desc->apply_bit; in ltc3589_set_suspend_mode() 127 return regmap_update_bits(ltc3589->regmap, LTC3589_VCCR, mask, bit); in ltc3589_set_suspend_mode() 181 struct ltc3589 *ltc3589 = config->driver_data; in ltc3589_of_parse_cb() 182 struct regulator_desc *rdesc = <c3589->regulator_descs[desc->id]; in ltc3589_of_parse_cb() [all …]
|
H A D | ltc3676.c | 1 // 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 D | mp886x.c | 1 // 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 2 * 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 …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | atombios.h | 2 * 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 …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | dc.c | 1 // 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 …]
|