[GIT PULL] chrome-platform updates for v4.13

2017-07-10 Thread Benson Leung
): platform/chrome: cros_ec_lightbar - hide unused PM functions Benson Leung (1): platform/chrome : Add myself as Maintainer Eric Caruso (4): mfd: cros_ec: add debugfs, console log file platform/chrome: cros_ec_lightbar - Add lightbar program feature to sysfs platform

Re: [PATCH v2 3/3] cros_ec: Don't signal wake event for non-wake host events

2017-07-05 Thread Benson Leung
Hi Lee, On Mon, Jul 03, 2017 at 12:46:41PM +0100, Lee Jones wrote: > On Tue, 27 Jun 2017, Benson Leung wrote: > > > Hi Thierry, > > > > On Tue, Feb 14, 2017 at 08:58:02PM +0100, Thierry Escande wrote: > > > From: Shawn Nematbakhsh <sha...@chromium.org>

Re: [PATCH v2 3/3] cros_ec: Don't signal wake event for non-wake host events

2017-07-05 Thread Benson Leung
Hi Lee, On Mon, Jul 03, 2017 at 12:46:41PM +0100, Lee Jones wrote: > On Tue, 27 Jun 2017, Benson Leung wrote: > > > Hi Thierry, > > > > On Tue, Feb 14, 2017 at 08:58:02PM +0100, Thierry Escande wrote: > > > From: Shawn Nematbakhsh > > > > > >

Re: [PATCH] platform/chrome: cros_ec_lightbar - hide unused PM functions

2017-06-27 Thread Benson Leung
("platform/chrome: cros_ec_lightbar - Control of > suspend/resume lightbar sequence") > Signed-off-by: Arnd Bergmann <a...@arndb.de> Good catch. Applied. Thanks! -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.asc Description: Digital signature

Re: [PATCH] platform/chrome: cros_ec_lightbar - hide unused PM functions

2017-06-27 Thread Benson Leung
("platform/chrome: cros_ec_lightbar - Control of > suspend/resume lightbar sequence") > Signed-off-by: Arnd Bergmann Good catch. Applied. Thanks! -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.asc Description: Digital signature

Re: [PATCH v2 3/3] cros_ec: Don't signal wake event for non-wake host events

2017-06-27 Thread Benson Leung
event was introduced in cros_ec_lpc.c since this patch was posted, so I went ahead and modified that too. Applied. Thanks. -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.asc Description: Digital signature

Re: [PATCH v2 3/3] cros_ec: Don't signal wake event for non-wake host events

2017-06-27 Thread Benson Leung
rs/platform/chrome/cros_ec_proto.c | 76 > ++--- > include/linux/mfd/cros_ec.h | 5 ++- > 3 files changed, 85 insertions(+), 9 deletions(-) > Another use of cros_ec_get_next_event was introduced in cros_ec_lpc.c since this patch was posted, so I went ahead and modi

Re: [PATCH v2 2/3] cros_ec: Fix deadlock when EC is not responsive at probe

2017-06-27 Thread Benson Leung
gnou <gwen...@chromium.org> > Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Applied. Thanks again! -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.asc Description: Digital signature

Re: [PATCH v2 2/3] cros_ec: Fix deadlock when EC is not responsive at probe

2017-06-27 Thread Benson Leung
Thierry Escande Applied. Thanks again! -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.asc Description: Digital signature

Re: [PATCH v2 1/3] cros_ec: Don't return error when checking command version

2017-06-27 Thread Benson Leung
supported > field) and cros_ec_query_all() returns 0. > > Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Applied. Thanks! -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.

Re: [PATCH v2 1/3] cros_ec: Don't return error when checking command version

2017-06-27 Thread Benson Leung
supported > field) and cros_ec_query_all() returns 0. > > Signed-off-by: Thierry Escande Applied. Thanks! -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.asc Description: Digital signature

Re: [PATCH RESEND 13/13] platform/chrome: cros_ec_lightbar - Avoid I2C xfer to EC during suspend

2017-06-23 Thread Benson Leung
> Signed-off-by: Jeffery Yu <jeffe...@nvidia.com> > Signed-off-by: Guenter Roeck <gro...@chromium.org> > Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> Signed-off-by: Benson Leung <ble...@chromium.org> Applied. > --- > drivers/platform/

Re: [PATCH RESEND 13/13] platform/chrome: cros_ec_lightbar - Avoid I2C xfer to EC during suspend

2017-06-23 Thread Benson Leung
fery Yu > Signed-off-by: Guenter Roeck > Signed-off-by: Enric Balletbo i Serra Signed-off-by: Benson Leung Applied. > --- > drivers/platform/chrome/cros_ec_dev.c | 12 > drivers/platform/chrome/cros_ec_lightbar.c | 13 + > 2 files changed, 13 inserti

Re: [PATCH RESEND 12/13] platform/chrome: cros_ec_lightbar - Add userspace lightbar control bit to EC

