Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp131052ybm; Tue, 26 May 2020 12:32:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXigRGhhX67N8aNfbAQlfCX6/bDccc1XuH8M+Y1JWHJK9qbg/pVuWB2Ho0NruP3f4v/W5c X-Received: by 2002:a17:906:200a:: with SMTP id 10mr2460213ejo.294.1590521576416; Tue, 26 May 2020 12:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590521576; cv=none; d=google.com; s=arc-20160816; b=Mdqqf9V6+CFjJGUDGZ+WXeCyZkMUuu+iyCd5yn1g1bQKvLeDpQlw3DK6128vI1TkI1 KMn5iwAe/KdjPbYAZlrrfuWWcHGZmJJHVn0G47CWycX503ww/1ueC2MN/iMp3GX/2cE9 n3rdA3ti6h3fUyOTzceRGsa3PzCx2UQsd2uzuWni0c0OUVJCv4AUxcTmWwk3zImIHgqw DijdYEbH20SQ5auVDeauiePrJTAwlKt4v+eezg3TqXtxK6Iq8yYY+kfrKWE755dkZ7I0 5Ckt6ab0ZVH8FvBNtNN1In1VbfMQQAmLQLi+tAg6JKlk5Cz6pUFwKkzuki1VEQGgJ+gH dX4Q== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1udivP7wbmjRGQdrVG+bvSIgJ6k6K6sg5R0YTrdV/ZI=; b=RrlNv3ca3QmFQYNUDqfF22AQzL/H7mSGK+PiMNNZw7m+5QnzGj9hCYq+WGh8T7VSTS vTCRBOHVmqgs+r+CRybYJWNYsUgCN6ww7ru6Ab5tVqMOT/OGY5UKLItZEKbTPy6VJDM+ xltbEBhGbwsvW8S4xz1jwGenfPm9By2MOSVME2r4jrLxGs0d4wsq9zDtzqFuabPWKWb5 QDAEoFSYh9kOKlnthiin7xQtB3OFz9C2sIWU4uocKSA0P2BkLO6taOR8k+jPoFfI+7eW r7A3ZA0BWPC1f6TzmCqCWqfGUa3Kv4fq80qWsNLpcTUfdJs6/P71105682bdndsbsqCR jy2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f8si543911edk.160.2020.05.26.12.32.33; Tue, 26 May 2020 12:32:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404238AbgEZT3y (ORCPT + 99 others); Tue, 26 May 2020 15:29:54 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:43207 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403856AbgEZT3v (ORCPT ); Tue, 26 May 2020 15:29:51 -0400 Received: by mail-io1-f65.google.com with SMTP id h10so23334523iob.10; Tue, 26 May 2020 12:29:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=1udivP7wbmjRGQdrVG+bvSIgJ6k6K6sg5R0YTrdV/ZI=; b=t4kC1jI7UiO4MZhJGkDRBUWQHV+9KoeFICr9vrDYhQOaoCuIv1xL9MybaaNyj/hY74 slBKtgm+RhZroQTHDrEgfRaJrzlhu0vMeW6j4FT/ld0ZSl3deXO6mHpQT94rXXvJaHt8 wG8MSmqWHrl84DeKLkzevdIPtfVfXxON0er/gpV7Zj1RknVLoplOQUx6OWH3h9D6YMYa eMBhdd4JTxUNCdBs5Uxi8yfTVUdjxEGKkV3F0hgusWxPCdqTMuQbeCgf6jgPg/sG0i0k hiR3us/Gq1Gad7DEG+1cQsBeEj+QX6rC+CRANcosBlTmwXthckUewY8Vo0cl4y9It/wR QAKw== X-Gm-Message-State: AOAM533VX0b6tEowLTOYYjmVyWNQAgPAEuTdHj0KUOekpDGLMcaOErPq l14RVi5xRDLv7WRbeL3Bs5Z2j3U= X-Received: by 2002:a02:dc8:: with SMTP id 191mr2522550jax.95.1590521389948; Tue, 26 May 2020 12:29:49 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id r9sm420424ilm.10.2020.05.26.12.29.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 May 2020 12:29:49 -0700 (PDT) Received: (nullmailer pid 224310 invoked by uid 1000); Tue, 26 May 2020 19:29:47 -0000 Date: Tue, 26 May 2020 13:29:47 -0600 From: Rob Herring To: =?utf-8?B?5ZGo55Cw5p2wIChaaG91IFlhbmppZSk=?= Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, tsbogend@alpha.franken.de, paulburton@kernel.org, jiaxun.yang@flygoat.com, chenhc@lemote.com, tglx@linutronix.de, daniel.lezcano@linaro.org, keescook@chromium.org, paul@crapouillou.net, krzk@kernel.org, hns@goldelico.com, ebiederm@xmission.com, dongsheng.qiu@ingenic.com, yanfei.li@ingenic.com, rick.tyliu@ingenic.com, sernia.zhou@foxmail.com, zhenwenjin@gmail.com Subject: Re: [PATCH v8 4/6] dt-bindings: MIPS: Document Ingenic SoCs binding. Message-ID: <20200526192947.GA140311@bogus> References: <1589898923-60048-1-git-send-email-zhouyanjie@wanyeetech.com> <1589898923-60048-6-git-send-email-zhouyanjie@wanyeetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1589898923-60048-6-git-send-email-zhouyanjie@wanyeetech.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 19, 2020 at 10:35:21PM +0800, 周琰杰 (Zhou Yanjie) wrote: > Document the available properties for the SoC root node and the > CPU nodes of the devicetree for the Ingenic XBurst SoCs. > > Tested-by: H. Nikolaus Schaller > Tested-by: Paul Boddie > Signed-off-by: 周琰杰 (Zhou Yanjie) > --- > > Notes: > v1->v2: > Change the two Document from txt to yaml. > > v2->v3: > Fix formatting errors. > > v3->v4: > Fix bugs in the two yaml files. > > v4->v5: > No change. > > v5->v6: > Rewrite the two yaml files. > > v6->v7: > 1.Update compatible strings in "ingenic,cpu.yaml". > 2.Fix formatting errors, and enum for compatible strings. > 3.Remove unnecessary "ingenic,soc.yaml". > > v7->v8: > No change. > > .../bindings/mips/ingenic/ingenic,cpu.yaml | 57 ++++++++++++++++++++++ > 1 file changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mips/ingenic/ingenic,cpu.yaml > > diff --git a/Documentation/devicetree/bindings/mips/ingenic/ingenic,cpu.yaml b/Documentation/devicetree/bindings/mips/ingenic/ingenic,cpu.yaml > new file mode 100644 > index 00000000..afb0207 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mips/ingenic/ingenic,cpu.yaml > @@ -0,0 +1,57 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mips/ingenic/ingenic,cpu.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Bindings for Ingenic XBurst family CPUs > + > +maintainers: > + - 周琰杰 (Zhou Yanjie) > + > +description: > + Ingenic XBurst family CPUs shall have the following properties. > + > +properties: > + compatible: > + oneOf: > + > + - description: Ingenic XBurst®1 CPU Cores > + items: This is a single compatible string, right? If so, drop items. > + enum: > + - ingenic,xburst-mxu1.0 > + - ingenic,xburst-fpu1.0-mxu1.1 > + - ingenic,xburst-fpu2.0-mxu2.0 > + > + - description: Ingenic XBurst®2 CPU Cores > + items: > + enum: > + - ingenic,xburst2-fpu2.1-mxu2.1-smt Just: const: ingenic,xburst2-fpu2.1-mxu2.1-smt Continuing to append CPU features isn't going to scale well. Does 'xburst2' imply certain features? If so, not really any need to have them be explicit. > + > + reg: > + maxItems: 1 > + > +required: > + - device_type > + - compatible > + - reg > + > +examples: > + - | > + cpus { > + #address-cells = <1>; > + #size-cells = <0>; > + > + cpu0: cpu@0 { > + device_type = "cpu"; > + compatible = "ingenic,xburst-fpu1.0-mxu1.1"; > + reg = <0>; > + }; > + > + cpu1: cpu@1 { > + device_type = "cpu"; > + compatible = "ingenic,xburst-fpu1.0-mxu1.1"; > + reg = <1>; > + }; > + }; > +... > -- > 2.7.4 >