Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp44657lfe; Fri, 15 Apr 2022 18:38:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwA22oyAMp/EZGrj8kh2b36XW2PJ4K6JVcHmNQ8HHi0Z7ZbcSc2CXQ6ChWkJataIDbfzTRg X-Received: by 2002:a17:90b:384c:b0:1cb:1b44:2939 with SMTP id nl12-20020a17090b384c00b001cb1b442939mr7073547pjb.46.1650073100744; Fri, 15 Apr 2022 18:38:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650073100; cv=none; d=google.com; s=arc-20160816; b=F6WAstmh+FLe2SRmy0DgDxJC5GRGpkJE2H7VNFdRFtuTm0P/uoP1b3x8yAF8oKHyq5 qDc1yEIKIkhk1wNPJ4W9v15EGA6UUFtRVjwlzRWUAoJAwZYaAFKFXJH6Pdn86s/BwthW tAq+gfI/ZvFYz4xRKZZr85E58/yGTksNxDE0sMRLig/4e/BCvfbrXYPSpWjKkqbU3++Q oklhQmZPUdSCYdZTl8ofhZEZTHXmUsdF/2Nu/q/2UFOHqv88CheGfB4dX09gsvEoS6fL h5/Q1LCqIBLTzRKBjH8+vR1prNnjjaaorLevPO4GLijnn7L7s5rIgBzKXv6XmZCT/oz3 yPHQ== 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=LymSj2bkAQBsKt59tP7qveJbohj2dcOZKvwQYkKRUzg=; b=fClgmuFiVIXkU7pHuyzGxC/sgIvuFqYBXFC5uRrelfa+MjrVSUhUsA50yg0H7JoGzO JblPilXguN6ICiubGgzEeBaYjaCOaRWw8AkhGwGKVluXsj5tv73PJquA5bluO0MUmJDk 3LClRpcM1fdrK46qyRqrigsolkfCQoyV1VeVq29vMgkW0D0xqRXdRKdy3mKTWs/04yyu nnrmJBAEVZVPpxo6kOVRptB4U358ZnMFCrLBiR+4K1WUvfaciOV4HfHMRgux4BJYSioz E7Ho8CO+N1CJy1MktuUFHeeQUbZcbtOf71pc444JRfOIoYrJQmFrIVBJ9gHK3HkmvVoI KRew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="hYa/LhL1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id o22-20020a634e56000000b0039da6f076ffsi2972490pgl.67.2022.04.15.18.38.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 18:38:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="hYa/LhL1"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6E639EFFB5; Fri, 15 Apr 2022 18:04:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344055AbiDNRyN (ORCPT + 99 others); Thu, 14 Apr 2022 13:54:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343966AbiDNRyG (ORCPT ); Thu, 14 Apr 2022 13:54:06 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D83BEEAC84; Thu, 14 Apr 2022 10:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=LymSj2bkAQBsKt59tP7qveJbohj2dcOZKvwQYkKRUzg=; b=hYa/LhL1uUAkf7VpnkoQM3umNT ZiFgJylZZ8CTcvVDkzB716ymJQwJl6129TYGV0zmzutMI6dycH3XCVuDZ407OruoML/8K3CayX7TS crsIOVoMKjW+j7L1ID+2ClF6X1yMZZ3hb+D89ZI33eSBZUsK8nfIgK9dnmxAwflxznKM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nf3ci-00FrIe-Dc; Thu, 14 Apr 2022 19:51:16 +0200 Date: Thu, 14 Apr 2022 19:51:16 +0200 From: Andrew Lunn To: Vladimir Oltean Cc: =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= , Vivien Didelot , Florian Fainelli , "David S . Miller" , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Heiner Kallweit , Russell King , Thomas Petazzoni , Herve Codina , =?iso-8859-1?Q?Miqu=E8l?= Raynal , Milan Stevanovic , Jimmy Lalande , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, Laurent Gonzales , Jean-Pierre Geslin , Phil Edworthy Subject: Re: [PATCH net-next 06/12] net: dsa: rzn1-a5psw: add Renesas RZ/N1 advanced 5 port switch driver Message-ID: References: <20220414122250.158113-1-clement.leger@bootlin.com> <20220414122250.158113-7-clement.leger@bootlin.com> <20220414144709.tpxiiaiy2hu4n7fd@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220414144709.tpxiiaiy2hu4n7fd@skbuf> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 > > +static int a5psw_probe_mdio(struct a5psw *a5psw) > > +{ > > + struct device *dev = a5psw->dev; > > + struct device_node *mdio_node; > > + struct mii_bus *bus; > > + int err; > > + > > + if (of_property_read_u32(dev->of_node, "clock-frequency", > > + &a5psw->mdio_freq)) > > + a5psw->mdio_freq = A5PSW_MDIO_DEF_FREQ; > > Shouldn't the clock-frequency be a property of the "mdio" node? > At least I see it in Documentation/devicetree/bindings/net/mdio.yaml. Yes. And the example in the binding document for this driver also places it in the mdio node. Andrew