Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2711639pxb; Mon, 6 Sep 2021 03:44:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzupxx6cufqG0sM6h+QlIx2G9j6AITT+66kxgceVGwPMbiEOGpk+wSICiQL9JSs6SL/G1Hq X-Received: by 2002:a17:906:9a04:: with SMTP id ai4mr13098953ejc.453.1630925057671; Mon, 06 Sep 2021 03:44:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630925057; cv=none; d=google.com; s=arc-20160816; b=U6r4m/TxWjyA4+D7ks27pe2GMW+SXixF8cb4+a5aV7XBmGybt37fXOfrdeFEc/iZCK Az3sKhOTHf5eziQ2dml2mq1DP+4KKIontTN28ZLJU1UEy5aJHlZOqggvjC5jLJTzpeaF LdFXhOqWnXEzjXi19gUm2ShHJ9FqfgDsOmhAWL/wt5GfnU6Px0GsJL2y2ddo/IH/6Mtn 1NWEdUM7ucs1tdArfzQYtkD5P/SDVQUYnT0cj3g5/YolfvEjmian9oAJmA+rBPZgYrGk HxvY3obR9YQnSR7fLoKPEL58gobYmBUx7Wbu8LzpTLdkVg14Kceka7lDNlzQKqDvWl3i s85g== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=i2+NvsBgnBTOZ+uAcUxvlIaM13WedkLbcL6bup+H1UM=; b=G1Hxz45P10JwoBAjTUsK9AH3ccr3aZ7yLWu7QbSZuACzWNJ1QVtAaPJ5tiZGbu2f/Y DczJTMlEa7cSBgYusVYbdnAT4YQ+S2Et3JEGdPVbTQ//bLt6/72qzRzZC3fb0KTuBUXZ BWgA+AAOT1YJ2MaOdQQCaEW7w6KiIE1lO3GVCjJtNp0uILRIicwuqs+vNyWm3F6qRhwK VYNacY6OnD73fJCN3PYBlyyDg0Ogon5MlA6bnuqkcTM3GaV1zdMazF98BbSdMJ23DUJ6 QVpsVTll3boFSYqIdBVB/c8jk7hLcZuZi5iUrDNyrGzBdgulRhDLzbkjmvXVeYFywybT 9dEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q9eDwDZx; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o5si7755561edq.137.2021.09.06.03.43.53; Mon, 06 Sep 2021 03:44:17 -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=@linaro.org header.s=google header.b=q9eDwDZx; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241366AbhIFJgT (ORCPT + 99 others); Mon, 6 Sep 2021 05:36:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241501AbhIFJes (ORCPT ); Mon, 6 Sep 2021 05:34:48 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20CE2C06175F for ; Mon, 6 Sep 2021 02:33:44 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id n5so8836210wro.12 for ; Mon, 06 Sep 2021 02:33:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=i2+NvsBgnBTOZ+uAcUxvlIaM13WedkLbcL6bup+H1UM=; b=q9eDwDZxue+JjKYKIP+w/ygZ5RrOIy/6a/V0xWsuwzRdA+DY9pSefRgNpnnYpm5BQZ jcdsEFl+fmxv1rv5K31l4dvYsDgRRwrUDRSzPK+5TxnLrRKkeZrRIMX8t00nTTDrCsNi uf638hMv8OsnzcALsgDmG4mf5Gq7vuKLtqqOIWfbZSTBJC9+5AAZImMHCH6jbKGweNZY 0rFAtFa8MeWkgidZTVKx5NAsJxCv7TwpC8fsiZdr5uQa0ixm8d4bVKAPP52HXRvZ99cf Q+yyT+iPmmajoU/79Hm6iTVhB2TuOulKMfd2QGm1q9pIns3NH7VucMIJue0cMY68rhls XvRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=i2+NvsBgnBTOZ+uAcUxvlIaM13WedkLbcL6bup+H1UM=; b=AMsM3pS7uE0M5V31T4Qm/nlS0ieIz5U+l/NrjsV9tQy1l6WQr2NzX8A7uwolP7c1uj J5EWFZUXUiavrIxQ6M8cPz5yNfscWqKnMnPAlPcteFU7T6iCXecZvK0L4pJGQaWbION3 iVTutxryYL1TmM8TDTc9uYSjE9B6eDNsVzyAjFfmZjHDlqvUngExc5byXONUZOtnjHIx JerHBb6T3gAGqYQqmSL2ppC+M748UH/LUQ9ZKvqcBjp4gbUom3tCuEwRryTnSGN+7f3U nTLIdPxT+NYqCidaW+fzSsLBvooeKILSW53qsb/q30iX/uWupJjaWZXfVSmhnqLXiUL7 EYqQ== X-Gm-Message-State: AOAM533n+rET1UpfLFqsx5pyBtCNz4/byoLFUR9Hjn3ODRzJGU71kAPY kNcT36gbUlDVHPMJUf6pNP+DfA== X-Received: by 2002:adf:8006:: with SMTP id 6mr12342436wrk.38.1630920822630; Mon, 06 Sep 2021 02:33:42 -0700 (PDT) Received: from google.com ([31.124.24.187]) by smtp.gmail.com with ESMTPSA id i21sm7106080wrb.62.2021.09.06.02.33.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Sep 2021 02:33:42 -0700 (PDT) Date: Mon, 6 Sep 2021 10:33:39 +0100 From: Lee Jones 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 , "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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210824202014.978922-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Aug 2021, 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 ++++---- > .../bindings/dma/allwinner,sun6i-a31-dma.yaml | 12 ++++++------ > .../devicetree/bindings/firmware/arm,scpi.yaml | 6 +++--- > .../devicetree/bindings/i2c/ti,omap4-i2c.yaml | 10 +++++----- > .../interrupt-controller/loongson,liointc.yaml | 8 ++++---- > .../devicetree/bindings/media/i2c/mipi-ccs.yaml | 8 ++++---- > .../devicetree/bindings/mfd/ti,lp87565-q1.yaml | 6 +++--- Acked-by: Lee Jones > .../devicetree/bindings/net/realtek-bluetooth.yaml | 8 ++++---- > .../bindings/net/ti,k3-am654-cpsw-nuss.yaml | 8 ++++---- > .../devicetree/bindings/net/ti,k3-am654-cpts.yaml | 6 +++--- > Documentation/devicetree/bindings/pci/loongson.yaml | 8 ++++---- > .../devicetree/bindings/phy/intel,lgm-emmc-phy.yaml | 6 +++--- > .../devicetree/bindings/serial/8250_omap.yaml | 9 +++++---- > .../devicetree/bindings/sound/qcom,sm8250.yaml | 6 +++--- > .../devicetree/bindings/sound/tlv320adcx140.yaml | 8 ++++---- > .../devicetree/bindings/spi/realtek,rtl-spi.yaml | 12 ++++++------ > .../devicetree/bindings/timer/arm,sp804.yaml | 6 +++--- > 19 files changed, 74 insertions(+), 73 deletions(-) -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog