Received: by 10.223.176.5 with SMTP id f5csp2648805wra; Mon, 5 Feb 2018 07:36:28 -0800 (PST) X-Google-Smtp-Source: AH8x226M1Ixt5a0sVDsgyMGWvaqKHLxfT0IaTL0/3QbpL+UszvesM+QLAsH+x/Vnc9ZbGwcx2xCm X-Received: by 10.98.248.1 with SMTP id d1mr49250642pfh.222.1517844987951; Mon, 05 Feb 2018 07:36:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517844987; cv=none; d=google.com; s=arc-20160816; b=tq0qgKLwkRJgL7cNFr1YAYppbkL+IazMgqaAm4QwRK0QaHeOqrdcvJ5EjdBJaYNXy/ HVpT/YLpKV1KZrihGvLItylv+yVOXCWmhQu/gnVqVZoGEDCEh3cNWydCgrkkMiIwPlAZ wg/xc6gK3QoGHhB/C5nK6lBNTefwJ5HcYCRZ99/+fuU7u+S0rrZlPO9XhKw9ryPPHZ6P asPhzFHDQNhf4yo1TK290Wxx/oHk0gCP1KC7ErXLOgT/nQmMDyNPBFf03DxjjGCkTFNe XstXTeB+awHlrJ7zMnQxgTh5Z4SY/WBUJ54lZF9IgHSr3n5Mboqds+Zm3QVn7LMIfDT/ HNXQ== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=5+Q6I+rEAqHQ7d/hmc1lAj/FDZWOJ0/yI/38R7EqlAQ=; b=tJ163HcDX2M2Ewcj2p/h3rxSaiXscrlb/MAYA9Q0qyh8iEOj21RopQ0CLMuNmmn+K8 b1nVCoxQFUZp55PqxUcUBDX/Qlm9mzqpwrCtYDgi2Ccmat4Tkqhi8857GyWT+Rw3Pctv MtOf4hiurA2xRqMhmliZFkxI1qtv8Fr2h1VZHa71i6jEnfod3mSAsd+ikPqd4kHq3urn XpqBDbk83r1+NZxXpBg709G6r+v61QItppwKOXO3azHXojt7bj6KWedgGp0tJ8DUxfVR fFN5Wp6v39N/lmErG4VsZy/jr2jZsCn4pYNuKMnFEHV46bMFYRbjDSIEF+DxJlbkZsDF uKaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=kxuR/4Dx; 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 v18si2798747pfe.378.2018.02.05.07.36.13; Mon, 05 Feb 2018 07:36:27 -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=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=kxuR/4Dx; 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 S1753254AbeBEPdl (ORCPT + 99 others); Mon, 5 Feb 2018 10:33:41 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:40741 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752925AbeBEPdf (ORCPT ); Mon, 5 Feb 2018 10:33:35 -0500 Received: by mail-oi0-f68.google.com with SMTP id 8so10225304oix.7 for ; Mon, 05 Feb 2018 07:33:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5+Q6I+rEAqHQ7d/hmc1lAj/FDZWOJ0/yI/38R7EqlAQ=; b=kxuR/4DxWRo5DXRZQq7S0nu+aXrP5FG6u0Im9U3Jzq8zzBrIdl9dV33lRARlFrFUNY +n/iNNEo+T5p8q9faFPzQX33XRgjI8+4SMX3YhiB9C/GjftH5P7RRjddDo3GfRvEdAr4 QK8VijkU/rQPT46nJZ/kXHmQDjVxT0DNSgmDBofgMUwxowij6p2q3re2nrLv/lo7caq+ lFBNGeWc1AXMmvWhQGtlcUOV7RffFVF+pQD6Ndpatn1ctR8lbF6vcHJiBcizSALtKL6r I6JL2jMGi5gITVVTWe1qkAG0rBor8i9+Yzaxe3iotMVk07zYFXwAUshiwQDskYS4xElu Z34Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5+Q6I+rEAqHQ7d/hmc1lAj/FDZWOJ0/yI/38R7EqlAQ=; b=nD4u34TC68cELJwWffNFiVMMX4yZqfCQDBc7iJy+xidSF93lxG2be5WhQD0wEnO/co +MZRHR5qxeROSZbrhk6KzZ1PycCSpf45HSbNP5oiTT1ONtFb5JArxY4/EFgM51qMgBP1 LBBlWQWg1JwhvYJKMGQRoqWrUpPonItT13FWaDGfaTRDeKm1n+VPGhjXtDjZGKFzO3+o Gj7ZSbKsBoLpU0t1YtXn5wBocaY7UweAI64d63mbsJ10btxG/KIJuxL7rfn7Ul0B7HFK 7DGZCBCUR/Z8F6wKCCRfBC0fkK33Yl3HoJr8oSC8InJ4RnqZ8ATMSh8Ic8CkeYIA/5i9 ca6A== X-Gm-Message-State: AKwxytcs/ScbH8k5RL+HaPT1cUiF0BhiXebYz6RVnF3yJoxX5c3A1smB nCFIo79KGvkpArqTzs3F6HlUBIAf/akrj7p87QOLcw== X-Received: by 10.202.245.141 with SMTP id t135mr33081293oih.163.1517844814476; Mon, 05 Feb 2018 07:33:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.42.71 with HTTP; Mon, 5 Feb 2018 07:33:34 -0800 (PST) In-Reply-To: References: <1516468460-4908-1-git-send-email-david@lechnology.com> <1516468460-4908-41-git-send-email-david@lechnology.com> <335d92c8-1af2-da64-e366-95d7513ad69d@lechnology.com> From: Bartosz Golaszewski Date: Mon, 5 Feb 2018 16:33:34 +0100 Message-ID: Subject: Re: [PATCH v6 40/41] ARM: da8xx-dt: switch to device tree clocks To: David Lechner Cc: linux-clk@vger.kernel.org, devicetree , Linux ARM , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Sekhar Nori , Kevin Hilman , Bartosz Golaszewski , Adam Ford , Linux Kernel Mailing List 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 2018-02-05 15:04 GMT+01:00 Bartosz Golaszewski : > 2018-01-24 4:26 GMT+01:00 David Lechner : >> 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(); >>> } > > Hi David, > > this patch breaks nand on da850-lcdk (and probably on da850-evm) since > the nand driver can no longer clk_get() the nand clock. We would need > to keep the dev_auxdata at least for aemif. > > Thanks, > Bartosz Actually scratch that last e-mail, I missed the fact that the nand node is only there in the board dts files. I've just sent you a patch that enables nand on da850-lcdk. Please include it in your series. I'll do the same for evm shortly. Thanks, Bartosz