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 C2241C4167B for ; Wed, 6 Dec 2023 17:26:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379263AbjLFR0H (ORCPT ); Wed, 6 Dec 2023 12:26:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378628AbjLFRZz (ORCPT ); Wed, 6 Dec 2023 12:25:55 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C47A84; Wed, 6 Dec 2023 09:26:02 -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=XZlK2oiq0c1d4tnzLcflwgGE+fdbw4Y3Ah3eo8MZaoI=; b=hS5rueB/cfpMaqar0PuBXkxaB5 TyGKMNibNGyEKSb6gmdSgiChCoupduYvUZxSL4HQqfKqE2brILWX9YEfjPYPw1CrIaVdoRGWVYSgU kl7Sg3MRigEv2El1Y3/IjOIJHZwC31SdvNY4sOIATAF3+Ig1CPpMXpWeUPfIKUTXD3Ac=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rAvej-002EZv-Da; Wed, 06 Dec 2023 18:25:53 +0100 Date: Wed, 6 Dec 2023 18:25:53 +0100 From: Andrew Lunn To: Christian Marangi Cc: Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next PATCH v2 11/12] net: phy: at803x: move at8035 specific DT parse to dedicated probe Message-ID: <35221bc0-4f7d-436d-bfca-a56330682de0@lunn.ch> References: <20231201001423.20989-1-ansuelsmth@gmail.com> <20231201001423.20989-12-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201001423.20989-12-ansuelsmth@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 01, 2023 at 01:14:21AM +0100, Christian Marangi wrote: > Move at8035 specific DT parse for clock out frequency to dedicated probe > to make at803x probe function more generic. > > This is to tidy code and no behaviour change are intended. > > Detection logic is changed, we check if the clk 25m mask is set and if > it's not zero, we assume the qca,clk-out-frequency property is set. > > The property is checked in the generic at803x_parse_dt called by > at803x_probe. > > Signed-off-by: Christian Marangi Reviewed-by: Andrew Lunn Andrew