Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11437938rwd; Thu, 22 Jun 2023 13:18:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6JpiSlG0/g8wZcOIlCx5s/Td/xkoZ0x8USDJRzdG9AHYn0HK+PQHA7ne3zqUinEl6iKtTV X-Received: by 2002:a05:6808:2225:b0:39e:c651:b2f1 with SMTP id bd37-20020a056808222500b0039ec651b2f1mr15837626oib.2.1687465082763; Thu, 22 Jun 2023 13:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687465082; cv=none; d=google.com; s=arc-20160816; b=lJ9fMfDSpS0WLu7MheOO0Aj7v3i9Qv7t7CnU8OQQ+eKm46k/OqNMAdueETgraTunze GnBha//AaRW9WfFgPlFW0GTxK2XvayglnwScu/QZWCQhOmdX0pAFS9jZW00o4b5Z+xm5 VXYdy3uKZvoHf+ZUS/oukaEO3V/ABuINn2DhRh8Wh7EywOUnG6DC3FztG06xb+lMi467 x5oPPYO1rCmSFeTt/hiG90dJtpixwjG7tRiYLiiptHhxJHhUSkmjqONDeAU72kfq/0GP OBH+EzIe4NdIUjrjTKayHIrYsYdx54lZMSkl9Q6iU2P08E1qqsypmOwubgHZ3RuvwHun I93w== 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=IOkRssBTAvjooWOD4Myyk0YON2Y+XxfDjS7+d74gTdY=; fh=YwftejmTGPtSgjCHa0T5em/K8JZTduhDca2tM9K6NoU=; b=ZCseTSVQ58rl4fWdgZJadgoos5ctZaAoiGNR70v9MpVBUGIuwJJxq3ZfXEUAqhD2rV Du6qAtJp+ADvVwHj+yareeXi1ksJa+bCqS2hAGZ4rdyLuZHObBlIxlnR5zsLQVfAY7Ju eiPIOh1bjpsP0GZg5Qpz+SjZgSDRLv7TaCZHTQPh9RVVLWvYi+ah5NoTj+y6+LI6C73c ptH1Nq3jxLeMhqL4TDpF5m7ZSpfxhzAIHOWXjk1WjnUFMFHdAMp41DeOxEGDlnlZCeqj ykClS9I4lXDHi49lTjPlrkWStsL0Fmgn1AOZpAYH+8bwjruit6L40ygeZyGOq3Oe+tmo hMIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aiqq28ph; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a17090a498500b0024bccf6609dsi306299pjh.114.2023.06.22.13.17.50; Thu, 22 Jun 2023 13:18:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aiqq28ph; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230503AbjFVTw1 (ORCPT + 99 others); Thu, 22 Jun 2023 15:52:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229743AbjFVTwZ (ORCPT ); Thu, 22 Jun 2023 15:52:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97C5C1BE2; Thu, 22 Jun 2023 12:52:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 175E9618D6; Thu, 22 Jun 2023 19:52:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55980C433C0; Thu, 22 Jun 2023 19:52:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687463543; bh=u4wC2MP/wnpLGHUQkJFrwP8XuOUu58tNqjkBvYub6ME=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aiqq28phaJExGJ/x9UQFe9tl/8igdeT1V/D2ju/k/Niv4oq1JBbFEBuCfBnkh5fNT xB9k+jNCD6P84dhabLaQVZQ9jKhI/6HzO6urSxVD1y/PjIs+/prJxloYWgcoq51HN0 2Sg8tlALTby+8ccX1QJOgqt46s72Fd7O64TH/a7NtFKE3h3+siXuGy7YjmutlntE1T s/uTihycVrZVnqxl8XFrY3cQiDE/sOSuMXgzjdCYpZviNlFlsuWfCzhK365B3Wnd0b 957tkIWAv3WhaFjvr9/h2tabrWYLGoBOuvQX053Z9I4ycv0dM6SenCSaZBaLw6wU3u F32PR6H31NL1Q== Date: Thu, 22 Jun 2023 20:52:19 +0100 From: Conor Dooley To: Rob Herring Cc: Claudiu Beznea , Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , Codrin Ciubotariu , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: dt-bindings: microchip,sama7g5-pdmc: Simplify "microchip,mic-pos" constraints Message-ID: <20230622-canary-hull-0bbce1bb5fe2@spud> References: <20230621231044.3816914-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="n5Hq6IEtyp/Vfwcf" Content-Disposition: inline In-Reply-To: <20230621231044.3816914-1-robh@kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --n5Hq6IEtyp/Vfwcf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 21, 2023 at 05:10:44PM -0600, Rob Herring wrote: > "enum" values should be integers or strings, not arrays (though json-sche= ma > does allow arrays, we do not). In this case, all possible combinations are > allowed anyways, so there's little point in expressing as an array. >=20 > Signed-off-by: Rob Herring Reviewed-by: Conor Dooley Cheers, Conor. > --- > .../devicetree/bindings/sound/microchip,sama7g5-pdmc.yaml | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/sound/microchip,sama7g5-pd= mc.yaml b/Documentation/devicetree/bindings/sound/microchip,sama7g5-pdmc.ya= ml > index 9b40268537cb..9aa65c975c4e 100644 > --- a/Documentation/devicetree/bindings/sound/microchip,sama7g5-pdmc.yaml > +++ b/Documentation/devicetree/bindings/sound/microchip,sama7g5-pdmc.yaml > @@ -56,13 +56,9 @@ properties: > items: > items: > - description: value for DS line > + enum: [0, 1] > - description: value for sampling edge > - anyOf: > - - enum: > - - [0, 0] > - - [0, 1] > - - [1, 0] > - - [1, 1] > + enum: [0, 1] > minItems: 1 > maxItems: 4 > uniqueItems: true > --=20 > 2.40.1 >=20 --n5Hq6IEtyp/Vfwcf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZJSmcgAKCRB4tDGHoIJi 0h+1AQDWLZ2+pN5p+5p3PIsPYI5oFDt7Ss2qa5ERr4sm355wlAEAjghMkJ5HE9Ne vIGqP1DEh9LawMW96u8DCm1mEtVA6g8= =JDj9 -----END PGP SIGNATURE----- --n5Hq6IEtyp/Vfwcf--