Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8262594ybi; Thu, 6 Jun 2019 09:13:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJwi3eHw5WYYhJqCcqBaGs5l4gKlO7WKhgHADnen6j71uw+wjMutU+l1ufk0HnSJ0WJEm+ X-Received: by 2002:a63:2ad2:: with SMTP id q201mr3886214pgq.94.1559837629239; Thu, 06 Jun 2019 09:13:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559837629; cv=none; d=google.com; s=arc-20160816; b=NZnEtrN9QMBhkiqGxvKrezdthewpNdm/hcwqLMvZbMqvhl2x7Z41iPhTJMSsge/xKP XYl1LkntWpq7hGLzTh1HNdlqu4Jbn4PAqLI1Tgl3/Qfpg6TGRYCt/XpET8joBLFBI3Y6 S9xrZWFnqkvvqzXL1TmbVZwmWpyAEtiBMD34AFsCeg+E3Bf8x3leBwy7M9Q8pNswsO1d Vhh+0htdakHQIyOViLEtmqzxIzjxvdUrmocdSCWIJO2ziPQZqSC5O+TNltsH9G3vnb0y kQy7L/XQHjkhOfti+T2Q+ica79OxVNANN2etPxCqiyrHc2dcV9e79NBsfRP2Sm2Nc31Q ZTTQ== 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=8Zc8qJqb674XuWLoPig1e9WRoBoqYfsMdfDerD1Y84I=; b=tRsBx/PTMe7FBPCAnKztaQELHKTqQaNOJVZQlB9sUrM4Glce/bZ3IgFhqirEg7ShNY 5JEn886LJWnKOk/1RCNLGzlG0UUjqyRRWdr4FZ7aICtMmdthFT9+rdd+smBqutg/+wej /ANGoNiJHh6zOzI0ht76Hz2heuyCFNRi6gWuYnbL0e7+MjQ56/J84ubCXJd0MWXA0U7F jtRWHBxI7Ym7a6/u6/q8G6mG0uFeKq2RjMMuS5LX4pbdX3wVwLJcqbiPgQWDGp0wdYQ1 Z9ysUHcGPxm6Lib3QNarnRajzD5zsOp9ajZrfBPWHr8MfoDVLAYT7v4rT4zqvZs4/FSX h1zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=hWozMkV0; 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 p21si1988344plq.328.2019.06.06.09.13.30; Thu, 06 Jun 2019 09:13:49 -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=hWozMkV0; 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 S1729583AbfFFQMW (ORCPT + 99 others); Thu, 6 Jun 2019 12:12:22 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:45715 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729191AbfFFQMW (ORCPT ); Thu, 6 Jun 2019 12:12:22 -0400 Received: by mail-pf1-f193.google.com with SMTP id s11so1780990pfm.12; Thu, 06 Jun 2019 09:12:22 -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=8Zc8qJqb674XuWLoPig1e9WRoBoqYfsMdfDerD1Y84I=; b=hWozMkV01JYUjz28wuRy7Z0qFH8zGaqnld1tOMo+U4GaOm5s4ac3WzIF/yF105TzXu Ncfw0a2ed1CzP+sss6HMA8UGTJ+1o7CLg+4MTNqiD7oktPdu+/HjiXy40N9eNqn6lOwW +1BIiK1/D43/k73x2S6wUGm+q5MTVV/Ygb33OXVlEhbMgxq86cFfJ4vCxborERCA5dlr Lttm/Pi2itibF6CZJbzgNj9wdh3SOc9yphBA2GC6N1Zizr4/7/7MT724OCmEztigcPZb 995iBzTfECIadcZtlG9jnaAeieC2KLU4hhUsSxvQBWTXsLyYFaeuWxCChDbrduBbBZH/ /gYA== 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=8Zc8qJqb674XuWLoPig1e9WRoBoqYfsMdfDerD1Y84I=; b=KoMBEyruTb2KHIR4Sw1ze5bzMpsbhFONopYQKbioB5WYGb0BSw2skZFQllCM7BNzNN i/9kzkVndJYevLOwqH5rGHhYN+/CXIeb8NvWGV8KnqEo4Pf5gzX91oacySgslZia1Ffb GP2WJoUI/C9EPE/J6eaqcvst8DiBTCTAIZAjn0RExPJME5PgiFtTduCSS3ymH5cQkPrd Zl9xU3LVqTSK4b1Jld1oX5AkJxIaBC5CwjSv8vtkV0Pv+Vk3cPbES/dPxYsZSYRgULzE vl0VkZYFLabn013MRh74SoUNc0vA0Qa/69+dbs9EmeZexoeLUTSzH13SPRxkjuEo6+pY SRoA== X-Gm-Message-State: APjAAAU2BluWHW+8tT8Em6CS9uCkijv2XmTe4EHyZPKFHPmj5UB8ocMy VL+MUbqx3qmZ4DDgVYPtLDE= X-Received: by 2002:a63:cc43:: with SMTP id q3mr4037399pgi.438.1559837541829; Thu, 06 Jun 2019 09:12:21 -0700 (PDT) Received: from aw-bldr-10.qualcomm.com (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id j7sm7894239pjb.26.2019.06.06.09.12.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jun 2019 09:12:21 -0700 (PDT) From: Jeffrey Hugo Cc: bjorn.andersson@linaro.org, benjamin.tissoires@redhat.com, dmitry.torokhov@gmail.com, jikos@kernel.org, lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, agross@kernel.org, david.brown@linaro.org, hdegoede@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 v5 0/3] Basic DT support for Lenovo Miix 630 Date: Thu, 6 Jun 2019 09:10:55 -0700 Message-Id: <20190606161055.47089-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 v5: -Split out elan_i2c changes into their own patch -Use a static list of strings to match -Fixed typo of "whitelist" -Dropped incorrect thermal zones -Dropped tags from Bjorn and Lee since the functional should be identical, but the code is structured different v4: -Changed the hid-quirks ELAN handling around per Benjamin Tissoires -Dropped new DT binding 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): Input: elan_i2c: Add comment about link between elan_i2c and hid-quirks HID: quirks: Refactor ELAN 400 and 401 handling arm64: dts: qcom: Add Lenovo Miix 630 arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8998-clamshell.dtsi | 240 ++++++++++++++++++ .../boot/dts/qcom/msm8998-lenovo-miix-630.dts | 30 +++ drivers/hid/hid-quirks.c | 78 +++++- drivers/input/mouse/elan_i2c_core.c | 4 + 5 files changed, 342 insertions(+), 11 deletions(-) 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