2017-06-23 Thread Benson Leung
ng through its normal suspend/resume pathways. > > Signed-off-by: Eric Caruso <ejcar...@chromium.org> > Signed-off-by: Guenter Roeck <gro...@chromium.org> > Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> Signed-off-by: Benson Leung <ble...@chr

Re: [PATCH RESEND 12/13] platform/chrome: cros_ec_lightbar - Add userspace lightbar control bit to EC

2017-06-23 Thread Benson Leung
resume pathways. > > Signed-off-by: Eric Caruso > Signed-off-by: Guenter Roeck > Signed-off-by: Enric Balletbo i Serra Signed-off-by: Benson Leung Applied. > --- > drivers/platform/chrome/cros_ec_lightbar.c | 38 > ++ > 1 file changed, 38

Re: [PATCH RESEND 11/13] platform/chrome: cros_ec_lightbar - Control of suspend/resume lightbar sequence

2017-06-23 Thread Benson Leung
r Roeck <gro...@chromium.org> > Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> > Acked-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Benson Leung <ble...@chromium.org> Applied. Thanks. > --- > drivers/platform/chrome/cros_ec_de

Re: [PATCH RESEND 11/13] platform/chrome: cros_ec_lightbar - Control of suspend/resume lightbar sequence

2017-06-23 Thread Benson Leung
gt; Acked-by: Lee Jones Signed-off-by: Benson Leung Applied. Thanks. > --- > drivers/platform/chrome/cros_ec_dev.c | 37 + > drivers/platform/chrome/cros_ec_dev.h | 6 +++ > drivers/platform/chrome/cros_ec_lightbar.c | 85 > -- > inc

Re: [PATCH RESEND 09/13] platform/chrome: cros_ec_lpc: Add MKBP events support over ACPI

