From: Archana Patni <archana.pa...@intel.com>
This patch installs an ACPI GPE handler for LID0 ACPI device to indicate
ACPI core that this GPE should stay enabled for lid to work in suspend
to idle path.
Signed-off-by: Archana Patni <archana.pa...@intel.com>
Signed-off-by: Thi
urious aborted suspend
attempts.
Signed-off-by: Shawn Nematbakhsh <sha...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/mfd/cros_ec.c | 14 ++--
drivers/platform/chrome/cros_ec_proto.c | 60 ++
With this patch, cros_ec_query_all() does not return an error if it
fails to check for MKBP events support. Instead, the EC device structure
indicates that it does not support MKBP events (mkbp_event_supported
field) and cros_ec_query_all() returns 0.
Signed-off-by: Thierry Escande <thierry.e
EC is not responsive at probe
Shawn Nematbakhsh (1):
cros_ec: Don't signal wake event for non-wake host events
Thierry Escande (1):
cros_ec: Don't return error when checking command version
drivers/mfd/cros_ec.c | 14 +-
drivers/platform/chrome/cros_ec_proto.c | 80
ommand() in the function
cros_ec_get_host_command_version_mask(). Also, this patch adds the
function header indicating it must be called protected.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drive
ommand() in the function
cros_ec_get_host_command_version_mask(). Also, this patch adds the
function header indicating it must be called protected.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drive
With this patch, cros_ec_query_all() does not return an error if it
fails to check for MKBP events support. Instead, the EC device structure
indicates that it does not support MKBP events (mkbp_event_supported
field) and cros_ec_query_all() returns 0.
Signed-off-by: Thierry Escande <thierry.e
wake event for non-wake host events
Thierry Escande (1):
cros_ec: Don't return error when checking command version
drivers/mfd/cros_ec.c | 13 +++--
drivers/platform/chrome/cros_ec_proto.c | 96 ++---
include/linux/mfd/cros_ec.h | 16
urious aborted suspend
attempts.
Signed-off-by: Shawn Nematbakhsh <sha...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/mfd/cros_ec.c | 13 --
drivers/platform/chrome/cros_ec_proto.c | 76 ++---
Hi Lee,
On 07/02/2017 17:12, Lee Jones wrote:
On Wed, 25 Jan 2017, Thierry Escande wrote:
From: Shawn Nematbakhsh <sha...@chromium.org>
The subset of wake-enabled host events is defined by the EC, but the EC
may still send non-wake host events if we're in the process of
suspendin
..@chromium.org>
Signed-off-by: Guenter Roeck <li...@roeck-us.net>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/Makefile | 3 +-
drivers/platform/chrome/cros_ec_lpc.c | 87 ++-
drivers/platform
Hi,
This serie adds support for the LPC Microchip Embedded Controller 1322.
Shawn Nematbakhsh (2):
platform/chrome: cros_ec_lpc: Add R/W helpers to LPC protocol variants
platform/chrome: cros_ec_lpc: Add support for mec1322 EC
drivers/platform/chrome/Kconfig | 9 ++
g>
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Guenter Roeck <gro...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/Kconfig | 9 ++
drivers/platform/chrome/Makefile |
p time.
Signed-off-by: Dmitry Torokhov <d...@chromium.org>
Reviewed-by: Olof Johansson <ol...@chromium.org>
Signed-off-by: Guenter Roeck <gro...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/base/Kconfig
..@chromium.org>
Signed-off-by: Guenter Roeck <li...@roeck-us.net>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/Makefile | 3 +-
drivers/platform/chrome/cros_ec_lpc.c | 87 ++-
drivers/platform
Hi,
This serie adds support for the LPC Microchip Embedded Controller 1322.
Shawn Nematbakhsh (2):
platform/chrome: cros_ec_lpc: Add R/W helpers to LPC protocol variants
platform/chrome: cros_ec_lpc: Add support for mec1322 EC
drivers/platform/chrome/Kconfig | 9 ++
g>
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Guenter Roeck <gro...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/Kconfig | 9 ++
drivers/platform/chrome/Makefile |
<posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
Changes since v1:
- Renamed use_dma_bidirectional field as capture_dma_bidirectional
- Added a VB2_DMA_DIR() macro
Changes since v2:
-
Hi Sakari,
On 19/10/2016 23:29, Sakari Ailus wrote:
Hi Thierry,
On Wed, Oct 19, 2016 at 10:24:16AM +0200, Thierry Escande wrote:
From: Pawel Osciak <posc...@chromium.org>
Store dma_dir in struct vb2_queue and reuse it, instead of recalculating
it each time.
Signed-off-by: Pawel Osciak
Hi,
This series adds a dma_dir field to the vb2_queue structure in order to
store the DMA direction once for all in vb2_queue_init();
It also adds a new use_dma_bidirectional flag to the vb2_queue structure
allowing the hardware to read from the CAPTURE buffer. This flag is
ignored for OUTPUT
t;
Reviewed-by: Owen Lin <owen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-core/videobuf2-core.c | 12 +++-
drivers/media/v4l2-core/videobuf2-v4l2.c | 2 ++
include/media/videobuf2-core.h | 2 ++
3 files c
<posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Reviewed-by: Tomasz Figa <tf...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-core/videobuf2-v4l2.c | 8 ++--
include/media/videobuf2-core.h
g>
Tested-by: Heng-ruey Hsu <henry...@chromium.org>
Reviewed-by: Tomasz Figa <tf...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-core/videobuf2-dma-contig.c | 19 +++
1 file changed, 19 insertions(+)
diff -
o mark pages as dirty.
Signed-off-by: Pawel Osciak <posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
Changes since v1:
- Renamed use_dma_bidirectional field as capture_dma_bidirectional
- Add
Hi Sakari,
On 17/10/2016 12:06, Sakari Ailus wrote:
Hi Thierry,
Thanks for the set. A few comments below.
On Fri, Oct 14, 2016 at 02:08:14PM +0200, Thierry Escande wrote:
From: Pawel Osciak <posc...@chromium.org>
When this flag is set for CAPTURE queues by the driver on c
o mark pages as dirty.
Signed-off-by: Pawel Osciak <posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
Changes in v2:
- Renamed use_dma_bidirectional field as capture_dma_bidirectional
- Add
This patch moves vb2_dc_get_base_sgt() function above mmap buffers
callbacks, particularly vb2_dc_alloc() and vb2_dc_mmap() from where it
will be called for cacheable MMAP support introduced in the next patch.
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/medi
kernel mapping is present and non-consistent DMA
attribute set.
Signed-off-by: Heng-Ruey Hsu <henry...@chromium.org>
Tested-by: Heng-ruey Hsu <henry...@chromium.org>
Reviewed-by: Tomasz Figa <tf...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
comments
Heng-Ruey Hsu (1):
[media] videobuf2-dc: Support cacheable MMAP
Thierry Escande (1):
[media] videobuf2-dc: Move vb2_dc_get_base_sgt() above mmap callbacks
drivers/media/v4l2-core/videobuf2-dma-contig.c | 62 +-
1 file changed, 40 insertions(+), 22 deletions
<posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
Changes since v1:
- Renamed use_dma_bidirectional field as capture_dma_bidirectional
- Added a VB2_DMA_DIR() macro
Changes since v2:
-
<posc...@chromium.org>
Tested-by: Pawel Osciak <posc...@chromium.org>
Reviewed-by: Tomasz Figa <tf...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-core/videobuf2-v4l2.c | 3 +--
include/media/videobuf2-core.h
t;
Reviewed-by: Owen Lin <owen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-core/videobuf2-core.c | 12 +++-
drivers/media/v4l2-core/videobuf2-v4l2.c | 2 ++
include/media/videobuf2-core.h | 2 ++
3 files c
Hi,
This series adds a dma_dir field to the vb2_queue structure in order to
store the DMA direction once for all in vb2_queue_init();
It also adds a new capture_dma_bidirectional flag to the vb2_queue
structure allowing the hardware to read from the CAPTURE buffer. This
flag is ignored for
Hi Mauro,
On 18/11/2016 19:59, Mauro Carvalho Chehab wrote:
Em Tue, 25 Oct 2016 10:22:29 +0200
Thierry Escande <thierry.esca...@collabora.com> escreveu:
From: Pawel Osciak <posc...@chromium.org>
When this flag is set for CAPTURE queues by the driver on calling
vb2_queue_init(
Hi Sakari,
On 21/10/2016 09:48, Sakari Ailus wrote:
Hi Thierry,
On Fri, Oct 21, 2016 at 09:25:05AM +0200, Thierry Escande wrote:
From: Pawel Osciak <posc...@chromium.org>
When this flag is set for CAPTURE queues by the driver on calling
vb2_queue_init(), it forces the buffers on the
This patch moves vb2_dc_get_base_sgt() function above mmap buffers
callbacks, particularly vb2_dc_alloc() and vb2_dc_mmap() from where it
will be called for cacheable MMAP support introduced in the next patch.
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/medi
istent DMA attribute is set).
Signed-off-by: Heng-Ruey Hsu <henry...@chromium.org>
Tested-by: Heng-ruey Hsu <henry...@chromium.org>
Reviewed-by: Tomasz Figa <tf...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/media/v4l2-co
comments
Changes in v3:
- Remove redundant test on NO_KERNEL_MAPPING DMA attribute in mmap()
Heng-Ruey Hsu (1):
[media] videobuf2-dc: Support cacheable MMAP
Thierry Escande (1):
[media] videobuf2-dc: Move vb2_dc_get_base_sgt() above mmap callbacks
drivers/media/v4l2-core/videobuf2-dma
Hi,
This series adds some improvements to the ChromeOS EC driver.
- New EC host commands are sent through suspend/resume ops.
- A flag now protect data transfer while device is suspended.
- LID0 device GPE now stays enabled for lid to work in suspend to
idle path.
This patchset depends on [1]
;
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/mfd/cros_ec.c | 2 ++
drivers/platform/chrome/cros_ec_proto.c | 5 +
include/linux/mfd/cros_ec.h | 2 ++
3 files changed, 9 insertions(+)
diff --git a/drivers/mfd/cros_ec.c b/dri
From: Archana Patni <archana.pa...@intel.com>
This patch adds suspend and resume pm ops to the LPC ChromeOS EC driver.
These LPC handlers call the croc_ec generic handlers.
Signed-off-by: Archana Patni <archana.pa...@intel.com>
Signed-off-by: Thierry Escande <thierry.esca..
From: Gwendal Grignou <gwen...@chromium.org>
This patch installs a notify handler to process MKBP events for EC
firmware directing them over ACPI.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drive
From: Gwendal Grignou <gwen...@chromium.org>
This patch removes platform_device_register() call and adds an ACPI
device id structure. The driver is now automatically probed for devices
with a GOOG0004 ACPI entry.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off
Hi,
This series adds support for MKBP events over ACPI. The ChromeOS EC LCP
driver is also now probed upon detection of the ACPI GOOG0004 device.
Last, a patch adds power management suspend and resume handlers.
This patchset depends on [1] to apply.
[1] https://lkml.org/lkml/2016/12/2/360
From: Shawn Nematbakhsh <sha...@chromium.org>
Notify EC when going to or returning from suspend so that proper actions
related to wake events can be taken.
Signed-off-by: Shawn Nematbakhsh <sha...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
From: Archana Patni <archana.pa...@intel.com>
This patch installs an ACPI GPE handler for LID0 ACPI device to indicate
ACPI core that this GPE should stay enabled for lid to work in suspend
to idle path.
Signed-off-by: Archana Patni <archana.pa...@intel.com>
Signed-off-by: Thi
h <sha...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/mfd/cros_ec.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c
index b8a5080..9b66a98 100644
--- a/drivers/mfd/cros_
, and I've a
question about runtime detection of the EC (see below), but guess the
answer is no.
Reviewed-by: Enric Balletbo i Serra <enric.balle...@collabora.com>
2016-11-08 13:27 GMT+01:00 Thierry Escande <thierry.esca...@collabora.com>:
From: Shawn Nematbakhsh <sha...@chromium.org>
From: Gwendal Grignou <gwen...@chromium.org>
This adds the IIO_MOD_DOUBLE_TAP entry to the iio_modifier enum and the
corresponding "double_tap" string to the iio_modifier_names array.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry
g>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
include/linux/mfd/cros_ec_commands.h | 35 +++
1 file changed, 35 insertions(+)
diff --git a/include/linux/mfd/cros_ec_commands.h
b/include/linux/mfd/cros_ec_commands.h
index 16830
Hi,
This patchset adds support for an activity sensors driver handling
activity/gesture recognition coming from the EC. Only significant motion
is currently supported. Moreover it is an incomplete driver: activity can
be set and ring buffer must be used to receive interruption.
This patchset
ed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/iio/common/cros_ec_sensors/Kconfig | 10 +
drivers/iio/common/cros_ec_sensors/Makefile| 1 +
.../iio/common/cros_ec_sensors/cros_ec
Hi Benson,
This series adds support for the LPC Microchip Embedded Controller 1322.
v2:
-Add a few lines in Kconfig description
-Fixed coding style issues
-Updated copyright to year 2016
Shawn Nematbakhsh (2):
platform/chrome: cros_ec_lpc: Add R/W helpers to LPC protocol variants
From: Shawn Nematbakhsh <sha...@chromium.org>
Call common functions for read / write to prepare support for future
LPC protocol variants which use different I/O ops than inb / outb.
Signed-off-by: Shawn Nematbakhsh <sha...@chromium.org>
Signed-off-by: Thierry Escande &
g>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/Kconfig | 12 +++
drivers/platform/chrome/Makefile | 1 +
drivers/platform/chrome/cros_ec_lpc.c | 5 ++
drivers/platform/chrome/cros_
Hi Lee,
On 04/01/2017 10:07, Lee Jones wrote:
On Fri, 16 Dec 2016, Thierry Escande wrote:
From: Shawn Nematbakhsh <sha...@chromium.org>
Notify EC when going to or returning from suspend so that proper actions
related to wake events can be taken.
Signed-off-by: Shawn Nematbakhs
Hi Lee,
On 05/01/2017 08:54, Lee Jones wrote:
On Wed, 04 Jan 2017, Thierry Escande wrote:
Hi Lee,
On 04/01/2017 10:06, Lee Jones wrote:
On Fri, 16 Dec 2016, Thierry Escande wrote:
From: Archana Patni <archana.pa...@intel.com>
This patch installs an ACPI GPE handler for LID0 ACPI
Hi Lee,
On 04/01/2017 10:06, Lee Jones wrote:
On Fri, 16 Dec 2016, Thierry Escande wrote:
From: Archana Patni <archana.pa...@intel.com>
This patch installs an ACPI GPE handler for LID0 ACPI device to indicate
ACPI core that this GPE should stay enabled for lid to work in suspend
to idl
On 05/01/2017 15:43, Lee Jones wrote:
Rafael,
On Thu, 05 Jan 2017, Thierry Escande wrote:
Hi Lee,
On 05/01/2017 08:54, Lee Jones wrote:
On Wed, 04 Jan 2017, Thierry Escande wrote:
Hi Lee,
On 04/01/2017 10:06, Lee Jones wrote:
On Fri, 16 Dec 2016, Thierry Escande wrote:
From: Archana
a...@google.com>
Duncan Laurie <dlau...@chromium.org>
Julius Werner <jwer...@chromium.org>
Brian Norris <briannor...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/firmware/google/Kconfig | 25 +-
drivers/f
Brian Norris <briannor...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/firmware/google/Kconfig | 13 -
drivers/firmware/google/Makefile| 1 +
drivers/firmware/google/coreboot_table-of.c | 82 ++
This patch removes the "Google Firmware Drivers" menu containing a
menuconfig entry with the exact same name. The menuconfig is now
directly under the "Firmware Drivers" entry.
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/firmware/google/K
-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/firmware/google/Kconfig | 9 +-
drivers/firmware/google/Makefile| 3 +-
drivers/firmware/google/memconsole-x86-legacy.c | 154 +++
drivers/firmware/google/memconsole.c
boot's in-memory log).
(An example implementation can be seen in the following patch)
Signed-off-by: Julius Werner <jwer...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
.../devicetree/bindings/firmware/coreboot.txt | 33 ++
Thierry Escande (4):
firmware: google memconsole: Remove useless submenu in Kconfig
firmware: google memconsole: Move specific EBDA parts
firmware: google memconsole: Add coreboot support
firmware: google memconsole: Add ARM/ARM64 support
.../devicetree/bindings/firmware/coreboot.txt | 33
Brian Norris <briannor...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
In this v2:
Adds a missing dependency on X86 for the GOOGLE_SMI symbol reported by
the kbuild test robot as the X86 dependency is removed from the
GOOGLE_FIRMWARE symbol for ARM sup
a...@google.com>
Duncan Laurie <dlau...@chromium.org>
Julius Werner <jwer...@chromium.org>
Brian Norris <briannor...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/firmware/google/Kconfig | 25 +-
drivers/f
This patch removes the "Google Firmware Drivers" menu containing a
menuconfig entry with the exact same name. The menuconfig is now
directly under the "Firmware Drivers" entry.
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/firmware/google/K
-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/firmware/google/Kconfig | 9 +-
drivers/firmware/google/Makefile| 3 +-
drivers/firmware/google/memconsole-x86-legacy.c | 154 +++
drivers/firmware/google/memconsole.c
boot's in-memory log).
(An example implementation can be seen in the following patch)
Signed-off-by: Julius Werner <jwer...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
.../devicetree/bindings/firmware/coreboot.txt | 33 ++
):
firmware: Add coreboot device tree binding documentation
Thierry Escande (4):
firmware: google memconsole: Remove useless submenu in Kconfig
firmware: google memconsole: Move specific EBDA parts
firmware: google memconsole: Add coreboot support
firmware: google memconsole: Add ARM/ARM64
t much we can do for these drives, so we
shouldn't fail to suspend for this error case. The drive may stay
powered if that's the setup for the port it's plugged into.
Signed-off-by: Derek Basehore <dbaseh...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
On 11/04/2017 16:11, Greg Kroah-Hartman wrote:
On Tue, Apr 11, 2017 at 04:10:12PM +0200, Greg Kroah-Hartman wrote:
On Tue, Apr 11, 2017 at 11:14:30AM +0200, Thierry Escande wrote:
...
+ }
+
+ return VPD_OK;
+}
+EXPORT_SYMBOL(decode_vpd_string);
Normally put the prefix
Hi Greg
On 11/04/2017 16:09, Greg Kroah-Hartman wrote:
On Tue, Apr 11, 2017 at 11:14:30AM +0200, Thierry Escande wrote:
+#include
+
+#include "vpd_decode.h"
+
+static int decode_len(const int32_t max_len, const uint8_t *in,
+ int32_t *length, int32_t *d
oogle.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
In this v2:
- Fix coding style issues reported by 'checkpatch --strict'
- Add missing vpd_ prefix to some functions
- Remove uneeded EXPORT_SYMBOL for vpd_decode_string()
---
drivers/firmware/google
Hi,
This patchset adds support for accessing Google Vital Product Data (VPD)
through the sysfs interface under /sys/firmware/vpd.
This patchset contains the VPD decoding routines read from coreboot
table entries and the driver responsible for creating the sysfs
interface.
This patchset depends
ontent
is the value for the key.
Signed-off-by: Wei-Ning Huang <wnhu...@google.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
In this v2:
- Fix coding style issues reported by 'checkpatch --strict'
- Add missing vpd_ prefix to some functions
---
drivers/firmw
<clch...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/hid/hid-magicmouse.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c
index 20b40ad..1d6c997 100644
---
oogle.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/firmware/google/vpd_decode.c | 99
drivers/firmware/google/vpd_decode.h | 59 +
2 files changed, 158 insertions(+)
create mode 100644 drive
Hi,
This patchset adds support for accessing Google Vital Product Data (VPD)
through the sysfs interface under /sys/firmware/vpd.
This patchset contains the VPD decoding routines read from coreboot
table entries and the driver responsible for creating the sysfs
interface.
This patchset depends
ontent
is the value for the key.
Signed-off-by: Wei-Ning Huang <wnhu...@google.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/firmware/google/Kconfig | 7 +
drivers/firmware/google/Makefile | 3 +
drivers/firmware/goo
Hi Benson,
On 11/08/2017 07:29, Benson Leung wrote:
+/* Keyboard wake angle control */
+
+static ssize_t show_kb_wake_angle(struct device *dev,
+ struct device_attribute *attr, char *buf)
+{
+ struct ec_response_motion_sense *resp;
+ struct
needs to be resumed
earlier due to some status polling from the EC firmware (e.g. battery
status). This patch moves the PM ops to late stage to make it work
normally.
Signed-off-by: Joseph Lo <jose...@nvidia.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers
ake up, this patch adds prepare and
complete callbacks to set 1s sampling period just before suspend. This
ensures the sensor hub will not be a source of interrupt during the
suspend process.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca..
status() instead of
cros_ec_cmd_xfer() so an error message is printed in the syslog.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/cros_ec_sysfs.c | 25 -
1 file cha
From: Wei-Ning Huang <wnhu...@google.com>
Add ACPI module device table for matching cros-ec devices to load the
cros_ec_i2c driver automatically.
Signed-off-by: Wei-Ning Huang <wnhu...@google.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/mfd/
check before the device is
added so the features map obtained from the EC is ready on time.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/cros_ec_dev.c | 32 ++---
drive
the EC with other chips).
Signed-off-by: Vincent Palatin <vpala...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/mfd/cros_ec.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_e
Hi,
This series contains various fixes and improvements for the ChromeOS
Embedded Controller drivers. These concern PM suspend/resume fixes,
sysfs interface, and module initialization.
Regards,
Thierry
Daniel Hung-yu Wu (1):
platform/chrome: cros_ec: register shutdown function for debugfs
ed-off-by: Daniel Hung-yu Wu <h...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/cros_ec_dev.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/platform/chrome/cros_ec_dev.c
b/drivers/platform/chrome/cros_ec_d
0.auto: EC communication failed
Signed-off-by: Douglas Anderson <diand...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/cros_ec_debugfs.c | 18 ++
drivers/platform/chrome/cros_ec_debugfs.h | 2 ++
drive
0.auto: EC communication failed
Signed-off-by: Douglas Anderson <diand...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/cros_ec_debugfs.c | 18 ++
drivers/platform/chrome/cros_ec_debugfs.h | 2 ++
drive
the EC with other chips).
Signed-off-by: Vincent Palatin <vpala...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Acked-by: Benson Leung <ble...@chromium.org>
---
drivers/mfd/cros_ec.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a
Hi,
This series contains various fixes and improvements for the ChromeOS
Embedded Controller drivers. These concern PM suspend/resume fixes,
sysfs interface, and module initialization.
Regards,
Thierry
v2 changes:
- Restore original changes from ChromeOS kernel tree (a function is
added in
status() instead of
cros_ec_cmd_xfer() so an error message is printed in the syslog.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/cros_ec_sysfs.c | 30 +-
check before the device is
added so the features map obtained from the EC is ready on time.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/cros_ec_dev.c | 32 ++---
drive
From: Wei-Ning Huang <wnhu...@google.com>
Add ACPI module device table for matching cros-ec devices to load the
cros_ec_i2c driver automatically.
Signed-off-by: Wei-Ning Huang <wnhu...@google.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Acked-by:
ake up, this patch adds prepare and
complete callbacks to set 1s sampling period just before suspend. This
ensures the sensor hub will not be a source of interrupt during the
suspend process.
Signed-off-by: Gwendal Grignou <gwen...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca..
ed-off-by: Daniel Hung-yu Wu <h...@chromium.org>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
---
drivers/platform/chrome/cros_ec_dev.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/platform/chrome/cros_ec_dev.c
b/drivers/platform/chrome/cros_ec_d
needs to be resumed
earlier due to some status polling from the EC firmware (e.g. battery
status). This patch moves the PM ops to late stage to make it work
normally.
Signed-off-by: Joseph Lo <jose...@nvidia.com>
Signed-off-by: Thierry Escande <thierry.esca...@collabora.com>
Acked-by:
1 - 100 of 778 matches
Mail list logo