Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5005501rwd; Tue, 23 May 2023 16:33:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7jbhWg3b+UUEI24wS9URwou/etocpDyWDiEts829ctbeKCfNc8LcBQKtxZhiHKU4muDB84 X-Received: by 2002:a05:6a00:812:b0:64a:9090:5147 with SMTP id m18-20020a056a00081200b0064a90905147mr931872pfk.10.1684884809518; Tue, 23 May 2023 16:33:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684884809; cv=none; d=google.com; s=arc-20160816; b=JKCanCRrMKmQi3zLspC2caL68gxdJIothhN+Sy9m1avDZadAfgA85MtiRwXU46Wkgp M06GSPHijf8Cr7UEflVUndkGXZU3ZwQmCZdtbtNyiXAav/tYGfCe3IS8oozyGuVSjNWh fx4d25nGJi+xAKXG2rj8cHOZf7RDtLgsdSyqyykS3MQnENCozhiJPcEBeEWztGhgUe9N u7+IXRbbFkMy061DOpHJwlIsVYoaLnN1ql+WU9tu3rsdaSnBS5qD76DFwNvzEy/6rw6C FjQIw263iqIgdYGmFEYcr003PLfk9K9aHK3i5+9iulm7yUWXYi41SFbxnLvlb/Zn9YwY I+VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=MJwPyLmdCl6wx9SerBzsB5SHgM+c8v9TG+LQOvxp228=; b=KYR3t/h7DexgqHZ1JbFXRsqGuwSp86/XFcojxE345fP5P/CdRDA0o62GEwB9ABZspb +7cuhsunK6Q02uki1ByONi6RszqZ4kfrT7wuWpQR3wW24SJTzREvoxIT8FeOxaH1VAMO sxgVsNYdZWGGdf+eK/8EjB4uiKLuVfim4l5NStK6bBbu4S4cH7RO50ZtLgrSF4M7i1PP ToWKkbrmqsHIXYEc+ZJbjFzlPg/8/3aGqnSstuSH4Z4EU028jKkdKivL1XC8sJySmZnU mC6qACfEq8laoRDun7CStWIwiQ/gaeOQBWXa30eZ3r2ufVQ5Ek5YgpsSfPhnIrfsSsym w0Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=IVEe8zn3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a6540cb000000b0053145cd75besi6972164pgp.41.2023.05.23.16.33.14; Tue, 23 May 2023 16:33:29 -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=@broadcom.com header.s=google header.b=IVEe8zn3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238816AbjEWX2P (ORCPT + 99 others); Tue, 23 May 2023 19:28:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238819AbjEWX2K (ORCPT ); Tue, 23 May 2023 19:28:10 -0400 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EE3418D for ; Tue, 23 May 2023 16:27:36 -0700 (PDT) Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-7748eb38f6aso10906139f.2 for ; Tue, 23 May 2023 16:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1684884444; x=1687476444; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MJwPyLmdCl6wx9SerBzsB5SHgM+c8v9TG+LQOvxp228=; b=IVEe8zn3CSLxF5vzCshv9GL6PEJUQzSjQtxZcB6lFfe+CpbJ/FDOwlaqXvOs1TWBOE 2jebkiK/xdlKExag5NhD5LKPqJOXJ0BKpLwfL29qZwZmxXjmX6NEELDi1QWJc/T2PnFw Mv9+x13vyXNTmrQuofIg9ctkF2m82cDX43pR4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684884444; x=1687476444; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MJwPyLmdCl6wx9SerBzsB5SHgM+c8v9TG+LQOvxp228=; b=OtcnbhW+NPSUtuwnmx4ukuHOvAKxOyuqQlaauqv9GZm7BA3gLKb98zl85uYl2CF6Sp oEYDICgxmUmanHXYhIFCYoddwHnkviUXrFgvSA9k65rn+LnWmdbQ1ILUmx3uJnZCIA6o Lg7fkX2/MblepUgmAKpzkqn6+c1/PJd5UMTMOc89yzTFZlmpyU5D4aGgbNrynwyyXsMt xbF/4o6w7wk5GUWcBl0wZP2p3UYgxP4Z4S6ECOWvI1keYmuZEcaJxoz/uBCIiybg1ZDP GssJyP8AQhKB6TpZCJ+Hp+CLAhpHg1pZpaKC9HZU30PjasddRHXtKQHotDfNN179n0h6 wmgg== X-Gm-Message-State: AC+VfDyy62z53IiZy3AWAlJxLj0Yd/MOdBu4F6JrpG84OH3pX587Mej1 8FEg//N5bgbsSjszaOFHLA3iVaFFlnNDM2ZOiNGr2n8ZTGT6ezFtMYwBkA== X-Received: by 2002:a5e:8309:0:b0:76c:76ea:3e8d with SMTP id x9-20020a5e8309000000b0076c76ea3e8dmr8959650iom.7.1684884444578; Tue, 23 May 2023 16:27:24 -0700 (PDT) MIME-Version: 1.0 References: <1684878827-40672-1-git-send-email-justin.chen@broadcom.com> <1684878827-40672-3-git-send-email-justin.chen@broadcom.com> <20230523-unfailing-twisting-9cb092b14f6f@spud> In-Reply-To: <20230523-unfailing-twisting-9cb092b14f6f@spud> From: Justin Chen Date: Tue, 23 May 2023 16:27:12 -0700 Message-ID: Subject: Re: [PATCH net-next v4 2/6] dt-bindings: net: Brcm ASP 2.0 Ethernet controller To: Conor Dooley Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, bcm-kernel-feedback-list@broadcom.com, justinpopo6@gmail.com, f.fainelli@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, opendmb@gmail.com, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, richardcochran@gmail.com, sumit.semwal@linaro.org, christian.koenig@amd.com, simon.horman@corigine.com, Florian Fainelli Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000d3dcdf05fc64bafa" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 --000000000000d3dcdf05fc64bafa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 23, 2023 at 3:55=E2=80=AFPM Conor Dooley wro= te: > > Hey Justin, > > On Tue, May 23, 2023 at 02:53:43PM -0700, Justin Chen wrote: > > > + compatible: > > + enum: > > + - brcm,asp-v2.0 > > + - brcm,bcm72165-asp > > + - brcm,asp-v2.1 > > + - brcm,bcm74165-asp > > > + compatible =3D "brcm,bcm72165-asp", "brcm,asp-v2.0"; > > You can't do this, as Rob's bot has pointed out. Please test the > bindings :( You need one of these type of constructs: > > compatible: > oneOf: > - items: > - const: brcm,bcm72165-asp > - const: brcm,asp-v2.0 > - items: > - const: brcm,bcm74165-asp > - const: brcm,asp-v2.1 > > Although, given either you or Florian said there are likely to be > multiple parts, going for an enum, rather than const for the brcm,bcm.. > entry will prevent some churn. Up to you. > Urg so close. Thought it was a trivial change, so didn't bother retesting the binding. I think I have it right now... compatible: oneOf: - items: - enum: - brcm,bcm72165-asp - brcm,bcm74165-asp - enum: - brcm,asp-v2.0 - brcm,asp-v2.1 Something like this look good? Will submit a v5 tomorrow. Thanks, Justin > Cheers, > Conor. --000000000000d3dcdf05fc64bafa Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQagYJKoZIhvcNAQcCoIIQWzCCEFcCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3BMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBDQSAyMDIwMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA vbCmXCcsbZ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