Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp451399pxb; Wed, 25 Aug 2021 07:07:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxodTbXyTiwz7naBNCu1k1dstgH43gh68e5c4JN7nzjt72rCYcp/MJBeoDYJ3Puv+l875KJ X-Received: by 2002:a6b:d915:: with SMTP id r21mr24109343ioc.76.1629900420133; Wed, 25 Aug 2021 07:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629900420; cv=none; d=google.com; s=arc-20160816; b=WNsrOT49kPfwIaFsLmX3o9JkCU8caHSGWRF425XqoVF7kpcWWvSKCmlhKWlbFZTWMx 6usH8bf8Cx1YKWxyLQr3GatTXvatFRohEluSBnFmovKHEmVgOhPcgg3BG9zTXNrpji2+ 53qCw2QGAEkVA1fPeYe6f/wcChqCfrg4K+o27t45Ic3uQ04YRV50RXPwCXUZ5Le+x4dA 92gEeVQ0R3OpS7bkJ6PDabcB50mfqbYA4borGfdIvxMwT7UywLcNh790qWINbPummm7t esLEDq4Nu6q9SiupfT3mYd5K1o+VcTOVL3iCRFuA/ePfo6gykDZyxlBuNuUOJxvpUZFG cBPQ== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=lhrIU5QhjKpEHhnq8zWZt90QcAGIVQNQzZO2Zxirq4g=; b=ncNAOhntdMjrKwDje3bwHdP4X/Rzg0dp4daiG/yDhvyS6ppg0tsmJ+EXTWt0Rgh81H bgtp673rvf4FgVx8/BkqlBpMIwb3bBUzKNigE91d8I7iUERHd1pOhFVQMhVDwOwwdZCb DlqO/XVb5cnVEIaRmhm38eJpus9dxpvoF+L6J7u6maFL4nCOP4IE0ymsyAP4LdZgKeS7 ixLawiAENU6O0csQMJCIUmS197x9zm+M99w05ueFOjQtg6yDMGhin2bJrOIQSIQiYUWI W/L84IHNoisVeqKiZuwcVKt+m8lDqiUaMoXSjCYhJwtuDXgnR7GfXI5Bx1JlGJiJXM/l GQ4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S6IcAU40; 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 l3si19194797jaq.39.2021.08.25.07.06.47; Wed, 25 Aug 2021 07:07:00 -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=S6IcAU40; 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 S240231AbhHYODt (ORCPT + 99 others); Wed, 25 Aug 2021 10:03:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:44546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232058AbhHYODt (ORCPT ); Wed, 25 Aug 2021 10:03:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4EAD3610E8; Wed, 25 Aug 2021 14:03:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629900183; bh=VIKzuu4xITV3ArU39CmlrxTodlTpUkcESqyApfVLu5M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S6IcAU40+PaPQ2D87Qd98+EZIeLzzUAAWLP18PQncTxxr6pP3IOBE5NvGSjXKp3wW xM549Yu7GnkDY9biqpYioK00x+/YRrZatY0Mw2Kne8U2aFI05scDlhzK+oGWiodchd h6YDS5n/VUbgMYq0mMeMOM8FQ+CnBaFYkpTxmlaInAK4A3//oK9BZzBe3JYf33JvE0 4iR5qK+AeTTnZBenFytofhzVZMZUpwplE2qzBcqjhjogL3jY6pvqa67a/2EWGC026G Iamm8x94qggZ/NABpea/6X50nyqAT4g37NHna7CBnllMy7vncNVwrvRoMQoYOyI363 uTzIRM1m3J+lQ== Date: Wed, 25 Aug 2021 19:32:58 +0530 From: Vinod Koul To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, 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: 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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24-08-21, 15:20, 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 > --- > .../bindings/display/msm/dsi-phy-10nm.yaml | 6 +++--- > .../bindings/display/msm/dsi-phy-14nm.yaml | 6 +++--- > .../bindings/display/msm/dsi-phy-28nm.yaml | 8 ++++---- Reviewed-by: Vinod Koul > .../bindings/dma/allwinner,sun6i-a31-dma.yaml | 12 ++++++------ > .../devicetree/bindings/phy/intel,lgm-emmc-phy.yaml | 6 +++--- Acked-By: Vinod Koul -- ~Vinod