2017-06-23 Thread Benson Leung
Hi Thierry, On Fri, Jun 23, 2017 at 09:35:06AM +0200, Thierry Escande wrote: > Hi Benson, > > On 22/06/2017 21:35, Benson Leung wrote: > > > > >>+ adev = ACPI_COMPANION(dev); > >>+ if (adev) { > >>+ stat

Re: [PATCH RESEND 09/13] platform/chrome: cros_ec_lpc: Add MKBP events support over ACPI

2017-06-23 Thread Benson Leung
Hi Thierry, On Fri, Jun 23, 2017 at 09:35:06AM +0200, Thierry Escande wrote: > Hi Benson, > > On 22/06/2017 21:35, Benson Leung wrote: > > > > >>+ adev = ACPI_COMPANION(dev); > >>+ if (adev) { > >>+ stat

Re: [PATCH RESEND 10/13] platform/chrome: cros_ec_lightbar - Add lightbar program feature to sysfs

2017-06-22 Thread Benson Leung
nric Balletbo i Serra <enric.balle...@collabora.com> > Acked-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Benson Leung <ble...@chromium.org> Applied. > --- > drivers/platform/chrome/cros_ec_lightbar.c | 69 > +- > include/lin

Re: [PATCH RESEND 10/13] platform/chrome: cros_ec_lightbar - Add lightbar program feature to sysfs

2017-06-22 Thread Benson Leung
> $ cat > /sys/devices/.../cros_ec/program > $ echo program > /sys/devices/.../cros_ec/sequence > > Signed-off-by: Eric Caruso > Signed-off-by: Guenter Roeck > Signed-off-by: Enric Balletbo i Serra > Acked-by: Lee Jones Signed-off-by: Benson Leun

Re: [PATCH RESEND 04/13] mfd: cros_ec: Add support for dumping panic information

2017-06-22 Thread Benson Leung
t we do not bother doing any parsing (we should write a small > offline tool for that). > > Signed-off-by: Nicolas Boichat <drink...@chromium.org> > Reviewed-by: Guenter Roeck <gro...@chromium.org> > Tested-by: Enric Balletbo i Serra <enric.balle...@collabora.com>

Re: [PATCH RESEND 04/13] mfd: cros_ec: Add support for dumping panic information

2017-06-22 Thread Benson Leung
parsing (we should write a small > offline tool for that). > > Signed-off-by: Nicolas Boichat > Reviewed-by: Guenter Roeck > Tested-by: Enric Balletbo i Serra Signed-off-by: Benson Leung Applied. Thanks. > --- > drivers/platform/chrome/cros_ec_debugfs.c | 54 > +++

Re: [PATCH RESEND 08/13] platform/chrome: cros_ec_lpc: Add power management ops

2017-06-22 Thread Benson Leung
s. > > Signed-off-by: Archana Patni <archana.pa...@intel.com> > Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Signed-off-by: Benson Leung <ble...@chromium.org> Applied. Thanks. > --- > drivers/platform/chrome/cros_ec_lpc.c | 21 +

Re: [PATCH RESEND 08/13] platform/chrome: cros_ec_lpc: Add power management ops

2017-06-22 Thread Benson Leung
na Patni > Signed-off-by: Thierry Escande Signed-off-by: Benson Leung Applied. Thanks. > --- > drivers/platform/chrome/cros_ec_lpc.c | 21 + > 1 file changed, 21 insertions(+) > > diff --git a/drivers/platform/chrome/cros_ec_lpc.c > b/drivers/platfor

Re: [PATCH RESEND 07/13] platform/chrome: cros_ec_lpc: Add support for GOOG004 ACPI device

2017-06-22 Thread Benson Leung
probed for devices > with a GOOG0004 ACPI entry. > > Signed-off-by: Gwendal Grignou <gwen...@chromium.org> > Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Signed-off-by: Benson Leung <ble...@chromium.org> Applied to what will become the immutable branch. >

Re: [PATCH RESEND 07/13] platform/chrome: cros_ec_lpc: Add support for GOOG004 ACPI device

2017-06-22 Thread Benson Leung
0004 ACPI entry. > > Signed-off-by: Gwendal Grignou > Signed-off-by: Thierry Escande Signed-off-by: Benson Leung Applied to what will become the immutable branch. > --- > drivers/platform/chrome/Kconfig | 2 +- > drivers/platform/chrome/cros_ec_lpc.c | 23 +

Re: [PATCH RESEND 09/13] platform/chrome: cros_ec_lpc: Add MKBP events support over ACPI

2017-06-22 Thread Benson Leung
(struct platform_device *pdev) > { > struct cros_ec_device *ec_dev; > + struct acpi_device *adev; > + > + adev = ACPI_COMPANION(>dev); > + if (adev) > + acpi_remove_notify_handler(adev->handle, ACPI_ALL_NOTIFY, > +

Re: [PATCH RESEND 09/13] platform/chrome: cros_ec_lpc: Add MKBP events support over ACPI

2017-06-22 Thread Benson Leung
ice *adev; > + > + adev = ACPI_COMPANION(>dev); > + if (adev) > + acpi_remove_notify_handler(adev->handle, ACPI_ALL_NOTIFY, > +cros_ec_lpc_acpi_notify); > > ec_dev = platform_get_drvdata(pdev); > cros_ec_remove(ec_dev); > -- > 2.9.3 > -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.asc Description: Digital signature

Re: [PATCH RESEND 05/13] platform/chrome: cros_ec_lpc: Add R/W helpers to LPC protocol variants

2017-06-22 Thread Benson Leung
gt; Signed-off-by: Shawn Nematbakhsh <sha...@chromium.org> > Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Signed-off-by: Benson Leung <ble...@chromium.org> Applied to my upcoming immutable branch. > --- > drivers/platform/chrome/Makefile | 3 +

Re: [PATCH RESEND 05/13] platform/chrome: cros_ec_lpc: Add R/W helpers to LPC protocol variants

2017-06-22 Thread Benson Leung
khsh > Signed-off-by: Thierry Escande Signed-off-by: Benson Leung Applied to my upcoming immutable branch. > --- > drivers/platform/chrome/Makefile | 3 +- > drivers/platform/chrome/cros_ec_lpc.c | 88 > +-- > drivers/pl

Re: [PATCH RESEND 06/13] platform/chrome: cros_ec_lpc: Add support for mec1322 EC

2017-06-22 Thread Benson Leung
gt; mec1322 accesses I/O region [800h, 9ffh] through embedded memory > interface (EMI) rather than LPC. > > Signed-off-by: Shawn Nematbakhsh <sha...@chromium.org> > Signed-off-by: Thierry Escande <thierry.esca...@collabora.com> Signed-off-by: Benson Leung <ble...@chr

Re: [PATCH RESEND 06/13] platform/chrome: cros_ec_lpc: Add support for mec1322 EC

2017-06-22 Thread Benson Leung
region [800h, 9ffh] through embedded memory > interface (EMI) rather than LPC. > > Signed-off-by: Shawn Nematbakhsh > Signed-off-by: Thierry Escande Signed-off-by: Benson Leung Applied to my upcoming immutable branch. > --- > drivers/platform/chrome/Kconfig | 12 +++

Re: [PATCH RESEND 02/13] mfd: cros_ec: Add EC console read structures definitions

2017-06-16 Thread Benson Leung
mand. > > Signed-off-by: Nicolas Boichat <drink...@chromium.org> > Reviewed-by: Guenter Roeck <gro...@chromium.org> > Acked-by: Lee Jones <lee.jo...@linaro.org> > Tested-by: Enric Balletbo i Serra <enric.balle...@collabora.com> Thanks. Applied. -- Benson Le

Re: [PATCH RESEND 02/13] mfd: cros_ec: Add EC console read structures definitions

2017-06-16 Thread Benson Leung
s Boichat > Reviewed-by: Guenter Roeck > Acked-by: Lee Jones > Tested-by: Enric Balletbo i Serra Thanks. Applied. -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.asc Description: OpenPGP digital signature

Re: [PATCH RESEND 01/13] mfd: cros_ec: Add helper for event notifier.

2017-06-16 Thread Benson Leung
org> > Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> > Acked-by: Lee Jones <lee.jo...@linaro.org> Applied to my branch. I'll let you know when the whole thing is ready. -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@go

Re: [PATCH RESEND 01/13] mfd: cros_ec: Add helper for event notifier.

2017-06-16 Thread Benson Leung
> Acked-by: Lee Jones Applied to my branch. I'll let you know when the whole thing is ready. -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.asc Description: OpenPGP digital signature

Re: [PATCH RESEND 03/13] mfd: cros_ec: add debugfs, console log file

2017-06-16 Thread Benson Leung
esponse); By my diff, the above two lines were changed from the original CHROMIUM commit, based on Doug's comment here: https://lkml.org/lkml/2017/2/22/630 However, this is an incomplete fix. Instead, we should pick this: https://chromium-review.googlesource.com/#/c/444085/ I'll go ahead and do tha

Re: [PATCH RESEND 03/13] mfd: cros_ec: add debugfs, console log file

2017-06-16 Thread Benson Leung
esponse); By my diff, the above two lines were changed from the original CHROMIUM commit, based on Doug's comment here: https://lkml.org/lkml/2017/2/22/630 However, this is an incomplete fix. Instead, we should pick this: https://chromium-review.googlesource.com/#/c/444085/ I'll go ahead and do tha

Re: [PATCH v2 1/2] extcon: cros-ec: Add extcon-cros-ec driver to support display out.

2017-05-23 Thread Benson Leung
em. > I'll create an immutable branch with this this week. Thank you! Benson -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org

Re: [PATCH v2 1/2] extcon: cros-ec: Add extcon-cros-ec driver to support display out.

2017-05-23 Thread Benson Leung
mmutable branch with this this week. Thank you! Benson -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org

[PATCH] power_supply: Add Apple Brick ID power supply type

2017-05-08 Thread Benson Leung
or Apple's proprietary "Brick ID" charging method. Signed-off-by: Benson Leung <ble...@chromium.org> --- drivers/power/supply/power_supply_sysfs.c | 2 +- include/linux/power_supply.h | 15 --- 2 files changed, 9 insertions(+), 8 deletions(-) diff --

[PATCH] power_supply: Add Apple Brick ID power supply type

2017-05-08 Thread Benson Leung
or Apple's proprietary "Brick ID" charging method. Signed-off-by: Benson Leung --- drivers/power/supply/power_supply_sysfs.c | 2 +- include/linux/power_supply.h | 15 --- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/power/supply/pow

Re: [PATCH v3] platform: chrome: Add Tablet Switch ACPI driver

2017-02-01 Thread Benson Leung
uspend time. > > Signed-off-by: Gwendal Grignou <gwen...@chromium.org> Acked-by: Benson Leung <ble...@chromium.org> New driver looks good to me. I'll add this to my tree, once I get it up and running. -- Benson Leung Senior Software Engineer Chrome OS Kernel Google Inc. ble...@google.

Re: [PATCH v3] platform: chrome: Add Tablet Switch ACPI driver

2017-02-01 Thread Benson Leung
pend time. > > Signed-off-by: Gwendal Grignou Acked-by: Benson Leung New driver looks good to me. I'll add this to my tree, once I get it up and running. -- Benson Leung Senior Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org signature.asc Description: OpenPGP digital signature

Re: [PATCH v2] platform: chrome: Add Tablet Switch ACPI driver

2017-01-30 Thread Benson Leung
ume time when different from suspend time. > > Change-Id: Ie51d426de68770fad8eeb83aaab9abe8d69e84a2 Strip off the gerrit Change-Id: as it is meaningless upstream. Thanks! Benson -- Benson Leung Senior Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble..

Re: [PATCH v2] platform: chrome: Add Tablet Switch ACPI driver

2017-01-30 Thread Benson Leung
ume time when different from suspend time. > > Change-Id: Ie51d426de68770fad8eeb83aaab9abe8d69e84a2 Strip off the gerrit Change-Id: as it is meaningless upstream. Thanks! Benson -- Benson Leung Senior Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble..

Re: [PATCH v2 4/4] mfd: cros_ec: add RTC as mfd subdevice

2017-01-27 Thread Benson Leung
off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> Acked-by: Benson Leung <ble...@chromium.org> Sorry for the delay on this Enric. This looks good to go. -- Benson Leung Senior Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromiu

Re: [PATCH v2 4/4] mfd: cros_ec: add RTC as mfd subdevice

2017-01-27 Thread Benson Leung
Hi Enric, On Thu, Jan 19, 2017 at 01:30:32PM +0100, Enric Balletbo i Serra wrote: > From: Stephen Barber > > If the EC supports RTC host commands, expose an RTC device. > > Signed-off-by: Stephen Barber > Signed-off-by: Enric Balletbo i Serra Acked-by: Benson Leung S

Re: [PATCH] platform: chrome: Add Tablet Switch ACPI driver

2017-01-27 Thread Benson Leung
ABLET_MODE); > + ret = input_register_device(idev); > + if (ret) { > + dev_err(dev, "cannot register input device\n"); > + return ret; > + } > + return 0; > +} > + > +static const struct acpi_device_id chromeos_tbm

