Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2752265yba; Mon, 8 Apr 2019 04:05:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaacZLAPvrB6tPKlp4+cTdqjcAAkgzbcJWFEXClBeR45Ce2s6qjEOyP/fais0/33KYaHYc X-Received: by 2002:a17:902:1486:: with SMTP id k6mr29820987pla.3.1554721500126; Mon, 08 Apr 2019 04:05:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554721500; cv=none; d=google.com; s=arc-20160816; b=Q9pyqL02O56U0HXm5HOdktKu70cqy2ERoahJHc4qZWUqeomdzlqTW9u3dnjiw52hqc QXoYGA2EkWJX2DKKy+2LYSGY/RwZ4fZQlvjcMTW1GgauGi8XlVMqVVob1YYvaWA+r75Y iWmSxifis1QNblYJDcikr/VDDAiX/z5ex9fFZ41Wty7zft9dXNBhvzbnVOVFjhVlt//z azBB2zVZI9VOnv2D8DVnas4O49I89J8J6Urh/uNPfNRaiVbGcwE5COzDhUOs6p9fNOct 6zYC/eAO0po9HwXjkJj6IiA6frW4yBU2n1h0xm3dGx4J8iV71ZdjMj6KgNsWeuuJ7ii7 NdQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xh2Ol1RAOnuRHmMCP7dRT8LjabyJNmhG2Ti9FziEQK4=; b=kbKfFGQXF0jC/DrizyVxgr1+uOW01mHuRaEK8pTPdIix2kJgxyvxM4bDKALCY0WS7U arEOGWMhd+gJRz2VIVYJoGr7Sm6GrBdBHurGZY9Te7UNN9Jxoyp7iOB0Hei9CdSV8PPX Yypej4t9PsCXrSqhf7HutBtRS7MwIo52tn2JCcmspL6ubsvCpncyxeL6tuuKSyZKYbNk RDB+wOx1lwMlqrBph7GYBINFYa7czUehb8fsbwOYZbQuL9iB7ZA97aq/lA8zwggU1ymO wGQ6QC1iwXO4sePooHTBYDAvp0Mg3kXg+J/wIFP7PJYfaT9CHvYKUrA9poL0VGJ8MUn7 8iJg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 129si26086271pga.379.2019.04.08.04.04.41; Mon, 08 Apr 2019 04:05:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726396AbfDHLDx (ORCPT + 99 others); Mon, 8 Apr 2019 07:03:53 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:46470 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725881AbfDHLDx (ORCPT ); Mon, 8 Apr 2019 07:03:53 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 33A25168F; Mon, 8 Apr 2019 04:03:53 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 88CED3F718; Mon, 8 Apr 2019 04:03:51 -0700 (PDT) Date: Mon, 8 Apr 2019 12:03:49 +0100 From: Mark Rutland To: Jeffrey Hugo Cc: bjorn.andersson@linaro.org, andy.gross@linaro.org, david.brown@linaro.org, robh+dt@kernel.org, lee.jones@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: Add Lenovo Miix 630 Message-ID: <20190408110348.GF6139@lakrids.cambridge.arm.com> References: <20190326185525.20781-1-jeffrey.l.hugo@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190326185525.20781-1-jeffrey.l.hugo@gmail.com> User-Agent: Mutt/1.11.1+11 (2f07cb52) (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 26, 2019 at 11:55:25AM -0700, Jeffrey Hugo wrote: > This adds the initial DT for the Lenovo Miix 630 laptop. Supported > functionality includes USB (host), microSD-card, keyboard, and trackpad. I was under the impression that the Miix 630 came with Windows, and the firmware therefore provided (as least a simulacrum of) ACPI. Why do we need a DT? [...] > +++ b/arch/arm64/boot/dts/qcom/msm8998-cls.dtsi > @@ -0,0 +1,278 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */ > + > +/* > + * Common include for MSM8998 clamshell (cls) devices, ie the Lenovo Miix 630, > + * Asus NovaGo TP370QL, and HP Envy x2. All three devices are basically the > + * same, with differences in peripherals. > + */ I think it would be better to consistently use "clamshell" (e.g. rename this to msm8998-clamshell.dtsi), and mention the "cls" terminology in the comment if that's necessary. [...] > + keyboard@3a { > + /* QTEC0001 is the ACPI HID, which could be used for quirks */ > + compatible = "QTEC0001", "hid-over-i2c"; Please give this a real compatible string rather than forcing the ACPI HID in. Thanks, Mark.