Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272715
b: refs/heads/master
c: 37efca7
h: refs/heads/master
i:
  272713: 7cabe1b
  272711: 1478472
v: v3
  • Loading branch information
Kevin Hilman committed Sep 15, 2011
1 parent 54f6fe2 commit 31b8b1f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ace19ffa9a580c7b3d2a7cd4bb9fda6071394d25
refs/heads/master: 37efca7e9deacf3c11bda82df5b7594f098daa69
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-omap2/voltage.c
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,9 @@ int __init omap_voltage_late_init(void)
pr_err("%s: Unable to create voltage debugfs main dir\n",
__func__);
list_for_each_entry(voltdm, &voltdm_list, node) {
if (!voltdm->scalable)
continue;

if (voltdm->vdd) {
if (omap_vdd_data_configure(voltdm))
continue;
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-omap2/voltage.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ struct omap_vfsm_instance_data {
/**
* struct voltagedomain - omap voltage domain global structure.
* @name: Name of the voltage domain which can be used as a unique identifier.
* @scalable: Whether or not this voltage domain is scalable
* @node: list_head linking all voltage domains
* @vdd: to be removed
*/
struct voltagedomain {
char *name;
bool scalable;
struct list_head node;
struct omap_vdd_info *vdd;
};
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/arm/mach-omap2/voltagedomains3xxx_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,13 @@ static struct omap_vdd_info omap3_vdd2_info = {

static struct voltagedomain omap3_voltdm_mpu = {
.name = "mpu_iva",
.scalable = true,
.vdd = &omap3_vdd1_info,
};

static struct voltagedomain omap3_voltdm_core = {
.name = "core",
.scalable = true,
.vdd = &omap3_vdd2_info,
};

Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-omap2/voltagedomains44xx_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,19 @@ static struct omap_vdd_info omap4_vdd_core_info = {

static struct voltagedomain omap4_voltdm_mpu = {
.name = "mpu",
.scalable = true,
.vdd = &omap4_vdd_mpu_info,
};

static struct voltagedomain omap4_voltdm_iva = {
.name = "iva",
.scalable = true,
.vdd = &omap4_vdd_iva_info,
};

static struct voltagedomain omap4_voltdm_core = {
.name = "core",
.scalable = true,
.vdd = &omap4_vdd_core_info,
};

Expand Down

0 comments on commit 31b8b1f

Please sign in to comment.