Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp262015lqj; Wed, 10 Apr 2024 09:38:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX84gggybXiwSTkXleBF6aAPMmcpuAf+N6j94Qw94qnL08/ya+XSjTnHoNo+px1jJNgTr/s3ZoN8+QcUfZa6pemo2ZUo3KJe61DhPVgmg== X-Google-Smtp-Source: AGHT+IFWDlF3wNllOuA7kacWI9mAZQD3nJbg/U13n8/v5OL7dzeJtHl/VDCQDHaC3FBoRrx4KWmj X-Received: by 2002:a05:6870:30a:b0:22e:15fd:e247 with SMTP id m10-20020a056870030a00b0022e15fde247mr3412983oaf.5.1712767083944; Wed, 10 Apr 2024 09:38:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712767083; cv=pass; d=google.com; s=arc-20160816; b=gxb3C9YflH6o6SdXYsPhPT5p0/tJ6SCPtt0eNfUCETAH4b5OsRP74cAZos0SWYjB95 X+3B+AkGrMhqSQnCJ4WbiSz2FSivkQD8HrUqHW1OUaUANpAx7lrZog3vrVmenGNpOngF bHiQ4ueop3eqYBiwdgbn+VResGfCiHO8EtuvpsP974R0Qe2goPGPDvW6y1jU+USRb7Ow /Lsd3hdLK5hthGk3X5RfMr4kil0v3kAv9fAw8SV/cEA9rv3ruq2STOX/eV8/bo7PLVdK KgRh4V3oUAqas6iVvhnubY/zgmwubjuIr3yn8xbLelvHKy8lumS7B+euaLV4CHY8/3Ak cJ2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=w9ZnrURmKuIskzMI8tD8z7QBkTSsNySZFkWGR/X0t+w=; fh=ZDpKi8viABPMSmZhhJjz11b0uvfXyTjeQwvCPpc81ow=; b=miDYDi9jIwhDdRgemNbrIV5CCLvwTKT+ocPL45HJe9PegzHIrcwYNwvr8BLdh65BLn S4636GeMH2WwImVOAIz94CQcG4U1rei5gJrP1MsUnJpK7F2d+Ns9MGCjbBavjgxU3NDo tI3kDLAX2rcBV9N/ZVJibfHlqmIARjT/7rBfYM7CIlmAnMBC5HHK5+Y7aWrhbWQmeziX cMCc0rS0jQ5C1zwtrAu7rdB7w02BShkYf8zhg4rEGuAA3Y/162OqojoK0ESVtzrKa94D ILd+9z7SS1eQwhI/yxoTI7GVuUdKXKga6yAQyk5qYenG/44XZSjAgkuQX8uUoAy9x9Iq Syfg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bnxnT+lH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138989-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138989-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p15-20020a05620a22af00b0078d635c8189si7548777qkh.416.2024.04.10.09.38.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 09:38:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138989-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bnxnT+lH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138989-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138989-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E71F01C22289 for ; Wed, 10 Apr 2024 16:37:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F34317B504; Wed, 10 Apr 2024 16:37:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bnxnT+lH" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3509A142E62; Wed, 10 Apr 2024 16:37:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712767062; cv=none; b=CU9FkJNBua+G9lId6B+/yfv2IeQYlY2hkNvP9bwmxGzaXzUFYaaeR7uMoewsVnQPk0AlvlTahmMIytXYY4su2QNqEIB1zM08CfNeBAOwP2uSGFzTk06q4r98Jyo+p67DoaDSWdLDdR4oQHP00saFN1ccFPNnN/Syuo1KRPn3Wds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712767062; c=relaxed/simple; bh=6OUj44vZFwVj92r42Hpe1Vt84hfOsxOHWO/kw7h9fI0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qsS/dYBtIPBddTLVVCtUzXFRfugm0ztSjcQntsVSahN3SNgPKpuAThI4gkQMKejxjxJ2w15XK7PMek9lTm8qJwnHGxdkth3HyDIz2bC1Iijvz7xLQKX2lwDNCjS0Um4G3bkEUFsj8FGPNU1ajV3jC30rHxCiEuA4X/GkV5I209s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bnxnT+lH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73D7BC433C7; Wed, 10 Apr 2024 16:37:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712767061; bh=6OUj44vZFwVj92r42Hpe1Vt84hfOsxOHWO/kw7h9fI0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bnxnT+lHlpR7zjZ7nbs32PKFsecWWxj8QxZPHZzeepoo4DgJSJN7oWS6UQzlr+JuX v/kvc7+0ho9YbKGfYrAsQyfsrcsmZb/2LXWbC+gj57mEPQbjvlKAM5pP8cYh6JKRkR LK+9XAHXGUEdsdu5k2J0SWJJWk5SiM0YMqLQExQoPhrQnli75f7ez5FepFCc75cOe/ 3GUIfji5/mY5RlVjflzoc3MniWevQso5i1uv7tvUb6JuxvfH4d9J+bBT+EGelqWv3N 80mIjjNRmNxcKuJaPJJtCrquUTEpt18OVhRhmROuS4u0U1Eo/fxqp6GTL+t5uSQZAs 7yzvaFYlsi1Fw== Date: Wed, 10 Apr 2024 11:37:39 -0500 From: Rob Herring To: Yoshinori Sato Cc: linux-sh@vger.kernel.org, Damien Le Moal , Niklas Cassel , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Thomas Gleixner , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Greg Kroah-Hartman , Jiri Slaby , Magnus Damm , Daniel Lezcano , Rich Felker , John Paul Adrian Glaubitz , Lee Jones , Helge Deller , Heiko Stuebner , Shawn Guo , Sebastian Reichel , Chris Morgan , Linus Walleij , Arnd Bergmann , David Rientjes , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Vlastimil Babka , Baoquan He , Andrew Morton , Guenter Roeck , Kefeng Wang , Stephen Rothwell , Javier Martinez Canillas , Guo Ren , Azeem Shaikh , Max Filippov , Jonathan Corbet , Jacky Huang , Herve Codina , Manikanta Guntupalli , Anup Patel , Biju Das , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Sam Ravnborg , Sergey Shtylyov , Laurent Pinchart , linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, linux-fbdev@vger.kernel.org Subject: Re: [RESEND v7 25/37] dt-binding: sh: cpus: Add SH CPUs json-schema Message-ID: <20240410163739.GA406756-robh@kernel.org> References: <7731111c9e383c41173ac08f3a040a18449ac542.1712207606.git.ysato@users.sourceforge.jp> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7731111c9e383c41173ac08f3a040a18449ac542.1712207606.git.ysato@users.sourceforge.jp> On Thu, Apr 04, 2024 at 02:14:36PM +0900, Yoshinori Sato wrote: > Renesas SH series and compatible ISA CPUs. > > Signed-off-by: Yoshinori Sato > --- > .../devicetree/bindings/sh/cpus.yaml | 63 +++++++++++++++++++ > 1 file changed, 63 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sh/cpus.yaml > > diff --git a/Documentation/devicetree/bindings/sh/cpus.yaml b/Documentation/devicetree/bindings/sh/cpus.yaml > new file mode 100644 > index 000000000000..9e5640793d76 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sh/cpus.yaml > @@ -0,0 +1,63 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sh/cpus.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Renesas SuperH CPUs > + > +maintainers: > + - Yoshinori Sato > + > +description: |+ > + Definition of CPU core with Renesas SuperH and compatible instruction set. > + > +properties: > + compatible: > + anyOf: oneOf > + - items: > + - enum: > + - renesas,sh2a > + - renesas,sh3 > + - renesas,sh4 > + - renesas,sh4a > + - jcore,j2 > + - const: renesas,sh2 > + - const: renesas,sh2 > + > + clocks: > + maxItems: 1 > + > + reg: > + maxItems: 1 > + > + device_type: > + const: cpu > + > +required: > + - compatible > + - reg > + - device_type > + > +additionalProperties: true This is a problem with the other cpu bindings, but should not be copied here. Add a $ref to schemas/cpu.yaml and make this 'unevaluatedProperties: false'. > + > +examples: > + - | > + #include > + cpus { > + #address-cells = <1>; > + #size-cells = <0>; > + > + cpu: cpu@0 { > + compatible = "renesas,sh4", "renesas,sh2"; > + device_type = "cpu"; > + reg = <0>; > + clocks = <&cpg SH7750_CPG_ICK>; > + clock-names = "ick"; > + icache-size = <16384>; > + icache-line-size = <32>; > + dcache-size = <32768>; > + dcache-line-size = <32>; > + }; > + }; > +... > -- > 2.39.2 >