Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2624055ybm; Thu, 23 May 2019 21:42:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIMGPT8u4+jIDXM84e+nFrjhQzPPoIFd1eiPNeF85esij8/zTjURkXh6zE706NLC4Z2Jl/ X-Received: by 2002:a17:90a:de0e:: with SMTP id m14mr6462025pjv.36.1558672965403; Thu, 23 May 2019 21:42:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558672965; cv=none; d=google.com; s=arc-20160816; b=Ym8F080KQDPMMPHiYPZqgpKj4QAWcdHUQJ0EBKkl35UmumX1QNbd6Xh4ERuJc8Votf aH7dgL3Tkkuj9wgBYU0zwaaev6DJqdMPilSA0MWP5+R/FzwiyBajoTwLCOhp3FCDibo1 xiMP39qgpAhby/aXXHITKZW7YCr1Uw6BU16AMNNycrsQuOD9CBUSNL7PCNWCxH53agyb Z/hbiP/TNrrrCeG8bMubq5xExE3J7FNxuu3wpphhUr6qnbKkRtNy4tbNDcppjof7U43O EqFWcjK5J11Y7GuI9CrB0zm8PID4eiJxL712UoTp5rStCwq05LwU2rgwlZZ/F7lJnZeH ie/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=rRM8a/2TtZzcDJu40/I1y3WAHnEd2NwaRkAkmAY7Pbs=; b=Ndv5DIAw2ehCbmci6FAFIQsHzgkF6DGmkNqrnqNj288n1sU9YLS3C3HGp8uMjpwQRV Bgkvez9RzP83Z9SUS97PyZivUbEcRP+/GfQKEpjT2MaIXJ+fQFK3JQNf6STtbu8h3liz MWn1VKudyBJJQrWGsG06gQM9urLFrNoeH4SQUW/AyiNVzd4IVGW7tWM2wp+KkatXRTKJ gd/RCZP3VBNOkjX5oEe4JLasjOJ2Qoq8Dhjz951BAVRkHlK2UVOCq6H7+GkdJt5n4dEm 20UQlK830yyPKdD/Nj6FL9CM9VRZ9JA5NbKV7lDyq3wuSSO+qOcdS/fPug2EpuLx/f8z DQBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=JYahaxVj; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id az7si2428363plb.350.2019.05.23.21.42.20; Thu, 23 May 2019 21:42:45 -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=@sifive.com header.s=google header.b=JYahaxVj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726156AbfEXEkh (ORCPT + 99 others); Fri, 24 May 2019 00:40:37 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:36799 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbfEXEkh (ORCPT ); Fri, 24 May 2019 00:40:37 -0400 Received: by mail-lj1-f193.google.com with SMTP id z1so1966234ljb.3 for ; Thu, 23 May 2019 21:40:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rRM8a/2TtZzcDJu40/I1y3WAHnEd2NwaRkAkmAY7Pbs=; b=JYahaxVjVRWEcKQda8kVjGL2wDABM1W5WBX/QUgmobVeLwQojkfjKb9PRxyYNXasrg IKej1xeUqkWYvs8MSxYCSz2eckUPl9QYwVSvU9wIDRISXtICeXlDoiN8N5l+n9PUMdzU jxo0/kvTMRTgRSQG2nCCRK/khQNCwkVsaJo0TvU366iBxlTUum4/OG6jeY6R7y1xnM8M jfDFyOi6F+NaxhkHh/GSZ+AqLwXaMAKvGFRB29mD574459O/mnCaBIFERL+Bvdpd5PVv neMNBP/zkzT8R+0AoYdaWMtzS5azRHDPF82fbyGymiIy5PMglmcEksZZk0V1OaqWE80l rqrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rRM8a/2TtZzcDJu40/I1y3WAHnEd2NwaRkAkmAY7Pbs=; b=gEfvBdvtz8jWuhyvxR5beSMc6vDAhpcLdt2/AS7YXcTSXzCZkjpeYhW7IYBPIaP5HX jSChoRyPpvKaGhwAR+hgHTjvrsK7kj//hm5TGU6b1VfDGy/W6FVFeCtwTyieXVRDri8w Yutb1uoWbrjkX+2qTmS8wtCqcEqQcVwpcN9r1fiNJF+cETBm+kLgJ/EnBxyvQFrCVh5z Qj5HFDjkUtDx+KuEfCX1cKREwZeJFhM4NySpVhd6ThQzHSInT+iEAEyK8/jhKEI0iI5+ xvCqidIXl3vLe67IGsjQeoDifR5OCf27tmpnP8/LxdukjW1qCufNdmy8cX1MMP/GJcXI jzKA== X-Gm-Message-State: APjAAAWExbN2ldxNSrtJ/Mb9mAXdgCZ87xLirHU34eC/DannM9RQzlmR 9d+NQ2YRG+JhhLCNhEGQoW1BGUoMc22s0f/67iqAuA== X-Received: by 2002:a2e:82c5:: with SMTP id n5mr15440974ljh.175.1558672835426; Thu, 23 May 2019 21:40:35 -0700 (PDT) MIME-Version: 1.0 References: <1558611952-13295-1-git-send-email-yash.shah@sifive.com> In-Reply-To: From: Yash Shah Date: Fri, 24 May 2019 10:09:58 +0530 Message-ID: Subject: Re: [PATCH 0/2] net: macb: Add support for SiFive FU540-C000 To: Andreas Schwab Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, nicolas.ferre@microchip.com, Palmer Dabbelt , aou@eecs.berkeley.edu, ynezz@true.cz, Paul Walmsley , Sachin Ghadi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andreas, On Thu, May 23, 2019 at 6:19 PM Andreas Schwab wrote: > > On Mai 23 2019, Yash Shah wrote: > > > On FU540, the management IP block is tightly coupled with the Cadence > > MACB IP block. It manages many of the boundary signals from the MACB IP > > This patchset controls the tx_clk input signal to the MACB IP. It > > switches between the local TX clock (125MHz) and PHY TX clocks. This > > is necessary to toggle between 1Gb and 100/10Mb speeds. > > Doesn't work for me: > > [ 365.842801] macb: probe of 10090000.ethernet failed with error -17 > Make sure you have applied all the patches needed for testing found at dev/yashs/ethernet branch of: https://github.com/yashshah7/riscv-linux.git In addition to that, make sure in your kernel config GPIO_SIFIVE=y In v2 of this patch, I will add this select GPIO_SIFIVE config in the Cadence Kconfig file. - Yash