Received: by 10.223.176.46 with SMTP id f43csp214366wra; Tue, 23 Jan 2018 19:27:24 -0800 (PST) X-Google-Smtp-Source: AH8x227kPpn04JY5zT0+aQ/EQKmmqYzn71bXRCC0bmK73Bw22FE7PNP2EQ2SOkkuiNoQ1NTJ0HbJ X-Received: by 10.98.153.2 with SMTP id d2mr11919164pfe.44.1516764444393; Tue, 23 Jan 2018 19:27:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516764444; cv=none; d=google.com; s=arc-20160816; b=UCcfzXG5600iTlhAnaHRkzZJed3L15AS11ZdSTh9ip9N1aFWF+Pbu4IbwL7VPpGnlo Q2Z1iF0AbE+BgmAVDUiRlNxKvHaIsQD4DZCF+J469Gig/eHIxysBZcaK2QLQd6Zo4/1F GWIauLY3eWaSHzhdAbr5YeFyYKCWrWsXmkHt6evm0ZrJwDjumOfish7Mw8vTg3zd4/sP nH+EBRHU82X2WZ9eyLppb0lXc15PH1jSOCzJHcJYTdROb9gUU0ooc/pl0LP3tldXgG3i bVM6zN75YNMsFBILr4FDkuO83tim/ma31Jsp5o7Q+Gw7kKu7zSee/nfZU0NClUiwBlyY F2AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=6vg9ONeKlRvQUT8MwGqWqAYqYkIYFUxm6PbwdZ6nb34=; b=Oq9MS6bHlkb9+kV8JP9ClE9OeScDAHRx+J3P+hI4FtNngccaeCkQE2siPg4hN1Mw5m RW/jurndBzGEPTbP3hsJJCJBzYK1yeYbm3BYJVQ9x6QAJUFczIxoRGzWFFAUXHnYZiOJ 6g+iXV1fmZ+KpdGGXQd1SulH8/1sX7GdKLHMHIkm3gFr1otI94bXpIk15/sxhxLYwJDZ rlhtYxcrokq2ekdjo9JRvOkXt1AVe5zxlHauKdl/QIYX6CQTT3M8aF5XjE877Cj1wYXq ii4yQzGY6AA/r5XEYnokCoypEiKv8yizXQzJDQsolMLaaQdc+hUPOw6BVxM33pGZNt9p IRkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=BQc0J1Py; 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 e63si2146018pfm.297.2018.01.23.19.27.10; Tue, 23 Jan 2018 19:27:24 -0800 (PST) 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=fail header.i=@lechnology.com header.s=default header.b=BQc0J1Py; 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 S1752429AbeAXD0v (ORCPT + 99 others); Tue, 23 Jan 2018 22:26:51 -0500 Received: from vern.gendns.com ([206.190.152.46]:54033 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752009AbeAXD0t (ORCPT ); Tue, 23 Jan 2018 22:26:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6vg9ONeKlRvQUT8MwGqWqAYqYkIYFUxm6PbwdZ6nb34=; b=BQc0J1PyQKnjlUePi+hodRpOJp 4aQ45pxFm7PSAfM/ms5ro51UF82sf7yo9HxsML7bnh5Sz9upwMMKiv5fUnBDRi68cyfyNE6z2wF+s 5i3hVQqKpIJ2vfUNXJhFGYYmrdmESyUhMk7e8E1KkzRGrDuqx+JRNYe0Q+SvNPT+d/YfakW99aFVu j2awAeuFn15F9op68e84Z2zvFtCndkXBEuBegVtovgZ28FqYKtbNTPQJutPHoYOuxgni/bGU5E7AP jH6afH2gTKNOmpM4125bxjbFWWanGz1qZmcR/kL8N21nNQ6zK0odNYgvJEK3Kld30q1DFpAFxN+r1 JtOq3OuQ==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:44808 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1eeBhP-000nfj-5N; Tue, 23 Jan 2018 22:26:07 -0500 Subject: Re: [PATCH v6 40/41] ARM: da8xx-dt: switch to device tree clocks To: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Sekhar Nori , Kevin Hilman , Bartosz Golaszewski , Adam Ford , linux-kernel@vger.kernel.org References: <1516468460-4908-1-git-send-email-david@lechnology.com> <1516468460-4908-41-git-send-email-david@lechnology.com> From: David Lechner Message-ID: <335d92c8-1af2-da64-e366-95d7513ad69d@lechnology.com> Date: Tue, 23 Jan 2018 21:26:40 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1516468460-4908-41-git-send-email-david@lechnology.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/20/2018 11:14 AM, David Lechner wrote: > This removes all of the clock init code from da8xx-dt.c. This includes > all of the OF_DEV_AUXDATA that was just used for looking up clocks. > > Signed-off-by: David Lechner > --- > > v6 changes: > - removed misleading statement from commit message > > arch/arm/mach-davinci/da8xx-dt.c | 61 +--------------------------------------- > 1 file changed, 1 insertion(+), 60 deletions(-) > > diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c > static void __init da850_init_machine(void) > { > - /* All existing boards use 100MHz SATA refclkpn */ > - static const unsigned long sata_refclkpn = 100 * 1000 * 1000; > - > - int ret; > - > - ret = da8xx_register_usb20_phy_clk(false); > - if (ret) > - pr_warn("%s: registering USB 2.0 PHY clock failed: %d", > - __func__, ret); > - ret = da8xx_register_usb11_phy_clk(false); > - if (ret) > - pr_warn("%s: registering USB 1.1 PHY clock failed: %d", > - __func__, ret); > - > - ret = da850_register_sata_refclk(sata_refclkpn); > - if (ret) > - pr_warn("%s: registering SATA REFCLK failed: %d", > - __func__, ret); > - > - of_platform_default_populate(NULL, da850_auxdata_lookup, NULL); > + of_platform_default_populate(NULL, NULL, NULL); of_platform_default_populate() can actually be removed completely. of_platform_default_populate_init() is called implicitly during arch_initcall_sync > davinci_pm_init(); > pdata_quirks_init(); > }