Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp966871ybe; Fri, 13 Sep 2019 09:03:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0MtuZUf7uOzkwufcnr3ORdwtNO3KyFmbE4XnkI5zkQuq7TYzbtiMDi2IStyx/9pcwM8DC X-Received: by 2002:a17:906:3406:: with SMTP id c6mr40046373ejb.89.1568390639148; Fri, 13 Sep 2019 09:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568390639; cv=none; d=google.com; s=arc-20160816; b=yZ0BAtZ213LQBYG275kDYHUKJE+oTlqw9t5cpyeP2nYejXwJfutszLa7VCPX+bFIKh OxfmqZfPxc/pGDxXZdzOQxW328+cBObPZBzqbeIgSw4iyEELL3JZaqzcdaCJk+3GRm7C 3fxBplZZwOxiDiggEFav4r+JpEF4Qa1C1J6i4wQy7gFr6nHE6rSifsIXprR7Faa6GYEZ kuDDopMnnuVffQ673R6mog+qQQacUU/2sc41v+DnB2liwa0U0xYmRrOAeqSF/tbPRqoz VUIuN0AWTaxdF9FQ+DuxMXxYVTewmN6R/ka3N+bzrVdTscOcW2lLGnnNL5eUSRh1/LR1 2wQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:subject:cc:to:from:date:message-id; bh=EhVYjm/YBm0igQafg8TH8nGG75SYappzyaYQWt33XPA=; b=GPVI8AsuF5+qEwhZmyGssFNlAG7TfVN/QpYR0XUY4eL0eY4nRMzkfaddvXsy+jREOm DBwsObQ9GuxQuZTyrCuikDM8ZO+jKFZODRbtcg8WW/VQ4ugMCpCD3MOn5GwmtMRciSQa 988Uh1EHxMF5yqRD2P2kRAf26PN2JpEX4xOHhktCIxJ2B8HqKjDbVv9+ZTd0RbSkH4fG 62+rvpcf3rcLK34048uKy6Dywnbo+A84HP5C1yLf/5j70XeR/5ZPEg9MMfvnZrQWzJDD kRd5ZVW17z4wM0RTOpAHuHIKHYYgyu/xMAk7C2oQV8rPYlgnKA0RHY3E+wXrNtsRSYUW wgfg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w5si39703eds.179.2019.09.13.09.03.32; Fri, 13 Sep 2019 09:03:59 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730570AbfIMOgJ (ORCPT + 99 others); Fri, 13 Sep 2019 10:36:09 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:35004 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726558AbfIMOgJ (ORCPT ); Fri, 13 Sep 2019 10:36:09 -0400 Received: by mail-ot1-f66.google.com with SMTP id t6so16445799otp.2; Fri, 13 Sep 2019 07:36:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:subject:references :mime-version:content-disposition:in-reply-to; bh=EhVYjm/YBm0igQafg8TH8nGG75SYappzyaYQWt33XPA=; b=g6f4AWIbnXROw0N9q2CL4QeEc/7hW/RSjc/Y9BNQeNMy9mPVmxsEKomrsrb94QFDSg NRWUwM8TCt46Hk5hMaP41+0fklHgBeekr6tc9QX8QcYmCpqrwc93PpJW2pK5JG4B/CHn 0LrPwv46chPV8prMnJKomUdNqD0TbUGyUAhddiXr9qnM0wNbXcw1usvOrXkmmlhYyEPo KNGMhCc+m3biHbifCfLkpat/z26kUO9qbPoKVqh5saNi8YZ3rZb2JQGCZlWkeBX0UbIl qU70/4y1llvhMVJrIWyHz9UKJ0A3YECN3RrdvPaKsIrTCL4dfqR+ucSXS5E5wJGz9n03 rgdg== X-Gm-Message-State: APjAAAXZPoQoOx8bhzY8WfiW2JYEInBqnKrsxP7EVpjiLASYLEBFM/8Q sGHrliIqSh1OAgUfi0KDOiIlNlA= X-Received: by 2002:a05:6830:1103:: with SMTP id w3mr7219205otq.147.1568385367903; Fri, 13 Sep 2019 07:36:07 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 36sm10597332ott.66.2019.09.13.07.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2019 07:36:07 -0700 (PDT) Message-ID: <5d7ba957.1c69fb81.a8a33.834a@mx.google.com> Date: Fri, 13 Sep 2019 15:36:06 +0100 From: Rob Herring To: Jiaxun Yang Cc: linux-mips@vger.kernel.org, chenhc@lemote.com, paul.burton@mips.com, tglx@linutronix.de, jason@lakedaemon.net, maz@kernel.org, linux-kernel@vger.kernel.org, mark.rutland@arm.co, devicetree@vger.kernel.org Subject: Re: [PATCH v1 12/18] dt-bindings: mips: Add loongson cpus & boards References: <20190830043232.20191-1-jiaxun.yang@flygoat.com> <20190830043232.20191-7-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190830043232.20191-7-jiaxun.yang@flygoat.com> X-Mutt-References: <20190830043232.20191-7-jiaxun.yang@flygoat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 30, 2019 at 12:32:26PM +0800, 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..dc6dd5114d5e > --- /dev/null > +++ b/Documentation/devicetree/bindings/mips/loongson/cpus.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: (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. > + > + compatible: > + enum: > + - loongson,gs464 > + - loongson,gs464e > + - loongson,gs264 > + - loongson,gs464v > + > +required: > + - device_type > + - reg > + - compatible > +... > diff --git a/Documentation/devicetree/bindings/mips/loongson/devices.yaml b/Documentation/devicetree/bindings/mips/loongson/devices.yaml > new file mode 100644 > index 000000000000..aa6c42013d2c > --- /dev/null > +++ b/Documentation/devicetree/bindings/mips/loongson/devices.yaml > @@ -0,0 +1,64 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mips/loongson/devices.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Loongson based Platforms Device Tree Bindings > + > +maintainers: > + - Jiaxun Yang Add a blank line here. > +description: | > + Devices with a Loongson CPU shall have the following properties. > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + > + - description: Loongson 3A1000 + RS780E 1Way > + items: > + - const: loongson,ls3a1000-780e-1way This is a board or a chip? Normally we have a board compatible followed by a SoC compatible. What's the difference between 1-way, 2-way, 4-way? Maybe there's another way to describe that. > + > + - description: Loongson 3A1000 + RS780E 2Way > + items: > + - const: loongson,ls3a1000-780e-2way > + > + - description: Loongson 3A1000 + RS780E 4Way > + items: > + - const: loongson,ls3a1000-780e-4way > + > + - description: Loongson 3B1000/1500 + RS780E 1Way > + items: > + - const: loongson,ls3b-780e-1way > + > + - description: Loongson 3B1000/1500 + RS780E 2Way > + items: > + - const: loongson,ls3b-780e-2way > + > + - description: Loongson 3A2000 + RS780E 1Way > + items: > + - const: loongson,ls3a2000-780e-1way > + > + - description: Loongson 3A2000 + RS780E 2Way > + items: > + - const: loongson,ls3a2000-780e-2way > + > + - description: Loongson 3A2000 + RS780E 4Way > + items: > + - const: loongson,ls3a2000-780e-4way > + > + - description: Loongson 3A3000 + RS780E 1Way > + items: > + - const: loongson,ls3a3000-780e-1way > + > + - description: Loongson 3A3000 + RS780E 2Way > + items: > + - const: loongson,ls3a3000-780e-2way > + > + - description: Loongson 3A3000 + RS780E 4Way > + items: > + - const: loongson,ls3a3000-780e-4way > + > +... > -- > 2.22.0 >