Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp512517pxb; Wed, 20 Jan 2021 12:39:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzVx6KQmnxP/KtmmLxUKPegPBXg2gqmzcmcV2rj0ujezKPRpsfSUVEY5BKJmIyTPC9zjSZ X-Received: by 2002:a05:6402:20e:: with SMTP id t14mr8716074edv.178.1611175197532; Wed, 20 Jan 2021 12:39:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611175197; cv=none; d=google.com; s=arc-20160816; b=lb7UPCMkADHepC3pNhStRWRFb/yx1IbrrgMoqVgi0BEJKQKnof/UryByAC7u2qFGw9 1aIKxqwkyx+8oOmDQZtLF/qHgCxJqefMd8azgnQLduSzu60jotGxXpLVOaC0745PM+Av oe7YVVDogXB7KKc4VCUMoVw/HUWhMsfdIC5nJOp0OmHlQZHyJG6haqo1uHoItHTip1bp wizFwlz4iXMwTNdEg1vlUjaxLRHW6TLQLpHBOxESqg2RXKEXWjFvBZmVBENOt6O5OD/b rgOEEVblgDssmf0fm0WeTV4S1owPQHxMrKTICPnALqGffgSvfcAgCI0dHwfBRtM92m4r w09Q== 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; bh=rmILbUslTHOo6SpeP/ZknQUlrvRx0msK2v/lIyxIU4E=; b=qemahXI36RBqdFbyDMfIxpjLLoF2fjefbTDqIGVTyHBYP6peUxYKakpjlWeSDbX3Di VsiLNafjRJDOXCBqpBumzHirnvBaOVqmNrFqDJ/JuNa2i5rXNHQrx47aTBJoLOm6G+kI 1Ra+pqAqYQeK6L08yfLbH+lMLMqbeUduy3kXSQ3qQymuVXo40ZWaZWgA8WKmN5YZWQr1 oOInNPIbdHz9sMzSfwFGkerl3qvfPMU567uQb7Q0GaBGfVUL8zELpwp1UfJ0WAGryd86 G7KCp0gUooCWExxo9Iz54gSwIkE08niyD2iWgdAgbFD3IhhdRv1SiYwcm0QOskiSw9Pw eyCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t22si1018540ejb.452.2021.01.20.12.39.33; Wed, 20 Jan 2021 12:39:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733263AbhATUeW (ORCPT + 99 others); Wed, 20 Jan 2021 15:34:22 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:50948 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388310AbhATU3n (ORCPT ); Wed, 20 Jan 2021 15:29:43 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1l2K68-001hi4-H4; Wed, 20 Jan 2021 21:29:00 +0100 Date: Wed, 20 Jan 2021 21:29:00 +0100 From: Andrew Lunn To: Michael Walle Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Ferre , Claudiu Beznea , "David S . Miller" Subject: Re: [PATCH] net: macb: ignore tx_clk if MII is used Message-ID: References: <20210120194303.28268-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210120194303.28268-1-michael@walle.cc> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 20, 2021 at 08:43:03PM +0100, Michael Walle wrote: > If the MII interface is used, the PHY is the clock master, thus don't > set the clock rate. On Zynq-7000, this will prevent the following > warning: > macb e000b000.ethernet eth0: unable to generate target frequency: 25000000 Hz > > Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Andrew