Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2904391rdh; Mon, 27 Nov 2023 01:38:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IFN52YFT8GzA6QTlcDIXK/Je+vff0OXcijvfYa0/96sQiwECNTWQ9Xc3pEbw0PEwMBMn21C X-Received: by 2002:a17:902:d4c1:b0:1cf:c329:6204 with SMTP id o1-20020a170902d4c100b001cfc3296204mr3522141plg.14.1701077899392; Mon, 27 Nov 2023 01:38:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701077899; cv=none; d=google.com; s=arc-20160816; b=A9SZl3kbei3+DK4zwOs4ueoTCREjrC+UXCA+01wcQQR8AITk04MgUQ55hywCB1ZVls KSNzJqvgr9jebgk/h7EWv/FSvuBWmDOqaTd5jX7xgjzngtwE1x2wURFN8TIQLG62Ii6p VL15NZAiXoXIIIrzkctwkXiIilyEMF/IpFDeefTD6xELKhiXwe4+aLpiq6r7vGaSFBuS jM7c+Tpl4WKGMwNh7MuDbsCLdkJYR985Ek8YQvrZNAKevQW11HuppAqPdWRZHu1UK1jG iOrqjgw5ihSRJDVKPoiTcD7FS146XVDgKbFc8AiwOHOTrGd5TLH8mFNGX/Q8cr2Yy2lq Wr+A== 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:dkim-signature; bh=0UeCD7l3KE/oZdGxQxOH+q6TURI62k+5y1ZN9KzpHlU=; fh=CN/V1YPH6s6VyTcDZ1BZgTYj2mFOWP6Czck4eqhLWlo=; b=IreCU6iMvisuWN3OzdwzVK16Kh8TIkgPxdc1demBGleJTfHsCJUzxRd2Ujzv1j15An FewOSVrURu99cJrPw83S/TUdzDMlyginnbzElcnHAbmZqJAtRJcLEcTwMo1jiz//eSk5 t/HPPkrNu7U5629c3985JqT3apfJRm6QL4UolQwF3v0PylhvIKHbs3S71FjPpVs1ncM9 XXu9IxJZNVG+nGTxs+ZC5TUH45sLyX5Lb0c2AIRJuGp0XxehlIf0HzBKZZ+OJExU80yX dZkYMCLg07MTDBmuffIWys6+P25cVO1LHr8Ovl8t1sSOP0X9GCtqhdRr5HW+ksxIcPTj 7YfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="QUwcmB/l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id i1-20020a170902c28100b001b8922e82e3si8733579pld.297.2023.11.27.01.38.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 01:38:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="QUwcmB/l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D9606805ED36; Mon, 27 Nov 2023 01:38:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232855AbjK0JiC (ORCPT + 99 others); Mon, 27 Nov 2023 04:38:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232854AbjK0JiB (ORCPT ); Mon, 27 Nov 2023 04:38:01 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F11F111 for ; Mon, 27 Nov 2023 01:38:07 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 296E3C433C7; Mon, 27 Nov 2023 09:38:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701077886; bh=BN2LicB5jxds9fx+ZEYukWJ29CfaB31EBJL8lQdSPpE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QUwcmB/lgL3jexVnTCttyrHGUr+uCTFiZEZ8hgmdHk2vw9TJmIuIOfHtXWmJ3kQj2 UiSprLMu3oYSCNX9cGfhg53z0BYsdAeosAir6hK4zobLLKVrvOhLBueWWY+ji1oZTz wrhUZ1tJ4bf8yS/FPSyOp2kLIWgUdWnVbQ3AUiE573G5jCc1y/2qgQbjMg7IIr7jS6 MiLNKThT9h1shVCbDuR47x5Y8Hc2i0We224TqtH2PxEpOZgprzYonlUePKDrdHdDqg UU73HOpbe5swirTJMn4vf1ae6FJJY09RRNNBLsfJnwgJCh38eX9/M3t+hwlwMnYw0D qHXYyNHjRPajg== Date: Mon, 27 Nov 2023 09:37:59 +0000 From: Simon Horman To: Luo Jie Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, 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, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, robert.marko@sartura.hr, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_srichara@quicinc.com Subject: Re: [PATCH 2/9] net: mdio: ipq4019: Enable the clocks for ipq5332 platform Message-ID: <20231127093759.GD84723@kernel.org> References: <20231115032515.4249-1-quic_luoj@quicinc.com> <20231115032515.4249-3-quic_luoj@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231115032515.4249-3-quic_luoj@quicinc.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 27 Nov 2023 01:38:17 -0800 (PST) On Wed, Nov 15, 2023 at 11:25:08AM +0800, Luo Jie wrote: > For the platform ipq5332, the related GCC clocks need to be enabled > to make the GPIO reset of the MDIO slave devices taking effect. > > Signed-off-by: Luo Jie > --- > drivers/net/mdio/mdio-ipq4019.c | 67 +++++++++++++++++++++++++++++---- > 1 file changed, 60 insertions(+), 7 deletions(-) > > diff --git a/drivers/net/mdio/mdio-ipq4019.c b/drivers/net/mdio/mdio-ipq4019.c > index 9d444f5f7efb..a77982a1a1e1 100644 > --- a/drivers/net/mdio/mdio-ipq4019.c > +++ b/drivers/net/mdio/mdio-ipq4019.c ... > +const char *const mdio_clk_name[] = { > + "gcc_mdio_ahb_clk", > + "gcc_uniphy0_ahb_clk", > + "gcc_uniphy0_sys_clk", > + "gcc_uniphy1_ahb_clk", > + "gcc_uniphy1_sys_clk" > }; Hi Luo Jie, A minor nit from my side: It appears that mdio_clk_name is only used in this file. If so it should be declared as static. ...