Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp294674pxb; Wed, 25 Aug 2021 03:32:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeVDcU1RV+uee+4P+JYglvpCbkJVObu13jqhGpXHRqfbr93itOPmf96ZAidBtKQyNOzilx X-Received: by 2002:a17:906:31ca:: with SMTP id f10mr47035076ejf.73.1629887561917; Wed, 25 Aug 2021 03:32:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629887561; cv=none; d=google.com; s=arc-20160816; b=X/XY+wHHXbsqj+piAIvh1dnK2YqiA6pAxh1W7Vn4JzjajsMsbhVURiJR766Apoa7VY AmlMme4BNHGD5xHY2olAfGMt8GQ/JzLKqx1vhz1b5oGNH8g+pIx0fLm/c5txUptVczmE +X3W7NMeuXCV+e7a2QfsucgRuOtRfmBHSndMBL9c+aQVbT9445pDkNhvom+w1JxBF/fe /G+5ppO8bo/OX2gtoQuUeaPp4WYAuy45oNWhY2Q/bTzkgOP/F6MhuOO95tJB3ZNcH35/ 0VOcsGC1avxDVSWYyRyvZpGfDY0x6/t/2LG+m3z2JirUuNQNnpAVlFPUQbJXIMvgWKrv uKcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/dGcdnDJQSuikSxYpLybghGo6DeDQ9TcuR3g7ByXcx8=; b=jj5zSujX43hH+MFo39sUw6gWwZrAZJP8e4fXvFUAS5uT6QGMBukhf24yX3TkhTGGXV HS1FJo4PldKm3HU8Kf3m6FW+Cs4DRRauoQ/hTMaU8NWZ69egvsDLEb6oIebO5UfpvLrQ LkpsVHvo0g1RU0vBhTn06IKZOyCWfXMqP1fM8m9R06JmxwSyZevdV+ITa/sayLKEtQSO 8na5DeT+TvAsKtF/zU7IVpBZ/XMNlT1aBWZiEA8fq87ZvKBXgj2WJnf4WbaiEpLrphMO 4nFuEToxhObWKX2NSoCXRo9Vunz21h3d9jkdWBDNfmvCR5CeGHKjjNBLMCaNcBQi2d6u Kowg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YzQfIITY; 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 js5si5900655ejc.249.2021.08.25.03.32.18; Wed, 25 Aug 2021 03:32:41 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YzQfIITY; 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 S240171AbhHYK2b (ORCPT + 99 others); Wed, 25 Aug 2021 06:28:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:39992 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240167AbhHYK2P (ORCPT ); Wed, 25 Aug 2021 06:28:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 14E3161212; Wed, 25 Aug 2021 10:27:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629887249; bh=/dGcdnDJQSuikSxYpLybghGo6DeDQ9TcuR3g7ByXcx8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YzQfIITYt+EvmJkw15OcJ5ISgWzmfAAa9l1OY26UMXJYFyuibz1c+h+8Mk1FZCuHQ kAJTQSl0ONbTNT/9lrv6hzN6QhLVWUwE815h7VOrCdY8YvCWgS3u1bctTLujiM8iyu M2sRBLq78Vru85NB9m3LEF3gSubrENg5UHN8Qhq244f/WJpBeL5APGDRjTizsqga+P R+am+zkLRFhNBWRZjsjF1VkOahqzMZZHXYrgTUgbynHQ0MUTdn3jtNfP6dJ5fNKPOR 2OS8+sxjO8jOeELe4bpM0maGGU4KaC22/bulQY5Ka345TX0/+psJIL/4XIVTsRsbp1 lpZrdGca7ZZAQ== Date: Wed, 25 Aug 2021 11:27:01 +0100 From: Mark Brown To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Maxime Ripard , Vignesh R , Marc Zyngier , Sakari Ailus , Mauro Carvalho Chehab , Lee Jones , "David S. Miller" , Jakub Kicinski , Bjorn Helgaas , Kishon Vijay Abraham I , Greg Kroah-Hartman , Daniel Lezcano , dmaengine@vger.kernel.org, linux-i2c@vger.kernel.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org, linux-serial@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org Subject: Re: [PATCH] dt-bindings: Use 'enum' instead of 'oneOf' plus 'const' entries Message-ID: <20210825102701.GB5186@sirena.org.uk> References: <20210824202014.978922-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7ZAtKRhVyVSsbBD2" Content-Disposition: inline In-Reply-To: <20210824202014.978922-1-robh@kernel.org> X-Cookie: MY income is ALL disposable! User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7ZAtKRhVyVSsbBD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 24, 2021 at 03:20:14PM -0500, Rob Herring wrote: > 'enum' is equivalent to 'oneOf' with a list of 'const' entries, but 'enum' > is more concise and yields better error messages. Acked-by: Mark Brown --7ZAtKRhVyVSsbBD2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmEmGvUACgkQJNaLcl1U h9AfCwf/TPAwmd3i8vLyV5kU4MWAOn8zovhbZ+gXG2hJek5nLRjdW7eTl2yXz1gx xdOp2MMA5ldnXUjncRKHMJYykdL7ZtEsOUWT44WgHT0h1WEQzTHSnoVgkt/DDbsP tuovH5NV986VPCJXIC+mBkt5a4MPzdD1nYVmPss+8R+HXfTRZauTlZefXvwCzNDT Md/IxPvIbcqw5Ks12P4kdojbEGB92MONTO3vRYkzCeY1toRL9fOY3DJE30Kd6o3+ hzCYzeRkTgoibpK8oG+ZqMOJ38/shj8Wiyfovdhd7LOj9orgkbGdGRi10R1997IR tDWFSsOVWZ8p+r2ZuI06T7GlVjygag== =GpUP -----END PGP SIGNATURE----- --7ZAtKRhVyVSsbBD2--