Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6141966rwd; Wed, 24 May 2023 11:15:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53e+i7g/MvXuyidiqPHdJv2ryYPpx1HR5YAougtPEO9pn6xs+7QFUHD3cgc5qm7aTmtjUe X-Received: by 2002:a05:6a20:72a8:b0:10c:1047:68ba with SMTP id o40-20020a056a2072a800b0010c104768bamr9693158pzk.35.1684952153157; Wed, 24 May 2023 11:15:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684952153; cv=none; d=google.com; s=arc-20160816; b=znRV4VdyRmKl+q2pLK+2cAcEnrOh1ktNiRvJ7ZWKLfHr1zRj1ZGH4So0JSSn94vo3Z +mWbvfDmaCTgkmUxwp0YoytnQzVqlcccZQ4aG5XVZ4WZJfqKfDmNplrKSfPDbG08ltxs z7d7HqxM3FMEityhLtbdmPmAeDdZink9wxZzYyCg9MCjKzvwhqYJ5IpQOB223H6qCaQ4 lVv/qe3Q0zSWAMpWoydOsGAjz7eQx80XqE3tbd9EIhVT1XUM+6SgkPhUq3PmyJtX008v vOVycsF9zDNdwhnSPEhUSIMMWUlMM5ZMVnsi7OS9q8yWQMjHzpVKgvBSfa0RCUZujnu+ n8bQ== 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=dfGLZw2z+tAZr+6s+X0j30LWgWmr1sjapi3S4gBoOoE=; b=f2BsWF/KUSRiG76blE9U/8MKSVgnff2466C/WBJuUvtMwUbCR5ly5H2WQSHHEWyhK4 FPqga+Yz+6cKF7XuyLfwaRO7H/g6NvrV8FA5MP/kC3EXgn8rG24ObOzqCT7JH4sU5B/F 45R/W2KBMdM3Y2+MERK07uhvg/h7fu94JluGLqzr+FmvnfAGwQ8959uihq76hGtqXvjB NOro3jfmrsQ51DLNAjCR6GoBIneHIx5G//vKR317SFYe+2ztS+S+bRdE0SjABtOowvs7 j2pcSWwX7Sj/QG/QMsCoxSMWoeoE9/bCrYvMWEWCqD4Q2moizvxtyKEo29VZNxmshRvq T75A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="q2Qo/qX8"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j25-20020a633c19000000b0053f1af91622si635113pga.579.2023.05.24.11.15.40; Wed, 24 May 2023 11:15:53 -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=@gmail.com header.s=20221208 header.b="q2Qo/qX8"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236734AbjEXSI7 (ORCPT + 99 others); Wed, 24 May 2023 14:08:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236720AbjEXSI5 (ORCPT ); Wed, 24 May 2023 14:08:57 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E25A119; Wed, 24 May 2023 11:08:55 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3095557dd99so1124262f8f.1; Wed, 24 May 2023 11:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684951734; x=1687543734; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=dfGLZw2z+tAZr+6s+X0j30LWgWmr1sjapi3S4gBoOoE=; b=q2Qo/qX8aKcmWcJF6gy59FYxkIpVa4M3ttp6vJ+895IAyMYhWwyvmHZem4b3OklFXl 3KLIxPfVtUUv8qJ9HNCGa/v53XeaPDZuKXiLlesaPC32z4XP3PE2JyZ4Ynofa0TBT705 E1FjhXeuZ4i0Eg5AkY2inXfcyNxBglrgJHM670xgpSxvu6Z3Hzds9Q4H2ncmz9NOOf3O g1gwwenCgUxADya9eQADwSIeoztpdPxbhc3Lz+AzlyfGReHz98nAhGGu771h5lYH0CPt b1NYobKxN1J9+4j4YwIuyDAYMmlPmbylhJyrKYk/CUXNowj4iu0fAUMdkfd3QSIceg7H 8tkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684951734; x=1687543734; h=in-reply-to:content-transfer-encoding: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=dfGLZw2z+tAZr+6s+X0j30LWgWmr1sjapi3S4gBoOoE=; b=hRsPhr1+ex5zwFtEgKCIhPtFf2V6AcdEect4zUW/8PR5ZZxywXvH2FPpJjr3pmbfCb 3WSqVUOTY35qxfO76lGb+VWBdvUU+S1EOX2Qzs1Gu5YYvNxQJzTEjHPtCl7p8H9sKiQI C/5KlX/wZVjDdZhFk2NeNHjakB34le4WsGpUnDSmJe5ZJzU9wZ7njIdUjXvDiT1tDr5r 9qDzjB5gd5N+bq8CNU17dw4KgpgVR4RCHaCiprTLY7X3cT+031yxiKZwolEzg4rKE5Oq FzvYaWCSyU4xExtGX/tURLuQ8dXGhdAvMDfOO1uREZFSOaod6z1v8LOT7W+wRigV9+85 dZww== X-Gm-Message-State: AC+VfDzscSvGmMIqNy8aSJ5NCHmqApqkCF4Kr7NuIfhqCXYcHtbr38h1 hbvVNeC/8qTx5LdNLiMjnfM= X-Received: by 2002:a5d:5384:0:b0:309:566f:3cd with SMTP id d4-20020a5d5384000000b00309566f03cdmr405284wrv.6.1684951733913; Wed, 24 May 2023 11:08:53 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id b21-20020a05600c4e1500b003f4283f5c1bsm8637601wmq.2.2023.05.24.11.08.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 11:08:53 -0700 (PDT) Date: Wed, 24 May 2023 21:08:50 +0300 From: Vladimir Oltean To: arinc9.unal@gmail.com Cc: Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Andrew Lunn , Florian Fainelli , "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 10/30] net: dsa: mt7530: call port 6 setup from mt7530_mac_config() Message-ID: <20230524180850.7zelk6x2dpiwmnw6@skbuf> References: <20230522121532.86610-1-arinc.unal@arinc9.com> <20230522121532.86610-11-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-11-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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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:12PM +0300, arinc9.unal@gmail.com wrote: > From: Arınç ÜNAL > > mt7530_pad_clk_setup() is called if port 6 is enabled. It used to do more > things than setting up port 6. That part was moved to more appropriate > locations, mt7530_setup() and mt7530_pll_setup(). > > Now that all it does is set up port 6, rename it to mt7530_setup_port6(), > and move it to a more appropriate location, under mt7530_mac_config(). > > Leave an empty mt7530_pad_clk_setup() to satisfy the pad_setup function > pointer. > > This is the code path for setting up the ports before: > > mt753x_phylink_mac_config() > -> mt753x_mac_config() > -> mt7530_mac_config() > -> mt7530_setup_port5() > -> mt753x_pad_setup() > -> mt7530_pad_clk_setup() > > This is after: > > mt753x_phylink_mac_config() > -> mt753x_mac_config() > -> mt7530_mac_config() > -> mt7530_setup_port5() > -> mt7530_setup_port6() > > Tested-by: Arınç ÜNAL > Signed-off-by: Arınç ÜNAL > --- Reviewed-by: Vladimir Oltean