Received: by 10.223.176.46 with SMTP id f43csp1133379wra; Fri, 19 Jan 2018 07:21:06 -0800 (PST) X-Google-Smtp-Source: ACJfBovvVcMCtARaB+m0T/4cKfwz8P4CcTJKyWJNp1yCH4IPcAe1ytI7To634pJCWKf86hx3K/aC X-Received: by 10.99.151.81 with SMTP id d17mr41574246pgo.219.1516375266078; Fri, 19 Jan 2018 07:21:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516375266; cv=none; d=google.com; s=arc-20160816; b=iHTp6k2ZmJ1erhqbDIS2e/IatVn7SJA4Ehs/4rKQsO4CJ4LvtIQooqi2Z1xAUpMEq+ bmdgUCPldPARyHv3fByWhmVgzibp+pVSu25fT7OFUPZgSI6ebvSwxSX2wi2dqzKUajF3 1+594TPDRcbZ69U2eh7k4OXdzbOoeyqMZiPamffHFzDJXeQUX8C3+EjpxzCMUOefddd+ EroJrrCTO3EvJtOoX/NPar5EDdqTgXyOgFeA5Y8sn3xOFZO764u6O1pMj19QJK+fE9t/ ZtKyu88Bt21EXyOvdspAlhf/zHUxsONHarMm+4TTZx3mUWGuRHw6yAgQHcyqAy+KtV2R erVw== 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=XwOvgTQA2jQpRlAtB6M1OIKyT68taQtAMl+4feZGuzs=; b=ewbGJJV+B3qg5yutWspmRfviVTZSu/cuVgV5ikpKz3CfrmzVAnINmZ0Kl/nSTGYkxx xM+jtn9XOqjIX7h4EKuxRpZdaiIKMYvnuVZbXziQqSGh7Bf6yQ0orTymRnNraOVqxkrn 9gTWI+WD+kxs4KYA5TM0VYq641Lp3CWcpu5DhbD1J4gYKhnhGkDLF07dOo4gBmohri5s tht0BL7wMVbED3DffI+szvgNQ86JkPqoYSkoG0eof15cZuy0Yfo4XrCpYbRvemWOZHTk 1AdwLs6O0jTT9jxLKHqF6G8Eb+bg4QElk0Mq7ReOngIF3RMvWalAIt/2ICg77WT4gkco VQYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Op1ZYit3; 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 66si9528512pff.145.2018.01.19.07.20.51; Fri, 19 Jan 2018 07:21:06 -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=Op1ZYit3; 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 S1755940AbeASPTU (ORCPT + 99 others); Fri, 19 Jan 2018 10:19:20 -0500 Received: from mail-vk0-f66.google.com ([209.85.213.66]:37863 "EHLO mail-vk0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755862AbeASPTL (ORCPT ); Fri, 19 Jan 2018 10:19:11 -0500 Received: by mail-vk0-f66.google.com with SMTP id g83so1121876vki.4; Fri, 19 Jan 2018 07:19:11 -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=XwOvgTQA2jQpRlAtB6M1OIKyT68taQtAMl+4feZGuzs=; b=Op1ZYit3bQZlgL2yoZxejG2pPi5KrJEHB5mSCK2y4ZnPWZ8D8/ky5/cZkprHZZreNq qmTv+vxA+qsXY3XE9vWI91zrRN3zb8iKSziwKOoK5+ItdUnDmtEqysxS1KX0zmNzhqR/ p0Ogt+2ABxs2VYP0p0Re+75z9n3K1w1XxEa9ZahHtCJ62e01BcLo0Zjk0+E54jjm1AGU hSfZebvTUPhCukohSr1xdMQunDPpyWEM5MXfAWZk7qYlxDF2sV3hosDq8iflDGEkCpHu NDCr4hAaLPtSsEi0dQyJE0kfqpx1JNqJ104liZ29t0NvyoB3PMHCGc2oBLaM5KMKdL7b Urpg== 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=XwOvgTQA2jQpRlAtB6M1OIKyT68taQtAMl+4feZGuzs=; b=RPWYqg3EogRgwFq0tn7A8wquO+v7jifo0s6Qt8QLHDrZsM07azwVJ+kPXDCnu/YNoh PQo9UQZoh6PxHJpQ4nA4I653S6dDVaiRzVwVYxhLRDojRspUAr7Ms2QxbvOmh09HVuVi nsO7z6mhEvRBY0m4WAwxD++77S0yF9y8aZ8+J73kzRxwSdOQXEuUxsuaoFgKId+wSHWm DQuVzUZ68FICoMDO+97fbOcBoFjmM1PyuB9/4wqmTtwoEnExVWVdMNsNogQex6KqMpOn mZVZOa/i/LvmDNQzHkF2tIPIK/A6UtiJY9PBLcYwUe9/GkRvBaoX29MghCWI8ZWJsxXE 3vvw== X-Gm-Message-State: AKwxytfs1Su3KK6GcTBVx2n6CVGtKbb7Y8RfEW3fqHG8tJ5fmTMLWQft IA6T1dN6Sx6cwpxFKFhYMXVP1nmIsaYgoUvofFA= X-Received: by 10.31.147.204 with SMTP id v195mr3898850vkd.37.1516375150479; Fri, 19 Jan 2018 07:19:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.42.194 with HTTP; Fri, 19 Jan 2018 07:18:30 -0800 (PST) In-Reply-To: References: From: Greentime Hu Date: Fri, 19 Jan 2018 23:18:30 +0800 Message-ID: Subject: Re: [PATCH v6 31/36] dt-bindings: nds32 CPU Bindings To: Arnd Bergmann Cc: 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, Geert Uytterhoeven , 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 2018-01-19 22:52 GMT+08:00 Arnd Bergmann : > On Fri, Jan 19, 2018 at 3:32 PM, Greentime Hu wrote: >> 2018-01-18 19:02 GMT+08:00 Arnd Bergmann : >>> On Mon, Jan 15, 2018 at 6:53 AM, Greentime Hu wrote: >>>> From: Greentime Hu >>>> >>>> This patch adds nds32 CPU binding documents. >>>> >>>> Signed-off-by: Vincent Chen >>>> Signed-off-by: Rick Chen >>>> Signed-off-by: Zong Li >>>> Signed-off-by: Greentime Hu >>>> Reviewed-by: Rob Herring >>>> --- >>>> Documentation/devicetree/bindings/nds32/cpus.txt | 37 ++++++++++++++++++++++ >>>> 1 file changed, 37 insertions(+) >>>> create mode 100644 Documentation/devicetree/bindings/nds32/cpus.txt >>>> >>>> diff --git a/Documentation/devicetree/bindings/nds32/cpus.txt b/Documentation/devicetree/bindings/nds32/cpus.txt >>>> new file mode 100644 >>>> index 0000000..9a52937 >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/nds32/cpus.txt >>>> @@ -0,0 +1,37 @@ >>>> +* Andestech Processor Binding >>>> + >>>> +This binding specifies what properties must be available in the device tree >>>> +representation of a Andestech Processor Core, which is the root node in the >>>> +tree. >>>> + >>>> +Required properties: >>>> + >>>> + - compatible: >>>> + Usage: required >>>> + Value type: >>>> + Definition: should be one of: >>>> + "andestech,n13" >>>> + "andestech,n15" >>>> + "andestech,d15" >>>> + "andestech,n10" >>>> + "andestech,d10" >>>> + "andestech,nds32v3" >>> >>> Based on https://lkml.org/lkml/2017/11/27/1290, this should say that >>> the device tree should always list 'andestech,nds32v3' as the most >>> generic 'compatible' value and list exactly one of the others in >>> addition. > >> I will remove the others and just left "andestech,nds32v3" in here. > > No, is not what we want here, the CPU node should list exactly which core > is used, what we need in the description is a clarification that > andestech,nds32v3 must be used in addition to the more specific > string. Hi, Arnd: Sorry I still don't get your point. Do you mean we should always use compatible = "andestech,n13", "andestech,nds32v3"; instead of compatible = "andestech,n13"; And I need to add the description in this document.