summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-davinci/0002-DefDcDcTiedhigh.patch
blob: ff60c41fff8c0bc9a4c924ecf13571785a8e4114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From: Sekhar Nori <nsekhar@ti.com>
Date: Mon, 21 Dec 2009 09:13:49 +0000 (+0530)
Subject: davinci: da850/omap-l138 evm: account for defdcdc{2,3} being tied high
X-Git-Url: http://arago-project.org/git/people/?p=sekhar%2Flinux-omapl1.git;a=commitdiff_plain;h=2aa1058a4db0681929ba09f50da89f4fe283e0bd

davinci: da850/omap-l138 evm: account for defdcdc{2,3} being tied high

Per the da850/omap-l138 Beta EVM SOM schematic, the defdcdc2 and
defdcdc3 lines are tied high by default. This leads to a 3.3V IO
and 1.2V CVDD voltage.

For the TPS6507x driver, it means that the DEFDCDC_HIGH registers
need to be read/written instead of DEFDCDC_LOW register. The tps6507x
driver added this functionality recently. This patch passes the right
platform data to the TPS6507x which tells it that the HIGH register
needs to be read instead of the LOW register.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---

diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index 607dd2d..9ed07d6 100755
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -599,6 +599,7 @@ struct regulator_init_data tps65070_regulator_data[] = {
 		},
 		.num_consumer_supplies = ARRAY_SIZE(tps65070_dcdc2_consumers),
 		.consumer_supplies = tps65070_dcdc2_consumers,
+		.driver_data = (void *) 1,
 	},
 
 	/* dcdc3 */
@@ -612,6 +613,7 @@ struct regulator_init_data tps65070_regulator_data[] = {
 		},
 		.num_consumer_supplies = ARRAY_SIZE(tps65070_dcdc3_consumers),
 		.consumer_supplies = tps65070_dcdc3_consumers,
+		.driver_data = (void *) 1,
 	},
 
 	/* ldo1 */