/* SPDX-License-Identifier: GPL-2.0+ */
/*
* mpq7920.h - Regulator definitions for mpq7920
*
* Copyright 2019 Monolithic Power Systems, Inc
*
*/
#ifndef __MPQ7920_H__
#define __MPQ7920_H__
#define MPQ7920_REG_CTL0 0 x00
#define MPQ7920_REG_CTL1 0 x01
#define MPQ7920_REG_CTL2 0 x02
#define MPQ7920_BUCK1_REG_A 0 x03
#define MPQ7920_BUCK1_REG_B 0 x04
#define MPQ7920_BUCK1_REG_C 0 x05
#define MPQ7920_BUCK1_REG_D 0 x06
#define MPQ7920_BUCK2_REG_A 0 x07
#define MPQ7920_BUCK2_REG_B 0 x08
#define MPQ7920_BUCK2_REG_C 0 x09
#define MPQ7920_BUCK2_REG_D 0 x0a
#define MPQ7920_BUCK3_REG_A 0 x0b
#define MPQ7920_BUCK3_REG_B 0 x0c
#define MPQ7920_BUCK3_REG_C 0 x0d
#define MPQ7920_BUCK3_REG_D 0 x0e
#define MPQ7920_BUCK4_REG_A 0 x0f
#define MPQ7920_BUCK4_REG_B 0 x10
#define MPQ7920_BUCK4_REG_C 0 x11
#define MPQ7920_BUCK4_REG_D 0 x12
#define MPQ7920_LDO1_REG_A 0 x13
#define MPQ7920_LDO1_REG_B 0 x0
#define MPQ7920_LDO2_REG_A 0 x14
#define MPQ7920_LDO2_REG_B 0 x15
#define MPQ7920_LDO2_REG_C 0 x16
#define MPQ7920_LDO3_REG_A 0 x17
#define MPQ7920_LDO3_REG_B 0 x18
#define MPQ7920_LDO3_REG_C 0 x19
#define MPQ7920_LDO4_REG_A 0 x1a
#define MPQ7920_LDO4_REG_B 0 x1b
#define MPQ7920_LDO4_REG_C 0 x1c
#define MPQ7920_LDO5_REG_A 0 x1d
#define MPQ7920_LDO5_REG_B 0 x1e
#define MPQ7920_LDO5_REG_C 0 x1f
#define MPQ7920_REG_MODE 0 x20
#define MPQ7920_REG_REGULATOR_EN 0 x22
#define MPQ7920_MASK_VREF 0 x7f
#define MPQ7920_MASK_BUCK_ILIM 0 xc0
#define MPQ7920_MASK_LDO_ILIM BIT(6 )
#define MPQ7920_MASK_DISCHARGE BIT(5 )
#define MPQ7920_MASK_MODE 0 xc0
#define MPQ7920_MASK_SOFTSTART 0 x0c
#define MPQ7920_MASK_SWITCH_FREQ 0 x30
#define MPQ7920_MASK_BUCK_PHASE_DEALY 0 x30
#define MPQ7920_MASK_DVS_SLEWRATE 0 xc0
#define MPQ7920_MASK_OVP 0 x40
#define MPQ7920_OVP_DISABLE ~(0 x40)
#define MPQ7920_DISCHARGE_ON BIT(5 )
#define MPQ7920_REGULATOR_EN_OFFSET 7
/* values in mV */
#define MPQ7920_BUCK_VOLT_MIN 400000
#define MPQ7920_LDO_VOLT_MIN 650000
#define MPQ7920_VOLT_MAX 3587500
#define MPQ7920_VOLT_STEP 12500
#endif /* __MPQ7920_H__ */
Messung V0.5 in Prozent C=96 H=95 G=95
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-07)
¤
*© Formatika GbR, Deutschland