Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2317819yba; Mon, 15 Apr 2019 09:11:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqy30huF3TTlE+1GMYkRm6cbfa1gerXCX9NtIUYJNy3kZmDLJyagUweyWGBA7VIrTNgC2dhN X-Received: by 2002:a17:902:8a81:: with SMTP id p1mr77121438plo.106.1555344664175; Mon, 15 Apr 2019 09:11:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555344664; cv=none; d=google.com; s=arc-20160816; b=1Cv30ijbW0MR6TSquNMdY5CCrP1hyApPbJtE56fflWD8it0KCrf3j61ZIrENgz36yI HFwznskF0QMWfmA7MWUA7NW/6ogEPfPTbS3YWj/OHyuaX1FUl6t9AohZ3klwcVDMKl91 /ktoBVPeJipVs5abB/I+YU00zkHHOov0yp4QITVMw6DG8p03s2zvuVuBtZDR5BXD0Mvx hbrvZrjJxOpZlZ2Fkz6g8Qht7VlGxpUH3mwEkqLNMUuS0x9WCpwRPRh17ys3J3plL0lI G2lWk9mrxm3cM2ej6OOwDQ40AGNM2tOMN4arHOZm6YHZicLx0rIX5cI2phFnaZ016bgi Tb5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature; bh=Rbroc0TcCejxHzqpYCEDaZApUY9GFl+pj5V6z3KiYE0=; b=EeaM2RgPc6gUQaKVw7OWwtSnxTHbmIMZUwLZGPHbYiaX4mC7m4MWfMzOPvNy8rTEKa xnJLF+YpsGmhNrgLVp2BoP6ZQ4kA1jw5+3LEaUGuBWBjeCvxRtDPusXUvJDkQG3coHfu ZmHi9w4wU90aIF9RkxpW5qaCNMLbQ5U8QqaPRivtJbBAdFfSNexpD/Txb9bnnAYspbLj eqEASTuuC+rj51UdO+wX/60LEw9Uqi4INy8A3svpO2nSz9Z/JQPZxvHl3oNjR/OAvZAx dbolfTUSS847e74EwZK2inDmBc40CKtaLzLmMeUF58Y5HOZSt4tAG1ECD84b5FWUewDK 0ugA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=V3muGD5d; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70si16836008pla.82.2019.04.15.09.10.47; Mon, 15 Apr 2019 09:11: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=fail header.i=@gmail.com header.s=20161025 header.b=V3muGD5d; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728129AbfDOQJZ (ORCPT + 99 others); Mon, 15 Apr 2019 12:09:25 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:35605 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727593AbfDOQJX (ORCPT ); Mon, 15 Apr 2019 12:09:23 -0400 Received: by mail-pl1-f194.google.com with SMTP id w24so8799844plp.2; Mon, 15 Apr 2019 09:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Rbroc0TcCejxHzqpYCEDaZApUY9GFl+pj5V6z3KiYE0=; b=V3muGD5dyYhrPtI8I5K0oPQtdoq3nPFfCwjPXHo4rJ64vqA7eWgif+U76ahmWKmti9 fUJUrv4FQfOe5Sytf9GBZj/0mghTibf4jLpqKD+O/XfRsWgMVyu4BKxXoYx9XQDeGb1K rTclSwJgmrcyll/U63Lz42Yi/F5CkCX55tcq5ngk4bfoMsi2JoH1gmJSOEjFpBQ1HQIw zLP2OcHbzRFNZbbjKjpjjkyxU1zASjcA8cCAXSxzX3/fYgrSZNenycLWUdKUDCkbGRG0 I+gCINcxX+xohd9HSuV+Y3KwD01mbE3N7PmYL2uXNV8WcvuizG0TKtPnwhlgH8/7DAWt vzRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Rbroc0TcCejxHzqpYCEDaZApUY9GFl+pj5V6z3KiYE0=; b=SILLt/zNCQMSL5CNlr4DRgqdvI4tkB1Rv3wIPe3IJp0ULBnyxqg09XJQaJmvWfGOwG NLDSfe33C8u+OfesV5VJzLaywR0/03LNAlmZj0+DX6KaMc44Zn2YD9m14kALq+Ld8E/O rfn8vpQJvMshwS0YaB7v8cJenO4KkjVioSOpLRvjatZXuco7QxbhWpjJSnadFph/tTUT xRFo0/u3IWIV5n1otCsR+Go8i/lTUtlthDP2+dxpYyz8AO6J4R+9Uk6pN0ta8v/2a9AW WHJROPIqlkfyrzHrDFAvYC4pFarFRWy0i2gknrUqqhU/1lUbTOtMiOzYAFHYQPkK/T1h kxlA== X-Gm-Message-State: APjAAAXBCayY8LQ3+9DXrXEcS6thzeReAFJE6ROy3JAfek5ZlxG8jhLx aAby+H8zgvGRsKOfqEnhlJY= X-Received: by 2002:a17:902:4a0c:: with SMTP id w12mr47926844pld.52.1555344563225; Mon, 15 Apr 2019 09:09:23 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id h65sm125396567pfd.108.2019.04.15.09.09.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Apr 2019 09:09:22 -0700 (PDT) From: Jeffrey Hugo Cc: lee.jones@linaro.org, bjorn.andersson@linaro.org, dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, agross@kernel.org, david.brown@linaro.org, jikos@kernel.org, benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [PATCH v3 0/3] Basic DT support for Lenovo Miix 630 Date: Mon, 15 Apr 2019 09:09:15 -0700 Message-Id: <20190415160915.16324-1-jeffrey.l.hugo@gmail.com> X-Mailer: git-send-email 2.17.1 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Lenovo Miix 630 is one of three ARM based (specifically Qualcomm MSM8998) laptops that comes with Windows, and seems to have a dedicated following of folks intrested to get Linux up and running on it. This series adds support for the basic functionality this is validated towork using devicetree. Although the laptops do feed ACPI to Windows, the existing MSM8998 support in mainline is DT based, so DT provides a quick path to functionality while ACPI support is investigated. The three devices are very similar, but do have differences in the set of peripherals supported, so the idea is that the vast majority of the support for all three can live in a common include, which should reduce overall duplication. Adding support for the other two devices as a follow on should involve minimal work. The bleeding edge work for these laptops and work in progress can be found at https://github.com/aarch64-laptops/prebuilt v3: -Changed "clam" to "clamshell" -Defined a dt binding for the combo Elan keyboard + touchpad device -Adjusted the HID quirk to be correct for dt boot -Removed extranious comment in board dts -Fixed board level compatible v2: -Changed "cls" to "clam" since feedback indicated "cls" is too opaque, but "clamshell" is a mouthfull. "clam" seems to be a happy medium. Jeffrey Hugo (3): dt-bindings: input: add Elan 400 combo keyboard/touchpad over i2c HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630 for DT arm64: dts: qcom: Add Lenovo Miix 630 .../bindings/input/elan,combo400-i2c.txt | 11 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8998-clamshell.dtsi | 278 ++++++++++++++++++ .../boot/dts/qcom/msm8998-lenovo-miix-630.dts | 30 ++ drivers/hid/hid-quirks.c | 3 +- 5 files changed, 322 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/input/elan,combo400-i2c.txt create mode 100644 arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi create mode 100644 arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts -- 2.17.1