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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 766FBC25B0C for ; Mon, 8 Aug 2022 19:08:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1E63084514; Mon, 8 Aug 2022 21:07:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="V77aWura"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BFBCE84038; Mon, 8 Aug 2022 21:07:33 +0200 (CEST) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3E99884514 for ; Mon, 8 Aug 2022 21:07:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x730.google.com with SMTP id m22so7156734qkm.12 for ; Mon, 08 Aug 2022 12:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=ViMnXRpZgPFyobxCCqBFJB8mxduZV7aGI8bFDyPJ4eg=; b=V77aWuratfVfBXTUmhSQWkV7MWByedtBWb1LHMBhSMF5kb2Ghfsemt4eNYLevc5w1I g0dY1lLJlPfmTOl5RMkTs5DZA9ofiEjBSLCNxwB/klwkauatbnfLXfmlkMUkAeAfN4Ul HKQOxQBrJXa6uH3NE4DKI7mi7xSfH8zuehJlo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=ViMnXRpZgPFyobxCCqBFJB8mxduZV7aGI8bFDyPJ4eg=; b=tWj46vl0+X4LyTYTmq+HNLAh+2zQm6xe8pIKT3RZ6AFszRCVCqn5vMD3ct+HbeuLZY gGKnIvweDAMCWXV1N7r8JFpW1Ny8M+dp/j+cK2XtuRUhsgaDRmI7FtELL1g3+EIVtFZc fj2GBY1VxuBO0UMabdJ9Ks+GgkxcFFaflP+iN6o944QtfPTD1ppELjSCC+DGFCm/2Nk9 Ef8fcYn0CLxor4kXdl1MCeLsWDmRnnxwlO1gJLA6G7BolqVqR9i5EjqnltMppBPd46PU /i0UPY+wLGKEaya+suCBxwPMNTBrSvAwtDzhMSK5C/+GXRBgdpu7NLjD+pqoJV+ehF1H HWTA== X-Gm-Message-State: ACgBeo1dm5njL5Z8Lz27iRnco2VGjI2mFDVOvoJ+9fDbgmgr5a24DSvK Oto4MWj6qRPQ10tllXiKN9EY0A== X-Google-Smtp-Source: AA6agR79F14h+035CF1hAcyQCggCWSNDYvCd3xwS+QEoAK0gz9Fmj5fBHV81Dw/aLHszBnC/92lVfQ== X-Received: by 2002:a37:b504:0:b0:6b9:3947:1d9 with SMTP id e4-20020a37b504000000b006b9394701d9mr7630296qkf.738.1659985649901; Mon, 08 Aug 2022 12:07:29 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id q21-20020a05620a0d9500b006b910e588a4sm8964212qkl.129.2022.08.08.12.07.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Aug 2022 12:07:29 -0700 (PDT) Date: Mon, 8 Aug 2022 15:07:27 -0400 From: Tom Rini To: Stefan Roese Cc: u-boot@lists.denx.de, Ramon Fried , Joe Hershberger , Aaron Williams , Chandrakala Chavva , Marek =?iso-8859-1?Q?Beh=FAn?= Subject: Re: [PATCH v2 1/2] net: phy: marvell: Support reg config via "marvell, reg-init" DT property Message-ID: <20220808190727.GE1146598@bill-the-cat> References: <20220331094307.1250315-1-sr@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hnvnvuoswpaMWfpN" Content-Disposition: inline In-Reply-To: <20220331094307.1250315-1-sr@denx.de> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --hnvnvuoswpaMWfpN Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 31, 2022 at 11:43:06AM +0200, Stefan Roese wrote: > This patch adds support for the "marvell,reg-init" DT property, which > is used to describe board specific Marvell PHY register configurations > in the board dts file. This DT property is supported in the Linux Kernel > since a longer time. Adding it to U-Boot now, enables the boards which > describe the register settings in their DT files here as well. >=20 > I've included calling this marvell_of_reg_init() to all foo_config() > functions in this patch as well. If CONFIG_DM_ETH is not set, there is > no ofnode, or no "marvell,reg-init" property, the PHY initialization is > unchanged. >=20 > The function marvell_of_reg_init() is a port of the Linux version. > Please note that I explicitly did not add error checking and handling > to the U-Boot version, as this is basically not done for phy_read/write > in this Marvell PHY code. >=20 > This will be used by the upcoming ethernet support on the MIPS > Octeon EBB 7304 board. >=20 > Signed-off-by: Stefan Roese > Cc: Ramon Fried > Cc: Joe Hershberger > Cc: Aaron Williams > Cc: Chandrakala Chavva > Cc: Marek Beh=FAn > Reviewed-by: Marek Beh=FAn Applied to u-boot/master, thanks! --=20 Tom --hnvnvuoswpaMWfpN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLxXu8ACgkQFHw5/5Y0 tyyT1gv7B9VtLEsMYgcRJbE+33SWZA/aQTig/JtW4/Z6MggYG/bcYTBetc0DGPlz xiwHiWfexIceFABY4MKNe68XFxmrlE0pYu4tVSJUyfNb6YT6fVshf+QIYd+RiCK8 zxww5NPd9QCh0JeYaaeX/Rvm4nhog8T5zaarEdqgqtAZx7js30magK7oMeysmlsx wYKv2EmUWf58t8j/SeOWRuAfroOkA3MjLjTtTJDewwN/sxtPeyJdCdJQdB/4suRm n03sFWV5VZcEaYkVw3eYne/LAsQGDuIV8+FZCqaALKsyxJjy51KTcM5uTL52Lx2I pcpTprVxO3ipQKKr5rM57qkaPrZUIJGYqg/u8jLBbAGRpWORjjoCumsxA4AnVU90 zedKqJwdKjAgNwIgYZKZA/kiFkGiw7tydlQ1pn/PdVE13J+zuB1GfxNfSqib/hnz PTIVGNpxLYfUhk5cU39FeblyhGp1pVWxhwi5yXfRt97ILBECRUGtPyAVOsg7+B+M eQdhc28j =U8kp -----END PGP SIGNATURE----- --hnvnvuoswpaMWfpN--