Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1335098 > unrolled thread
| Started by | Enric Balletbo i Serra <enric.balletbo@collabora.com> |
|---|---|
| First post | 2016-02-16 08:30 +0100 |
| Last post | 2016-02-16 08:30 +0100 |
| Articles | 3 — 1 participant |
Back to article view | Back to linux.kernel
[PATCHv2 0/3] platform/chrome: upstream changes Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2016-02-16 08:30 +0100
[PATCHv2 1/3] platform/chrome: chromeos_laptop: Add Leon Touch Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2016-02-16 08:30 +0100
[PATCHv2 3/3] platform/chrome: pstore: Move to larger record size. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2016-02-16 08:30 +0100
| From | Enric Balletbo i Serra <enric.balletbo@collabora.com> |
|---|---|
| Date | 2016-02-16 08:30 +0100 |
| Subject | [PATCHv2 0/3] platform/chrome: upstream changes |
| Message-ID | <r2If7-4Av-3@gated-at.bofh.it> |
Dear all,
Please take in consideration to include these patches that upstreams some
changes already found in chromeos kernel. The three patches came from the
chromeos tree and were tested in current mainline.
The first patch simply adds the touch device for Leon Chromebook, the
second and the third are related to chrome pstore driver.
Thanks,
Enric
Changes since v1:
- Fix coccinelle warnings:
>> drivers/platform/chrome/chromeos_pstore.c:85:3-8: No need to set .owner
here. The core will do it.
Aaron Durbin (1):
platform/chrome: pstore: probe for ramoops buffer using acpi
Gene Chen (1):
platform/chrome: chromeos_laptop: Add Leon Touch
Olof Johansson (1):
platform/chrome: pstore: Move to larger record size.
drivers/platform/chrome/chromeos_laptop.c | 15 +++++++++
drivers/platform/chrome/chromeos_pstore.c | 55 +++++++++++++++++++++++++++++--
2 files changed, 68 insertions(+), 2 deletions(-)
--
2.1.0
[toc] | [next] | [standalone]
| From | Enric Balletbo i Serra <enric.balletbo@collabora.com> |
|---|---|
| Date | 2016-02-16 08:30 +0100 |
| Subject | [PATCHv2 1/3] platform/chrome: chromeos_laptop: Add Leon Touch |
| Message-ID | <r2If7-4Av-5@gated-at.bofh.it> |
| In reply to | #1335098 |
From: Gene Chen <gene.chen@intel.com>
Add support for Leon touch devices, which is the same as
slippy/falco/peppy/wolf on the same buses using the LynxPoint-LP I2C via
the i2c-designware-pci driver.
Based on the following patch:
https://chromium-review.googlesource.com/#/c/168351/
Signed-off-by: Gene Chen <gene.chen@intel.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
drivers/platform/chrome/chromeos_laptop.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
index 2b441e9..f5aa0a3 100644
--- a/drivers/platform/chrome/chromeos_laptop.c
+++ b/drivers/platform/chrome/chromeos_laptop.c
@@ -494,6 +494,13 @@ static struct chromeos_laptop cr48 = {
},
};
+static struct chromeos_laptop leon = {
+ .i2c_peripherals = {
+ /* Touchpad. */
+ { .add = setup_cyapa_tp, I2C_ADAPTER_DESIGNWARE_0 },
+ },
+};
+
#define _CBDD(board_) \
.callback = chromeos_laptop_dmi_matched, \
.driver_data = (void *)&board_
@@ -581,6 +588,14 @@ static struct dmi_system_id chromeos_laptop_dmi_table[] __initdata = {
},
_CBDD(cr48),
},
+ {
+ .ident = "Leon",
+ .matches = {
+ DMI_MATCH(DMI_BIOS_VENDOR, "coreboot"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Leon"),
+ },
+ _CBDD(leon),
+ },
{ }
};
MODULE_DEVICE_TABLE(dmi, chromeos_laptop_dmi_table);
--
2.1.0
[toc] | [prev] | [next] | [standalone]
| From | Enric Balletbo i Serra <enric.balletbo@collabora.com> |
|---|---|
| Date | 2016-02-16 08:30 +0100 |
| Subject | [PATCHv2 3/3] platform/chrome: pstore: Move to larger record size. |
| Message-ID | <r2If8-4Av-7@gated-at.bofh.it> |
| In reply to | #1335098 |
From: Olof Johansson <olofj@chromium.org>
Accidentally specified a smaller record size, bring it back
to the same size as we had when we used the config file.
Signed-off-by: Olof Johansson <olofj@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Sameer Nanda <snanda@chromium.org>
---
drivers/platform/chrome/chromeos_pstore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/chrome/chromeos_pstore.c b/drivers/platform/chrome/chromeos_pstore.c
index ca00192..308a853 100644
--- a/drivers/platform/chrome/chromeos_pstore.c
+++ b/drivers/platform/chrome/chromeos_pstore.c
@@ -59,7 +59,7 @@ MODULE_DEVICE_TABLE(dmi, chromeos_pstore_dmi_table);
static struct ramoops_platform_data chromeos_ramoops_data = {
.mem_size = 0x100000,
.mem_address = 0xf00000,
- .record_size = 0x20000,
+ .record_size = 0x40000,
.console_size = 0x20000,
.ftrace_size = 0x20000,
.dump_oops = 1,
--
2.1.0
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web