Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3722117imm; Sun, 13 May 2018 18:50:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoUurtLJzTDTlxd2MSh8tHDnpH6A+aXEz5Ydenygu/eGfKTKx1wzJDRGnhU09t7KNCV8cTD X-Received: by 2002:a62:5050:: with SMTP id e77-v6mr8418130pfb.16.1526262647659; Sun, 13 May 2018 18:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526262647; cv=none; d=google.com; s=arc-20160816; b=CmaRCFoas94K6/Bipo0hWtdxWF7X+p9sIlqU+//9xX+V1Hxbr4UK6ZcYKBr34HdcMa Ac+kOWXiFIQe4jN4lB9KzzKi6T2L7bFshdzD9Z3q9+MlZ4rdISulJU7k6EdTU7cKNROW 9sr9kV0cvgGYbaiB1CoxEB5XXClnuWjDEMuTcR2mTCiEviJBn1NnG7tFdDkAC/rPaVWx /dnlpjhTcAelAeAROtp7kpb2/QRvbVc1gTvcKZocgef6EQEbJq9eqlXgrZPEnVDAPhih Fl2BHs3zsPdL4Xj2YSkEbMzTeRY255cEF8tmwuI/D7r9iVlIqckOwrGRCjaDyzxfj6p/ jm/Q== 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=uFRlgdkuJwmAO/cpXOt5XewBoorYwbo7UC7I+fxDv/8=; b=WIQ4XFmF7UeHtTkL1nUBznDOh+p9jZktykFt7PHrr78raPNHVXWkeY30yWpiCMqk+w vvuKg8yIYgRxhpULfvRwBMO/nlsIVfPzYx6IvCtjv9Eg4RImOSkMyEnnFP/OL4/rDxau rqWnxQM5++4m/jveHPZJi4pxRo0+NxhIdhEJdL+wQV+8+C1O9TLDXp20rcq0HHczV4vJ VQtSPhrdCTJd3/0A38z+mP0dbGvZnToripGxWYrfJ4yAaGHSXSVi/kStzBUzuUOifT8D t1TJVhCcnNkkPgnZNMh4QAskKWuakx2BfJDLYoroclp9CofcmZUDJYv33n/hxvta4xSs 4STg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=n+H3rres; 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 g2-v6si7982871pfh.346.2018.05.13.18.50.19; Sun, 13 May 2018 18:50:47 -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=n+H3rres; 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 S1751927AbeENBuK (ORCPT + 99 others); Sun, 13 May 2018 21:50:10 -0400 Received: from vern.gendns.com ([206.190.152.46]:33771 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751207AbeENBuI (ORCPT ); Sun, 13 May 2018 21:50:08 -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=uFRlgdkuJwmAO/cpXOt5XewBoorYwbo7UC7I+fxDv/8=; b=n+H3rresY0vJu2mEyt1ql84y3N qOi/NIFz+l7dEJN19PrqqG2WED0SbpacUmG932S8D4S9PIhuLvdzTt8pdjj6GvacEggyThiGK8GhM 2644t4nX388TlLEkC9bW5u+fhpyMazIRv/rtZeAqwtlxpuVT9zv5Vq18FHi4Buug9UxeAQX6ru2Uh 4RF7INIs50OysfwB9GvRoy32SnwUK21MBWkcuF0XS4LKL/G5VN7VAS335rWUP/Cla/xqbWboSLPJx 6w00/hzJYhYzsHbO0se37B0rWNq06OC/ZwiOi7QEKRyEoF3cFXXlwJkh9dbUp8V3ojf32BonDPuBV 0cEtb7rA==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:49678 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 1fI2co-00DkFQ-Bu; Sun, 13 May 2018 21:50:06 -0400 Subject: =?UTF-8?Q?Re:_[PATCH_v10_00/27]_ARM:_davinci:_convert_to_common_clo?= =?UTF-8?B?Y2sgZnJhbWV3b3Jr4oCL?= To: Adam Ford Cc: linux-clk@vger.kernel.org, devicetree , arm-soc , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Sekhar Nori , Kevin Hilman , Bartosz Golaszewski , Linux Kernel Mailing List References: <20180509172606.29387-1-david@lechnology.com> From: David Lechner Message-ID: Date: Sun, 13 May 2018 20:50:04 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.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 05/13/2018 07:40 PM, Adam Ford wrote: > On Wed, May 9, 2018 at 12:25 PM, David Lechner wrote: >> This series converts mach-davinci to use the common clock framework. >> >> The series works like this, the first 3 patches fix some issues with the clock >> drivers that have already been accepted into the mainline kernel. >> >> 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 four patches add device tree clock support to the one SoC that >> supports it. >> >> This series has been tested on TI OMAP-L138 LCDK (both device tree and legacy >> board file). >> > > I am not sure if I did something wrong, but I attempted to build and I > wasn't able to boot the da850-evm.dtb your repo common-clk-v11, > however the legacy board file boot was OK. > > make davinci_all_defconfig ARCH=arm > make zImage modules da850-evm.dtb ARCH=arm CROSS_COMPILE=arm-linux- -j8 > > 3140416 bytes read in 1464 ms (2 MiB/s) > 20353 bytes read in 15 ms (1.3 MiB/s) > ## Flattened Device Tree blob at c0600000 > Booting using the fdt blob at 0xc0600000 > Loading Device Tree to c7e57000, end c7e5ef80 ... OK > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > > (and hang) > > If you have some suggestions, I am try them as I get time. > As with each revision of this series, I have included debugging tips in the cover letter, e.g. earlyprink and not disabling unused clocks.