the following patch was just integrated into master:
commit f4fd169c67169c74b5e581f86dea8259a46d627c
Author: Sven Schnelle <svens(a)stackframe.org>
Date: Sun Oct 23 15:53:47 2011 +0200
Add driver for ICS954309 clock generator
Change-Id: Iac7e91cdd995dad1954eaa2d4dd52bffa293fc95
Signed-off-by: Sven Schnelle <svens(a)stackframe.org>
Build-Tested: build bot (Jenkins) at Tue Oct 25 19:07:49 2011, giving +1
Reviewed-By: Sven Schnelle <svens(a)stackframe.org> at Tue Oct 25 19:22:21 2011, giving +2
See http://review.coreboot.org/327 for details.
-gerrit
the following patch was just integrated into master:
commit 96d3f107bdc76252cbe3e22c7aef59c89f3ab988
Author: Sven Schnelle <svens(a)stackframe.org>
Date: Sun Oct 23 16:35:01 2011 +0200
i82801gx: Add setting for C4onC3 mode
If this bit is set, ich7 will enter C4 mode if possible instead of
C3. See ich7 specification (LPC controller, Power management control
registers) for more details.
Change-Id: I352cccdbc51ff6269f153a4542c7ee1df0c01d22
Signed-off-by: Sven Schnelle <svens(a)stackframe.org>
Reviewed-By: Patrick Georgi <patrick(a)georgi-clan.de> at Tue Oct 25 08:44:14 2011, giving +2
Build-Tested: build bot (Jenkins) at Mon Oct 24 00:24:10 2011, giving +1
See http://review.coreboot.org/329 for details.
-gerrit
the following patch was just integrated into master:
commit 724a8e37a6175b9c13e8300109aa3f03b75828c8
Author: Sven Schnelle <svens(a)stackframe.org>
Date: Sat Oct 22 13:41:16 2011 +0200
SPEEDSTEP: write _CST tables
Change-Id: Idb4b57044808918de343d31519768d0986840f01
Signed-off-by: Sven Schnelle <svens(a)stackframe.org>
Reviewed-By: Patrick Georgi <patrick(a)georgi-clan.de> at Tue Oct 25 08:42:11 2011, giving +2
Build-Tested: build bot (Jenkins) at Sun Oct 23 23:31:50 2011, giving +1
See http://review.coreboot.org/321 for details.
-gerrit
the following patch was just integrated into master:
commit f9753ed4de627c84d989673966d8f6cc1230ce39
Author: Sven Schnelle <svens(a)stackframe.org>
Date: Fri Oct 21 21:46:47 2011 +0200
ACPI: Add function for writing _CST tables
Change-Id: I4e16a0d37717c56a3529f9f9fdb05efec1d93f99
Signed-off-by: Sven Schnelle <svens(a)stackframe.org>
Reviewed-By: Patrick Georgi <patrick(a)georgi-clan.de> at Tue Oct 25 08:41:37 2011, giving +2
Build-Tested: build bot (Jenkins) at Sun Oct 23 23:41:42 2011, giving +1
See http://review.coreboot.org/312 for details.
-gerrit
Sven Schnelle (svens(a)stackframe.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/327
-gerrit
commit f4fd169c67169c74b5e581f86dea8259a46d627c
Author: Sven Schnelle <svens(a)stackframe.org>
Date: Sun Oct 23 15:53:47 2011 +0200
Add driver for ICS954309 clock generator
Change-Id: Iac7e91cdd995dad1954eaa2d4dd52bffa293fc95
Signed-off-by: Sven Schnelle <svens(a)stackframe.org>
---
src/drivers/Kconfig | 2 +-
src/drivers/Makefile.inc | 2 +-
src/drivers/ics/954309/Kconfig | 2 +
src/drivers/ics/954309/Makefile.inc | 1 +
src/drivers/ics/954309/chip.h | 37 +++++++++++++++++
src/drivers/ics/954309/ics954309.c | 77 +++++++++++++++++++++++++++++++++++
src/drivers/ics/Kconfig | 1 +
src/drivers/ics/Makefile.inc | 1 +
8 files changed, 121 insertions(+), 2 deletions(-)
diff --git a/src/drivers/Kconfig b/src/drivers/Kconfig
index 98f2079..259bc29 100644
--- a/src/drivers/Kconfig
+++ b/src/drivers/Kconfig
@@ -25,4 +25,4 @@ source src/drivers/i2c/Kconfig
source src/drivers/oxford/Kconfig
source src/drivers/sil/Kconfig
source src/drivers/trident/Kconfig
-
+source src/drivers/ics/Kconfig
diff --git a/src/drivers/Makefile.inc b/src/drivers/Makefile.inc
index ae7a098..21a698a 100644
--- a/src/drivers/Makefile.inc
+++ b/src/drivers/Makefile.inc
@@ -25,4 +25,4 @@ subdirs-y += i2c
subdirs-y += oxford
subdirs-y += sil
subdirs-y += trident
-
+subdirs-y += ics
diff --git a/src/drivers/ics/954309/Kconfig b/src/drivers/ics/954309/Kconfig
new file mode 100644
index 0000000..43840a3
--- /dev/null
+++ b/src/drivers/ics/954309/Kconfig
@@ -0,0 +1,2 @@
+config DRIVERS_ICS_954309
+ bool
diff --git a/src/drivers/ics/954309/Makefile.inc b/src/drivers/ics/954309/Makefile.inc
new file mode 100644
index 0000000..ede9639
--- /dev/null
+++ b/src/drivers/ics/954309/Makefile.inc
@@ -0,0 +1 @@
+driver-$(CONFIG_DRIVERS_ICS_954309) += ics954309.c
diff --git a/src/drivers/ics/954309/chip.h b/src/drivers/ics/954309/chip.h
new file mode 100644
index 0000000..8dfc3e0
--- /dev/null
+++ b/src/drivers/ics/954309/chip.h
@@ -0,0 +1,37 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2011 Sven Schnelle <svens(a)stackframe.org>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; version 2 of
+ * the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ * MA 02110-1301 USA
+ */
+
+extern struct chip_operations drivers_ics_954309_ops;
+
+struct drivers_ics_954309_config {
+ u8 reg0;
+ u8 reg1;
+ u8 reg2;
+ u8 reg3;
+ u8 reg4;
+ u8 reg5;
+ u8 reg6;
+ u8 reg7;
+ u8 reg8;
+ u8 reg9;
+ u8 reg10;
+ u8 reg11;
+};
diff --git a/src/drivers/ics/954309/ics954309.c b/src/drivers/ics/954309/ics954309.c
new file mode 100644
index 0000000..ef62879
--- /dev/null
+++ b/src/drivers/ics/954309/ics954309.c
@@ -0,0 +1,77 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2011 Sven Schnelle <svens(a)stackframe.org>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; version 2 of
+ * the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ * MA 02110-1301 USA
+ */
+
+#include <console/console.h>
+#include <device/device.h>
+#include <device/smbus.h>
+#include <device/pci.h>
+#include <device/pci_ids.h>
+#include <device/pci_ops.h>
+#include <cpu/x86/msr.h>
+#include "chip.h"
+#include <string.h>
+
+static void ics954309_init(device_t dev)
+{
+ struct drivers_ics_954309_config *config;
+ u8 initdata[12];
+
+ if (!dev->enabled || dev->path.type != DEVICE_PATH_I2C)
+ return;
+
+ config = dev->chip_info;
+
+ initdata[0] = config->reg0;
+ initdata[1] = config->reg1;
+ initdata[2] = config->reg2;
+ initdata[3] = config->reg3;
+ initdata[4] = config->reg4;
+ initdata[5] = config->reg5;
+ initdata[6] = config->reg6;
+ initdata[7] = config->reg7;
+ initdata[8] = config->reg8;
+ initdata[9] = config->reg9;
+ initdata[10] = config->reg10;
+ initdata[11] = config->reg11;
+
+ smbus_block_write(dev, 0, 12, initdata);
+}
+
+static void ics954309_noop(device_t dummy)
+{
+}
+
+static struct device_operations ics954309_operations = {
+ .read_resources = ics954309_noop,
+ .set_resources = ics954309_noop,
+ .enable_resources = ics954309_noop,
+ .init = ics954309_init,
+};
+
+static void enable_dev(struct device *dev)
+{
+ dev->ops = &ics954309_operations;
+}
+
+struct chip_operations drivers_ics_954309_ops = {
+ CHIP_NAME("ICS 954309 Clock generator")
+ .enable_dev = enable_dev,
+};
diff --git a/src/drivers/ics/Kconfig b/src/drivers/ics/Kconfig
new file mode 100644
index 0000000..0a0ba66
--- /dev/null
+++ b/src/drivers/ics/Kconfig
@@ -0,0 +1 @@
+source src/drivers/ics/954309/Kconfig
diff --git a/src/drivers/ics/Makefile.inc b/src/drivers/ics/Makefile.inc
new file mode 100644
index 0000000..39cc90b
--- /dev/null
+++ b/src/drivers/ics/Makefile.inc
@@ -0,0 +1 @@
+subdirs-$(CONFIG_DRIVERS_ICS_954309) += 954309
the following patch was just integrated into master:
commit 6a22d1c7e41a6ee47d32572afebc035c114390a3
Author: Christoph Grenz <christophg+cb(a)grenz-bonn.de>
Date: Wed Oct 19 02:24:23 2011 +0200
w83627hf: correct typo in ASL include, correct indexed registers and remove unneccesary _PR0 defs
Correct a typo in devtree.asl which causes AML processors to fail executing
the DSDT with AE_NO_MEMORY or (in case of acpiexec) Divide By Zero.
Also removes an superfluous item in the register IndexField and removes
unneccessary _PR0 definitions which could confuse AML processors.
Change-Id: I02cb9ce4e8f2101cfff8cec4abba7e070fd66364
Signed-off-by: Christoph Grenz <christophg+cb(a)grenz-bonn.de>
Build-Tested: build bot (Jenkins) at Wed Oct 19 02:43:30 2011, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Tue Oct 25 17:50:13 2011, giving +2
See http://review.coreboot.org/296 for details.
-gerrit
the following patch was just integrated into master:
commit 0139e6e1c0527c0be622e92f596a3b159ecde2e2
Author: Sven Schnelle <svens(a)stackframe.org>
Date: Tue Oct 25 15:29:47 2011 +0200
Lenovo H8: Fix h8_set_audio_mute()
Logic is inverted (if argument is true, one would expect that
mute is enabled) and the wrong bit was used (1 instead 0)
Change-Id: I71133ba639f1fb0d3c3582f16211dd266a11cc64
Signed-off-by: Sven Schnelle <svens(a)stackframe.org>
Build-Tested: build bot (Jenkins) at Tue Oct 25 15:53:56 2011, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Tue Oct 25 17:37:47 2011, giving +2
See http://review.coreboot.org/334 for details.
-gerrit
the following patch was just integrated into master:
commit d5e94e6830f868d7437f0749be65f0d25869d61f
Author: Sven Schnelle <svens(a)stackframe.org>
Date: Tue Oct 25 15:31:26 2011 +0200
X60/T60: remove superflous h8_set_audio_mute()
muting is handled by h8 code, no need to do it here.
Change-Id: I3f152e99f30701cd032b03105cbe3ae778865305
Signed-off-by: Sven Schnelle <svens(a)stackframe.org>
Build-Tested: build bot (Jenkins) at Tue Oct 25 16:05:28 2011, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Tue Oct 25 17:38:37 2011, giving +2
See http://review.coreboot.org/335 for details.
-gerrit
the following patch was just integrated into master:
commit 51a30f09e47bc743cf9530e86fbfd79c4dc9e2a6
Author: Sven Schnelle <svens(a)stackframe.org>
Date: Sun Oct 23 15:36:15 2011 +0200
i82801gx: Add write and read/write block functions
Change-Id: Icbfc47a8d7bfe1600e4212b26e99b2a604de9ef7
Signed-off-by: Sven Schnelle <svens(a)stackframe.org>
Build-Tested: build bot (Jenkins) at Mon Oct 24 16:13:40 2011, giving +1
Reviewed-By: Stefan Reinauer <stefan.reinauer(a)coreboot.org> at Tue Oct 25 17:35:43 2011, giving +2
See http://review.coreboot.org/326 for details.
-gerrit