Received: by 10.223.185.116 with SMTP id b49csp4050054wrg; Tue, 13 Feb 2018 11:54:10 -0800 (PST) X-Google-Smtp-Source: AH8x224X5T9e1NLgQaaPQSfe9gO4gsD2Fb9xWyICniOpGAjVm9PZ7h6+EYOZZXt4YT80thmQZr3Z X-Received: by 2002:a17:902:6e8c:: with SMTP id v12-v6mr2100985plk.424.1518551650016; Tue, 13 Feb 2018 11:54:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518551649; cv=none; d=google.com; s=arc-20160816; b=PLSaOpsFNIAPCWONjgjNXQg1v0Ciy2F83E80OMRm/BbVQft0Tf8/fie1rKaPrwMlFV RHH/RbmrUl2olOCujUwnbfwP9AjYAnap2NknPO+NY0MW/+Vm3EzSHr78pNHRhgp+wi7K w7Kxm7Uz9x8Bxy5Z8AsRs6df9b8gl/qhsZ4O3V1nYxgdc473cwowf+g7RREGopVhERnl XEKSdmwNDlEACKpKsufSG4/Zj2k0yr+uD21sP1g0GBCKuhqw2VZJFf8TPH/iQKVUSIRo oHkfmKgNbNjh0z+57Ddc7ZJvnSvih20TjjCsey8XZijbFnDLuWBknW0wJhnwHN8Mt7gJ 1bUQ== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=niagko5JAYteaoAt+aC3B8/NfR1Syt9bCfX9MJeToCs=; b=Yx7Q+DdQAst6KrlF6XdJFOmcamvKTu+bzv7KkHay4xz+dawbu3mo+HDYxT1lVkK8zO rvWwEk20swC2b9Grd+ef2g0Kjpd/ZOGgghDeul8lSqZkxALLpLnsj/PHpWfs6mr5dEx/ z62u7roSxQzOGyT6I7Wz5me2uih4pSnnL7Fa9Oc+78MQ/pV4I25KITM6ke+8vMObWB8l D4uj+FYphug/y3Ytw9XPa91h+MYW8Sqs8ssUmc+TBF7L5Yk+AaauU48hQIC2mEcekGTO XdKtfI9EqKl8ariEtxsfTQjzXOx79P3wupJAHm8dC41QIVptPvj7/quLXi4wXZNJsm0Q Nkvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=A7V5ExBy; 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 p1-v6si309266plr.644.2018.02.13.11.53.55; Tue, 13 Feb 2018 11:54:09 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=A7V5ExBy; 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 S965624AbeBMTxI (ORCPT + 99 others); Tue, 13 Feb 2018 14:53:08 -0500 Received: from mail-ot0-f194.google.com ([74.125.82.194]:39395 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965540AbeBMTxG (ORCPT ); Tue, 13 Feb 2018 14:53:06 -0500 Received: by mail-ot0-f194.google.com with SMTP id f18so18354566otf.6; Tue, 13 Feb 2018 11:53:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=niagko5JAYteaoAt+aC3B8/NfR1Syt9bCfX9MJeToCs=; b=A7V5ExByQleFknXmDoiSpfPD1rKSagqZ0uyUX+7KzYQRfDij0da5somZ8f0KJIdSbG xn8nTtA2aeLXe9mEWB7L5LVzHkp8sMOP9WIvCUei+mgfDZXHs1JIfdahfUJdH/aikmRd dxNimOSjLQZXVWkYECzeCq/9fkfQxF3/Gih1uKKdVosxNN79PwlgsGCM5fKP/8aOn1bs FVW3R/S/wxpQXyfLrgVBFzYAzGuekXAroBD0eH2zGR9BJn2bWtAMapq1yqWFDfkbwXyR ARd++HUp/Dfbm4ozlHIXTQMsp0jz+BhkFfqA9e9A7yZnsyidPMuiBqOlr3HFpVZHkd+X R6lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=niagko5JAYteaoAt+aC3B8/NfR1Syt9bCfX9MJeToCs=; b=COOv2uD5ygAuor/GTbFMI+g1wEV8UBSbSgH8MXvUeap3ccEf4Td5jdSmnISuoDuJES SHMcjrMqi1INUkJCf5ftPXoyZJ9W7QEjcNPBgznZAG2i2CkUvd43ZlGKuBqa6zLOAzJy hXCP8EBp7U3ZLao3A9zhM/aHalIeA/6gEm4G9gKgXppsWV8NpixihrWRQ09tVTegY74Z cxJIyBprDNjxOsEiTgpmcdEImywWy14BqpGvmccwsFnBSDZgMkfppKQ7OVNxjBBmxXtz 4CccBLYxFCUOnWC4pzNl0FCbKVxzusayg5uSqcQDXdFyKLjDp8WCCSBAfe2iTT42dpSq crJw== X-Gm-Message-State: APf1xPB4jVnxnyruMbt6oOgC2RJasfFkdL6zcAGD1502Uje4dn9OTt0+ n/hEwoS4MK8lFYGyXv5Zd+ktqVtZvLwqhKXJbz3Gag== X-Received: by 10.157.26.44 with SMTP id a41mr1681302ote.108.1518551586237; Tue, 13 Feb 2018 11:53:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.168.66.10 with HTTP; Tue, 13 Feb 2018 11:53:05 -0800 (PST) In-Reply-To: References: <20180205235757.246758-1-brendanhiggins@google.com> <20180205235757.246758-3-brendanhiggins@google.com> From: Arnd Bergmann Date: Tue, 13 Feb 2018 20:53:05 +0100 X-Google-Sender-Auth: NqQNWPp37fbuCqXL8licFxQ8f1o Message-ID: Subject: Re: [PATCH v9 2/3] arm: dts: add Nuvoton NPCM750 device tree To: Brendan Higgins Cc: Avi Fishman , Rob Herring , Russell King - ARM Linux , Mark Rutland , Tomer Maimon , Florian Fainelli , Julien Thierry , Philippe Ombredanne , DTML , Linux Kernel Mailing List , Linux ARM , OpenBMC Maillist 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 Tue, Feb 13, 2018 at 8:12 PM, Brendan Higgins wrote: > On Tue, Feb 13, 2018 at 1:29 AM, Avi Fishman wrote: >> On Tue, Feb 13, 2018 at 10:30 AM, Arnd Bergmann wrote: >>> On Tue, Feb 6, 2018 at 12:57 AM, Brendan Higgins >>> wrote: >>>> Add a common device tree for all Nuvoton NPCM750 BMCs and a board >>>> specific device tree for the NPCM750 (Poleg) evaluation board. >>>> >>>> Signed-off-by: Brendan Higgins >>>> Reviewed-by: Tomer Maimon >>>> Reviewed-by: Avi Fishman >>>> Reviewed-by: Joel Stanley >>>> Reviewed-by: Rob Herring >>>> Tested-by: Tomer Maimon >>>> Tested-by: Avi Fishman >>> ... >>>> + enable-method = "nuvoton,npcm7xx-smp"; >>> >>> I see this has already been reviewed quite a bit, but I'm curious >>> about the 'npcm7xx' >>> part here. Shouldn't that be a real chip name rather than a wildcard? >> >> There is a family of npcm7xx, some with SMP and some without. >> For those who has it, it is common for all to use the same >> "nuvoton,npcm7xx-smp". > > I think Arnd is right. In this case it should be "nuvoton,npcm750-smp". We can > use CPU_METHOD_OF_DECLARE to alias to as many compatible properties as needed. > > Although everything in the 7xx family currently is either single core or has the > same SMP behavior, you could paint yourself into a corner if you were to make > one SMP device in the 7xx family which behaves differently from all other > devices and then need to come up with new compatible string names just for that. Right, this is the reason for the very simple 'no wildcards in DT identifiers' rule. There simply isn't a reason to make an exception here. Arnd