Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp610020pxb; Tue, 15 Feb 2022 23:42:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrk6fwMNfKDZcZ0M1V37twEjW609m3WBxgp1PPrVJBTl3lmwYnmMnuAeOxDdGeavcGzDXA X-Received: by 2002:a05:6a00:cd3:b0:4df:7b9e:2557 with SMTP id b19-20020a056a000cd300b004df7b9e2557mr1452520pfv.25.1644997328951; Tue, 15 Feb 2022 23:42:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644997328; cv=none; d=google.com; s=arc-20160816; b=HDFsBQVKu4HFlzr9zDFXsAre/XRSALmUWMESds4KO3RIDEWZtB90QOKudE+1IWTui4 4/7SMbBOkISelKtxFZkrTI2gd4mvnVf1Fty+z2mnKVcQEe8UB5IfmOIqstXVQGN9XXCx zRNQUOA4FbZgB3nwbuJEX3EaO56E/9HR48BRq160ImyKN890JifUCjLIrnQRk9u9//pn h5hZYlFlFkr2a6iykOevg9FrccMAKCM7FCv9GHBdjIB0jAJ5wkp4DkzaDMPo2tjcl5o0 MwM3flQuhf/3h5rijDEz1WiKereK0GvOiy0mGFkVM87z23YZxXPjkwZt1mA2x1dRfLTD yCXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=cWogD11coRk12+TEKP01+uWSxm2OFAxPXEGxeYIyZe0=; b=OdhgxAQLTBz0ERg64Bl/NsoSLLb4xZbJNDdwCfOdilLtNrSfEa0YzcHGg/fkPi8yNt leCF1fU/l4h1SrSSGllWxXjQESHy1AgqaM8kq/iWZwprw5qwtqbSbMYoTRm1/YvH7e/n r1mzM5Vjyc4nulPwdeC+cba0lrbD3yCrLVn2dretjNcKB61iTjkymgiZ1H+sui08FVcA 83/0mzWJ4rXoGapg5ikS4McuTI0X9OL/KHKXRgoErkfqZEBvhupBZH6DeuhASYqcuVr2 YiRURHSdBBSMZImRQqmpse88OmcjUkvDIa/5EgQAbwSrsWuw8cvLrOG3bVqAKtW+cqml qWxw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f8si4618816pgc.100.2022.02.15.23.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 23:42:08 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 985D32C8309; Tue, 15 Feb 2022 23:06:25 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230204AbiBPGQN (ORCPT + 99 others); Wed, 16 Feb 2022 01:16:13 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:41026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229790AbiBPGQG (ORCPT ); Wed, 16 Feb 2022 01:16:06 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41A6D193B3D for ; Tue, 15 Feb 2022 22:15:54 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nKDbB-0000UI-PG; Wed, 16 Feb 2022 07:15:33 +0100 Received: from ore by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1nKDb8-0005ju-14; Wed, 16 Feb 2022 07:15:30 +0100 Date: Wed, 16 Feb 2022 07:15:29 +0100 From: Oleksij Rempel To: Andrew Lunn Cc: Marc Kleine-Budde , Tony Lindgren , linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski , bcm-kernel-feedback-list@broadcom.com, Jakub Kicinski , devicetree@vger.kernel.org, Nicolas Saenz Julienne , =?utf-8?Q?Beno=C3=AEt?= Cousson , Ray Jui , Sascha Hauer , Rob Herring , linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, Florian Fainelli , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Scott Branden , netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, Shawn Guo , "David S. Miller" Subject: Re: [PATCH v3 5/8] ARM: dts: exynos: fix ethernet node name for different odroid boards Message-ID: <20220216061529.GA19299@pengutronix.de> References: <20220215080937.2263111-1-o.rempel@pengutronix.de> <20220215080937.2263111-5-o.rempel@pengutronix.de> <20220215081240.hhie4niqnc5tuka2@pengutronix.de> <20220215081645.GD672@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 07:02:13 up 67 days, 14:47, 42 users, load average: 0.48, 0.27, 0.17 User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Feb 15, 2022 at 09:56:50PM +0100, Andrew Lunn wrote: > > > > - ethernet: usbether@2 { > > > > - compatible = "usb0424,9730"; > > > > + ethernet: ethernet@2 { > > > > + compatible = "usb424,9730"; > > > > > > The change of the compatible is not mentioned in the patch description. > > > Is this intentional? > > > > No, I forgot to mentione it. According to the USB schema 0 should be > > removed. So, this compatible was incorrect as well. With leading zero > > present yaml schema was not able to detect and validate this node. > > Does the current code not actually care about a leading 0? It will > match with or without it? It would be good to mention that as well in > the commit message, otherwise somebody like me is going to ask if this > breaks backwards compatibility, since normally compatible is an exact > string match. Current kernel code do not care about exact this compatibles. There is no driver matching against it. The USB Ethernet driver will take the node provided by the USB core drivers without validating the compatible against USB ID. See: drivers/usb/core/of.c drivers/usb/core/message.c:2093 On other hand, DT validations tools do care about it and this nodes was not detected automatically. I found it accidentally by grepping the sources. > And i actually think this is the sort of change which should be as a > patch of its own. If this causes a regression, a git bisect would then > tell you if it is the change of usbether -> ethernet, or 0424 to > 424. That is part of why we ask for lots of small changes. Sounds good, I'll update it. Regards, Oleksij -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |