Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp892093rdb; Sun, 18 Feb 2024 17:59:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV3A+2KIMaXufb0jw4phPtnTLncimwoDe580E/8iOt89V0HfEU5rZ38yTYx7TCrYoZbRgsBWCr0BsRoL98I95+T5LOp1IAU+/AczGJNfA== X-Google-Smtp-Source: AGHT+IFPVpr1DhBPlZKQUdvR1qDBWFGQvPegmG2mg3iLtFEHNsqaGXcd8jLuYqzInZg7Y1LLlgCT X-Received: by 2002:a05:6a20:6b82:b0:19e:ca6a:118e with SMTP id bu2-20020a056a206b8200b0019eca6a118emr8223416pzb.36.1708307978941; Sun, 18 Feb 2024 17:59:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708307978; cv=pass; d=google.com; s=arc-20160816; b=PX5J5QiLiaF1s432Dmj8ue3X14osU/mlLthg0Si6wxbkh6qfVTd23zxmcIEN6VykCM 81yE69GwpYAXzyaQv2qbpb+XB6FRYz+JZ+BnXmBOwA4zHko5lJBG0FAD+ZK8GdrAyFwN eTVqqGfjR3a2aNtx3ptu2Un5YKHhIcod73UDHN6SACfdQGeEBBkoQ9rTNk0KChE976X3 rxYyp4jATmTn639wmVNTSfRvE76L2Aa1ohde4EUu8lgwut1K3pJLfhTZHl2vUXBh/59W dFsMvXhUq9NuNO7GFoAZF+QK1rBYTzNuyzewSckeb5Woi12ULEHeSZ4L2psEbEBJH3xO KEjw== 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=Skiy/1cCbyJZVQ/oQQkq8CrUhg9T6jXlUO52ZNgreCY=; fh=AtIDiqi9sYvcblRfTfd539rbM5arFM52fzQqDSpJQUA=; b=kBQGaBtxVlqcaOCKBS0NvB8qPWh3FS51ht0h3ONATrDnBCE+sKV4FxmMsV9sjmLmWn Bld2jAGtL8JusEdVO6St1NvYftj2B500VsKaOoa8EEgvX2pO4NRv6GhCmzOEY71NE2rS 1L63a5zicsH8hWk73ZDdMk97WW49G1EQ4wPeQpdcWvsevTGAVMT66TReL/BoJWCK8vIy mjK2F7i/WG3Vxt4Dyy+hGOgkpoRASDBYM68b8ggZLS47x6BR1VVz+1NBhIOZLJHOAgfc azRa2BeOFgOnUwsjqZBbzdo3mCfN5giVMqYiwrSRqco0bsaBM9+wnkPw4EcvYT+Q7pDW 5OnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nps3WOc3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-70641-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70641-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mc3-20020a1709032b0300b001db5b4036fesi3668167plb.108.2024.02.18.17.59.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 17:59:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70641-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Nps3WOc3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-70641-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70641-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 9DAD1281358 for ; Mon, 19 Feb 2024 01:59:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79F551FDA; Mon, 19 Feb 2024 01:59:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Nps3WOc3" 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 7E9FD810; Mon, 19 Feb 2024 01:59:30 +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=1708307970; cv=none; b=ShakKUnU4EMLXPaUpB9glqS46YwrkxiFRWir7V3ecVBySwPZEl6PAE8iORmo41G5FVSQJZ0Em1rlXTjft2TUUKwzNwsWKP53QWxEEAoJXJ/hQ7GN8BI98Ub/MqibWtzrGapz+/Ayiqa6kZE5jwcv+oJY0fIxSTkr8UGVkX276kc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708307970; c=relaxed/simple; bh=H0r59aUP52FMwFT9xemyKEWcqTDK4960Ordka6E2bcU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=S82is5Xj6rzKPCAxPBpJ2EP/Xh7MgKQ6ehcdjDEXp1ez2pL+95Alo3ZEf46GUYeJmHwuUvqP0w805JKozhQ6pWjkV/gkqWA469Yxua8063U2choJoTLPzPbrw5vvUUBeKV3yx+VW/nDGvL0LPUo15qVJAm0gEucqgRbOw0PB6uA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Nps3WOc3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B78B7C433F1; Mon, 19 Feb 2024 01:59:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708307970; bh=H0r59aUP52FMwFT9xemyKEWcqTDK4960Ordka6E2bcU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Nps3WOc3360GL59KSd9VDfYYmLHTAFp43smvyztbqhRI0IipZEKzhMA7THWb224/k jbXTlZvrFeHXE9ZdgAz3kYszgECh5Pzn2k52FQyS0vXUF39Pika+Ak8r4fRoPRF0RM 64JD0PpVdGAo1R1KoH32Jn8XEW66EwvWWKpZuiBPCmRadARLLgxA2BK2cFP2DyYHfN ydUDCegzd/c2ksbEMM8CuLTivWxXmxvA5L1mrJPLZuExyT5ogVryKjuOfh6diqZWsU bkP6SK//MxiNAKncMP3wWvGhlomVS6adAVXpEGE8giqntiE/Cm/h/2Ti2B7PbUtNuc 9W5piOxJuGwDw== Received: by mercury (Postfix, from userid 1000) id 9C9DB106062D; Mon, 19 Feb 2024 02:59:26 +0100 (CET) Date: Mon, 19 Feb 2024 02:59:26 +0100 From: Sebastian Reichel To: Krzysztof Kozlowski Cc: Rob Herring , 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 v3 02/16] dt-bindings: bus: imx-weim: convert to YAML Message-ID: References: <20240216223654.1312880-1-sre@kernel.org> <20240216223654.1312880-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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4pqq4oakpi55rbmd" Content-Disposition: inline In-Reply-To: --4pqq4oakpi55rbmd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Krzysztof, On Sat, Feb 17, 2024 at 09:39:52AM +0100, Krzysztof Kozlowski wrote: > On 16/02/2024 23:34, Sebastian Reichel wrote: > > +properties: > > + reg: true >=20 > Your pattern in weim schema suggests you have here minItems: 2. > maxItems: can be 2 or 255. Which part suggests minItems: 2? It's minItems: 1 with each item consisting of two address cells and one size cell. Most in-tree users actually have exactly one item. The only exception seems to be arch/arm/boot/dts/nxp/imx/imx1-apf9328.dts, which has "davicom,dm9000" using two reg items. Considering this is an external bus, any number is possible in theory. Should I keep it as is, or use minItems: 1, maxItems: 255 instead? -- Sebastian --4pqq4oakpi55rbmd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmXStfcACgkQ2O7X88g7 +po+XxAAkw0sUKydUAzk8VOe0KFYWi+6WzNOk43Y+/2NuhG/1+G5Bx+EF/QJICNa 4L9vvi1xsNkoatYs0kuijJrqUoms99yBRqjiga5dmAIptFXT9XJCZbduY6BTbp3k eM4ASa21krMrPbYNYKVTw19dv/bMIHKt7XAM5HMjUH4GUhstzGggWMjJB+UMmxJC J/nZhn9MQfZwAVnQP7+tKTSVR5J8AEzNajWhpGOrLgOcD2pGhTB+TATDUv0WCaeY tb+fD4iIV0yOSkj88UFkbO+DgEcDAfnNESQY7e+DyCMxNHBFZ+5iElVfba1FO3w1 XPm68VNY8GN2LaKjkb6ZiR4KGfX67rAPH8HZJKSgwvIFvoxgZ2qz0nlUliexsafc scnXwjdlxDPwCUaSXzwmM9maQ+i0qBMAwZbiyd+w+g9hpc/wZBZQuDxTTpvy6eXm A/w7kFvZA3k3mBaHfCy+sHanPS6SX1EP/kMfqe4S6ZM/XjLrjq6hxWmxOfBmcHtw rRUqftizHby0u2fCGl9RWzaeUU6M2Ybl1c2K7OxXp58q4l6baFrr3r/+l6ELZ67s DYe3HACtPQ8h61iz3KLQesZkkIpx9XMoUTz80vfokpNtZ5PFJcpz2+Bu8kncyvsx P+XtkrI6D3A/+rHAqsMXljgBi8h9VtMFVje/ZhQDkrE7LTPw2/Y= =t86p -----END PGP SIGNATURE----- --4pqq4oakpi55rbmd--