Mario Scheithauer has uploaded this change for review. ( https://review.coreboot.org/21694
Change subject: siemens/nc_fpga: Move some parameters to another function
......................................................................
siemens/nc_fpga: Move some parameters to another function
For general use of this driver it is necessary to move some parameters
from init_fan_ctrl() to init_temp_mon(). This shift does not lead to any
functional change.
Change-Id: I6b8f770c768f3dacf96087eb0194cc99f0d11e17
Signed-off-by: Mario Scheithauer <mario.scheithauer(a)siemens.com>
---
M src/drivers/siemens/nc_fpga/nc_fpga.c
1 file changed, 5 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/21694/1
diff --git a/src/drivers/siemens/nc_fpga/nc_fpga.c b/src/drivers/siemens/nc_fpga/nc_fpga.c
index 61d9e08..28fc6e2 100644
--- a/src/drivers/siemens/nc_fpga/nc_fpga.c
+++ b/src/drivers/siemens/nc_fpga/nc_fpga.c
@@ -53,6 +53,11 @@
}
}
ctrl->sensornum = num;
+
+ /* Program sensor selection and temperature thresholds. */
+ FPGA_SET_PARAM(FANSensorSelect, ctrl->sensorselect);
+ FPGA_SET_PARAM(T_Warn, ctrl->t_warn);
+ FPGA_SET_PARAM(T_Crit, ctrl->t_crit);
}
static void init_fan_ctrl (void *base_adr)
@@ -61,9 +66,6 @@
volatile fan_ctrl_t *ctrl = (fan_ctrl_t *)base_adr;
/* Program all needed fields of FAN controller. */
- FPGA_SET_PARAM(FANSensorSelect, ctrl->sensorselect);
- FPGA_SET_PARAM(T_Warn, ctrl->t_warn);
- FPGA_SET_PARAM(T_Crit, ctrl->t_crit);
FPGA_SET_PARAM(FANSamplingTime, ctrl->samplingtime);
FPGA_SET_PARAM(FANSetPoint, ctrl->setpoint);
FPGA_SET_PARAM(FANHystCtrl, ctrl->hystctrl);
--
To view, visit https://review.coreboot.org/21694
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b8f770c768f3dacf96087eb0194cc99f0d11e17
Gerrit-Change-Number: 21694
Gerrit-PatchSet: 1
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Hello Anshuman Gupta,
I'd like you to do a code review. Please visit
https://review.coreboot.org/21692
to review the following change.
Change subject: mainboard/google/soraka: Reduce Wacom resume time
......................................................................
mainboard/google/soraka: Reduce Wacom resume time
Currently the WCOMCOHO registers a reset delay of 110ms to execute their
_ON_ asl power on method. This seems to be correct as per WACOM product
design specifications but it introduces an unwanted delay in overall system
resume time. This delay should be removed from ACPI critical path since the
entire kernel resume gets blocked on this sleep call unless this is over. In
the kernel I2C communication with WACOM driver starts with the resume
callbacks of I2C HID driver which gets triggered after display is completely
resumed. The display resume process takes at least 230ms so its safe to
reduce the delay from coreboot and unblock the critical ACPI path.
BUG=b:65358919
BRANCH=None
TEST=manual testing on Soraka board to ensue that touchscreen works at boot
and after suspend/resume. Also verify that the overall S3 resume time is
reduced by 100ms.
Change-Id: I59d070977a95316414018af69d5b43e3147ccf4e
Signed-off-by: Anshuman Gupta <anshuman.gupta(a)intel.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj(a)intel.com>
---
M src/mainboard/google/poppy/variants/soraka/devicetree.cb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/21692/1
diff --git a/src/mainboard/google/poppy/variants/soraka/devicetree.cb b/src/mainboard/google/poppy/variants/soraka/devicetree.cb
index b874093..93d9b7a 100644
--- a/src/mainboard/google/poppy/variants/soraka/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/soraka/devicetree.cb
@@ -224,7 +224,7 @@
register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)"
register "generic.probed" = "1"
register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E3)"
- register "generic.reset_delay_ms" = "110"
+ register "generic.reset_delay_ms" = "10"
register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C22)"
register "generic.enable_delay_ms" = "1"
register "generic.has_power_resource" = "1"
--
To view, visit https://review.coreboot.org/21692
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I59d070977a95316414018af69d5b43e3147ccf4e
Gerrit-Change-Number: 21692
Gerrit-PatchSet: 1
Gerrit-Owner: Rajneesh Bhardwaj <rajneesh.bhardwaj(a)intel.com>
Gerrit-Reviewer: Anshuman Gupta <anshuman.gupta(a)intel.com>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Rajat Jain <rajatja(a)google.com>
Gerrit-Reviewer: Rizwan Qureshi <rizwan.qureshi(a)intel.com>
Gerrit-Reviewer: Sumeet Pawnikar <sumeet.r.pawnikar(a)intel.corp-partner.google.com>