Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp164024rwb; Thu, 18 Aug 2022 01:18:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR6dsT0zL0yt2il8CPwHvQgr3KVtyPPCgLRUL+scdQ25ooaNLPESgSo+lKSuJUNgh/jnvWFj X-Received: by 2002:a17:902:f68d:b0:172:a34c:ff96 with SMTP id l13-20020a170902f68d00b00172a34cff96mr1761361plg.26.1660810683259; Thu, 18 Aug 2022 01:18:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660810683; cv=none; d=google.com; s=arc-20160816; b=B75kwbB+hTMCrJW2rhvxP+SB4Z+J5gT5JNFCTQ19kJm8dxewMJsdb4UhMqAwAqlBu4 8lbFbfxFUZuczr+gNsTBlTV1X1eIvvu8FGf/U3Gv8Y37zzMRfBQtzieBI65r0Qf7rVmV c8V4Xuco/n4WR8vbVpJkO08UBjzeUsXsuTPLGORLx5LbtxtunLaix+n/9T0uMOdjuNwp WQSslNs50ikxXM6zltgE/tG5ZLMNPBa46/4lpKnkzhB8dK9QhGkc3K+AbuIqm7YnnGmU Z3mcicaqN6dOTz2hnXT9NPuXonGQr6APxupk+IimGMIg6IO7PBlooCWs1/1UZynoygpA 64HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fS1GbInIBT62wufy84Arx4epUlW3RObiFTS+tgetyTk=; b=Tp2AeBOnzGVJ1LKfhsnvTn+mEwDp33IxpHGWZRnLQkthepHuLlT7jy+dR7KcUuDRNv eVJ6rjNZCxz7M5L07RN3bE/Pjn8m4M14ktuaoNkUEhpHAJKlEbLeElZ9HJ+NcnJAwXdy blezEIR99OMg3Ows/y3tYSvmbl39asf/2ZkF9dvCy5pWzuRt6y4ZJ0tOTkpJNFrD3xn5 4KmLtxDVsQY7zHlBKrx198leyebt2tEMsq8tYG4RdNTMFX7oxWdxWjlcjxGgv1gyP+C9 qgkhppseQqGkOEDwRfEd2QNdyBl4sI0ATjJjt0yZUX/tRGD56Rng2YCOMJE+G5CTCLbF T/GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=keoomPMp; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pj4-20020a17090b4f4400b001f0d1914b69si1081068pjb.9.2022.08.18.01.17.52; Thu, 18 Aug 2022 01:18:03 -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=@linaro.org header.s=google header.b=keoomPMp; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243949AbiHRHvN (ORCPT + 99 others); Thu, 18 Aug 2022 03:51:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243945AbiHRHvJ (ORCPT ); Thu, 18 Aug 2022 03:51:09 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BE4DAF0D1 for ; Thu, 18 Aug 2022 00:51:07 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id v4so993790ljg.0 for ; Thu, 18 Aug 2022 00:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=fS1GbInIBT62wufy84Arx4epUlW3RObiFTS+tgetyTk=; b=keoomPMpM4w81nF3xeLMz5h7ETgxWI5I+rea3IIfD55BByvaFz8fKdMtR1w2iFWkJX lUTuHQFSgWhz50sNlYzKYea6JqOBhUESVmoakyAVcjNjTl43RUrfnUmGfEKxn0u2ukzC itf1Zpb3/vEtjuiEjrJClt6FiGtk0mJXqptM8nzyy4wxp8dqLrNhApj6KJsGn5C5Uu3r K9OupUSvUFbMhXBR+qGgosGqoZRzuG7HgU2eAG1QNwAto2tJwQKt78a0EUyubOsAii76 kDC3KEDvScwCatOLqz97elXndGbbVGc0CadOMfq67AGL4XIwSz4NmsgsbxuMs8FuLmsf 6aJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=fS1GbInIBT62wufy84Arx4epUlW3RObiFTS+tgetyTk=; b=OUnWO7XBc6nb+zpJhsE5scA4uqGXFLJk+3+YZGhgC+Y375WqKjbWQWa6dFEkILuRzQ Unchq8ZKE43U+DnDPl9bPzcGT6SKqcpVI9cK382IT9flNuSbDNh6z4uBz1EZlf3NjWw1 aPDwM9JCNlJGFcFD9gCXsQq83Z/fa8BdfY3ftpFE6fKxslVZ8o9N+Zz4Erie5EiiGL81 AJQNx+J5Oti2f/gjdYDtNeoAUuAVlpVydT+h47/J1FbOzpROZ9d88gGoaC4ZqxDK8YYu 8uL5aO11tBowfUUXHiCtkfUU1DaaaD49xdJ4MzFORJ4953RMzbfSB/rQa93d7Rrvnky1 akJg== X-Gm-Message-State: ACgBeo2mvTXtQJMhRNMCeAO7r9hlMQ4+2Bi2408/h7hLh3Kn2wqfDMda 6VnOFQJPgd5RLewDMzwZBqA2cg== X-Received: by 2002:a2e:6e13:0:b0:25e:87b1:fda8 with SMTP id j19-20020a2e6e13000000b0025e87b1fda8mr491865ljc.250.1660809065387; Thu, 18 Aug 2022 00:51:05 -0700 (PDT) Received: from ?IPV6:2001:14bb:ae:539c:53ab:2635:d4f2:d6d5? (d15l54z9nf469l8226z-4.rev.dnainternet.fi. [2001:14bb:ae:539c:53ab:2635:d4f2:d6d5]) by smtp.gmail.com with ESMTPSA id bf12-20020a056512258c00b0048a88c07bcdsm127225lfb.20.2022.08.18.00.51.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Aug 2022 00:51:04 -0700 (PDT) Message-ID: Date: Thu, 18 Aug 2022 10:51:02 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item Content-Language: en-US To: Shawn Guo Cc: Wei Fang , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, s.hauer@pengutronix.de, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peng.fan@nxp.com, ping.bai@nxp.com, sudeep.holla@arm.com, linux-arm-kernel@lists.infradead.org, aisheng.dong@nxp.com References: <20220704101056.24821-1-wei.fang@nxp.com> <20220704101056.24821-2-wei.fang@nxp.com> <20220818013344.GE149610@dragon> From: Krzysztof Kozlowski In-Reply-To: <20220818013344.GE149610@dragon> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 On 18/08/2022 04:33, Shawn Guo wrote: > On Mon, Jul 04, 2022 at 11:12:09AM +0200, Krzysztof Kozlowski wrote: >>> diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yaml b/Documentation/devicetree/bindings/net/fsl,fec.yaml >>> index daa2f79a294f..6642c246951b 100644 >>> --- a/Documentation/devicetree/bindings/net/fsl,fec.yaml >>> +++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml >>> @@ -40,6 +40,10 @@ properties: >>> - enum: >>> - fsl,imx7d-fec >>> - const: fsl,imx6sx-fec >>> + - items: >>> + - enum: >>> + - fsl,imx8ulp-fec >>> + - const: fsl,imx6ul-fec >> >> This is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I >> think someone made similar mistakes earlier so this is a mess. > > Hmm, not sure I follow this. Supposing we want to have the following > compatible for i.MX8ULP FEC, why do we have to have "fsl,imx6q-fec" > here? > > fec: ethernet@29950000 { > compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec"; > ... > }; Because a bit earlier this bindings is saying that fsl,imx6ul-fec must be followed by fsl,imx6q-fec. Best regards, Krzysztof