Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5618547ybl; Tue, 27 Aug 2019 07:21:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhwymZewzeg5Sl01uyMpX+fcqMw5wha1Ki0pVhoek/isBS6135ZJfmszbzVu0ij00Rcnl1 X-Received: by 2002:a65:430a:: with SMTP id j10mr22135030pgq.374.1566915697657; Tue, 27 Aug 2019 07:21:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566915697; cv=none; d=google.com; s=arc-20160816; b=baCkkF1e2SW7V4dFGXuM11j8Hg10nkbwtmuy7ADkRZpJz4KuFfg93OzwZ5YxYp4W8h WWFn1Kp9kFbtJ8KFt+D6me+CEyNde4mQ/fgof9cCa0Jdm1Xom6VxgvU2ZSlLIQNF25CS m72kw89FHXwIyyjVYi88nvaxMvfcD6iVUxzt9j6dIdxif6LqRxG+OaV76FMXLi0b8VhT 0kXjsktsK/AgbQUUBI2Ol7XVrwWE8mFHbOBhDPCh7zjqfgg44wre6wJluqsHvvDpidTI xAiTPJjsdUdg1Q98O22QYBpotGQk1WQKBQL8HMlDC8FLYzd5bg+VJgSITGiM7YC8Cabi GalQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Q9pUCEdPyR1430MwOUuTZfxYBhNGyX+eoOaRoswXA8U=; b=jXetB9bSA4dDbDXQdMrJ7lu0vbQFjb6b8BQLbsKr4UyFtfCpKNy6lSkUzyANgS+IvP YcgDtxUFDDqGW5TbmBW3BUlv7yuVkjeJkjtD0t7gqDT+Cef8ClIEMssvM6Jg1debhQsI 8KCF2rJogeAnzgfaVJUFAPgFT8nlljfS66IdA2Zfz8pqjTFdtWhY5rL7Ed6sRphC56Pz ZA7Vhoj8aDUn2Xkw/L7ltZlD9XrfmI6Kj9Lph+i9DAbeCCSWfM4gf1sgQbHHWWI13J0J EpOkFKzaE7aVV1394kaqfeoD3lVYECYaNJjJfogsoBKi15FdqImZYfJ4jzbbIeBq9Lee MjiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=WAmmy3rY; 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=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l186si11882606pge.215.2019.08.27.07.21.21; Tue, 27 Aug 2019 07:21:37 -0700 (PDT) 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=@flygoat.com header.s=mail header.b=WAmmy3rY; 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=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729544AbfH0OTJ (ORCPT + 99 others); Tue, 27 Aug 2019 10:19:09 -0400 Received: from forward101o.mail.yandex.net ([37.140.190.181]:47185 "EHLO forward101o.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726054AbfH0OTJ (ORCPT ); Tue, 27 Aug 2019 10:19:09 -0400 Received: from mxback29g.mail.yandex.net (mxback29g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:329]) by forward101o.mail.yandex.net (Yandex) with ESMTP id AFAD63C010BE; Tue, 27 Aug 2019 17:19:04 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback29g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MavhNij79l-J4AWWKPG; Tue, 27 Aug 2019 17:19:04 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; s=mail; t=1566915544; bh=Q9pUCEdPyR1430MwOUuTZfxYBhNGyX+eoOaRoswXA8U=; h=In-Reply-To:From:To:Subject:Cc:Date:References:Message-ID; b=WAmmy3rYCrQeeIhuTgCHLsoK+q9wGCJXwCyDVMUs0VexG4C610/ecc3VCjOirXaNL NYAUB82oxslNihFOv8WF8bo6oDDy6Bp8S8/CchdRQkvSTQWOyT/PTUzy/UiP914n/B AnUtcMUHfM04St28sfS0qHZRTuP27L7CAqCe6Rsg= Authentication-Results: mxback29g.mail.yandex.net; dkim=pass header.i=@flygoat.com Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id AzkE6b5uHe-Ivt4wcrM; Tue, 27 Aug 2019 17:19:02 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Subject: Re: [PATCH 11/13] dt-bindings: mips: Add loongson cpus & boards To: Rob Herring Cc: "open list:MIPS" , Huacai Chen , Paul Burton , Thomas Gleixner , Jason Cooper , Marc Zyngier , "linux-kernel@vger.kernel.org" , Mark Rutland , devicetree@vger.kernel.org References: <20190827085302.5197-1-jiaxun.yang@flygoat.com> <20190827085302.5197-12-jiaxun.yang@flygoat.com> From: Jiaxun Yang Message-ID: Date: Tue, 27 Aug 2019 22:18:46 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/8/27 下午8:45, Rob Herring wrote: > On Tue, Aug 27, 2019 at 3:55 AM Jiaxun Yang wrote: >> Prepare for later dts. >> >> Signed-off-by: Jiaxun Yang >> --- >> .../bindings/mips/loongson/cpus.yaml | 38 +++++++++++ >> .../bindings/mips/loongson/devices.yaml | 64 +++++++++++++++++++ >> 2 files changed, 102 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/mips/loongson/cpus.yaml >> create mode 100644 Documentation/devicetree/bindings/mips/loongson/devices.yaml >> >> diff --git a/Documentation/devicetree/bindings/mips/loongson/cpus.yaml b/Documentation/devicetree/bindings/mips/loongson/cpus.yaml >> new file mode 100644 >> index 000000000000..410d896a0078 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/mips/loongson/cpus.yaml >> @@ -0,0 +1,38 @@ >> +# SPDX-License-Identifier: GPL-2.0 > Dual license for new bindings please: > > (GPL-2.0-only OR BSD-2-Clause) > >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/mips/loongson/cpus.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Loongson CPUs bindings >> + >> +maintainers: >> + - Jiaxun Yang >> + >> +description: |+ >> + The device tree allows to describe the layout of CPUs in a system through >> + the "cpus" node, which in turn contains a number of subnodes (ie "cpu") >> + defining properties for every cpu. >> + >> + Bindings for CPU nodes follow the Devicetree Specification, available from: >> + >> + https://www.devicetree.org/specifications/ >> + >> +properties: >> + reg: >> + maxItems: 1 >> + description: | >> + Physical ID of a CPU, Can be read from CP0 EBase.CPUNum. > Is this definition specific to Loongson CPUs or all MIPS? Currently it's specific to Loongson CPU only, as other processors may using different method to express CPU map. Different from Arm, MIPS family of processors seems less uniform and have their own designs. For this point, we'd better ask Paul's opinion. -- Jiaxun Yang