Commit a320e3c3 authored by Jorge Eduardo Candelaria's avatar Jorge Eduardo Candelaria Committed by Liam Girdwood

regulator: tps65911: Add new chip version

The tps65911 chip introduces new features, including changes in
the regulator module.

- VDD1 and VDD2 remain unchanged.
- VDD3 is now named VDDCTRL and has a wider voltage range.
- LDOs are now named LDO1...8 and voltage ranges are sequential,
  making LDOs easier to handle.
Signed-off-by: default avatarJorge Eduardo Candelaria <jedu@slimlogic.co.uk>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 79557056
This diff is collapsed.
...@@ -232,7 +232,6 @@ ...@@ -232,7 +232,6 @@
#define VDD2_OP_SEL_MASK 0x7F #define VDD2_OP_SEL_MASK 0x7F
#define VDD2_OP_SEL_SHIFT 0 #define VDD2_OP_SEL_SHIFT 0
/*Register VDD2_SR (0x80) register.RegisterDescription */ /*Register VDD2_SR (0x80) register.RegisterDescription */
#define VDD2_SR_SEL_MASK 0x7F #define VDD2_SR_SEL_MASK 0x7F
#define VDD2_SR_SEL_SHIFT 0 #define VDD2_SR_SEL_SHIFT 0
...@@ -249,6 +248,8 @@ ...@@ -249,6 +248,8 @@
#define VDD3_CKINEN_SHIFT 2 #define VDD3_CKINEN_SHIFT 2
#define VDD3_ST_MASK 0x03 #define VDD3_ST_MASK 0x03
#define VDD3_ST_SHIFT 0 #define VDD3_ST_SHIFT 0
#define VDDCTRL_MIN_VOLT 6000
#define VDDCTRL_OFFSET 125
/*Registers VDIG (0x80) to VDAC register.RegisterDescription */ /*Registers VDIG (0x80) to VDAC register.RegisterDescription */
#define LDO_SEL_MASK 0x0C #define LDO_SEL_MASK 0x0C
...@@ -259,6 +260,13 @@ ...@@ -259,6 +260,13 @@
#define LDO_ST_MODE_BIT 0x02 #define LDO_ST_MODE_BIT 0x02
/* Registers LDO1 to LDO8 in tps65910 */
#define LDO1_SEL_MASK 0xFC
#define LDO3_SEL_MASK 0x7C
#define LDO_MIN_VOLT 1000
#define LDO_MAX_VOLT 3300;
/*Register VDIG1 (0x80) register.RegisterDescription */ /*Register VDIG1 (0x80) register.RegisterDescription */
#define VDIG1_SEL_MASK 0x0C #define VDIG1_SEL_MASK 0x0C
#define VDIG1_SEL_SHIFT 2 #define VDIG1_SEL_SHIFT 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment