Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1349468ybb; Sun, 29 Mar 2020 02:23:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt5yAMnFGwJhrvIE8mR9DiOF04XE6yoeBRhTJD5PJc4EFdU5VmLQbTeucw2TrMBTLMlkYcg X-Received: by 2002:aca:fd0d:: with SMTP id b13mr4372280oii.179.1585473836997; Sun, 29 Mar 2020 02:23:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585473836; cv=none; d=google.com; s=arc-20160816; b=CDBaOSf8oqdyFIXdmrGq/NEQCmjSi2TTiPg7kNk7KMZVySnF/uRkCmVxeag42Q+a+q DFUw04Op2musbHj8n1iIB+31CZNKUKpNYTAw3JaB25sl4npyalzZL0voo2XVqkQxDJIO kf1kRn0/SToEwXpqr4Fbvd2V6J+Pe5yUBHSb3y2CAnte0fHCU2ZuQd9tQk4dUOrp2/FI nMaxqoVxhTyGxWO4aABvu2SY9G5fa/aBUglC75MKQrruv8adX+nqAp+k6JaEGc+PplaO brRJZPXT2sBdJOz7IqU2kTuqaOZj+7kDncYBo5bIP6Atw/YZAztUgl5UXxGaBXjrsuDU lVmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=x53chI72Z4A5z3wT784xdPISVx+MMGzvobvSOBptE6g=; b=zbH/CuXPLcZ4rd2X67VnPrxB2thSz9kY57W6Wso+cg1vYbkdrUyudLyCgoGp1sgQqY JLfS5SzpwZQtArldLuRw2CRG9BljvG/mCy/Ts0lmDQr6t78kT06WJ1OKq+YHZg3sLTSK ai8T41ZAN4VI7SUGN4Se+Jn67of8Z21jTrHCp/jT7k2LJa9FU6dABthf76lQdB7Zqdsj UxYeLwe2uCbRPGFlY9wob6GBobd6IELVbPS71h39umjfRWg5TJSojoncU1Sv1WMETJfE aUCxw9119Sgco7wXTIPVbjoJh9PM37zVzUa6d0lGPlFCmWkcnIL9zz2l4oNFkEM4arPr UcKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FnIrRA8B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si5114059ote.164.2020.03.29.02.23.44; Sun, 29 Mar 2020 02:23:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FnIrRA8B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727832AbgC2JVR (ORCPT + 99 others); Sun, 29 Mar 2020 05:21:17 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:40603 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727397AbgC2JVR (ORCPT ); Sun, 29 Mar 2020 05:21:17 -0400 Received: by mail-wm1-f67.google.com with SMTP id a81so17746581wmf.5; Sun, 29 Mar 2020 02:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=x53chI72Z4A5z3wT784xdPISVx+MMGzvobvSOBptE6g=; b=FnIrRA8BoFYj2RWpJ93LBznjfYgaBi8gS487V11zI073uv6ZjT6fmm2u9BwonL5VUY 1lGpxYjz+TIxyNeexabK4v9UKbHKki3PAxlmGGSGPym4tXG6GL1sgKoUPvHghFBMX7JM cPrLvxLtKm6Jm6ODZv4owOGZOISVkpaMaKg4C3KjcC4DVJl04WBoljGuF7CgjTWMSWjm mzddCajS+9G3olNXVUMPSs0AN5m2ylu5FhOkM1Bj843r3zZQ6Z/oswLxMm66QsiRVlKF dpKQiYNzboWBbY2lPXnN7hqU3YhEoeBT8TojL85NRefvN2VUSAQgdxyNfcC5t8nG+zIy m1WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=x53chI72Z4A5z3wT784xdPISVx+MMGzvobvSOBptE6g=; b=nsjCtmXJCbl4qZnj/tMwA19oBYjXUTGILpxk0uLmubew96RrR5KLoYtzKR0Y7t3lzE 7+OUw6vmBz/YlK5u0eli9dBN0gz48Oz2wNx7ivGvXsDoBlg2hAhMiVXExqAiUXOLOy3v OAb8rZBIUbC8RHsb5HLlDXUA/Si0Jpi1Rq8paa+6yJJAfk3PpumovTtcKlcPvTY2ZFsJ Q+AjxdtmouSu4TwXUfBgr+Ff0ZU5ZgNmZjMGpTvVgaqd18RS5L7ul62LzPnwW9OWAf+F SC1fkuSGKupiunfpKtXkYDitbS11zlWARwT86A9Lp3C0l9EZbxKw6KGVbIFvD+D+0xV0 G25Q== X-Gm-Message-State: ANhLgQ1XD17eded0dJFoNeFB0fEXVLpQJDcJpN9cym+osPf56t++SA/p dfHqqhueFlQ2CGGj7CI8b4o= X-Received: by 2002:a1c:b7c2:: with SMTP id h185mr7752149wmf.67.1585473673928; Sun, 29 Mar 2020 02:21:13 -0700 (PDT) Received: from eichest-laptop (77-57-203-148.dclient.hispeed.ch. [77.57.203.148]) by smtp.gmail.com with ESMTPSA id x1sm9392665wmj.24.2020.03.29.02.21.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Mar 2020 02:21:13 -0700 (PDT) Date: Sun, 29 Mar 2020 11:20:33 +0200 From: Stefan Eichenberger To: Rabeeh Khoury Cc: Baruch Siach , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King Subject: Re: [PATCH] arm64: dts: clearfog-gt-8k: fix ge phy reset pin Message-ID: <20200329092032.GA4620@eichest-laptop> References: <20200328212115.12477-1-eichest@gmail.com> <877dz3el4k.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rabeeh and Baruch On Sun, Mar 29, 2020 at 11:42:35AM +0300, Rabeeh Khoury wrote: > On Sun, Mar 29, 2020 at 9:22 AM Baruch Siach wrote: > > > > Hi Stefan, > > > > On Sun, Mar 29 2020, eichest@gmail.com wrote: > > > From: Stefan Eichenberger > > > > > > According to the ClearFog-GT-8K-rev-1_1-Simplified-Schematic the reset > > > pin for the gigabit phy is MPP62 and not MPP43. > > > > Have you tested that on real hardware? > > > > The 1Gb PHY reset on my Clearfog GT-8K is connected to MPP43. Russell's > > commit 46f94c7818e7 ("arm64: dts: clearfog-gt-8k: set gigabit PHY reset > > deassert delay") indicates that this is the case on his board as well. > > > > In case there was a hardware change between board revisions, we need > > another dtb for that revision. > > It's a bug in the simplified schematics since that schematics is based > on rev 1.0 and not rev 1.1 as claimed. > > In rev 1.0; the 1Gbps phy reset was connected to MPP62; but that MPP > is not functional as a GPIO when selecting MPP[56:61] as SD card. > Due to that we manually rewired ALL rev 1.0 PCBs 1Gbps phy to be > connected to MPP43 via R8038 pads. > > Rev 1.1 fixes this by that by disconnecting 1Gbps phy reset from MPP62 > and wiring it to MPP43. > So basically rev 1.0 and rev 1.1 are compatible software wise. We will > fix the schematics. Ahh now I see, I didn't enable the phy driver when I did the test with the default devicetree and then when I changed the devicetree I also enabled the driver, that's my fault. Sorry for the confusion... I can confirm that it works with MPP43. Thanks for the clarification! Regards, Stefan