Received: by 10.223.176.46 with SMTP id f43csp2777511wra; Mon, 22 Jan 2018 03:16:40 -0800 (PST) X-Google-Smtp-Source: AH8x226KEGQhAYjYDw2S+RRNAcFqAgq6AZuv82heNxPE/nkq2fsiDBOMgyAEQ6XnCOegADyuCUSs X-Received: by 2002:a17:902:1a4:: with SMTP id b33-v6mr2997089plb.58.1516619800651; Mon, 22 Jan 2018 03:16:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516619800; cv=none; d=google.com; s=arc-20160816; b=BgjS9MBcnYL34S+ShUGkFaorecPML6KgxvxXOUlNcnndPgJxwh17ao015bKKfCN9Tw pkQQ9+bcg2Oh/Tmy455cKSxbXzF0Gki5BcwOAK95Pv3apeN7PyvRYh1vIkGcd8o+Yu/V bxll5yfxB7ppeZRBtmp6pOm9DW+TEAev9d6rhgjIsGyxzZNJW/GRwVvOwm74HNBNFDPK CRM+yoHmbxJj/TsV3je9uum+Zo7aC8FTkJDJui/5nGi5SSDtOnJ+8Ue75IJcNzl1K6MB QGoq8KvvnuxRr5IYbEKh7A14pmhyeVNXy0n18a9inRq1niO3aG5cbgueH6c7gCmQR7r4 fsmQ== 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=AefQ054UtTdCwgeXJgiIbncCvef/MJwcGJwDFRNkOGg=; b=l47jXqjUR+HNk3eBtslpxC2y5IKZwY/mby0p5WJXEaweJngG/duoxMW5xSMVoDPpSQ TKrqzTig8Z50w88zbmEZibgvTRRj+u7QLmX5JH6Y7b8oTv+IhC4Zzv5ag8ozirQMCmyt 6m9siu+2/KkSm8Wc1/jzasTpvB83t56DWNZcinxuYTx1rgQ/etjCw3oPgziygCTDawYS ZzoI0oqsYhM6KqbBn/PN7IeFbg1L4b4T6iYqot3Gi5Q24CWyj3ptMoC8cZbTf6shDaNF /lehKsd5JfCWb7CIQDrxGyhqFHbpErqDMZ0bPusQeeUi9ZUp4kRLSrtFEte2XvGT38p/ VUAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ozLTvDSp; 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 e18si5935633pgo.365.2018.01.22.03.16.26; Mon, 22 Jan 2018 03:16:40 -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=ozLTvDSp; 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 S1751238AbeAVLPx (ORCPT + 99 others); Mon, 22 Jan 2018 06:15:53 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:39613 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbeAVLPu (ORCPT ); Mon, 22 Jan 2018 06:15:50 -0500 Received: by mail-oi0-f66.google.com with SMTP id t8so5660061oie.6; Mon, 22 Jan 2018 03:15:49 -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=AefQ054UtTdCwgeXJgiIbncCvef/MJwcGJwDFRNkOGg=; b=ozLTvDSp9rfUWSfIfDWMaASxZpqKVSXangjJMED+IgSxcRs1TuBKRYfpXrPbWe7FN/ E1KCgTH3XJju8OFgkfSh37IKT/OuCMQFTBBg0AdFj+cdWsP4rj4H3HCxLvf1ifS4Q9Oz xcS2Y/s/nXKte9DmLqaBFjdrL4p7zukH9uxZ7Br/QA+UNFmt92KRU7+b9hP20oZCmUvu vrLLmi7+WVmv7u+g/PTpkZy2e9e2q0Nf/S97RJ77ujxVJj06s3oyDWmSstii2sOMj1og wFTAtKSFrbgb1zQNBgDHA8Zt7W/nO9sRrVnfzhO29HlejnrcdYtyGkB/pRGSq/3cSgTx LuRg== 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=AefQ054UtTdCwgeXJgiIbncCvef/MJwcGJwDFRNkOGg=; b=Y95bsWss6czkwNgOy4cQOD1llZu93FmkknsEjjYQdbCHmoQF6ummsu2X1JjN/RB4ND C3NYCbmNH3OdhQvkxoz8cOKY6BhsRKYc35vgNQB6CE5H/RtV+jrusZtweOiKDTU5pAI/ pJkCN+6hePoA2VtwWh6KX76lJLtbRteq2YUJ7E4xtmh4OXKM5X+cY89m/pYnYHfeV6tu kJik2WEVjRNJkWPDFd5vg+4lYU8rkALDAI4o7Qr2xJWB7+UUI3QGsJtx8ZsMVph+RoOo x/5j0EpNo1GKUOx26mpTAVxJGWIgbBbSiPejg3WPsyrmFgLop4FdtGNczKjNGRInjJBY A4ug== X-Gm-Message-State: AKwxytfGOgMiQ4mOEXGsE03lY0s42S9Bnrj99w0WOsbSRNXpRQsDbCjo 0TCbJehNbaF7VidcbxARSAmO6Tfp2ZQaa2QHF6Q= X-Received: by 10.202.225.212 with SMTP id y203mr3661381oig.64.1516619748129; Mon, 22 Jan 2018 03:15:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.68.119 with HTTP; Mon, 22 Jan 2018 03:15:47 -0800 (PST) In-Reply-To: References: From: Arnd Bergmann Date: Mon, 22 Jan 2018 12:15:47 +0100 X-Google-Sender-Auth: XTa-jkw4R5BFCZmJ4tSJbI4HKXo Message-ID: Subject: Re: [PATCH v6 31/36] dt-bindings: nds32 CPU Bindings To: Greentime Hu 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 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. Arnd