From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BB3E6C4332F for ; Fri, 21 Oct 2022 02:22:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3KpgkCInGR4idb5e0V8Yekpv+4ZG/zcXWJeJ/MTJPj0=; b=SKM+/tM3iwcc26 v2yKx51rfBHazKxDrz8K62BvwTl/yI1AGjbzpsqRqRJrG3vL6X54kbNmokLDfWEoeLww+3lqswiad Eo38/A9dNnobOO82tx9/JjkKWJOHZ9JxqwAOdAczfg9sKGg3sz2jtbBPujmSQ/bXnkUTc3P9XRNgn +QXFCnx1SgI8d6bC8wptnn/dTvWYr04sCMUZHrBeUyGY73rakIzGq/++OKdhqMypIkDRWbIqvAsso TQ8SkD2vEzS9WxyNcFsXw1jiAJ6yVGRRlcQgPi2D0Ce3E0G4oSTQvvzqIXA9eX1PGXvaw2z4S4BuK r66C0w+JPb+0jfaYtLdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1olheh-004Oiv-6N; Fri, 21 Oct 2022 02:21:03 +0000 Received: from mail-oa1-f44.google.com ([209.85.160.44]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1olhee-004Ohb-Vg for linux-arm-kernel@lists.infradead.org; Fri, 21 Oct 2022 02:21:02 +0000 Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-1321a1e94b3so1930163fac.1 for ; Thu, 20 Oct 2022 19:20:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9WCJTRSJ650T37gl1fy1TLSM1yvaFdecsLly4ZCAwt0=; b=xgTvITF9vC7QsHzCo6wKA+Ph9e16rUARs4IcDJKdlSHgDUgmXwbWx8FC1NqFcSqYOZ fw6EnubxoDPPsiq+LiaNE0souJaE6L5fKI+5QL8L+PVkd9aO76m0S+SCzWUou0R1WEtH /231oEpofd1dGs4Mud0JgVrKWWh2s4hc48iUC2wq0FMPuHr8oDoJ8IRcDxRGYqb8ngtV swWb2I8omhpWqho9MQIoyxPjAST9H1qTxCgkdRnEUOIEa34MjBHVRNcco1glvdgsDYJT Nq1PDZOx7rMxPfv40gEpj+rqOQgsGygWW8/1fHAWISDZdjq5LMiH3FSbSfhTsWwlS7ka 4MDQ== X-Gm-Message-State: ACrzQf15a+PZOQaT65bGgbCDF5vDLMT3OG4IN0kzHnPZHejOdS7BwRMa nVFvCM/4S5JB7Dw88JgKiA== X-Google-Smtp-Source: AMsMyM6gGWhuay0oXF9v3Bb7JNcNpcEv0REpfUvEIvxylDjtTOuL31vwGs7GIBhDgT7LTqjQRM6F7Q== X-Received: by 2002:a05:6870:d7a4:b0:136:ddff:40c2 with SMTP id bd36-20020a056870d7a400b00136ddff40c2mr11147732oab.134.1666318857234; Thu, 20 Oct 2022 19:20:57 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id p21-20020a0568301d5500b0063695ad0cbesm560555oth.66.2022.10.20.19.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 19:20:56 -0700 (PDT) Received: (nullmailer pid 2192274 invoked by uid 1000); Fri, 21 Oct 2022 02:20:58 -0000 Date: Thu, 20 Oct 2022 21:20:58 -0500 From: Rob Herring To: Michal Simek Cc: Andy Chiu , davem@davemloft.net, kuba@kernel.org, michal.simek@xilinx.com, radhey.shyam.pandey@xilinx.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, krzysztof.kozlowski+dt@linaro.org, pabeni@redhat.com, edumazet@google.com, greentime.hu@sifive.com Subject: Re: [PATCH net-next 2/2] dt-bindings: add mdio frequency description Message-ID: <20221021022058.GA2191302-robh@kernel.org> References: <20221020094106.559266-1-andy.chiu@sifive.com> <20221020094106.559266-3-andy.chiu@sifive.com> <495eb398-bec4-5d68-ef5d-4f02d0122a7c@amd.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <495eb398-bec4-5d68-ef5d-4f02d0122a7c@amd.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221020_192101_037661_1E7BA428 X-CRM114-Status: GOOD ( 21.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 20, 2022 at 12:39:46PM +0200, Michal Simek wrote: > > > On 10/20/22 11:41, Andy Chiu wrote: > > CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. > > > > > > Add a property to set mdio bus frequency at runtime by DT. > > > > Signed-off-by: Andy Chiu > > Reviewed-by: Greentime Hu > > --- > > Documentation/devicetree/bindings/net/xilinx_axienet.txt | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/net/xilinx_axienet.txt b/Documentation/devicetree/bindings/net/xilinx_axienet.txt > > index 1aa4c6006cd0..d78cf402aa2a 100644 > > --- a/Documentation/devicetree/bindings/net/xilinx_axienet.txt > > +++ b/Documentation/devicetree/bindings/net/xilinx_axienet.txt > > @@ -43,6 +43,9 @@ Optional properties: > > support both 1000BaseX and SGMII modes. If set, the phy-mode > > should be set to match the mode selected on core reset (i.e. > > by the basex_or_sgmii core input line). > > +- xlnx,mdio-freq: Define the clock frequency of the MDIO bus. If the property > > + does not pressent on the DT, then the mdio driver would use > > + the default 2.5 MHz clock, as mentioned on 802.3 spc. > > Isn't it better to specify it based on ccf description. It means &clk and > used clock framework to find value? Or use 'bus-frequency' which IIRC is defined for MDIO. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel