Lijian Zhao has posted comments on this change. ( https://review.coreboot.org/28073 )
Change subject: mainboard/google/nocturne: turn off cams in D3
......................................................................
Patch Set 1:
> Patch Set 1:
>
> (1 comment)
_PR3 will Returns a list of dependent power resources to enter state D3hot. In this case, that means the _OFF in power resource will be called when transit into to D3hot state.
Also the following line copied from ACPI spec chapter 7.3
• If there exists an ACPI Object to set a device to D0 (either through _PSx or _PRx objects), then
the corresponding object to set the device into a deeper Dx must also be declared, and vice versa.
--
To view, visit https://review.coreboot.org/28073
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id52c2499c3b7577f03395cc9ca2460f25b80e13f
Gerrit-Change-Number: 28073
Gerrit-PatchSet: 1
Gerrit-Owner: Matt Delco <delco(a)chromium.org>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Matt Delco <delco(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Lance Zhao <lance.zhao(a)gmail.com>
Gerrit-Comment-Date: Tue, 14 Aug 2018 06:57:56 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/28068 )
Change subject: soc/intel/common/block/cpu: add function to init cppc_config
......................................................................
Patch Set 3:
Why don't you put it into src/cpu/intel ? It looks like version 2 could be used on all Intel CPUs in tree.
--
To view, visit https://review.coreboot.org/28068
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib767df63d796bd1f21e36bcf575cf912e09090a1
Gerrit-Change-Number: 28068
Gerrit-PatchSet: 3
Gerrit-Owner: Matt Delco <delco(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Comment-Date: Tue, 14 Aug 2018 06:27:08 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
Matt Delco has posted comments on this change. ( https://review.coreboot.org/28073 )
Change subject: mainboard/google/nocturne: turn off cams in D3
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/28073/1//COMMIT_MSG
Commit Message:
https://review.coreboot.org/#/c/28073/1//COMMIT_MSG@9
PS1, Line 9: This means that we're
: telling the OS that the cams need power in both D0 and D3 (and not the
: intermediate states)
> I don't think that's how OSPM to determine the power needed or not in D3 state. […]
My understanding is that the _PR3 means the devices will have power in D3hot.
Prior to this change the device would have power in D0 and D3hot, but not D1, D2, or D3cold. After this change only D0 will have power. All the cam devices I can find outside of coreboot have a _PR0 but not a _PR3. It seems more appropriate to remove the _PR3 than add a _PR2 (and probably also a "Name(_S0W, 4)" to make Windows think it's okay to transition the device to D3cold).
--
To view, visit https://review.coreboot.org/28073
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id52c2499c3b7577f03395cc9ca2460f25b80e13f
Gerrit-Change-Number: 28073
Gerrit-PatchSet: 1
Gerrit-Owner: Matt Delco <delco(a)chromium.org>
Gerrit-Reviewer: Lijian Zhao <lijian.zhao(a)intel.com>
Gerrit-Reviewer: Matt Delco <delco(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Lance Zhao <lance.zhao(a)gmail.com>
Gerrit-Comment-Date: Tue, 14 Aug 2018 04:54:14 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Matt Delco has uploaded this change for review. ( https://review.coreboot.org/28076
Change subject: mb/google/poppy/variants/nocturne: remove dup'ed dptf_enable
......................................................................
mb/google/poppy/variants/nocturne: remove dup'ed dptf_enable
This file contains two instances of "dptf_enable" = "1". This chanes
removes the 2nd instance (it doesn't have an explicit comment like the
1st instance).
The dptf devices still seem to be present even with this change, as
expected.
Change-Id: I890006644be9176ebaf555cc121c816e12f2b596
Signed-off-by: Matt Delco <delco(a)chromium.org>
---
M src/mainboard/google/poppy/variants/nocturne/devicetree.cb
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/28076/1
diff --git a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
index 4fbd0ff..88af929 100644
--- a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
@@ -61,7 +61,6 @@
# Set speed_shift_enable to 1 to enable P-States, and 0 to disable
register "speed_shift_enable" = "1"
- register "dptf_enable" = "1"
register "tdp_pl2_override" = "18"
register "psys_pmax" = "45"
register "tcc_offset" = "10"
--
To view, visit https://review.coreboot.org/28076
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I890006644be9176ebaf555cc121c816e12f2b596
Gerrit-Change-Number: 28076
Gerrit-PatchSet: 1
Gerrit-Owner: Matt Delco <delco(a)chromium.org>
Matt Delco has uploaded this change for review. ( https://review.coreboot.org/28075
Change subject: mb/google/poppy/variants/nocturne: sx9310 to 400kb
......................................................................
mb/google/poppy/variants/nocturne: sx9310 to 400kb
The spec of the sx9310 says the I2C interface can handle standard
(100kb/s) and fast mode (400kb/s). The current setting is using fast
plus (1000kb/s) so this change is reducing the speed to fast mode.
I've been using the sensors with this change for a few weeks now, though
I also don't recall seeing an issue prior to this change.
Change-Id: I337fc02c52565d6ec4d7bac1b3564f65238962dc
Signed-off-by: Matt Delco <delco(a)chromium.org>
---
M src/mainboard/google/poppy/variants/nocturne/devicetree.cb
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/28075/1
diff --git a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
index 2c074e9..4fbd0ff 100644
--- a/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nocturne/devicetree.cb
@@ -298,7 +298,7 @@
chip drivers/i2c/sx9310
register "desc" = ""Right SAR Proximity Sensor""
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)"
- register "speed" = "I2C_SPEED_FAST_PLUS"
+ register "speed" = "I2C_SPEED_FAST"
register "uid" = "0"
register "reg_prox_ctrl0" = "0x10"
register "reg_prox_ctrl1" = "0x00"
@@ -339,7 +339,7 @@
chip drivers/i2c/sx9310
register "desc" = ""Left SAR Proximity Sensor""
register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D10_IRQ)"
- register "speed" = "I2C_SPEED_FAST_PLUS"
+ register "speed" = "I2C_SPEED_FAST"
register "uid" = "1"
register "reg_prox_ctrl0" = "0x10"
register "reg_prox_ctrl1" = "0x00"
--
To view, visit https://review.coreboot.org/28075
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I337fc02c52565d6ec4d7bac1b3564f65238962dc
Gerrit-Change-Number: 28075
Gerrit-PatchSet: 1
Gerrit-Owner: Matt Delco <delco(a)chromium.org>