David Hendricks (dhendrix(a)chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3110
-gerrit
commit 1a89881005c8d3505e147f335551fe0e7fd4806b
Author: David Hendricks <dhendrix(a)chromium.org>
Date: Thu Apr 18 13:49:57 2013 -0700
google/snow: enable clock gating to save power
This enables clock gating to save power on unused IPs.
Change-Id: I9ab2a2535ebb91bb4110390a6f055a67146bdbf9
Signed-off-by: David Hendricks <dhendrix(a)chromium.org>
---
src/mainboard/google/snow/ramstage.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mainboard/google/snow/ramstage.c b/src/mainboard/google/snow/ramstage.c
index f3dad4a..795b545 100644
--- a/src/mainboard/google/snow/ramstage.c
+++ b/src/mainboard/google/snow/ramstage.c
@@ -220,6 +220,9 @@ static void mainboard_init(device_t dev)
tmu_init(&exynos5250_tmu_info);
+ /* Clock Gating all the unused IP's to save power */
+ clock_gate();
+
snow_lcd_vdd();
do {
udelay(50);
David Hendricks (dhendrix(a)chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3109
-gerrit
commit 2de99521dae35bbdfb89d30a595fe4fdaea6d5c9
Author: David Hendricks <dhendrix(a)chromium.org>
Date: Thu Apr 18 13:46:00 2013 -0700
google/snow: disable unused USB3.0 PLL to save power
This PLL is unused and can be disabled to save about 250mW.
Change-Id: I1be37304d6ea5ff78696e05ad1023ce3c57f636c
Signed-off-by: David Hendricks <dhendrix(a)chromium.org>
---
src/mainboard/google/snow/ramstage.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/mainboard/google/snow/ramstage.c b/src/mainboard/google/snow/ramstage.c
index f3dad4a..98ad456 100644
--- a/src/mainboard/google/snow/ramstage.c
+++ b/src/mainboard/google/snow/ramstage.c
@@ -206,6 +206,16 @@ static struct video_info snow_dp_video_info = {
#define EXYNOS5250_DP1_BASE 0x145b0000
#define SNOW_MAX_DP_TRIES 5
+/*
+ * This functions disable the USB3.0 PLL to save power
+ */
+static void disable_usb30_pll(void)
+{
+ enum exynos5_gpio_pin usb3_pll_l = GPIO_Y11;
+
+ gpio_direction_output(usb3_pll_l, 0);
+}
+
/* this happens after cpu_init where exynos resources are set */
static void mainboard_init(device_t dev)
{
@@ -220,6 +230,9 @@ static void mainboard_init(device_t dev)
tmu_init(&exynos5250_tmu_info);
+ /* Disable USB3.0 PLL to save 250mW of power */
+ disable_usb30_pll();
+
snow_lcd_vdd();
do {
udelay(50);
David Hendricks (dhendrix(a)chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3111
-gerrit
commit 2303cbbd583dbbd76cd0cba08ab09ba3603969a0
Author: Ronald G. Minnich <rminnich(a)gmail.com>
Date: Thu Apr 18 16:10:29 2013 -0700
exynos5250: get xres and yres out of the device tree and into the panel descriptor
We neglected to copy xres and yres out; now we do.
Change-Id: Icc4a8eb35799d156b11274f71bcfb4a1d10e01e3
Signed-off-by: Ronald G. Minnich <rminnich(a)gmail.com>
---
src/cpu/samsung/exynos5250/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/cpu/samsung/exynos5250/cpu.c b/src/cpu/samsung/exynos5250/cpu.c
index ee33cf3..09b670e 100644
--- a/src/cpu/samsung/exynos5250/cpu.c
+++ b/src/cpu/samsung/exynos5250/cpu.c
@@ -51,6 +51,8 @@ static void exynos_displayport_init(device_t dev)
panel.left_margin = conf->left_margin;
panel.right_margin = conf->right_margin;
panel.hsync = conf->hsync;
+ panel.xres = conf->xres;
+ panel.yres = conf->yres;
vi.vl_col = conf->xres;
vi.vl_row = conf->yres;
the following patch was just integrated into master:
commit 34240b06d8c5d6cc9068279e627ac4d1ebca625b
Author: David Hendricks <dhendrix(a)chromium.org>
Date: Thu Apr 18 15:19:40 2013 -0700
[3/3] google/snow: enable TMU
This enables the thermal management unit (TMU) on Snow.
Change-Id: Idd76af40bf0a5408baf61ef2665fd52ae4e260ba
Signed-off-by: David Hendricks <dhendrix(a)chromium.org>
Reviewed-on: http://review.coreboot.org/3108
Reviewed-by: Ronald G. Minnich <rminnich(a)gmail.com>
Tested-by: build bot (Jenkins)
Build-Tested: build bot (Jenkins) at Fri Apr 19 03:57:51 2013, giving +1
See http://review.coreboot.org/3108 for details.
-gerrit
the following patch was just integrated into master:
commit cd14ed71bb25bf04ea450bdbd02805be5f9b1941
Author: David Hendricks <dhendrix(a)chromium.org>
Date: Thu Apr 18 14:21:15 2013 -0700
[2/3] exynos5: modify thermal management unit code for coreboot
This updates the Exynos TMU code for coreboot:
- Remove dependency on device tree
- Add Makefile entries
Change-Id: I55e1b624d7c7b695b1253ec55f6ae3de8dc671bc
Signed-off-by: David Hendricks <dhendrix(a)chromium.org>
Reviewed-on: http://review.coreboot.org/3107
Reviewed-by: Ronald G. Minnich <rminnich(a)gmail.com>
Tested-by: build bot (Jenkins)
Build-Tested: build bot (Jenkins) at Fri Apr 19 03:28:00 2013, giving +1
See http://review.coreboot.org/3107 for details.
-gerrit
the following patch was just integrated into master:
commit 90a70093b1ca20781b7a92dd04500881a94539b2
Author: David Hendricks <dhendrix(a)chromium.org>
Date: Thu Apr 18 14:01:45 2013 -0700
[1/3] exynos5: import thermal management unit code
This simply imports the Exynos TMU driver from u-boot. It is not
built and thus should not break anything.
Change-Id: I7861132fbf97f864e4250ffbda1ef3843f296ddc
Signed-off-by: David Hendricks <dhendrix(a)chromium.org>
Reviewed-on: http://review.coreboot.org/3106
Reviewed-by: Ronald G. Minnich <rminnich(a)gmail.com>
Tested-by: build bot (Jenkins)
Build-Tested: build bot (Jenkins) at Fri Apr 19 01:48:29 2013, giving +1
See http://review.coreboot.org/3106 for details.
-gerrit
the following patch was just integrated into master:
commit b9e6e1ab35c54ed5bd32a2f25a86f73c46d1acb3
Author: David Hendricks <dhendrix(a)chromium.org>
Date: Thu Apr 18 15:04:43 2013 -0700
exynos5: move power_enable_hw_thermal_trip() prototype
This moves the prototype for power_enable_hw_thermal_trip() to
a generic location so it can be used by generalized thermal
management code. The implementation will still be CPU-specific.
Change-Id: Iae449cb8c72c8441dedaf65b73db9898b4730cef
Signed-off-by: David Hendricks <dhendrix(a)chromium.org>
Reviewed-on: http://review.coreboot.org/3105
Reviewed-by: Ronald G. Minnich <rminnich(a)gmail.com>
Tested-by: build bot (Jenkins)
Build-Tested: build bot (Jenkins) at Fri Apr 19 01:16:00 2013, giving +1
See http://review.coreboot.org/3105 for details.
-gerrit
Ronald G. Minnich (rminnich(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3111
-gerrit
commit 60975a7d325b5dd612c0bdea9bf4cbf4893d6fe6
Author: Ronald G. Minnich <rminnich(a)gmail.com>
Date: Thu Apr 18 16:10:29 2013 -0700
exynos5250: get xres and yres out of the device tree and into the panel descriptor
We neglected to copy xres and yres out; now we do.
Change-Id: Icc4a8eb35799d156b11274f71bcfb4a1d10e01e3
Signed-off-by: Ronald G. Minnich <rminnich(a)gmail.com>
---
src/cpu/samsung/exynos5250/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/cpu/samsung/exynos5250/cpu.c b/src/cpu/samsung/exynos5250/cpu.c
index ee33cf3..09b670e 100644
--- a/src/cpu/samsung/exynos5250/cpu.c
+++ b/src/cpu/samsung/exynos5250/cpu.c
@@ -51,6 +51,8 @@ static void exynos_displayport_init(device_t dev)
panel.left_margin = conf->left_margin;
panel.right_margin = conf->right_margin;
panel.hsync = conf->hsync;
+ panel.xres = conf->xres;
+ panel.yres = conf->yres;
vi.vl_col = conf->xres;
vi.vl_row = conf->yres;