Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp3044894rdb; Tue, 13 Feb 2024 05:29:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFTs4Ua4Yd+3T3Xqmur5OVscspr4jwnvhVFzL4olY2pDinBCAk1sGyjxBzx/0JoXwojLb1y X-Received: by 2002:a05:6a00:11e1:b0:6e0:5344:1e86 with SMTP id a33-20020a056a0011e100b006e053441e86mr8498696pfu.23.1707830951645; Tue, 13 Feb 2024 05:29:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707830951; cv=pass; d=google.com; s=arc-20160816; b=Mn3i0EdfGMA4UqHupY+r1QYTMxmyAjtoR/RVZ/gtwkuF8mbl9Q9v0hKyral6wpIfx3 jTSpjDrBDkPrCQ0BovuzXI6G2xsrKlYpi9mraubkewwnYdDQkZE4ulJhmjJCvhoRnwjN MWjquYMySYix6mZtIGrGBF77dCWih/JioNadoyWPDCI2Tu4HTlILHNHZNTyySpPQfbRt 2VSgniBbffLo0OTXfdue9E+KurdK1Ffqolfd/YYitCsTOcsbVyVFhiwSM1aLxX6sNTg+ Dv67C5zB5DPCpUmlfRo7N6LMDbO1xQPxYT0PXcApUvepfIZSe+ejeEuA0JGBLAwywtHc LgFA== 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=DXSqrW4Ifd7VeqjorQkyRa5qfvLZpGp5TJEawOQhbUY=; fh=onGvUVVtPBg2aMLNL6BFhQPgXrmp1A9xzUHQ5Q8xgdw=; b=du8htIt44EPVmwdF/pNqXJ1TNvPNmG7ocOjrdTp252sedUmNsc+tKIm9oIpmsSTNj6 gTzoFdrICwYy6QcKUn2kb/lVMWwMRnFjuxxw7TdF9QJvoZnKjKvgBvgX4u3UckSOVUt6 ttKUyz8xnasHRdcrZgDzVplReBJSHJfv/wwlzGa3jrkKI5HBcP/RXpolw3JKo+oY7eSi qNGLaoJizJeNfnv2e8Vob47yKIuC+wECzdXPs0NCJO36gn6GihZBPGmLwZRt82fdB0ye sL0ITFGtjJ5277VhzqnTBSLPwjregFiJDrZD2kAUEX2rj5kVHkup0ldCnD4+mqdm8qw4 Z7EQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RSkSsUoH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63588-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63588-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCU59M4LqQZWfX42yKDZup2N6BWimj53y8Vmj0zjylxI/smPz1peU2ntPskXiYStHkpIoW1t7DnPkQb9sP31WwEzmbW9U9+6auE6/k4Xbg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b15-20020a65668f000000b005cd7c92f504si1928350pgw.481.2024.02.13.05.29.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 05:29:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63588-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RSkSsUoH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63588-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63588-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5908328CE40 for ; Tue, 13 Feb 2024 13:27:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A74AB55C2A; Tue, 13 Feb 2024 13:26:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RSkSsUoH" 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 D0B964205D; Tue, 13 Feb 2024 13:26:56 +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=1707830816; cv=none; b=eHnAWyscxKigensXs+h+vevesB12vzcqa//4AxoyHFz/e+CigT9iEVCju4z3hCQoykwci+oreat9BQ7SZ7s76WgrPgHJNg0wMqvb1god4yuT3RfaTaqS0UuBSl3B0o4+vBWdEYZYNoVCKG5FGhGe0RhZtqq6LodTQFPIiKon4Do= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707830816; c=relaxed/simple; bh=j+kLwBvDzOosGdaB+n0WIx8jWxPFmdI1JoZl3OecFCA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YDk+WinsiO3SvV5a8gqUFbYs/6bRK/kaNwe1MZQ/4XqakHNDBI5dasxfm655ikg75KxhECamYr64DZIm5Y93B801KMwx1MirukmkfWOJLVUSTy0mWkmJ8Rv8xhfLesjxet1gpFW71di3DB3Z1jWx6Tkp1dHTPneBNTZntwxJsnk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RSkSsUoH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 384F4C43390; Tue, 13 Feb 2024 13:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707830816; bh=j+kLwBvDzOosGdaB+n0WIx8jWxPFmdI1JoZl3OecFCA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RSkSsUoH0kFZQUBkWcqMfHjsCLQd18O1kGFqqZAkPTqkTQpe6Q6G7dUPzGR9VKLku L6yV5aVKuKBeEWhTTbKM3bM43VrWoZ5BJD3O0qlyImW/uullvY5LfG1IGJ2vqFBUvi bUUnm+aDSSxrrHk6clpsMh52o9kAgd1M6VF311jLZKtvD/9RnTKQ6T5hFlrH3tCNas VeuT6E7RicehWYhccNoT96KmfYXH0oyAoXE1vcDeIhKWEAiqDLUUM4NnKX42fJg9Q6 doSi09etRiWXvOgK862+Rcoaec460nmknPimq8kc+fZSGDFFy90SeScMhtKc59zp6e Vdp1nYCAHsbiw== Date: Tue, 13 Feb 2024 07:26:54 -0600 From: Rob Herring To: Sebastian Reichel Cc: Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , Pengutronix Kernel Team , NXP Linux Team , Dong Aisheng , Linus Walleij , Dmitry Torokhov , Mark Brown , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 02/17] dt-bindings: bus: imx-weim: convert to YAML Message-ID: <20240213132654.GA1051154-robh@kernel.org> References: <20240213010347.1075251-1-sre@kernel.org> <20240213010347.1075251-3-sre@kernel.org> 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: <20240213010347.1075251-3-sre@kernel.org> On Tue, Feb 13, 2024 at 02:00:51AM +0100, Sebastian Reichel wrote: > Convert the i.MX Wireless External Interface Module binding to YAML. > > Signed-off-by: Sebastian Reichel > --- > .../devicetree/bindings/bus/imx-weim.txt | 117 ---------- > .../fsl/fsl,imx-weim-peripherals.yaml | 36 ++++ > .../memory-controllers/fsl/fsl,imx-weim.yaml | 201 ++++++++++++++++++ > .../mc-peripheral-props.yaml | 1 + > .../fieldbus/arcx,anybus-controller.txt | 2 +- > 5 files changed, 239 insertions(+), 118 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/bus/imx-weim.txt > create mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/fsl,imx-weim-peripherals.yaml > create mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/fsl,imx-weim.yaml > diff --git a/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,imx-weim-peripherals.yaml b/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,imx-weim-peripherals.yaml > new file mode 100644 > index 000000000000..86d7e5011107 > --- /dev/null > +++ b/Documentation/devicetree/bindings/memory-controllers/fsl/fsl,imx-weim-peripherals.yaml > @@ -0,0 +1,36 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/memory-controllers/fsl/fsl,imx-weim-peripherals.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: i.MX WEIM Bus Peripheral Nodes > + > +maintainers: > + - Shawn Guo > + - Sascha Hauer > + > +description: > + This binding is meant for the child nodes of the WEIM node. The node > + represents any device connected to the WEIM bus. It may be a Flash chip, > + RAM chip or Ethernet controller, etc. These properties are meant for > + configuring the WEIM settings/timings and will accompany the bindings > + supported by the respective device. > + > +properties: > + reg: true > + > + fsl,weim-cs-timing: > + $ref: /schemas/types.yaml#/definitions/uint32-array > + description: > + Timing values for the child node. > + minItems: 2 > + maxItems: 6 > + > +required: > + - compatible > + - reg > + - fsl,weim-cs-timing This should be marked required in fsl,imx-weim.yaml instead to fix the errors. Really, the other required ones should be in mc-peripheral-props.yaml as it applies to everyone. > + > +# the WEIM child will have its own native properties > +additionalProperties: true