Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4928299ima; Tue, 5 Feb 2019 03:45:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IYCaBpQVNN+wOo8gamWwaQaxrg2IOrn/B9BjgIqiuobyQ0TpqBzzg5QzC2P6yfKqe1g3jjG X-Received: by 2002:a62:5486:: with SMTP id i128mr4469809pfb.215.1549367146869; Tue, 05 Feb 2019 03:45:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549367146; cv=none; d=google.com; s=arc-20160816; b=JBBdOKzLrJHxa0tLxV6nabwhYDNuxLPKesXuXsgqU72a3VJB89AdZ8GJ80hR7DubcZ /aCDSK9Ra2kRIJwZj1YS7p4uTMD/iUEXp0x6MJkmNbcm94TN5w8FLOEusdlcr45W5zI4 qivWF3E4ghaGxPY+QInD4k2fwRKbTpYVERq0ja8IxmxZJ+UYWziAh+2xr2UfJKRf3Eyj L4ATaaL7cd+/Ysyr7fuL0rePgmje90PtyJxTXkNbKQBJ5kR3/Mb38FrR4ZWbfDI4S5WW X0fZb0+Kn89L3MyDkcmC3EQhpehnuMKox9E+PZu3ob0aNZnXC1xmyj2Xhp6Z4VeQDyMz WE7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=wMNXCbfMre9oezJlqZWw4/qYkGZLCZ/2gu8a6CVV+wU=; b=W0M2wiekz5qlLa5q//rJpHXifYp94pPjE5Ce+gkLcYDj6isipecFq53Cge8s7rl3Dk CPUnNpBrcC+t29InS703IQbyu6mtAoAOLYBrtZKuhyCAVTI6ZpADs2Q/XvQCoE2iKPMn aJVp55X+5y9qNjLFi93fVTCi+OrXpsCZKQv2dDdFak1m1pTGIuKQ+bE79mgK0hK1mzgG R6w7gbOg0xTWZyw/87VKLPy+iCkTLtz+NioXqB2pua3tScQASk6I6JSTBOuQpKbofVbG dHw5bUbMRevDKU9qBfmfRePqj1JHqR9AWM/uZybYDfAgg2qp8mvrp/IczylBJP/7z+rC AefQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 11si2766551pgy.408.2019.02.05.03.45.30; Tue, 05 Feb 2019 03:45:46 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727090AbfBELp0 (ORCPT + 99 others); Tue, 5 Feb 2019 06:45:26 -0500 Received: from mga02.intel.com ([134.134.136.20]:17065 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726065AbfBELpZ (ORCPT ); Tue, 5 Feb 2019 06:45:25 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2019 03:45:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,563,1539673200"; d="scan'208";a="272624884" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by orsmga004.jf.intel.com with ESMTP; 05 Feb 2019 03:45:23 -0800 Received: from andy by smile with local (Exim 4.92-RC5) (envelope-from ) id 1gqzAI-0004Qv-1K; Tue, 05 Feb 2019 13:45:22 +0200 Date: Tue, 5 Feb 2019 13:45:22 +0200 From: Andy Shevchenko To: Ronald =?iso-8859-1?Q?Tschal=E4r?= Cc: Dmitry Torokhov , Henrik Rydberg , Lukas Wunner , Federico Lorenzi , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] Input: add Apple SPI keyboard and trackpad driver. Message-ID: <20190205114522.GV9224@smile.fi.intel.com> References: <20190204081947.25152-1-ronald@innovation.ch> <20190204081947.25152-3-ronald@innovation.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190204081947.25152-3-ronald@innovation.ch> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 04, 2019 at 12:19:47AM -0800, Ronald Tschal?r wrote: > The keyboard and trackpad on recent MacBook's (since 8,1) and > MacBookPro's (13,* and 14,*) are attached to an SPI controller instead > of USB, as previously. The higher level protocol is not publicly > documented and hence has been reverse engineered. As a consequence there > are still a number of unknown fields and commands. However, the known > parts have been working well and received extensive testing and use. > > In order for this driver to work, the proper SPI drivers need to be > loaded too; for MB8,1 these are spi_pxa2xx_platform and spi_pxa2xx_pci; > for all others they are spi_pxa2xx_platform and intel_lpss_pci. For this > reason enabling this driver in the config implies enabling the above > drivers. > +config KEYBOARD_APPLESPI > + tristate "Apple SPI keyboard and trackpad" > + depends on (X86 && ACPI && SPI) || COMPILE_TEST COMPILE_TEST more or less makes sense in conjunction with architecture selection. It means, your code always dependant to ACPI and SPI frameworks. That's why 0day complained. > + imply SPI_PXA2XX > + imply SPI_PXA2XX_PCI > + imply MFD_INTEL_LPSS_PCI > + help > + Say Y here if you are running Linux on any Apple MacBook8,1 or later, > + or any MacBookPro13,* or MacBookPro14,*. > + > + To compile this driver as a module, choose M here: the > + module will be called applespi. -- With Best Regards, Andy Shevchenko