Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp219132pxb; Wed, 25 Aug 2021 01:19:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRQGNFfIeRm4+7f/pqXUO8sLLbURxyj8qRHUXFaBZmudr1A19xrFnpG8rL2w8JLLgc0p8r X-Received: by 2002:a92:da46:: with SMTP id p6mr29272282ilq.161.1629879559430; Wed, 25 Aug 2021 01:19:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629879559; cv=none; d=google.com; s=arc-20160816; b=OF72DN6qIYgb7QVYu+Jk14OX481kwGCGJFtp5Zse24TEJ9tz89dnmaMd/GRNdizrUQ cnIJGzStbT/s14R7rEu8R4/lvsyHBHqvNFXqmlP3cBEefqGh1guS1PGtvE5RoVTxcXVb X7hMdz7LbtsbEsexezuZK3E7wKzQ1IuLseE/e16cDnWlzRkanxXD0pGFB3J2TYgrhQKj zq0cxAUdkghsgwcOtj85Z4X79lSGv+eOrp6sHSDKc7TMsXl2/MX6VbMpwvW8tDVeEQ+g wQEBlRYkZqNuD5elFD5iPm8DKD+tDSw1eJ6ZUXbiLQRxjjAListdvm4erWi5+o2xkRU+ UV1A== 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; bh=+rAHqzxudS2DltC38Zks7KrLimJUDYg72JJXrXkFL5o=; b=NbfjzLRmSxBS3/G73jpr9D15ZDHFVhzp9N2a2NB6JhUwH7F6pbsaJJ7RA44gEBsUmt 4/2eu32joba7f1aB+OfW4pps/IgujDmnMNhm92sIW80rgK+o/i2zvJJqlQb6VuvGG32N c5VQBqI4NrsWJjcVUJfwckxRTdBRZrZaO5r1W3Ba0S3zYuhKdOeu4ozzwlIq54+lqpXA 0N+gtnZnX3/UXvXExx2Hbnz9ZYB4bIFbKulsCnEZbZ9Nh2rPJ9BMV1cLHwkonUgQOToX Mqx+IErc8VmGsDS0Q3XPP7z55fj8/hy2kQZHeZcQRRlNrg6EsgW/R2ebMUPzbxaB97bg ynhw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si6584553jav.89.2021.08.25.01.19.07; Wed, 25 Aug 2021 01:19:19 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239308AbhHYISt (ORCPT + 99 others); Wed, 25 Aug 2021 04:18:49 -0400 Received: from mga07.intel.com ([134.134.136.100]:11522 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238764AbhHYISr (ORCPT ); Wed, 25 Aug 2021 04:18:47 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10086"; a="281193905" X-IronPort-AV: E=Sophos;i="5.84,349,1620716400"; d="scan'208";a="281193905" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2021 01:17:56 -0700 X-IronPort-AV: E=Sophos;i="5.84,349,1620716400"; d="scan'208";a="597975808" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2021 01:17:50 -0700 Received: from paasikivi.fi.intel.com (localhost [127.0.0.1]) by paasikivi.fi.intel.com (Postfix) with SMTP id 08532201ED; Wed, 25 Aug 2021 11:17:48 +0300 (EEST) Date: Wed, 25 Aug 2021 11:17:47 +0300 From: Sakari Ailus To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Maxime Ripard , Vignesh R , Marc Zyngier , 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: <20210825081747.GO3@paasikivi.fi.intel.com> References: <20210824202014.978922-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210824202014.978922-1-robh@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Thanks for the patch. 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. > > 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: Sakari Ailus (mipi-ccs) -- Sakari Ailus