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 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 10FE5EB64DD for ; Fri, 21 Jul 2023 19:36:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4CEE786146; Fri, 21 Jul 2023 21:36:24 +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="boBaBTj4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 54CB4861A1; Fri, 21 Jul 2023 21:36:23 +0200 (CEST) Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) (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 ED04985FE2 for ; Fri, 21 Jul 2023 21:36:20 +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-yw1-x1135.google.com with SMTP id 00721157ae682-5701810884aso27738737b3.0 for ; Fri, 21 Jul 2023 12:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1689968179; x=1690572979; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=gX0NdGnSTsj11oKEEmorQxhC+9uHREmGnrnr2fXE7iQ=; b=boBaBTj4N5+simYwQ0HljLlJgD2x4nfhql8EWSuqpPTeUPWjH276nRm+ZlOaqQqw9U KlNPDc09jqErdZN+WdkBOzBkrU0TC1VgY2DHlPwOfBd7/Mwg/PQoUfC6gieM7yY4RRyP yZcA5u2+Fvat2szqzjN4FWmeLbK0vnxWi3KYI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689968179; x=1690572979; h=in-reply-to: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=gX0NdGnSTsj11oKEEmorQxhC+9uHREmGnrnr2fXE7iQ=; b=Thd6vlT7r/rpkSEBve1eoiUuc2ffLPCiHVGX46iCHJ5KMouj4NNPP1gfSPhCuAhudz 7Wiok8Uc1lyo4e3RQXr6wy3NgDM1HDuf2lhpHl7qvcqx01vvYCRIUmEVppD3FUEWb8ab PRVWG97G69spIT9gASAaucTIvuumMbo8u0v8QhtZjWAloYbxhaaUrZWfwIL4gTx62e9t +iN2bDu7tPLMw6FKNz1vRFyjRAb2rJ6OfcfRETBTuZBhLnL5Nf7QEXpM2hox9wmMh+jm +w9/pFj8+3WK0Cj8ayNfjNS33e/4+feFe1HqwZPvxyibLKLVC1j6Up/9oQK+7/lojZxA XI+w== X-Gm-Message-State: ABy/qLZ1jTcdXP98yrzz9/FLU2NHuPS3u+H9bzzsz3HK0aYzIp8agQ+6 HAcpkEolXYu14kwOkPNRjdjC6g== X-Google-Smtp-Source: APBJJlFZZnpzNF6tUbZIEpWG8CVovAPBd4UbHlWPisqve1/sgr8tHmj0xRpDZx316VtDhxWrYgf50Q== X-Received: by 2002:a0d:e5c2:0:b0:570:2568:15e with SMTP id o185-20020a0de5c2000000b005702568015emr973143ywe.43.1689968179618; Fri, 21 Jul 2023 12:36:19 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-81e1-2dbc-e68b-5ea0.res6.spectrum.com. [2603:6081:7b00:6400:81e1:2dbc:e68b:5ea0]) by smtp.gmail.com with ESMTPSA id y66-20020a0def45000000b0056d304e224dsm1098392ywe.90.2023.07.21.12.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 12:36:19 -0700 (PDT) Date: Fri, 21 Jul 2023 15:36:17 -0400 From: Tom Rini To: Siddharth Vadapalli Cc: joe.hershberger@ni.com, rfried.dev@gmail.com, sjg@chromium.org, u-boot@lists.denx.de, s-anna@ti.com, srk@ti.com Subject: Re: [PATCH 3/6] net: ti: am65-cpsw-nuss: Add logic to support MDIO reset Message-ID: <20230721193617.GA722016@bill-the-cat> References: <20230708104523.228257-1-s-vadapalli@ti.com> <20230708104523.228257-4-s-vadapalli@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EDgFmfOBDTFGHYz7" Content-Disposition: inline In-Reply-To: <20230708104523.228257-4-s-vadapalli@ti.com> 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.8 at phobos.denx.de X-Virus-Status: Clean --EDgFmfOBDTFGHYz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 08, 2023 at 04:15:20PM +0530, Siddharth Vadapalli wrote: > From: Suman Anna >=20 > Enhance the AM65 CPSW NUSS driver to perform a MDIO reset using a GPIO > line. Logic is also added to perform a pre and post delay around reset > using the optional 'reset-delay-us' and 'reset-post-delay-us' properties. > This is similar to the reset being performed in the Linux kernel. The > reset is done once when the CPSW MDIO bus is being initialized. >=20 > Signed-off-by: Suman Anna > Signed-off-by: Siddharth Vadapalli > --- > drivers/net/ti/am65-cpsw-nuss.c | 34 ++++++++++++++++++++++++++++++++- > 1 file changed, 33 insertions(+), 1 deletion(-) So this breaks building on am62x_evm_a53 because now TI_AM65_CPSW_NUSS needs to select DM_GPIO. And the next problem is that we don't enable a GPIO driver on that platform as we should I suspect make DA8XX_GPIO default y if K3. --=20 Tom --EDgFmfOBDTFGHYz7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmS63isACgkQFHw5/5Y0 tyxRKgv/Z4kW8Ce8Fv1pZ7nnFxIbhGQLUXQyoJb7X6W9CYvHAXRcr+Lf2O3Dl/iB JiLmhn0u6nrlciyso0Xfxosn+5BP5AYRnYfLqoDs5GLXr4UdIhr2sduhTResaGC8 CLZIkuWKnCLzaUBdvJ+rbLlIoapJ9/1GVChOPxqyCw4nIJLkSXsVlGLjSFuxGK3T 0M+gZdS6DnGerB6Tw+TsinsdXQx0jYrdblEcYNnN+Y7mQAILEvhoF68A1lTspeHY eWFRhwz4tdJcbTprlGyb9AQx41Iu4FziAuyERhmIZB4f8ZFM6MyUbqTVF0bH5wOq Yzf57UZPlGwttu5Idd6qAC6fRo9fKsG32YTcsaJpjuz3/SAafaNXgVF4+QDKOfyZ yYmFuKir49Wyt+MDuo6Cp1tpqfOp3ueBAPMXEe/tmixvs8fwANzISjDD7ScCGgnl XbpaQ0SUNcf8wowt/th5TjalrEUU6miuR1cLxy6OBdDyoDG6Ebhk6AMkX3pJ3At7 pyr+SNOA =3o8s -----END PGP SIGNATURE----- --EDgFmfOBDTFGHYz7--