Re: [PATCH] platform: chrome: Add Tablet Switch ACPI driver

2017-01-27 Thread Benson Leung
ret = input_register_device(idev); > + if (ret) { > + dev_err(dev, "cannot register input device\n"); > + return ret; > + } > + return 0; > +} > + > +static const struct acpi_device_id chromeos_tbmc_acpi_device_ids[] =

Re: [PATCH v2 0/2] platform/chrome: Add support for mec1322 EC

2016-12-02 Thread Benson Leung
mode 100644 drivers/platform/chrome/cros_ec_lpc_mec.c > create mode 100644 drivers/platform/chrome/cros_ec_lpc_reg.c > create mode 100644 include/linux/mfd/cros_ec_lpc_mec.h > create mode 100644 include/linux/mfd/cros_ec_lpc_reg.h > > -- > 2.7.4 > -- Benson Leung

Re: [PATCH v2 0/2] platform/chrome: Add support for mec1322 EC

2016-12-02 Thread Benson Leung
hrome/cros_ec_lpc_mec.c > create mode 100644 drivers/platform/chrome/cros_ec_lpc_reg.c > create mode 100644 include/linux/mfd/cros_ec_lpc_mec.h > create mode 100644 include/linux/mfd/cros_ec_lpc_reg.h > > -- > 2.7.4 > -- Benson Leung Senior Software Engineer Chrome OS Kernel Google Inc. ble...@google.com Chromium OS Project ble...@chromium.org

