Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5050143rwd; Tue, 23 May 2023 17:29:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6yLQlp23G0YWRxuIOtM8Q0dC9l8qRAlHScjRzAi11tP0R8hMD0M6/b66GGRJh6uOAuWsiu X-Received: by 2002:a05:6a21:339f:b0:10b:3b4d:8c16 with SMTP id yy31-20020a056a21339f00b0010b3b4d8c16mr11097145pzb.38.1684888146578; Tue, 23 May 2023 17:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684888146; cv=none; d=google.com; s=arc-20160816; b=hFcpGjmaytJh/4Yci2SAamChOJuFBOSD1QfUiJeOhDJlcHdMJKFIqVpr8FL4ovj7FC CQ7QlGz3ubhwQb6m0EyIOGuM4pQfwYHDmIKhC4YPx76DqGg+v0GUpnjmNsnnWvZE0PvC wJj15VF2G2lSyFr/wWCe01R5oQumdMXKWZ2xUvGq1Wwru1NRXyvxqSeOzFDncqytI2kc 7FWn8IYLhyooQFzHWi8bbUouBRmBH3IIneGUQF6EF1+ZkV2wMLQ1sZlZwZ8miYLqjLqn dA5a1L5PSeEz8/eU94C+S/QkKks6VRcx0UcQs3NAr1HkFPGwVSsuy2J9QNOIPfP7IyRH b1nw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=x4bKN3ZI9dbZNCt524aR0Dd/liOmfjaxlLXLdzdDj4M=; b=mhmlEVx4zD3fwzYbaf5MKxxVMQi1Zh0jMDDGZpeLkKyV3cLJ7fC/i53DOhGnbP8Mml 2h3L9L9dyGCv0sddfI5Csd//6to9jieCSbsio0nEW+TrP8B/qiuXUzvJg8qk4nS6Z85c RtMRG85weLW6CIfdhKnNx2wTDOoKCY6nhoDC3CewAuqrattO8Z+FLda2Km9mal0WSErE WKbc2WGqHOaGhEZEe9DxU2ng0g/YCEKv7IsTtNB4vuKgtZWOj/xXqrii9wXQt0FFPwe8 Ww4uylveSL/5xA+eHeL4A+BXS3SG1oXDFLZqd6LxXJpNrepgRm55JA6sT2vEQi5GTxPj D4/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=BSYSvEV8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a63f114000000b00513579041bfsi6965321pgi.636.2023.05.23.17.28.27; Tue, 23 May 2023 17:29:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=BSYSvEV8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238957AbjEXAHg (ORCPT + 99 others); Tue, 23 May 2023 20:07:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238956AbjEXAHe (ORCPT ); Tue, 23 May 2023 20:07:34 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A7B5126; Tue, 23 May 2023 17:07:29 -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-Transfer-Encoding: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=x4bKN3ZI9dbZNCt524aR0Dd/liOmfjaxlLXLdzdDj4M=; b=BS YSvEV8gWjnWZKg3eIJTRcAxoNROwJstbj41MGY3yGMP7rccqeeieBH3Kx8lhYlcNQKCuCqSldgNsU 09kGW21QtU3XED0xjqruUIkE2SLySM97pMTrAhkoNFCtfqyeNNe1AK9RIGfTHB1dnSjGsYzifaX+J Gkq49Cj15j+WWm8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1q1bcd-00Djho-TS; Wed, 24 May 2023 01:40:55 +0200 Date: Wed, 24 May 2023 01:40:55 +0200 From: Andrew Lunn To: arinc9.unal@gmail.com Cc: Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , erkin.bozoglu@xeront.com, mithat.guner@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next 12/30] net: dsa: mt7530: move XTAL check to mt7530_setup() Message-ID: References: <20230522121532.86610-1-arinc.unal@arinc9.com> <20230522121532.86610-13-arinc.unal@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230522121532.86610-13-arinc.unal@arinc9.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Mon, May 22, 2023 at 03:15:14PM +0300, arinc9.unal@gmail.com wrote: > From: Arınç ÜNAL > > The crystal frequency concerns the switch core. The frequency should be > checked when the switch is being set up so the driver can reject the > unsupported hardware earlier and without requiring port 6 to be used. > > Move it to mt7530_setup(). > > Tested-by: Arınç ÜNAL > Signed-off-by: Arınç ÜNAL Reviewed-by: Andrew Lunn Andrew