From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v2 1/2] dt-bindings: i2c: sun6i-p2wi: Add YAML schemas Date: Tue, 11 Jun 2019 11:06:41 +0200 Message-ID: <20190611090641.byr6mpywkfmbhrbk@flea> References: <20190605122936.11972-1-maxime.ripard@bootlin.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2657846540150869915==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Rob Herring Cc: Mark Rutland , devicetree@vger.kernel.org, Wolfram Sang , Gregory Clement , Chen-Yu Tsai , Linux I2C , Frank Rowand , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" List-Id: linux-i2c@vger.kernel.org --===============2657846540150869915== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tp4lyww3y3wdgyv5" Content-Disposition: inline --tp4lyww3y3wdgyv5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Rob, On Mon, Jun 10, 2019 at 03:34:18PM -0600, Rob Herring wrote: > On Wed, Jun 5, 2019 at 6:29 AM Maxime Ripard wrote: > > +properties: > > + "#address-cells": > > + const: 1 > > + > > + "#size-cells": > > + const: 0 > > These 2 are covered by i2c-controller.yaml, right? Indeed, I've removed them. > > +examples: > > + - | > > + p2wi@1f03400 { > > i2c@... > > That should fail on the schema (I need to get the schema checking of > examples finished.) That would be great :) The compilation of the examples alone already caught a good number of examples that weren't even compiling. Speaking of examples, one thing that would be great too would be to allow the usage of our C headers. It's not supported at the moment, and this often ends up with an example that is less readable than the actual DT. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --tp4lyww3y3wdgyv5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXP9vIQAKCRDj7w1vZxhR xeGlAP4rbegd1UDuKXUKFF3WhWS1KZK+o17bmmgQWsh+mRKxCwEAp601hbl4LHuW G1FzOaVHASk0Y180ji5wRzDpQS2E2gw= =1utz -----END PGP SIGNATURE----- --tp4lyww3y3wdgyv5-- --===============2657846540150869915== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2657846540150869915==--