Re: [PATCH] mfd: cros_ec: Use proper protocol transfer function

2016-11-22 Thread Benson Leung
[PATCH] platform/chrome : Add myself as Maintainer > > but it's not merged anywhere AFAICT. > > I can resend if that helps. I'll be happy to accept these once I get my chrome-platform maintainer workflow going. I'm hoping to hear back from Olof as well. -- Benson Leung Senior Softw

Re: [PATCH] mfd: cros_ec: Use proper protocol transfer function

2016-11-22 Thread Benson Leung
self as Maintainer > > but it's not merged anywhere AFAICT. > > I can resend if that helps. I'll be happy to accept these once I get my chrome-platform maintainer workflow going. I'm hoping to hear back from Olof as well. -- Benson Leung Senior Software Engineer Chrome OS Kernel

[PATCH] platform/chrome : Add myself as Maintainer

2016-11-16 Thread Benson Leung
I'll be taking over maintainership of platform/chrome from Olof, so let's add me to the list of maintainers. Signed-off-by: Benson Leung <ble...@chromium.org> --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2a58eea..5e77b1e

[PATCH] platform/chrome : Add myself as Maintainer

2016-11-16 Thread Benson Leung
I'll be taking over maintainership of platform/chrome from Olof, so let's add me to the list of maintainers. Signed-off-by: Benson Leung --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2a58eea..5e77b1e 100644 --- a/MAINTAINERS +++ b

Re: [PACTH v2] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-08 Thread Benson Leung
t;robert.f...@collabora.com> > Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Benson Leung <ble...@chromium.org> Thanks Robert! -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PACTH v2] mmc: sdhci: Do not allow tuning procedure to be interrupted

2016-08-08 Thread Benson Leung
Since the > tuning command is expected to complete quickly (<50ms) and we've set a > timeout, use wait_event_timeout() instead. > > Signed-off-by: Christopher Freeman > Tested-by: Robert Foss > Signed-off-by: Robert Foss Reviewed-by: Benson Leung Thanks Robert! -- Benso

Re: [PATCH] Dyna-Image AL3320A update, add AL3010 driver

2016-06-03 Thread Benson Leung
by Daniel, don't do this for submissions to linux-kernel or linux-iio. Base this on the linux-iio tree. -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH] Dyna-Image AL3320A update, add AL3010 driver

2016-06-03 Thread Benson Leung
4 100644 > --- a/chromeos/config/x86_64/chromiumos-x86_64.flavour.config > +++ b/chromeos/config/x86_64/chromiumos-x86_64.flavour.config This looks like this patch was based on a chromeos-kernel. As was mentioned by Daniel, don't do this for submissions to linux-kernel or linux-iio. Base

[PATCH] Revert "platform/chrome: chromeos_laptop: Add Leon Touch"

2016-05-25 Thread Benson Leung
plicate. Signed-off-by: Benson Leung <ble...@chromium.org> --- drivers/platform/chrome/chromeos_laptop.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c index 8398a7d..e8a44a9 100644 ---

