Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp750934pxb; Wed, 25 Aug 2021 14:14:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+swvHujsRymwkLH/Gi5Q9JLiwIQxrCF8vgbi2/4j9U/U61I+aOyy52a++z3rhOLtDkYQh X-Received: by 2002:a05:6638:4101:: with SMTP id ay1mr385984jab.109.1629926096999; Wed, 25 Aug 2021 14:14:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629926096; cv=none; d=google.com; s=arc-20160816; b=M0XD2tvHlNcKQA5dvYNWP2NZO7NGqFw5MrxY2E1clhpVuaxZvnZABPRQf3FAuKMGJS PgaLJEKIYFe0Wc7zM+0mex58eo7VM7q/OQi5LATW8Mc2K4HWQlrkjwDGy/IFmyJYLns/ hmPNGSxhTVX3t43t1TMqSjND9R5s5ZJJ7NNZJ7EW8UjMrmSzytuIFhqZZ+HuBG4VOqyj i5FDHOhv7DN0zoAWH8pBBbEaacvbo8IL/7B9XwmTuQWK8Ld9Nlajpq+xH2OJQpamm1x3 g8K3t6QBzE8+8A9znTJY7QnVLy3DMangUWoMKqNepI9Z7UlrCpX8LRJup7G/p2KCESib mahw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=gjZeZMGJIoheKp31xKi7pLwU9TfiEyPpquQWCgvZtE4=; b=AA4hMctGHnKM+inAECeNOqN+xfV5vpNzOBWkxkUu4o2nP+yGaHn20Z1BB8aS+kM3Rg KGeXSAnEYLi5tnFXSj84zS17zS2Z4A0Dd+efUk528M+ahBtNIZHMwPH4vzhEC3yqUZgH 7W5QVQo6NwN0+O9mSbYkmi3GjRGy4mEXoVJzD8GA8BIh+vANRacKMTR0hQ73hT2Qx+G6 kAtkUwRl2FR40uRuecOR+IXIKLYy0EuinW/kobu29Phb2xFuC746i5nJLTOo24B3XD+8 w3x7zMZKA4IH8R9H4vQQH7E+vbhawJuMsC9bxDn70ZqHSH8CZoEkNDccj+QMNIsma2jq PP0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y9boM9pg; 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 k3si744125iog.8.2021.08.25.14.14.45; Wed, 25 Aug 2021 14:14:56 -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=Y9boM9pg; 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 S234754AbhHYU4O (ORCPT + 99 others); Wed, 25 Aug 2021 16:56:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:57070 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230025AbhHYU4N (ORCPT ); Wed, 25 Aug 2021 16:56:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 221C76108E; Wed, 25 Aug 2021 20:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629924926; bh=gjZeZMGJIoheKp31xKi7pLwU9TfiEyPpquQWCgvZtE4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y9boM9pg89jRKmwouT/QTKTfP6cnbbCCCS7xmR/j11WJTKQOoI8xp/F9tCG875w14 t6ZHgrFxWueYM1Y92Rl7sM+t1APG8oB3pawMogJMmlk55scB1wpiiS9VEVKHn2TSfQ v6b9DHSD8GG1ExHf6HWDK/0ILsqf5kdC4LZvW8txDVi7va9/vzSeyJvT19soF4LTaO UhE+SSACe6K2tgwjuD324QiY1xyoXVmyl0z/7jdZ80aCjvvWDXLZHJ4EY3w0hYaMuh LCtCQKRsN60dvSDuUXJopL0P8Y23dbW9YmOT36artHj8pWjc7htojIylo/VltN2sRE hShhViV80NumQ== Date: Wed, 25 Aug 2021 22:55:21 +0200 From: Wolfram Sang 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 , Mark Brown , 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: Mail-Followup-To: Wolfram Sang , Rob Herring , 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 , Mark Brown , 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 References: <20210824202014.978922-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="l25l+0aqVZr4EHUF" Content-Disposition: inline In-Reply-To: <20210824202014.978922-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --l25l+0aqVZr4EHUF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Cc: Vinod Koul > Cc: Maxime Ripard > Cc: Vignesh R > Cc: Marc Zyngier > Cc: Sakari Ailus > Cc: Mauro Carvalho Chehab > Cc: Lee Jones > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Bjorn Helgaas > Cc: Kishon Vijay Abraham I > Cc: Greg Kroah-Hartman > Cc: Mark Brown > Cc: Daniel Lezcano > Cc: dmaengine@vger.kernel.org > Cc: linux-i2c@vger.kernel.org > Cc: linux-media@vger.kernel.org > Cc: netdev@vger.kernel.org > Cc: linux-pci@vger.kernel.org > Cc: linux-phy@lists.infradead.org > Cc: linux-serial@vger.kernel.org > Cc: alsa-devel@alsa-project.org > Cc: linux-spi@vger.kernel.org > Signed-off-by: Rob Herring Acked-by: Wolfram Sang # for I2C Thanks! --l25l+0aqVZr4EHUF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmEmrjQACgkQFA3kzBSg KbZM6Q//Y9REdiq/zJ83ZpDra3byCGjog62qLvRAGT4bIWJksXDHZQIAI+VT4f6T bcW/EdAoYI1thOwyeO0PFXFAocKX3YZqx8y3bUw/vQXhQmDi3lhbeA3nmGlGl5zF DJoaMXH/hK7uuwmdyeoHFpedIP5M+gHnvDyC4ZarCzeWuZBWMf4fwFyOgVS4PtHw nRqm4E9bfQNCveZ/YxIQdbJFg8x419pJ49q3xqnLPweEAPs0h27mIG45IrPwHw8A aVOGhHDvGqA3HduEiFmcLZWL7Ud3ariS19SSiHwdcdTPXtYBI+JPJh+arDDaJ2JF 8sgn/OSkymL9JZa0mg5Y3O9+FczVUlHALdrC+eSxkOlfXNR3xOJzetBC12vBlH44 6gBxucO3QoyujUTd7gsfaVIn5XqssAsWn2BYD9iM5j0D74Quyb2t1m10e6wMRWVv /wSiWLnsC6dSO2jpulphC/G/Fyw+YcPfmvm402PlgOY5tzsY6sVS6eqyegvMReUP oc26QyGtdxBy9Ksr54/s3N8WV14vcJm/mjCLH3ejKPrtBvOyu9sXEFmyV6lhB9r2 pEr0igI5TSC1J9EHQyvT10B56KbKlz4ZLB44daIOAYCvAIrlVRd+Yn/Nnmvk0mbs 7bnP+mB18KKgKC6GdNtfMyyZFCetGmhPLp1n1JUeoTlACwJF++Q= =9C1H -----END PGP SIGNATURE----- --l25l+0aqVZr4EHUF--