From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753956AbbDYF3g (ORCPT ); Sat, 25 Apr 2015 01:29:36 -0400 Received: from mail-pd0-f179.google.com ([209.85.192.179]:33147 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753834AbbDYF3e (ORCPT ); Sat, 25 Apr 2015 01:29:34 -0400 Date: Fri, 24 Apr 2015 22:29:35 -0700 From: Olof Johansson To: torvalds@linux-foundation.org Cc: olof@lixom.net, linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com Subject: [GIT PULL] platform/chrome: Updates for v4.1 Message-ID: <20150425052935.GA15534@quad.lixom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Almost forgot to send this one in. Grmbl. The patch from Dmitry for sorting out probing of chrome_laptop is just now applied -- but given that it sorts out probing for the rare cases where the trackpad comes up in bootloader mode I figured it's worth including even if it hasn't baked in -next. Please merge. Thanks, -Olof The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/chrome-platform.git tags/chrome-for-linus for you to fetch changes up to 96cba9b00e297303774bec59e192064d20adeb3d: platform/chrome: chromeos_laptop - instantiate Atmel at primary address (2015-04-24 22:07:14 -0700) ---------------------------------------------------------------- platform/chrome: Updates for v4.1 Here's a set of updates to the Chrome OS platform drivers for this merge window. Main new things this cycle is: - Driver changes to expose the lightbar to users. With this, you can make your own blinkenlights on Chromebook Pixels. - Changes in the way that the atmel_mxt trackpads are probed. The laptop driver is trying to be smart and not instantiate the devices that don't answer to probe. For the trackpad that can come up in two modes (bootloader or regular), this gets complicated since the driver already knows how to handle the two modes including the actual addresses used. So now the laptop driver needs to know more too, instantiating the regular address even if the bootloader one is the probe that passed. - mfd driver improvements by Javier Martines Canillas, and a few bugfixes from him, kbuild and myself. ---------------------------------------------------------------- Bill Richardson (4): platform/chrome: Add cros_ec_lpc driver for x86 devices platform/chrome: Add Chrome OS EC userspace device interface platform/chrome: Create sysfs attributes for the ChromeOS EC platform/chrome: Expose Chrome OS Lightbar to users Dmitry Torokhov (1): platform/chrome: chromeos_laptop - instantiate Atmel at primary address Javier Martinez Canillas (5): mfd: cros_ec: Use fixed size arrays to transfer data with the EC mfd: cros_ec: Add char dev and virtual dev pointers mfd: cros_ec: Instantiate ChromeOS EC character device platform/chrome: cros_ec_lpc - Include linux/io.h header file platform/chrome: cros_ec_lpc - Depend on X86 || COMPILE_TEST Olof Johansson (2): platform/chrome: cros_ec_dev - fix Unknown escape '%' warning platform/chrome: cros_ec_lightbar - fix duplicate const warning kbuild test robot (1): platform/chrome: fix platform_no_drv_owner.cocci warnings Documentation/ioctl/ioctl-number.txt | 1 + drivers/i2c/busses/i2c-cros-ec-tunnel.c | 51 +--- drivers/input/keyboard/cros_ec_keyb.c | 13 +- drivers/mfd/cros_ec.c | 19 +- drivers/platform/chrome/Kconfig | 26 +- drivers/platform/chrome/Makefile | 3 + drivers/platform/chrome/chromeos_laptop.c | 35 ++- drivers/platform/chrome/cros_ec_dev.c | 274 +++++++++++++++++++++ drivers/platform/chrome/cros_ec_dev.h | 53 +++++ drivers/platform/chrome/cros_ec_lightbar.c | 367 +++++++++++++++++++++++++++++ drivers/platform/chrome/cros_ec_lpc.c | 319 +++++++++++++++++++++++++ drivers/platform/chrome/cros_ec_sysfs.c | 271 +++++++++++++++++++++ include/linux/mfd/cros_ec.h | 23 +- 13 files changed, 1384 insertions(+), 71 deletions(-) create mode 100644 drivers/platform/chrome/cros_ec_dev.c create mode 100644 drivers/platform/chrome/cros_ec_dev.h create mode 100644 drivers/platform/chrome/cros_ec_lightbar.c create mode 100644 drivers/platform/chrome/cros_ec_lpc.c create mode 100644 drivers/platform/chrome/cros_ec_sysfs.c