[PATCH] Revert "platform/chrome: chromeos_laptop: Add Leon Touch"

2016-05-25 Thread Benson Leung
plicate. Signed-off-by: Benson Leung --- drivers/platform/chrome/chromeos_laptop.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c index 8398a7d..e8a44a9 100644 --- a/drivers/platform/chrome/chr

Re: [PATCH 3/3] platform/chrome: pstore: Move to larger record size.

2016-05-02 Thread Benson Leung
ned-off-by: Olof Johansson <ol...@chromium.org> > Signed-off-by: Enric Balletbo i Serra <enric.balle...@collabora.com> > Reviewed-by: Sameer Nanda <sna...@chromium.org> Reviewed-by: Benson Leung <ble...@chromium.org> -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH 3/3] platform/chrome: pstore: Move to larger record size.

2016-05-02 Thread Benson Leung
o i Serra > Reviewed-by: Sameer Nanda Reviewed-by: Benson Leung -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH 1/3] platform/chrome: chromeos_laptop: Add Leon Touch

2016-05-02 Thread Benson Leung
int-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.c...@intel.com> > Reviewed-by: Benson Leung <ble...@chromium.org> > Signed-off-by: Enric Ballet

Re: [PATCH 1/3] platform/chrome: chromeos_laptop: Add Leon Touch

2016-05-02 Thread Benson Leung
n the following patch: > https://chromium-review.googlesource.com/#/c/168351/ > > Signed-off-by: Gene Chen > Reviewed-by: Benson Leung > Signed-off-by: Enric Balletbo i Serra I'll have to nack this patch. This actually already landed here : 963cb6f platform/chrome: chromeos_lapto

[PATCH 1/2] platform/chrome: chromeos_laptop - Add elan trackpad option for C720

2016-05-01 Thread Benson Leung
Add the elan trackpad to the Acer C720 (peppy) list, as it is an alternate trackpad option. It may exist at i2c address 0x15. Based on this change from the chromeos kernel : https://chromium-review.googlesource.com/186253 Signed-off-by: Benson Leung <ble...@chromium.org> --- drivers/pl

[PATCH 2/2] platform/chrome: chromeos_laptop - Add Elan touchpad for Wolf

2016-05-01 Thread Benson Leung
ed-off-by: Charlie Mooney <charliemoo...@chromium.org> Signed-off-by: Benson Leung <ble...@chromium.org> --- drivers/platform/chrome/chromeos_laptop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c inde

[PATCH 0/2] Add support for Elan touchpad varionts of Peppy and Wolf

2016-05-01 Thread Benson Leung
The chromeos-3.8 kernel has support for a second-sourced elan device for two Haswell based systems, Peppy and Wolf. Benson Leung (1): platform/chrome: chromeos_laptop - Add elan trackpad option for C720 Charlie Mooney (1): platform/chrome: chromeos_laptop - Add Elan touchpad for Wolf

[PATCH 1/2] platform/chrome: chromeos_laptop - Add elan trackpad option for C720

2016-05-01 Thread Benson Leung
Add the elan trackpad to the Acer C720 (peppy) list, as it is an alternate trackpad option. It may exist at i2c address 0x15. Based on this change from the chromeos kernel : https://chromium-review.googlesource.com/186253 Signed-off-by: Benson Leung --- drivers/platform/chrome

[PATCH 2/2] platform/chrome: chromeos_laptop - Add Elan touchpad for Wolf

2016-05-01 Thread Benson Leung
-by: Benson Leung --- drivers/platform/chrome/chromeos_laptop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c index 2a510b8..e8a44a9 100644 --- a/drivers/platform/chrome/chromeos_laptop.c +++ b/drivers

[PATCH 0/2] Add support for Elan touchpad varionts of Peppy and Wolf

2016-05-01 Thread Benson Leung
The chromeos-3.8 kernel has support for a second-sourced elan device for two Haswell based systems, Peppy and Wolf. Benson Leung (1): platform/chrome: chromeos_laptop - Add elan trackpad option for C720 Charlie Mooney (1): platform/chrome: chromeos_laptop - Add Elan touchpad for Wolf

Re: [PATCH] HID: multitouch: Synchronize MT frame on reset_resume

2016-03-29 Thread Benson Leung
ot number after mt_reset_resume(). > > Signed-off-by: Gabriele Mazzotta <gabriele@gmail.com> Reviewed-by: Benson Leung <ble...@chromium.org> > --- > drivers/hid/hid-multitouch.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/hid/hid-multitouch.

Re: [PATCH] HID: multitouch: Synchronize MT frame on reset_resume

2016-03-29 Thread Benson Leung
gt; > Signed-off-by: Gabriele Mazzotta Reviewed-by: Benson Leung > --- > drivers/hid/hid-multitouch.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c > index 25d3c43..c741f5e 100644 > --- a/drivers/hid/

Re: [PATCH v4 5/6] power: cros_usbpd-charger: Add EC-based USB PD charger driver

