the following patch was just integrated into master:
commit 2c41dc9a1035fdc8a4f961bbca6e06011f3bd4df
Author: Shawn Nematbakhsh <shawnn(a)chromium.org>
Date: Fri Oct 4 11:47:21 2013 -0700
baytrail: make default GPIO configs closer to power-on defaults
- Set config0 defaults for hysteresis disable, pad bypass, etc.
- Set config1 power-on defaults.
- Set pad_val for input as default.
BUG=chrome-os-partner:22863
TEST=Manual. Enable GPIO_DEBUG and verify pad registers are set
according to expectation. Also verify bayleybay still boots to payload
loading.
Change-Id: I0f1c9e4d4f39c5c56d7e14a82eb4825612e19420
Reviewed-on: https://chromium-review.googlesource.com/171903
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
Commit-Queue: Shawn Nematbakhsh <shawnn(a)chromium.org>
Signed-off-by: Shawn Nematbakhsh <shawnn(a)chromium.org>
Tested-by: Shawn Nematbakhsh <shawnn(a)chromium.org>
Signed-off-by: Aaron Durbin <adurbin(a)chromium.org>
See http://review.coreboot.org/4866 for details.
-gerrit
the following patch was just integrated into master:
commit 452390b0fe6452fbfa0beaff65dce3ff81f130ea
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Sun Jan 26 14:41:54 2014 +0200
SMP: Add arch-agnostic boot_cpu()
We should not have x86 specific includes in lib/.
Change-Id: I18fa9c8017d65c166ffd465038d71f35b30d6f3d
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
See http://review.coreboot.org/5156 for details.
-gerrit
the following patch was just integrated into master:
commit b927d95a3a940cd21d84a63f5ba15f742b256248
Author: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Date: Sun Jan 26 14:44:18 2014 +0200
Move hexdump32() to lib/hexdump.
Needs printk and is not a console core function.
Change-Id: Id90a363eca133af4469663c1e8b504baa70471e0
Signed-off-by: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
See http://review.coreboot.org/5155 for details.
-gerrit
the following patch was just integrated into master:
commit d660985218c90592df1c0e0dfa6af89898e273cc
Author: Peter Stuge <peter(a)stuge.se>
Date: Fri Feb 7 03:58:24 2014 +0100
Kconfig: Move vendorcode menu up from the bottom to above Chipset menu
Change-Id: Ic97a497a634533f44d94df297ca6e35d94c34565
Signed-off-by: Peter Stuge <peter(a)stuge.se>
See http://review.coreboot.org/5160 for details.
-gerrit
the following patch was just integrated into master:
commit a381b9f62b655905b6c28869329e431399e35638
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Wed Jan 29 16:55:48 2014 -0600
cbfstool/lzma: Remove code which depends on commented out defines
These options seem to control the behavior of the encoder/decoder,
with comments citing a trade-off between memory usage and performance.
I removed these in a separate patch to make reverting in the future
easier, if we find these options are useful.
Change-Id: I24cb7101b89e60f4fb96777e3681c03d2a62e3d5
Signed-off-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
See http://review.coreboot.org/5084 for details.
-gerrit
the following patch was just integrated into master:
commit 1ceb56af55fcc55187bffd62d2bd33b4f44601be
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Wed Feb 5 01:10:08 2014 -0600
cbfstool: Deserialize CBFS master header when reading image
Rather than using [hn]to[nh] whenever accessing a member of the CBFS
header, deserialize the header when opening the CBFS image. The header
is no longer a pointer inside the CBFS buffer, but a separate struct,
a copy of the original header in a host-friendly format. This kills
more of the ntohl usage.
Change-Id: I5f8a5818b9d5a2d1152b1906249c4a5847d02bac
Signed-off-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
See http://review.coreboot.org/5121 for details.
-gerrit
Duncan Laurie (dlaurie(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5194
-gerrit
commit 5a9c0814ff5d2064e17f4696ac05ab6dce8404aa
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Tue Feb 11 10:43:21 2014 -0800
falco: Add ACPI code to describe the I2C touchpad device
If the SerialIO devices are put into ACPI mode then it is possible
to use ACPI to instantiate the touchpad in the kernel without
needing to have a platform level driver to do the binding.
This is the "new way" of describing on-board I2C devices and the
upstream kernel is starting to add ACPI IDs to drivers so they can
be used in this fashion. For the Cypress touchpad use a generic
ACPI ID of "CYPA0000" to describe it.
In order to support the proper scoping of the touchpad device under
the appropriate I2C controller device the mainboard.asl file needs
to be included after pch.asl so the I2C device exists.
Change-Id: I81e053d27be478f3a19b6f9b13cd2b4fabcb88c0
Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
---
src/mainboard/google/falco/acpi/mainboard.asl | 34 +++++++++++++++++++++++++++
src/mainboard/google/falco/dsdt.asl | 4 +++-
2 files changed, 37 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/google/falco/acpi/mainboard.asl b/src/mainboard/google/falco/acpi/mainboard.asl
index 84e8a25..8d27cb9 100644
--- a/src/mainboard/google/falco/acpi/mainboard.asl
+++ b/src/mainboard/google/falco/acpi/mainboard.asl
@@ -108,3 +108,37 @@ Scope (\_SB)
}
}
}
+
+Scope (\_SB.PCI0.I2C0)
+{
+ Device (CYPA)
+ {
+ Name (_HID, "CYPA0000")
+ Name (_DDN, "Cypress Touchpad")
+ Name (_UID, 1)
+
+ Name (_CRS, ResourceTemplate()
+ {
+ I2cSerialBus (
+ BOARD_TRACKPAD_I2C_ADDR, // SlaveAddress
+ ControllerInitiated, // SlaveMode
+ 400000, // ConnectionSpeed
+ AddressingMode7Bit, // AddressingMode
+ "\\_SB.PCI0.I2C0", // ResourceSource
+ )
+ Interrupt (ResourceConsumer, Edge, ActiveLow)
+ {
+ BOARD_TRACKPAD_IRQ
+ }
+ })
+
+ Method (_STA)
+ {
+ If (LEqual (\S1EN, 1)) {
+ Return (0xF)
+ } Else {
+ Return (0x0)
+ }
+ }
+ }
+}
diff --git a/src/mainboard/google/falco/dsdt.asl b/src/mainboard/google/falco/dsdt.asl
index 1316ebf..718d515 100644
--- a/src/mainboard/google/falco/dsdt.asl
+++ b/src/mainboard/google/falco/dsdt.asl
@@ -31,7 +31,6 @@ DefinitionBlock(
{
// Some generic macros
#include "acpi/platform.asl"
- #include "acpi/mainboard.asl"
// global NVS and variables
#include <southbridge/intel/lynxpoint/acpi/globalnvs.asl>
@@ -50,6 +49,9 @@ DefinitionBlock(
}
}
+ // Mainboard specific
+ #include "acpi/mainboard.asl"
+
// Thermal handler
#include "acpi/thermal.asl"