Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13725448pxu; Mon, 4 Jan 2021 02:44:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+JBQ1bhhmrw0jcsj9tjvzgr26Q9MSNC3LwPFPfOIGgx2mj6H+3lA6+6EarvWzLferhJZB X-Received: by 2002:a17:906:2358:: with SMTP id m24mr64552011eja.198.1609757045430; Mon, 04 Jan 2021 02:44:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609757045; cv=none; d=google.com; s=arc-20160816; b=svFKck1iNmNgGl75RR0jwrEisyddKYkNsreZDdEBkHObLyaJrGo/Tw3joVaGRBTIHi eoiM9W8D3yTpNkZQF3UhmFtjexvJh0eBDc7WbJj8wpgy1L23rZiWztKoraaoZNB8jrvN dRMupExL5x00bWngm/K0KXgnapcOAOf0ivXri6tlEe8vI13gzWqyqTkDyL/5vl2mn+X0 4Fa49ULCcKzUpf9mLLGRVnYhNrhpbtRBzaFt03XxfozPSzuxvOhAWibXwgaqtwDBJXH1 pu+ZgIKuILUOoWnJdXaEzwhznBV5gHgj0g+emWnFPFO+mIEQr3+nMCPy342hu/c5r2j1 TpXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=S4IVbE7LzJfQ0v8UqgW0RPFmuPLfdoUzAgSWkg+Ttc8=; b=SilkXR/dBnfHd8CSAsLfzxYG+WEUx3X1KVGTozMLUQeJo7MwApTtrbuvKAsG1ZIpWk osCMeGVe+NL7jc45aG/sVKx1f7NByq7HFhEfni8SmEQfFeOSp9vCL4UrKFnZqAWzJILK 5D1tL+N6qELlCLyVq8jCcZDeMhRCeUuXARQV+w+Kh4oefKLhe23AWdOokbQptDbqWHWs 5URqBOxzq3IvQ+T4c1eGkubl//7WYuBmyS1oCdf+KODZ2f2RjET3kxPVcGhmWBOyonua 0U6xef3SGadI1mWEQgxRmskLWUfS2f9LvSLXwiQMcDmiG1uVDUOpuAi97wcA4XVdETME YdoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x31si22070990ede.198.2021.01.04.02.43.42; Mon, 04 Jan 2021 02:44:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726687AbhADKm2 (ORCPT + 99 others); Mon, 4 Jan 2021 05:42:28 -0500 Received: from mail-ot1-f46.google.com ([209.85.210.46]:43825 "EHLO mail-ot1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbhADKm2 (ORCPT ); Mon, 4 Jan 2021 05:42:28 -0500 Received: by mail-ot1-f46.google.com with SMTP id q25so25563716otn.10; Mon, 04 Jan 2021 02:42:12 -0800 (PST) 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=S4IVbE7LzJfQ0v8UqgW0RPFmuPLfdoUzAgSWkg+Ttc8=; b=Udy122TOZsFa9aMxoS0cL6qJe/LofBB9z9trxJNRsd5TjlXzQQtwwL1n+BQFb1+Riy k4Y4Plb2YZ4THD7u/0wP9WSIBiwU+M60hjAAvC8+Lsi7f1000LzG1w+CBshtxjqOgaVe rCdgzWSDE55yycLQ+nfnF68Qs5r6Lsvv7DOBgfxCHsLJDwzwqCEk5ZCWFAgwMvGv2K97 ZSBkiuHag9ftj1BSmB0lEhbbDD0LPw/p7sqW+NOyN8zealQ7y84e5CM384lHeOsCg5qn hv9+C53OO8QKEjKS5ViFJuXm9bdB/XxPubtxljmJf3ckhNeXpCGUkRJHCDh3zYnfUCHt kSyw== X-Gm-Message-State: AOAM5322hQv4PeabErA6jNdGRCcw6jiUH/YJBlk5LI2ibMsngkn0kY7U PP49m8ge+oCLjWrQw6kEKd5Eco+dr5gqCT9nmg4= X-Received: by 2002:a05:6830:210a:: with SMTP id i10mr52172686otc.145.1609756907197; Mon, 04 Jan 2021 02:41:47 -0800 (PST) MIME-Version: 1.0 References: <20201228213121.2331449-1-aford173@gmail.com> <20201228213121.2331449-4-aford173@gmail.com> In-Reply-To: <20201228213121.2331449-4-aford173@gmail.com> From: Geert Uytterhoeven Date: Mon, 4 Jan 2021 11:41:36 +0100 Message-ID: Subject: Re: [PATCH 4/4] net: ethernet: ravb: Name the AVB functional clock fck To: Adam Ford Cc: Linux-Renesas , Adam Ford-BE , Sergei Shtylyov , "David S. Miller" , Jakub Kicinski , Rob Herring , Magnus Damm , netdev , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Adam, On Mon, Dec 28, 2020 at 10:32 PM Adam Ford wrote: > The bindings have been updated to support two clocks, but the > original clock now requires the name fck to distinguish it > from the other. > > Signed-off-by: Adam Ford Thanks for your patch! > --- a/drivers/net/ethernet/renesas/ravb_main.c > +++ b/drivers/net/ethernet/renesas/ravb_main.c > @@ -2142,7 +2142,7 @@ static int ravb_probe(struct platform_device *pdev) > > priv->chip_id = chip_id; > > - priv->clk = devm_clk_get(&pdev->dev, NULL); > + priv->clk = devm_clk_get(&pdev->dev, "fck"); This change is not backwards compatible, as existing DTB files do not have the "fck" clock. So the driver has to keep on assuming the first clock is the functional clock, and this patch is thus not needed nor desired. > if (IS_ERR(priv->clk)) { > error = PTR_ERR(priv->clk); > goto out_release; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds