All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3 RESEND] MC13892: Add SWx buck switchers definitions
@ 2011-01-19 14:40 Marek Vasut
  2011-01-19 14:40 ` [U-Boot] [PATCH 2/3 v2] MX51EVK: Use SWx macros in PMIC init Marek Vasut
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Marek Vasut @ 2011-01-19 14:40 UTC (permalink / raw)
  To: u-boot

Define voltages configurable on SWx buck switchers.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Stefano Babic <sbabic@denx.de>
---
 include/mc13892.h |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/include/mc13892.h b/include/mc13892.h
index 61c3e6e..a1078a5 100644
--- a/include/mc13892.h
+++ b/include/mc13892.h
@@ -160,4 +160,43 @@
 /* Reg Power Control 2*/
 #define WDIRESET	(1 << 12)
 
+/* Buck Switchers (SW1,2,3,4) Output Voltage */
+/* 
+ * NOTE: These values are for SWxHI = 0,
+ * SWxHI = 1 adds 0.5V to the desired voltage
+ */
+#define SWx_0_600V	0
+#define SWx_0_625V	1
+#define SWx_0_650V	2
+#define SWx_0_675V	3
+#define SWx_0_700V	4
+#define SWx_0_725V	5
+#define SWx_0_750V	6
+#define SWx_0_775V	7
+#define SWx_0_800V	8
+#define SWx_0_825V	9
+#define SWx_0_850V	10
+#define SWx_0_875V	11
+#define SWx_0_900V	12
+#define SWx_0_925V	13
+#define SWx_0_950V	14
+#define SWx_0_975V	15
+#define SWx_1_000V	16
+#define SWx_1_025V	17
+#define SWx_1_050V	18
+#define SWx_1_075V	19
+#define SWx_1_100V	20
+#define SWx_1_125V	21
+#define SWx_1_150V	22
+#define SWx_1_175V	23
+#define SWx_1_200V	24
+#define SWx_1_225V	25
+#define SWx_1_250V	26
+#define SWx_1_275V	27
+#define SWx_1_300V	28
+#define SWx_1_325V	29
+#define SWx_1_350V	30
+#define SWx_1_375V	31
+#define SWx_VOLT_MASK	0x1F
+
 #endif
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [U-Boot] [PATCH 1/3 v2] MC13892: Add SWx buck switchers definitions
@ 2011-01-18 23:19 Marek Vasut
  2011-01-18 23:19 ` [U-Boot] [PATCH 3/3 v4] iMX5: EfikaMX: Preliminary board support Marek Vasut
  0 siblings, 1 reply; 17+ messages in thread
From: Marek Vasut @ 2011-01-18 23:19 UTC (permalink / raw)
  To: u-boot

Define voltages configurable on SWx buck switchers.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
v2: Add note about SWxHI

 include/mc13892.h |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/include/mc13892.h b/include/mc13892.h
index 61c3e6e..a1078a5 100644
--- a/include/mc13892.h
+++ b/include/mc13892.h
@@ -160,4 +160,43 @@
 /* Reg Power Control 2*/
 #define WDIRESET	(1 << 12)
 
+/* Buck Switchers (SW1,2,3,4) Output Voltage */
+/* 
+ * NOTE: These values are for SWxHI = 0,
+ * SWxHI = 1 adds 0.5V to the desired voltage
+ */
+#define SWx_0_600V	0
+#define SWx_0_625V	1
+#define SWx_0_650V	2
+#define SWx_0_675V	3
+#define SWx_0_700V	4
+#define SWx_0_725V	5
+#define SWx_0_750V	6
+#define SWx_0_775V	7
+#define SWx_0_800V	8
+#define SWx_0_825V	9
+#define SWx_0_850V	10
+#define SWx_0_875V	11
+#define SWx_0_900V	12
+#define SWx_0_925V	13
+#define SWx_0_950V	14
+#define SWx_0_975V	15
+#define SWx_1_000V	16
+#define SWx_1_025V	17
+#define SWx_1_050V	18
+#define SWx_1_075V	19
+#define SWx_1_100V	20
+#define SWx_1_125V	21
+#define SWx_1_150V	22
+#define SWx_1_175V	23
+#define SWx_1_200V	24
+#define SWx_1_225V	25
+#define SWx_1_250V	26
+#define SWx_1_275V	27
+#define SWx_1_300V	28
+#define SWx_1_325V	29
+#define SWx_1_350V	30
+#define SWx_1_375V	31
+#define SWx_VOLT_MASK	0x1F
+
 #endif
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-02-01 17:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-19 14:40 [U-Boot] [PATCH 1/3 RESEND] MC13892: Add SWx buck switchers definitions Marek Vasut
2011-01-19 14:40 ` [U-Boot] [PATCH 2/3 v2] MX51EVK: Use SWx macros in PMIC init Marek Vasut
2011-02-01 17:44   ` Stefano Babic
2011-01-19 14:40 ` [U-Boot] [PATCH 3/3 v4] iMX5: EfikaMX: Preliminary board support Marek Vasut
2011-01-31 10:00   ` Marek Vasut
2011-01-31 10:20     ` Stefano Babic
2011-01-31 12:06       ` Albert ARIBAUD
2011-01-31 13:02         ` Stefano Babic
2011-02-01  6:14         ` Prafulla Wadaskar
2011-02-01  6:52           ` Albert ARIBAUD
2011-02-01  6:53             ` Albert ARIBAUD
2011-02-01  7:57             ` Wolfgang Denk
2011-02-01 12:29               ` Albert ARIBAUD
2011-01-31 12:26       ` Marek Vasut
2011-02-01 17:48   ` Stefano Babic
2011-02-01 17:42 ` [U-Boot] [PATCH 1/3 RESEND] MC13892: Add SWx buck switchers definitions Stefano Babic
  -- strict thread matches above, loose matches on Subject: below --
2011-01-18 23:19 [U-Boot] [PATCH 1/3 v2] " Marek Vasut
2011-01-18 23:19 ` [U-Boot] [PATCH 3/3 v4] iMX5: EfikaMX: Preliminary board support Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.