/linux/drivers/regulator/ |
H A D | max1586.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max1586.c -- Voltage and current regulation for the Maxim 1586 11 #include <linux/regulator/driver.h> 13 #include <linux/regulator/max1586.h> 15 #include <linux/regulator/of_regulator.h> 41 * V6 voltage 43 * set V6 to either 0V, 1.8V, 2.5V, 3V depending on (x & 0x3) 44 * As regulator framework doesn't accept voltages to be 0V, we use 1uV. 60 return max1586->v3_curr_sel; in max1586_v3_get_voltage_sel() 67 struct i2c_client *client = max1586->client; in max1586_v3_set_voltage_sel() [all …]
|
H A D | pcap-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PCAP2 Regulator Driver 13 #include <linux/regulator/driver.h> 14 #include <linux/regulator/machine.h> 15 #include <linux/mfd/ezx-pcap.h> 116 VREG_INFO(V6, PCAP_REG_VREG2, 1, 2, 14, 20), 147 /* the regulator doesn't support voltage switching */ in pcap_regulator_set_voltage_sel() 148 if (rdev->desc->n_voltages == 1) in pcap_regulator_set_voltage_sel() 149 return -EINVAL; in pcap_regulator_set_voltage_sel() 151 return ezx_pcap_set_bits(pcap, vreg->reg, in pcap_regulator_set_voltage_sel() [all …]
|
H A D | max8660.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max8660.c -- Voltage regulation for the Maxim 8660/8661 5 * based on max1586.c and wm8400-regulator.c 11 * Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX8660-MAX8661.pdf 13 * This chip is a bit nasty because it is a write-only device. Thus, the driver 23 * functions for V3-V7 is sufficient. For maximum flexibility during 31 #include <linux/regulator/driver.h> 33 #include <linux/regulator/max8660.h> 36 #include <linux/regulator/of_regulator.h> 80 u8 reg_val = (max8660->shadow_regs[reg] & mask) | val; in max8660_write() [all …]
|
/linux/sound/soc/amd/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 select REGULATOR 39 tristate "AMD Audio Coprocessor-v3.x support" 58 tristate "AMD Audio Coprocessor - Renoir support" 72 tristate "AMD Audio Coprocessor-v5.x I2S support" 95 tristate "AMD Audio Coprocessor-v6 [all...] |
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | max8660.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/max8660.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX8660 voltage regulator 10 - Daniel Mack <zonque@gmail.com> 14 pattern: "pmic@[0-9a-f]{1,2}" 17 - maxim,max8660 18 - maxim,max8661 27 "^regulator-.+$": [all …]
|
/linux/include/linux/regulator/ |
H A D | max1586.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * max1586.h -- Voltage regulation for the Maxim 1586 11 #include <linux/regulator/machine.h> 23 * max1586_subdev_data - regulator data 24 * @id: regulator Id (either MAX1586_V3 or MAX1586_V6) 25 * @name: regulator cute name (example for V3: "vcc_core") 26 * @platform_data: regulator init data (constraints, supplies, ...) 35 * max1586_platform_data - platform data for max1586 37 * @subdevs: regulator used 38 * At most, there will be a regulator for V3 and one for V6 voltages.
|
/linux/arch/arm/boot/dts/intel/pxa/ |
H A D | pxa300-raumfeld-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 10 hw-revision = <0>; 14 stdout-path = &ffuart; 22 reg_3v3: regulator-3v3 { 23 compatible = "regulator-fixed"; 24 regulator-name = "3v3-fixed-supply"; 25 regulator-min-microvolt = <3300000>; [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am335x-boneblue.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include "am335x-osd335x-common.dtsi" 9 #include <dt-bindings/interrupt-controller/irq.h> 13 compatible = "ti,am335x-bone-blue", "ti,am33xx"; 16 stdout-path = &uart0; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&user_leds_s0>; 23 compatible = "gpio-leds"; [all …]
|
H A D | am335x-guardian.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 compatible = "bosch,am335x-guardian", "ti,am33xx"; 17 stdout-path = &uart0; 18 tick-timer = &timer2; 23 cpu0-supply = <&dcdc2_reg>; 32 guardian_buttons: gpio-keys { [all …]
|
/linux/include/linux/mfd/ |
H A D | ezx-pcap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 54 #define PCAP_REG_VREG2 0x6 /* Regulator Bank 2 Control */ 55 #define PCAP_REG_AUXVREG 0x7 /* Auxiliary Regulator Control */ 64 #define PCAP_REG_LOWPWR 0x18 /* Regulator Low Power Control */ 74 #define PCAP_REG_SWCTRL 0x4 /* Switching Regulator Control */ 75 #define PCAP_REG_VREG1 0x5 /* Regulator Bank 1 Control */ 82 #define PCAP_REG_AUXVREG_MASK 0x16 /* Auxiliary Regulator Mask */ 118 #define V6 5 macro
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am64-phycore-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Copyright (C) 2021-2024 PHYTEC America, LLC - https://www.phytec.com 6 * Copyright (C) 2022-2024 PHYTEC Messtechnik GmbH 10 * https://www.phytec.com/product/phycore-am64x 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/net/ti-dp83867.h> 18 model = "PHYTEC phyCORE-AM64x"; 19 compatible = "phytec,am64-phycore-som", "ti,am642"; 32 reserved_memory: reserved-memory { [all …]
|
H A D | k3-am642-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Copyright (C) 2020-2024 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 8 #include <dt-bindings/phy/phy.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/net/ti-dp83867.h> 12 #include "k3-am642.dtsi" 14 #include "k3-serdes.h" 17 compatible = "ti,am642-evm", "ti,am642"; [all …]
|
H A D | k3-am642-tqma64xxl-mbax4xxl.dts | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ 4 * Copyright (c) 2022-2024 TQ-Systems GmbH <linux@ew.tq-group.com>, D-82229 Seefeld, Germany. 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/net/ti-dp83867.h> 13 #include <dt-bindings/phy/phy.h> 14 #include <dt-bindings/pwm/pwm.h> [all …]
|
/linux/arch/sh/boards/ |
H A D | board-magicpanelr2.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/regulator/fixed.h> 15 #include <linux/regulator/machine.h> 65 /* CS2: LAN (0x08000000 - 0x0bffffff) */ in setup_chip_select() 71 /* CS4: CAN1 (0xb0000000 - 0xb3ffffff) */ in setup_chip_select() 77 /* CS5a: CAN2 (0xb4000000 - 0xb5ffffff) */ in setup_chip_select() 83 /* CS5b: CAN3 (0xb6000000 - 0xb7ffffff) */ in setup_chip_select() 89 /* CS6a: Rotary (0xb8000000 - 0xb9ffffff) */ in setup_chip_select() 204 /* V7 (x); V6 (x); V5 (x); V4 GPO(MID2); in setup_port_multiplexing() 270 .id = -1, [all …]
|
/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-ufs.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 18 #include <linux/regulator/consumer.h> 24 #include "phy-qcom-qmp-common.h" 26 #include "phy-qcom-qmp.h" 27 #include "phy-qcom-qmp-pcs-ufs-v2.h" 28 #include "phy-qcom-qmp-pcs-ufs-v3.h" 29 #include "phy-qcom-qmp-pcs-ufs-v4.h" 30 #include "phy-qcom-qmp-pcs-ufs-v5.h" 31 #include "phy-qcom-qmp-pcs-ufs-v6.h" [all …]
|
H A D | phy-qcom-qmp-usb.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 18 #include <linux/regulator/consumer.h> 22 #include "phy-qcom-qmp-common.h" 24 #include "phy-qcom-qmp.h" 25 #include "phy-qcom-qmp-pcs-misc-v3.h" 26 #include "phy-qcom-qmp-pcs-misc-v4.h" 27 #include "phy-qcom-qmp-pcs-usb-v4.h" 28 #include "phy-qcom-qmp-pcs-usb-v5.h" 29 #include "phy-qcom-qmp-pcs-usb-v6.h" [all …]
|
/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… 504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… 536 #define ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN 1 // 1-StrobeMode, 0-PerformanceMode 544 …bDiv; //Output:UPPER_WORD=FB_DIV_INTEGER, LOWER_WORD=FB_DIV_FRAC shl (16-FB_FRACTION_BITS) 549 … //Input : ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN: 1-StrobeMode, 0-PerformanceMode 815 // Following function ENABLE sub-function will be used by driver when TMDS/HDMI/LVDS is used, disab… [all …]
|
/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… 538 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|