]> Git Repo - J-u-boot.git/blob - include/power/tps65941.h
Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-riscv into...
[J-u-boot.git] / include / power / tps65941.h
1 #define TPS659411               0x0
2 #define TPS659412               0x1
3 #define TPS659413               0x2
4 #define TPS659414               0x3
5 #define  LP876441               0x4
6 #define  TPS65224               0x5
7
8 /* I2C device address for pmic tps65941 */
9 #define TPS65941_I2C_ADDR       (0x12 >> 1)
10 #define TPS65941_LDO_NUM                4
11 #define TPS65941_BUCK_NUM               5
12 #define TPS65224_LDO_NUM                3
13 #define TPS65224_BUCK_NUM               4
14
15 /* Drivers name */
16 #define TPS65941_LDO_DRIVER             "tps65941_ldo"
17 #define TPS65941_BUCK_DRIVER            "tps65941_buck"
18
19 #define TPS65941_BUCK_VOLT_MASK         0xFF
20 #define TPS65941_BUCK_VOLT_MAX_HEX      0xFF
21 #define TPS65941_BUCK_VOLT_MAX          3340000
22 #define TPS65941_BUCK_MODE_MASK         0x1
23
24 #define TPS65941_LDO_VOLT_MASK          0x3E
25 #define TPS65941_LDO_VOLT_MAX_HEX       0x3A
26 #define TPS65941_LDO_VOLT_MIN_HEX       0x4
27 #define TPS65941_LDO_VOLT_MAX           3300000
28 #define TPS65941_LDO_MODE_MASK          0x1
29 #define TPS65941_LDO_BYPASS_EN          0x80
30 #define TP65941_BUCK_CONF_SLEW_MASK     0x7
31
32 #define TPS65224_BUCK_VOLT_MAX          3300000
33 #define TPS65224_BUCK1_VOLT_MAX_HEX      0xFD
34 #define TPS65224_BUCK234_VOLT_MAX_HEX    0x45
35
36 #define TPS65224_BUCK_CONF_SLEW_MASK     0x3
37 #define TPS65224_LDO_VOLT_MASK    (0x3F << 1)
38
39 #define TPS65224_LDO1_VOLT_MIN_HEX       0x0C
40 #define TPS65224_LDO23_VOLT_MIN_HEX      0x00
41 #define TPS65224_LDO1_VOLT_MAX_HEX       0x36
42 #define TPS65224_LDO23_VOLT_MAX_HEX      0x38
43
44 #define TPS65224_LDO1_VOLT_MAX        3300000
45 #define TPS65224_LDO23_VOLT_MAX       3400000
46 #define TPS65224_LDO1_VOLT_MIN        1200000
47 #define TPS65224_LDO23_VOLT_MIN        600000
48
49 #define TPS65224_LDO_STEP               50000
50
51 #define TPS65224_LDO_BYP_CONFIG             7
52
53 #define TPS65224_LDO1_VOLT_BYP_MIN    2200000
54 #define TPS65224_LDO1_VOLT_BYP_MAX    3600000
55
56 #define TPS65224_LDO23_VOLT_BYP_MIN   1500000
57 #define TPS65224_LDO23_VOLT_BYP_MAX   5500000
This page took 0.028662 seconds and 4 git commands to generate.