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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 065D8C4167B for ; Wed, 6 Dec 2023 15:39:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379282AbjLFPj3 (ORCPT ); Wed, 6 Dec 2023 10:39:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379209AbjLFPj2 (ORCPT ); Wed, 6 Dec 2023 10:39:28 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A84318F; Wed, 6 Dec 2023 07:39:34 -0800 (PST) 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=pMiL+/ow71FTD3BCAhVuJftaiVNCNI0dN54qUi2P3UI=; b=W1kYYAU2y57RHQIGZEqwWcr8yd Gf2cmk1GKOrPXxPx0EISnelP3xCXYin4UvP9ZQMXd/lU8MvR+bv+P81bkKtJmyEldG4bA/LtvF07T AVaBlbAgO/gyDpLThqPFiIOelOU4AHixOIF9L95zFkVxpR36zlmmbJCITyYOx1LYCpdM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rAtzf-002Dl2-HB; Wed, 06 Dec 2023 16:39:23 +0100 Date: Wed, 6 Dec 2023 16:39:23 +0100 From: Andrew Lunn To: Ante Knezic Cc: netdev@vger.kernel.org, woojung.huh@microchip.com, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, marex@denx.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com Subject: Re: [PATCH net-next v7 2/2] net: dsa: microchip: add property to select internal RMII reference clock Message-ID: <2ce63acd-576d-479f-847a-9528c915d64f@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 05, 2023 at 11:03:39AM +0100, Ante Knezic wrote: > Microchip KSZ8863/KSZ8873 have the ability to select between internal > and external RMII reference clock. By default, reference clock > needs to be provided via REFCLKI_3 pin. If required, device can be > setup to provide RMII clock internally so that REFCLKI_3 pin can be > left unconnected. > Add a new "microchip,rmii-clk-internal" property which will set > RMII clock reference to internal. If property is not set, reference > clock needs to be provided externally. > > While at it, move the ksz8795_cpu_interface_select() to > ksz8_config_cpu_port() to get a cleaner call path for cpu port. > > Signed-off-by: Ante Knezic Reviewed-by: Andrew Lunn Andrew