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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B34AAC433EF for ; Fri, 29 Oct 2021 17:29:21 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 22F8260E98 for ; Fri, 29 Oct 2021 17:29:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 22F8260E98 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9A624835D2; Fri, 29 Oct 2021 19:29:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (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="MsOxxlz5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D4B7A82C4C; Fri, 29 Oct 2021 19:28:57 +0200 (CEST) Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (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 D720B831B2 for ; Fri, 29 Oct 2021 19:28:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2f.google.com with SMTP id k29so6805032qve.6 for ; Fri, 29 Oct 2021 10:28:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=OnJMBnKfiHgPDJuS2EJ5eqpY5Mzf3/J0cfBnSsWBPEM=; b=MsOxxlz5LbvZoKAfeHxtBxGc5wvR5ViBsMNOu+tRNXHM1nWpPgF3KDMzjIj54FpxLN Udc/MQh3Qe6VGRVqOHy8Wgcx+0eKQwrjgJXN71ax+9/2cCvrcWxw6RYqPytatgL3GFpG cEXwD/7WMqRevoqj7VUhxHvyxtbYUlTPTm7mQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=OnJMBnKfiHgPDJuS2EJ5eqpY5Mzf3/J0cfBnSsWBPEM=; b=2zdj1guKyTLWEicXIi0vqF7T1VmQvfsK9etpJaQzunnpYdlQ+Fukr2Nk09EjcDECYO AzCqS57xdXUoxg9Okl0SLods1XZwA4QkLsEI3OO5RUbLT3MPwiOhUE35CF1+T4yOsEdI blgCDqueldTEiMSp7Hf3GU4q0ixtaY060RagrKHmrz1B5lIY4lLnmvNRcp9K70uUjATS ODvwgSYdEpL1qFP13vGM8DII0st4tzEjcz+SXEsJ7BJ8F56qDyBPiT4VSSwFLDv4vBE0 7PuJDlekHPcLFYrYNre/7GLjQccTo9wrDq3z+Vs8ICDxCvt7wc0OZF2ehlDaVUx+Vp3m bkbQ== X-Gm-Message-State: AOAM530eCIozSYBaAEOunNIuRqFbpkVzAA7vFyrvXO0Rxme1ZqWatbpP LPNPNjUTQG6iCsWuWVq2n48d3w== X-Google-Smtp-Source: ABdhPJxvlts/HyYb71rmQY2aynxCXxi+jEQcWklXVgtSdJu5o7hlKsG2cigtT66z06FCXALJr6pP3A== X-Received: by 2002:a05:6214:529b:: with SMTP id kj27mr11841834qvb.23.1635528528551; Fri, 29 Oct 2021 10:28:48 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-cd13-3c38-2d32-68e0.res6.spectrum.com. [2603:6081:7b01:cbda:cd13:3c38:2d32:68e0]) by smtp.gmail.com with ESMTPSA id bm25sm4562909qkb.4.2021.10.29.10.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 10:28:47 -0700 (PDT) Date: Fri, 29 Oct 2021 13:28:45 -0400 From: Tom Rini To: Amjad Ouled-Ameur Cc: u-boot@lists.denx.de, Roger Quadros , Heiko Schocher , Igor Opaniuk , Kory Maincent , Lokesh Vutla , Priyanka Jain , Rick Chen , Sean Anderson , Simon Glass , khilman@baylibre.com Subject: Re: [PATCH] board: ti: am335x: Choose CPSW or PRUSS configuration based on jumper setting Message-ID: <20211029172845.GY8284@bill-the-cat> References: <20211029140817.85307-1-aouledameur@baylibre.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BMIgvY26efrdtlVp" Content-Disposition: inline In-Reply-To: <20211029140817.85307-1-aouledameur@baylibre.com> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean --BMIgvY26efrdtlVp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 29, 2021 at 04:08:17PM +0200, Amjad Ouled-Ameur wrote: > The am335x-ice-v2 board's Ethernet ports can be configured > in 'MII' or 'RMII' mode to be connected to 'PRUSS' or 'CPSW' > Ethernet subsystems. >=20 > This patch sets the environment variable 'ice_mii' to > 'mii' or 'rmii' accordingly. Based on that we choose the > appropriate board devicetree i.e. 'am335x-ice-v2.dtb' or > 'am335x-ice-v2-prueth.dtb'. >=20 > Since there are 2 Ethernet ports with 2 modes, there can be 4 > configurations but for now we consider both ports in different modes > to be an invalid configuration and prevent boot in that case. >=20 > Signed-off-by: Roger Quadros > [Amjad: use overlay instead of using new am335x-ice-v2-prueth.dtb] > Signed-off-by: Amjad Ouled-Ameur >=20 >=20 Reviewed-by: Tom Rini --=20 Tom --BMIgvY26efrdtlVp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmF8L00ACgkQFHw5/5Y0 tyzSuAwAqVMi94T5ZPNBL4QVDJ5QEIIFGnh1vdUzFajjIWb2I+1UFErS88gwNJi9 1N8JA0FxHODoL06x7dCrS8UJoMlfZ5NEtPzfw2wiuc/3vnZZwn66RrqSDaA/ESxo NwVik+iVC8JCYq6n7VHJR33VRyoPXntLck5KLIUnAFrYPlIqTcwQWeqw64qGcfkR J0Yh52bBSAnQcZKFwZ9Vk/tXPu1GpSpQH2JywycRHURgIlmKCiEn0YgnF/O73rQs OiEm36VJDqQqsFFSqMc3ZPSsY29sGU5a6ouNQTFVVT1m2u/XmenRduhfARe5u5Hr fCBbBckDWpL6SL26Fo/6RkIzoojjnu3SSE7uQwD8WT+u+nxdFpFLBD1iVV3g4sWv cpSKGjYLcCCi5gh33rT57omMlnSCTaQ92BIx6ZGyM/QXzqen/Qm4NxgVzrt6qcYp 9Q4Y5udR7kGDIpbTOw66nf1fOfrAL5Z5rJkabsP4SFmS+NcRJdI8SV3TfJIse5uM Xt9XcCZh =Wciv -----END PGP SIGNATURE----- --BMIgvY26efrdtlVp--