Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp985224ybi; Fri, 14 Jun 2019 06:45:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqywuDVdNC2k5wbm9ToqkHyTma5DV0lGc0knmg0nAaZ37MnY2FVKRWNKX6kwHIAiDNTIC1Ku X-Received: by 2002:a65:42c3:: with SMTP id l3mr36146674pgp.372.1560519915739; Fri, 14 Jun 2019 06:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560519915; cv=none; d=google.com; s=arc-20160816; b=TALEo8ZHxiQtWXlT0Unx8ge4bK8gws2tMu7CGoTM8tOGE7NFm9eKKid2lNXjFCSmY9 h6w6P1+RlmIOKI3P3TeYxp/qgjAKZjKUnj3X8eo2QnPZVbuH5QuoYksdoYhxKre09aIH Jevk4UWtvDVpG9NLpWMU10v3hEfKKxpCB1JDHLKAO+nSy+VF08OL4YFsew8Gs9k3FkHa IAhumv9WKj2Qhc+kvgalvebJnLqaiw4Kd3AJrnTcY9e9QiS8dZTisEB850GzYHPHLGTB Qhc22yiUQf+c78slmWXWt2ysQa8SzsVwXUWkT3LXI9yGBSYeNmLUks9J9EQp2hqlGC5D 4zzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=FyXT1/kbK0Pc0+G6zGZqye5FjmJZlP77pOonEO/PaPQ=; b=zoky3skx6wGooWH3FbfZo/dIJ96VXQhRcwVWcAJaS0c4oiUtitZaUP4xPADbA9lRE5 pPheJ4vBODYg0OAaimvtpBmgpg952oMhqqsyijGc+I76knsEkOOuWh6TRo9ud/7H/DXT B4IXjPafOroHJnsNkEOiSi/pZdPtlC5YLhg5MKgFRmaxrXL+wRBC6rDjLMAYeqn4U8+K I3LOZ0F4v9T0LpUvzNU1OcHb1hczoIkCxhOOR/HSK58Nr1OvAnn4PGpdFx10ZRAQCPkS xrBILWOJ7AI+/ct0gCeYFAb6kJz2TB9YKrASogiZsf8odpt2gFc5pKhKMKnFWbAVb/Yq cviQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KTLc22d+; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9si2476811pfd.110.2019.06.14.06.44.58; Fri, 14 Jun 2019 06:45:15 -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=@gmail.com header.s=20161025 header.b=KTLc22d+; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728231AbfFNNos (ORCPT + 99 others); Fri, 14 Jun 2019 09:44:48 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:39077 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727382AbfFNNos (ORCPT ); Fri, 14 Jun 2019 09:44:48 -0400 Received: by mail-ed1-f67.google.com with SMTP id m10so3582337edv.6; Fri, 14 Jun 2019 06:44:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FyXT1/kbK0Pc0+G6zGZqye5FjmJZlP77pOonEO/PaPQ=; b=KTLc22d+VHdXQX9yTHxxeZAKtARZ/ECZeI8Z+jiZgBfad0n3CwWYhhZglbRBJI+gcq /EbAZfHMUJDvxkK1SDjadK8v69gz1WzZ9in05yZ+MTOAonOXYCimuSmuqGBcIwPtB3MO VdQiNupNkxbgQaTcFAFq0VFESHr7WPE0G/p/5t+s15VmKyqHeVIm7YLZ1OnGwe0FUhw4 DJDNryNbIjkjXP9m/XXHxkkC30iZjaeqpqaJhaQDY+hPjJgVgnfZ1Ftq0c1z6xBYefLs F02wlMEyaWx6gw/ZtrTafxwV0lMSLL29SZ7q3lD7Ia84KhwxIaOO0eUfVlju0RvKyTzR dwvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FyXT1/kbK0Pc0+G6zGZqye5FjmJZlP77pOonEO/PaPQ=; b=cR36R51wqbZsxIxos7hSGYu6pkTsEqDhIbxLvHXGk7BNabq1YbOEzZvsQT0dPS1owU WqktvObca587vpv3hvH03Ai20aWl6N5KsdhNQOjAfEBWKCD1dGQIYT2l3o1k+R8jQnip ud3U8W2M4gVh6PncoySi3/JzrAnWNbVF2BYY+c8Ele1abVomffDkc2VHMV1eijEO2R3H YlhOrOjVrIssGsofjchGj6JMITk9F7xWn2oIZSNr7+JofQR9zueKNluOPEq8B3SnQKXU V6o432/77g61A4rnN53LNISK17MnoKn6U0VGdtBGD0JZsGRo7ZTPuGeE2KyhmQ5ZZiBn lIDA== X-Gm-Message-State: APjAAAVlJ3cloju1PAm0HpTumzA/kzFThnr6hCY8momIs3TZgr4fuBEd 6GAbyRkzfS8ADSRYReQ4mENiC6oTCXXNRi0/gIw= X-Received: by 2002:a17:906:951:: with SMTP id j17mr56132952ejd.174.1560519885436; Fri, 14 Jun 2019 06:44:45 -0700 (PDT) MIME-Version: 1.0 References: <20190612212604.32089-1-jeffrey.l.hugo@gmail.com> <20190612212748.32246-1-jeffrey.l.hugo@gmail.com> In-Reply-To: <20190612212748.32246-1-jeffrey.l.hugo@gmail.com> From: Rob Clark Date: Fri, 14 Jun 2019 06:44:31 -0700 Message-ID: Subject: Re: [PATCH v6 3/5] arm64: dts: qcom: Add Lenovo Miix 630 To: Jeffrey Hugo Cc: Bjorn Andersson , agross@kernel.org, Benjamin Tissoires , Dmitry Torokhov , jikos@kernel.org, Hans de Goede , Lee Jones , xnox@ubuntu.com, Rob Herring , Mark Rutland , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 13, 2019 at 10:17 AM Jeffrey Hugo wrote: > > This adds the initial DT for the Lenovo Miix 630 laptop. Supported > functionality includes USB (host), microSD-card, keyboard, and trackpad. > > Signed-off-by: Jeffrey Hugo > --- [snip] > diff --git a/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts b/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts > new file mode 100644 > index 000000000000..407c6a32911c > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts > @@ -0,0 +1,30 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */ > + > +/dts-v1/; > + > +#include "msm8998-clamshell.dtsi" > + > +/ { > + model = "Lenovo Miix 630"; > + compatible = "lenovo,miix-630", "qcom,msm8998"; > +}; So, I'm not sure if there is some precedent for this (but maybe we haven't really had this problem before).. but as I mentioned on #arch64-laptops, I think we should put vendor/product/board-id strings from SMBIOS table in the dts files. That could be used by grub to find the correct dtb file to load in a generic way. (Ie, look for a match of all three strings, and maybe fallback to a match on just vendor+product??) At any rate, how the strings are used can be refined later. But I think we should include the strings from the beginning for anything that is booting via UEFI. It's perhaps more useful than the compatible string. BR, -R