2016-03-15 Thread Benson Leung
ing built with the wrong git tree. The new types for these three errors landed in sre's linux-power-supply here : https://git.kernel.org/cgit/linux/kernel/git/sre/linux-power-supply.git/commit/?h=next=6659b55dae09b2042d8cdd0f4576502c3e81957c It should be in most recent linux-nexts, but it wouldn't be in v4.5-rc7. -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH v4 5/6] power: cros_usbpd-charger: Add EC-based USB PD charger driver

2016-03-15 Thread Benson Leung
wrong git tree. The new types for these three errors landed in sre's linux-power-supply here : https://git.kernel.org/cgit/linux/kernel/git/sre/linux-power-supply.git/commit/?h=next=6659b55dae09b2042d8cdd0f4576502c3e81957c It should be in most recent linux-nexts, but it wouldn't be in v4.5-rc7. -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH v5 3/6] mfd: cros_ec: Add cros_ec_get_host_event

2016-03-14 Thread Benson Leung
t mask, 0 on error > + */ > +uint32_t cros_ec_get_host_event(struct cros_ec_device *ec_dev); > + > /* sysfs stuff */ > extern struct attribute_group cros_ec_attr_group; > extern struct attribute_group cros_ec_lightbar_attr_group; > -- > 2.5.0 > -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH v5 3/6] mfd: cros_ec: Add cros_ec_get_host_event

2016-03-14 Thread Benson Leung
cros_ec_get_host_event - Return a mask of event set by the EC. > + * > + * Returns the mask of the event that caused the last interrupt to be raised. > + * > + * @ec_dev: Device to fetch event from > + * @return event mask, 0 on error > + */ > +uint32_t cros_ec_get_host_event

