Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4149810rwb; Tue, 8 Nov 2022 12:51:23 -0800 (PST) X-Google-Smtp-Source: AMsMyM5/WvMzEuTJhfzMxGXoHBSPOIPwz6gOE44CX81mDrhebUiyFQE+ee1FW8crvDFbEXMnboOl X-Received: by 2002:a05:6402:b2f:b0:461:701e:877a with SMTP id bo15-20020a0564020b2f00b00461701e877amr55720809edb.82.1667940683473; Tue, 08 Nov 2022 12:51:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667940683; cv=none; d=google.com; s=arc-20160816; b=taRj6gn+clRruLQeIj9t9vv+/y7x4zqX6lsgHnxXw+nvGIjLfi22MFYq3zaZxKMfST fFyrN5T1TEsgpExnsN/Wi+BJFe7Lv+uQtAjvseYIuFDVcxjhkWzTXkPO63sCTWTQE5my U9bCn3ZI3nbRqnp2sWuxIm2MWNBXA2BPOKrkOZrq6Dr0FaEJtGT2ooQveiX1VvHm6wxB YfBRsvrzfJAVFj11cZvwdAEM41/5o1fcJ8t+Rmcs5E4z1hAelCnuZv5lFkJatMVVHZFh Sf8huB11eLKQhU9ODhLZSzsRSF2Lf+p2sbUiOgMofVERBlAz+apMow7Oi+QGMUjrycnr +UuQ== 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=/SNM6E6H65YIODP35xPJGqkkSXZId2E7TVtIokYS0E0=; b=KcxIh+YvX00q5ZW8nU2GGQctpI6oHsT2kCSJrS+YC6NBI1YQAaDI8oWxuY52oGe+z+ t2/BB3HpGTujzAhaTZpuOhXHxP91eY9QnlEaX4X29IcSiRTT9HMsqQdtiNiwr7QktPrf xhMq9207NxBZoAB4UiceflOgpz9iIyAXaA1bDlMMpTI24cE8KA8I99D/D7dW2iqj2NCI DzxzLYBfDUEK5kDxoF1NiS0hqrtWvGzbEdgdszEztsaMmYAsKP/qo9GslnYwrGWIBIK8 HAXi0EHm312fLScK05hm8ac8+p2mE7GKDbQhVnVqEwTphXci70RcBXZ+oJH2m3sOQ/2F 0WwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=HYj5MdvZ; 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 dm14-20020a170907948e00b0078d8bd255d4si13290023ejc.949.2022.11.08.12.51.01; Tue, 08 Nov 2022 12:51:23 -0800 (PST) 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=HYj5MdvZ; 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 S229986AbiKHUpU (ORCPT + 91 others); Tue, 8 Nov 2022 15:45:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229980AbiKHUo1 (ORCPT ); Tue, 8 Nov 2022 15:44:27 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E4392EB; Tue, 8 Nov 2022 12:44: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=/SNM6E6H65YIODP35xPJGqkkSXZId2E7TVtIokYS0E0=; b=HYj5MdvZTN7nJuBZKqZm3OyEsF 2kXi1DdLnl1v3vDRy37VTI+47PVVOd7tVJk1o82r/+5ir1k6IvZhbQzR45QnDOwojpvqIHgfvqZ9r F47ou/v2aPv+j46+W/4kI8OajEhWr1WPOaxuJtF8I6URczCgq1Y4KHhoIvLTWS430VMA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1osVRi-001r9c-SD; Tue, 08 Nov 2022 21:43:46 +0100 Date: Tue, 8 Nov 2022 21:43:46 +0100 From: Andrew Lunn To: Michael Sit Wei Hong Cc: Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Looi Hong Aun , Voon Weifeng , Tan Tee Min , Zulkifli Muhammad Husaini , Gan Yi Fang Subject: Re: [PATCH net 1/1] net: phy: dp83867: Fix SGMII FIFO depth for non OF devices Message-ID: References: <20221108101218.612499-1-michael.wei.hong.sit@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221108101218.612499-1-michael.wei.hong.sit@intel.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 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 Tue, Nov 08, 2022 at 06:12:18PM +0800, Michael Sit Wei Hong wrote: > Current driver code will read device tree node information, > and set default values if there is no info provided. > > This is not done in non-OF devices leading to SGMII fifo depths being > set to the smallest size. > > This patch sets the value to the default value of the PHY as stated in the > PHY datasheet. > > Signed-off-by: Michael Sit Wei Hong Reviewed-by: Andrew Lunn Andrew