Received: by 10.223.176.46 with SMTP id f43csp2933866wra; Mon, 22 Jan 2018 05:58:02 -0800 (PST) X-Google-Smtp-Source: AH8x225xDbQCxO6WnfCi0tKnA98FOI+KIitcIQQQbnY12hN7L4M6Us2u/EQTiUTGZDXY+Etv2M7K X-Received: by 10.99.63.201 with SMTP id m192mr6473189pga.358.1516629482039; Mon, 22 Jan 2018 05:58:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516629482; cv=none; d=google.com; s=arc-20160816; b=gFps+38dZqtUZpGxzCIu7/UC4i6lUwH11Ebwrl3U2YYxIeRDudy3nnIBhPgWQJPZJB ozPf4UBAh6OuDNdEK7PKPn+0rnGg7PeOMqnDc3mSL/Li5bFQalqMUlneY0ZuvNMRrnHW rPFe0lXfJwkqm8AGqlNHyNfCJ8M/Iu8c4DsM8niod4K/xYnr/RNWMmZUmpnhspFeLshZ R2+HiTuQ1PV+d/qH9AYCydQYPGSwxI8h9J6KJKqtHESANkQ1+0fJiXOl0Wya1MYMIyx5 NI87/bM2SizVgqNcqC4jZapE9gyWKTH3MwtIT5dK1W2MiggOfrZVNVe769GxGAKnO0r2 LpJQ== 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=obNj1Hhsc5vf3QJGN+lji6cxM38MmzdC2eHf+R/Aa6A=; b=IwjgX0B92S7sHLcTrqQ2VPWUMQWQO15M75Twxz3XKFAtxggH2OgauSi4eTkHKHS85j 0JcYeivzMgsjGt0D22IoTbtFpqpLCj/6HwWFFomqWeRW4u1JHbr9ekb+oxyk9KvRgPeU N3bOJqj4NkERoSH9CElLUZwxc94KV+FrBGMqhMEaP0r9CUGTeWAhdigFCKB/HyZhYG+o 1vB+7OO9OUB1zCsWTnWa/igs2GpSRV6yZ4Fodt13/X/UMnXFuFZNAM4IveK5msSIVLJA Z2WaW49Ky47hIWsbVVDPyfqrseWb+5M6Ps3dqTSwVmtQ6MXl79z/dwB97euTg/rPfaTw qErQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AdMhsmO1; 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=NONE 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 o3si5751335pgd.298.2018.01.22.05.57.47; Mon, 22 Jan 2018 05:58:01 -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=pass header.i=@gmail.com header.s=20161025 header.b=AdMhsmO1; 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=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751195AbeAVN4K (ORCPT + 99 others); Mon, 22 Jan 2018 08:56:10 -0500 Received: from mail-ua0-f179.google.com ([209.85.217.179]:45337 "EHLO mail-ua0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751004AbeAVN4H (ORCPT ); Mon, 22 Jan 2018 08:56:07 -0500 Received: by mail-ua0-f179.google.com with SMTP id z3so858423uae.12; Mon, 22 Jan 2018 05:56:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=obNj1Hhsc5vf3QJGN+lji6cxM38MmzdC2eHf+R/Aa6A=; b=AdMhsmO1e/O6PCAA7miBAXxgscnQqRr0VzNyhMWw/x7qx5IGRVGAw2M46dB+HeVhvz HjVzhye53f7KsYGTmaxgR9CvSdzeiTTUuEKF+KsNbIJn0mbNHifLycfqF+4Q5Ow+HcbT 5AO3vo5d0V5/CLOwUYLM2hC2PPcUb4PpascIPta1i9L9aRGy+D+O2B6Mwe90E7lsAJrM WFVPmykeclmCvxuFRN+vQbZdMyejFXm4GuWJ5b6VYOILaX5SKkwgEXwNzNKzk1HzoW2Y rUQfBPbZ3W3ygVY3IkjQhYpiQSJ4eUexK7u4hMdFadyZWAYeBJ4YSZxXwtjxsFwp4lWe PjmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=obNj1Hhsc5vf3QJGN+lji6cxM38MmzdC2eHf+R/Aa6A=; b=KiNaMkZrYha1TUSI0TASG9zyOTJ9eAZe1UFRaw+HcksSCcQtXEyEOMrP3sXcsPGaai xMCob2lHi7EhFSodwUCBdVXB7du8UxtxwZu0niPau5WHHswhbS7nxZH4AbfmdbWkT52h 6t7+s1epCillfdAi69ifJbYGr3coaeMtitawAy+tzLt6uVbYZobIJcK72L/Re3lD5uLD ZmEl+IVhSDDnTPKvQdwuxZFrx7XBU8owHWDGqOXRqkHvK03kP8lS+Bnfp1JUmPkbZU1L MhJWO3Kkz0MKyxBkPvw3/XJbw0lNlLwOB0cDk6QQcvrad1vX0apiouWi+KeWmeO6zXip PodA== X-Gm-Message-State: AKwxytfkfkGkdiEktgoH457SE/9kV6A590OYjKycC4ZlKQOrQETsjGpO Faf5wRFLOhPsCcj4sUEBoPB1jJa9QL81HWU0+7w= X-Received: by 10.176.22.41 with SMTP id k38mr5377407uae.132.1516629365908; Mon, 22 Jan 2018 05:56:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.42.194 with HTTP; Mon, 22 Jan 2018 05:55:25 -0800 (PST) In-Reply-To: References: From: Greentime Hu Date: Mon, 22 Jan 2018 21:55:25 +0800 Message-ID: Subject: Re: [PATCH v6 31/36] dt-bindings: nds32 CPU Bindings To: Arnd Bergmann Cc: Geert Uytterhoeven , Greentime , Linux Kernel Mailing List , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Networking , Vincent Chen , DTML , Al Viro , David Howells , Will Deacon , Daniel Lezcano , linux-serial@vger.kernel.org, Linus Walleij , Mark Rutland , Greg KH , Guo Ren , Randy Dunlap , David Miller , Jonas Bonn , Stefan Kristiansson , Stafford Horne , Vincent Chen , Rick Chen , Zong Li 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 Hi, Arnd: 2018-01-22 19:15 GMT+08:00 Arnd Bergmann : > On Mon, Jan 22, 2018 at 10:53 AM, Greentime Hu wrote: >> 2018-01-19 23:37 GMT+08:00 Geert Uytterhoeven : >>> On Fri, Jan 19, 2018 at 4:35 PM, Greentime Hu wrote: >>>> 2018-01-19 23:29 GMT+08:00 Geert Uytterhoeven : >>>>> On Fri, Jan 19, 2018 at 4:18 PM, Greentime Hu wrote: > >>>> Thank you and your example. >>>> I get it. I will update this document like this. >>>> - compatible: Should be "andestech,", "andestech,nds32v3" >>>> as fallback. >>> >>> And please keep a list of supported values of "andestech," >>> in the DT binding document, so checkpatch can validate compatible values. >>> >> >> Thank you for reminding me this. >> I will list it like this. >> >> - compatible: >> Usage: required >> Value type: >> Definition: Should be "andestech,", >> "andestech,nds32v3" as fallback. >> Examlpes with core_names are: >> "andestech,n13" >> "andestech,n15" >> "andestech,d15" >> "andestech,n10" >> "andestech,d10" > > This is still not written as a proper specification, you should not > give "examples" > but give a complete list of the available options. You could write it like: > > Must contain "andestech,nds32v3" as the most generic value, in addition to > one of the following identifiers for a particular CPU core: > "andestech,n13" > "andestech,n15" > "andestech,d15" > "andestech,n10" > "andestech,d10" > > It might be helpful to also list all other existing nds32v3 cores, > even those that the > current Linux port does not support them. > Thank you for the clear explanation. I will update it just like you wrote.