Received: by 10.213.65.68 with SMTP id h4csp31723imn; Mon, 19 Mar 2018 18:33:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELuxOMdExrCf0T0Y+1ZZ8REaPG6UBLWavWrxFC/S6CJbT4HUj9O2JKNHqI2HuIKthw5jrwcH X-Received: by 10.99.50.66 with SMTP id y63mr10896292pgy.207.1521509589423; Mon, 19 Mar 2018 18:33:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521509589; cv=none; d=google.com; s=arc-20160816; b=lOis2IZPERiBbbHS0RcoIRXnPsXjtNcehIwA6vY9gykKGFPlrfaSseuJXCYd6PmtZ/ lhU8r84pFpWkPvBNKr/0q+LClIGfVNmmSbZ4HeC//lYaXaajPVwNSso5ANXdgc+kEpl/ Le9bOZ6lXV2sGXEUWlw1xdDQmx4oAbuno8jTIULhVRRyD6uyMuIM9PXnw3RmT8wPTcaT F4b7bjGFtHp3LzbpGuprq/jbsONubgvCSCsE1EBpMevU5QGCGHkE0nldX64HK1zyeq0x 7oKyWosffGEpGtvMfvdVwQlsXMPE5a4zKkaV1UTr9/DbUWbajhsqDMEwiCmA0QT/BbQC zhTA== 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=y8B3R8r9ogjx+DcseYKgjmZfzcnwjR5p+EFM+qtXRms=; b=cjUCzXq20dLgHYO0rIsPE7dhP2r0MCTvUHI+GS5scJ31+ON9x7maQMXM4f0+kM7sz0 v4Ma10JwntWewOTKlZeP+Q8xd3obYisC5mgB/TfqqNKsjamgVoBmMYewElix+lozizR2 C2mAbF9KF+s5KvDuWhl9+Sos9+k16/McrhfCRJiG6LQYH9LSUre2NarYBiVixTs6VKJj M+aAJ68mQRfJCAf8qxSnLWCKGrmeUZqcd2O7DQarVCWobqsw/1pItJY4uN26JTJckCYK mmCouYQFQFlOe+A+8umHSz8E4hOatO42nMKMCC/3ezPHR3LPpAngbhA2wagjEfAGYbKR KoYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=m/YFEqeb; 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 g1si389975pgo.257.2018.03.19.18.32.55; Mon, 19 Mar 2018 18:33:09 -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=fail header.i=@lechnology.com header.s=default header.b=m/YFEqeb; 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 S934844AbeCSQAY (ORCPT + 99 others); Mon, 19 Mar 2018 12:00:24 -0400 Received: from vern.gendns.com ([206.190.152.46]:39518 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934790AbeCSP7q (ORCPT ); Mon, 19 Mar 2018 11:59:46 -0400 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=y8B3R8r9ogjx+DcseYKgjmZfzcnwjR5p+EFM+qtXRms=; b=m/YFEqebk7GlX+TaBUZrDpWudC I/51kBtta30kWDrrALSrhWcBxMU/qKaRwrF7C0P5BcYXhFv8QscHVs/w0KBXSeLVR8+cJ/+E4T3mv uUoP+zUQ30C8H/K8YqtbdLVbTtpsiszbGUSIeTvJ8Sj4BMx4ARybjyWsTLOoxowi3hSXEB3wZodI5 Mnw7HxOr40Z87r8LDRrPl7BMQJBpLh1WESMnyaGak/22K8PE0UU3PfqVe/UIpRWCi4ddj6mGwCO6O POEjPgnfb/sAuq7Z6hYqjP3euP2HbSNahkSucWcc4KmJUJycwDXCIEDrEsF+RjjVcNE/CaeZP/ZZP X5U8M/lA==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:38162 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 1exxAJ-002jqp-O3; Mon, 19 Mar 2018 11:57:40 -0400 Subject: =?UTF-8?Q?Re:_[PATCH_v8_00/42]_ARM:_davinci:_convert_to_common_cloc?= =?UTF-8?Q?k_framework=e2=80=8b?= To: Bartosz Golaszewski Cc: linux-clk@vger.kernel.org, linux-devicetree , arm-soc , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Sekhar Nori , Kevin Hilman , Adam Ford , LKML References: <1521168778-27236-1-git-send-email-david@lechnology.com> From: David Lechner Message-ID: Date: Mon, 19 Mar 2018 10:59:47 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: 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 03/19/2018 08:17 AM, Bartosz Golaszewski wrote: > 2018-03-16 3:52 GMT+01:00 David Lechner : >> This series converts mach-davinci to use the common clock framework. >> >> The series works like this, the first 19 patches create new clock drivers >> using the common clock framework. There are basically 3 groups of clocks - >> PLL, PSC and CFGCHIP (syscon). There are six different SoCs that each have >> unique init data, which is the reason for so many patches. >> >> Then, starting with "ARM: davinci: pass clock as parameter to >> davinci_timer_init()", we get the mach code ready for the switch by adding the >> code needed for the new clock drivers and adding #ifndef CONFIG_COMMON_CLK >> around the legacy clocks so that we can switch easily between the old and the >> new. >> >> "ARM: davinci: switch to common clock framework" actually flips the switch >> to start using the new clock drivers. Then the next 8 patches remove all >> of the old clock code. >> >> The final three patches add device tree clock support to the one SoC that >> supports it. >> >> This series has been tested on LEGO MINDSTORMS EV3 (device tree) and TI >> OMAP-L138 LCDK (both device tree and legacy board file). >> > > Hi David, > > thanks, with the u-boot fix everything seems to work fine. I tested > da850-lcdk and da850-evm boards in DT and board file modes. > > I'll be working with this series in the following days and will do > some thorough testing and rebase my aemif series on top of it. I'll > also use the recently merged reset support for board files to get rid > of the exported reset functions. > > Thanks for your work! > > Best regards, > Bartosz Golaszewski > Sounds like a good plan to me. FYI, I've started a common-clk-v9 branch on my GitHub already with a few minor fixes.