From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755218AbdKJGXX (ORCPT ); Fri, 10 Nov 2017 01:23:23 -0500 Received: from mail-vk0-f68.google.com ([209.85.213.68]:47576 "EHLO mail-vk0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754172AbdKJGXT (ORCPT ); Fri, 10 Nov 2017 01:23:19 -0500 X-Google-Smtp-Source: AGs4zMYkVhV68wJdbAep75SmI6ZNVHFNkNWmgH1+mxznN1XTkqlQOn+POICC8vNCdcCTb11Ru+vOJcfYchMQSq4nPEo= MIME-Version: 1.0 In-Reply-To: References: <1a8efba0727437d510d10755f3fcea806833651d.1510118606.git.green.hu@gmail.com> From: Greentime Hu Date: Fri, 10 Nov 2017 14:22:37 +0800 Message-ID: Subject: Re: [PATCH 30/31] dt-bindings: nds32 CPU Bindings To: Rob Herring Cc: Rob Herring , Greentime , "linux-kernel@vger.kernel.org" , Arnd Bergmann , "linux-arch@vger.kernel.org" , Thomas Gleixner , Jason Cooper , Marc Zyngier , netdev , Vincent Chen , Rick Chen , Zong Li , "devicetree@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-11-09 21:57 GMT+08:00 Rob Herring : > On Thu, Nov 9, 2017 at 3:39 AM, Greentime Hu wrote: >> 2017-11-08 21:18 GMT+08:00 Rob Herring : >>> Please Cc the DT list on bindings. >> >> Sorry. I am not sure what you mean. >> Do you mean add devicetree@vger.kernel.org to cc list? > > Yes. Use get_maintainers.pl as a guide. Roger that! Thanks! >>> On Tue, Nov 7, 2017 at 11:55 PM, Greentime Hu wrote: >>>> From: Greentime Hu >>> > >>>> + device_type = "cpu"; >>>> + compatible = "andestech,n13", "andestech,n15"; >>> >>> n13 is a superset of n15? >> >> No, they are independent ones. > > Then having both is not valid. The strings should be in order of best > match to worst match where worst match is typically either older > implementations of IP blocks or generic'ish strings such as "ns16550" > for a UART. Thanks. I would like to explain it more clearly. They are independent ones in implementations. They are implemented based on the same nds32 ISA and architecture spec with different configurations like cache size, page size, cache type(VIPT/PIPT), pipeline stages... Most of them are compatible. They use the same toolchain to build vmlinux which can run on different nds32 cores.