Re: [PATCH v5 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-03-14 Thread Benson Leung
gt; Reviewed-by: Benson Leung <ble...@chromium.org> > --- > > Changes in v5: > - Check explicitly for !EC_RES_SUCCESS as suggested by Benson Leung. > > Changes in v4: None > Changes in v3: None > Changes in v2: None -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH v5 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-03-14 Thread Benson Leung
Thanks! On Mon, Mar 14, 2016 at 8:44 AM, Tomeu Vizoso wrote: > So that callers of cros_ec_cmd_xfer don't have to repeat boilerplate > code when checking for errors from the EC side. > > Signed-off-by: Tomeu Vizoso Reviewed-by: Benson Leung > --- > > Changes in v5:

Re: [PATCH v4 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-03-08 Thread Benson Leung
gt; + * using this function. > + * > + * @ec_dev: EC device > + * @msg: Message to write > + * @return: Num. of bytes transferred on success, <0 on failure > + */ > +int cros_ec_cmd_xfer_status(struct cros_ec_device *ec_dev, > + struct cros_ec_command *msg); > + > +/** > * cros_ec_remove - Remove a ChromeOS EC > * > * Call this to deregister a ChromeOS EC, then clean up any private data. > -- > 2.5.0 > -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH v4 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-03-08 Thread Benson Leung
* @return: Num. of bytes transferred on success, <0 on failure > + */ > +int cros_ec_cmd_xfer_status(struct cros_ec_device *ec_dev, > + struct cros_ec_command *msg); > + > +/** > * cros_ec_remove - Remove a ChromeOS EC > * > * Call this to deregister a ChromeOS EC, then clean up any private data. > -- > 2.5.0 > -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH v3] HID: i2c-hid: Fix suspend/resume when already runtime suspended

2016-03-08 Thread Benson Leung
rk the device as running at full > power (since that is what resetting will do to it). > > Signed-off-by: Doug Anderson <diand...@chromium.org> > Signed-off-by: Dmitry Torokhov <d...@chromium.org> Reviewed-by: Benson Leung <ble...@chromium.org> > --- > > This

Re: [PATCH v3] HID: i2c-hid: Fix suspend/resume when already runtime suspended

2016-03-08 Thread Benson Leung
at full > power (since that is what resetting will do to it). > > Signed-off-by: Doug Anderson > Signed-off-by: Dmitry Torokhov Reviewed-by: Benson Leung > --- > > This is an uprev of a patch that Doug sent a year ago (see > https://patchwork.kernel.org/patch/5970731/), adjusted to

Re: [PATCH v1 3/6] power_supply: Add types for USB Type C and PD chargers

2016-02-11 Thread Benson Leung
hat? Sounds good to me! Thanks, Benson -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH v1 3/6] power_supply: Add types for USB Type C and PD chargers

2016-02-11 Thread Benson Leung
sting entries, do you agree with that? Sounds good to me! Thanks, Benson -- Benson Leung Senior Software Engineer, Chrom* OS ble...@chromium.org

Re: [PATCH v1 1/6] mfd: cros_ec: small kerneldoc fix

2016-02-05 Thread Benson Leung
On Fri, Feb 5, 2016 at 5:32 AM, Tomeu Vizoso wrote: > s/cros_ec_register/cros_ec_query_all > > Signed-off-by: Tomeu Vizoso Reviewed-by: Benson Leung > --- > > include/linux/mfd/cros_ec.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/in

Re: [PATCH v1 3/6] power_supply: Add types for USB Type C and PD chargers

2016-02-05 Thread Benson Leung
Thanks for putting this up Tomeu! On Fri, Feb 5, 2016 at 5:32 AM, Tomeu Vizoso wrote: > From: Benson Leung > > This adds power supply types for USB chargers defined in > the USB Type-C Specification 1.1 and in the > USB Power Delivery Specification Revision 2.0 V1.1. &g

Re: [PATCH v1 3/6] power_supply: Add types for USB Type C and PD chargers

2016-02-05 Thread Benson Leung
Thanks for putting this up Tomeu! On Fri, Feb 5, 2016 at 5:32 AM, Tomeu Vizoso <tomeu.viz...@collabora.com> wrote: > From: Benson Leung <ble...@chromium.org> > > This adds power supply types for USB chargers defined in > the USB Type-C Specification 1.1 and in

Re: [PATCH v1 1/6] mfd: cros_ec: small kerneldoc fix

2016-02-05 Thread Benson Leung
On Fri, Feb 5, 2016 at 5:32 AM, Tomeu Vizoso <tomeu.viz...@collabora.com> wrote: > s/cros_ec_register/cros_ec_query_all > > Signed-off-by: Tomeu Vizoso <tomeu.viz...@collabora.com> Reviewed-by: Benson Leung <ble...@chromium.org> > --- > > include/linux/mfd/c

Re: [PATCH] input: cyapa: fix the copy paste error on electrodes_rx value

2015-10-12 Thread Benson Leung
ned-off-by: Dudley Du Reviewed-by: Benson Leung Thanks! -- Benson Leung Senior Software Engineer, Chrome OS Google Inc. ble...@google.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH] input: cyapa: fix the copy paste error on electrodes_rx value

2015-10-12 Thread Benson Leung
..@gmail.com> > Reviewed-by: Sudip Mukherjee <sudipm.mukher...@gmail.com> > Signed-off-by: Dudley Du <d...@cypress.com> Reviewed-by: Benson Leung <ble...@chromium.org> Thanks! -- Benson Leung Senior Software Engineer, Chrome OS Google Inc. ble...@google.com -- To unsubscri

Re: [PATCH 16/18] Input: elan_i2c - simplify function return logic

2015-10-02 Thread Benson Leung
rivers/input/mouse/elan_i2c_smbus.c:402:1-6: WARNING: end returns can be > simplified > > Signed-off-by: Javier Martinez Canillas Reviewed-by: Benson Leung -- Benson Leung Software Engineer, Chrom* OS ble...@chromium.org -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [PATCH 16/18] Input: elan_i2c - simplify function return logic

2015-10-02 Thread Benson Leung
coccicheck warning: > > drivers/input/mouse/elan_i2c_smbus.c:402:1-6: WARNING: end returns can be > simplified > > Signed-off-by: Javier Martinez Canillas <jav...@osg.samsung.com> Reviewed-by: Benson Leung <ble...@chromium.org> -- Benson Leung Software Engineer, Chrom* OS ble...@

[PATCH] Input: elan_i2c - Fix typos for validpage_count

2015-08-26 Thread Benson Leung
Search for "vaildpage_count" and replace with "validpage_count". Signed-off-by: Benson Leung --- drivers/input/mouse/elan_i2c_core.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/m

[PATCH] Input: elan_i2c - Fix typos for validpage_count

2015-08-26 Thread Benson Leung
Search for vaildpage_count and replace with validpage_count. Signed-off-by: Benson Leung ble...@chromium.org --- drivers/input/mouse/elan_i2c_core.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse

Re: [PATCH] Input: do not emit unneeded EV_SYN when suspending

2015-08-06 Thread Benson Leung
onnect, freeze), so maybe change the commit message to reflect that? Otherwise, LGTM. -- Benson Leung Software Engineer, Chrom* OS ble...@chromium.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mor

Re: [PATCH] Input: do not emit unneeded EV_SYN when suspending

2015-08-06 Thread Benson Leung
input_dev_suspend (reset, disconnect, freeze), so maybe change the commit message to reflect that? Otherwise, LGTM. -- Benson Leung Software Engineer, Chrom* OS ble...@chromium.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH] HID: i2c-hid: Do not set the ACPI companion field in the HID device

2015-06-02 Thread Benson Leung
le, since > acpi_bind_one uses's the companion ACPI device's wakeup flags to set the > device as wake capable. Which results in power/wakeup files in sysfs for > the HID device which do not do anything. > > Signed-off-by: Andrew Duggan Reviewed-by: Benson Leung Tested-by: Benson Leung >

<    1   2   3   4   5   6   7   8   >