Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1729436yba; Sat, 6 Apr 2019 22:05:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxl1Y9IqwW6EUZfpDp7hBHcWzEX3r+DmFqh2gJQu3dV7s986O8SYr4evKuvO+4+tH8DK4GH X-Received: by 2002:a17:902:2c83:: with SMTP id n3mr21902984plb.281.1554613504096; Sat, 06 Apr 2019 22:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554613504; cv=none; d=google.com; s=arc-20160816; b=hTq2jMou834u+u96VFW9PdJ6K7XXb3m9OOeDfxfhVkeoumNkwBx7yE/FK+BAWVNgEU E19DlJBo5uWR4R3zJ19EyPCd065oN3gJ5rE2KBRPzicTIH5y5Djmik7DcRPcoduV3wzY Nkp9JBa6RsgM0JKqCLjNMfcPt2JLxH2s5E9Fs62j+bVaOEBnD557KMo0O6gGhqkBtgF9 sw6BROxCbxnFkKhR9F8CHyDYYINVl/dCHv2rQIi/2ARY+zkrpbW97riJxB9irnHh9BX2 2LwLh0GRYvs5vGhC7weEy+a6MB7noPhFqFtoJiNz6LqICpb4gvXuiBVqlNa/JNfIi2E8 w7qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:dkim-signature:dkim-filter:from; bh=AxWRtrYijEt930XJaBKgDJnaZbAqWCp8GlZ8nYkx2Oc=; b=R0X6qYHobG85nxSyAr+8U+Z8Lq9aBwLu2gWvERgR396ll5+bF2o173FYxxByehV1Rn UjvO28LhuBi13k3VFoAOt1osZL2eG5VVEeQy860NDR7iQ0mFwNVfbHRd/Yq9BQ1ogrGx NuJfoX/Q0wrvhip7H8895UWsyD1tnT8Xj69QTNxYkBdjZgtzn5SMkxhUQECMG7gZ2zco a6cii4kRiV8ol39OZkU4l8b/0e6Y7D4LSIO+9Q0++bDD2H/viFe/lEeb5eBhJzFoeUcK XPKZP/GHkqv9GMTaBn4EDYs2JvKo3lZ/kju7wbWLixs+3HoIzULgqT1TfsczgQsw5O0D t43g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@innovation.ch header.s=default header.b=EIx7KjDA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=innovation.ch Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d35si23572696pla.48.2019.04.06.22.04.49; Sat, 06 Apr 2019 22:05:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@innovation.ch header.s=default header.b=EIx7KjDA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=innovation.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726040AbfDGFEH (ORCPT + 99 others); Sun, 7 Apr 2019 01:04:07 -0400 Received: from chill.innovation.ch ([216.218.245.220]:46068 "EHLO chill.innovation.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725902AbfDGFEG (ORCPT ); Sun, 7 Apr 2019 01:04:06 -0400 Received: from localhost (localhost [127.0.0.1]) by chill.innovation.ch (Postfix) with ESMTP id 486BA64019C; Sat, 6 Apr 2019 22:04:06 -0700 (PDT) X-Virus-Scanned: amavisd-new at Received: from chill.innovation.ch ([127.0.0.1]) by localhost (chill.innovation.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id m9bCm_cogEzt; Sat, 6 Apr 2019 22:04:04 -0700 (PDT) From: =?UTF-8?q?Ronald=20Tschal=C3=A4r?= DKIM-Filter: OpenDKIM Filter v2.10.3 chill.innovation.ch 1FBA16400FB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=innovation.ch; s=default; t=1554613444; bh=AxWRtrYijEt930XJaBKgDJnaZbAqWCp8GlZ8nYkx2Oc=; h=From:To:Cc:Subject:Date:From; b=EIx7KjDAkTeiDj0jeARz66uz3u5Z0PCVLFeZgvbc02lAitLCJNza2lZMNGKcwGRKO 582hJ49xDfrltJF6Geu8I5va/RT8tZG1WGQhYvhO4/lf2H4mmmhXf810sODv4A5PJZ qIZ1UtmWOatcsVyjMK6F2sgsSHcUGay+roJ4mPBmN5uWbGXex6PDsFFHANDIDlIwPO 3D/7Vzp0xNhZnKsEBnZne3hC/uuYlLvYpJwwS076DoyT3OnvJVR0YW9wGwxG/+fX/W lFUy27TvDOaZLZbC+cn7TDgMcLrrNtcXJjKu3k2DkHWqwVfbDfzJspaGrk6QuxZ6s7 Ssd3M8Yx50xxA== To: Dmitry Torokhov , Henrik Rydberg , Andy Shevchenko , Greg Kroah-Hartman Cc: Lukas Wunner , Federico Lorenzi , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/2] Add Apple SPI keyboard and trackpad driver Date: Sat, 6 Apr 2019 22:03:56 -0700 Message-Id: <20190407050358.2976-1-ronald@innovation.ch> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This changeset adds a driver for the SPI keyboard and trackpad on recent MacBook's and MacBook Pro's. The driver has seen a fair amount of use over the last 2 years (basically anybody running linux on these machines), with only relatively small changes in the last year or so. For those interested, the driver development has been hosted at https://github.com/cb22/macbook12-spi-driver/ (as well as my clone at https://github.com/roadrunner2/macbook12-spi-driver/). The first patch fixes a problem during config and is provided for anybody wanting to compile the driver while it's being reviewed here. The patch is the latest version that has been submitted for review at dri-devel; the intent is to get an Ack and permission to merge it through the input subsystem tree here as part of this patch series. The second patch contains the new applespi driver. Changes in v4: Applied all feedback from review by Andy Shevchenko and Greg Kroah-Hartman, including: - minor include path fix - moved debug logging to debugfs and tracepoints The full set of changes to applespi can be viewed at https://github.com/roadrunner2/macbook12-spi-driver/ as individual commits 3a6262e..daf60f8 in the upstreaming-review branch. Ronald Tschalär (2): drm/bridge: sil_sii8620: make remote control optional. Input: add Apple SPI keyboard and trackpad driver. drivers/gpu/drm/bridge/Kconfig | 3 +- drivers/gpu/drm/bridge/sil-sii8620.c | 21 + drivers/input/keyboard/Kconfig | 15 + drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/applespi.c | 1999 +++++++++++++++++++++++ drivers/input/keyboard/applespi.h | 29 + drivers/input/keyboard/applespi_trace.h | 94 ++ 7 files changed, 2160 insertions(+), 2 deletions(-) create mode 100644 drivers/input/keyboard/applespi.c create mode 100644 drivers/input/keyboard/applespi.h create mode 100644 drivers/input/keyboard/applespi_trace.h -- 2.20.1