Received: by 10.192.165.148 with SMTP id m20csp1841289imm; Thu, 3 May 2018 06:20:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqj4FKmw7t15dTBv2oWRw+8PvGb35FgRUvd8kcJUuodWHWd+RQSyuvM7Gx7jLeR/tY0NikI X-Received: by 2002:a17:902:5a5:: with SMTP id f34-v6mr23672597plf.288.1525353614429; Thu, 03 May 2018 06:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525353614; cv=none; d=google.com; s=arc-20160816; b=NgIRsMCIUm+S08iqbq780uSoWWXRon6U+WOeywYORPX+NxnzegWcQ2DixD0qdo+lDo Mzzvr6olbppAYiAViUr9cBvaWAIWVBiDS+W0KZS8e4sMlJ2Bqi+7d6fXTawt8a6p3TWq edWTYXJVNELD6vx1/w0C9jPtC+LKvbbRPIfv1/08YdDDj0RnfAPSxec5PR6+xLWL3kB1 Xy8vJ4r1A67svI9OmNI6ctxdeeog+MyX2z2TbUmKjOVyVGQw3x3FDtwlyIAS9iEhZPD4 qNJ7YVzsIsTjjOsHXhjahHUe3wXQVlIVLhlpzUVIq9NisQ/PO5VO560TL2O1pKChOyLi e8qQ== 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=0euZMCoEpPGlr1XcQPL3t7flM/QCAB9IGnRrpLvEkVs=; b=kyG78GpCxb723T2/0ElSXxJgRnURpjmB6LSlb8yT+lHusjpXiajsmhropBZ7OZiOjA gpka5I/jzXxMC82di/9lCnsSUWP5zD4QAQsSDa+0InsviizmJ6WZNp09k5CVJaHA+Clv kwyDYN28HmaZR+nUtcskZmqzzwU9MQuiLYmazgWyi1U2kgVppZc+EWIOwAz9bvmNcC2T rQxixofM0HLsDDYZx4vSPs0R5dZFcrqE0ziGuFZ4AiDgtwhEUN9sA3v9XgyBPLyX+1/C jjEm+T0ngvNKI9Rzp+e34h+AdaQTZH1WGZJIZ9M9ipV7R3gi2Ng5WJWPByIbPs+IF7BP nhrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BtZnh32a; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q3si14350530pfg.298.2018.05.03.06.20.00; Thu, 03 May 2018 06:20:14 -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=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BtZnh32a; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751055AbeECNTo (ORCPT + 99 others); Thu, 3 May 2018 09:19:44 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:9646 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750978AbeECNTl (ORCPT ); Thu, 3 May 2018 09:19:41 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w43DIWVt011652; Thu, 3 May 2018 08:18:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1525353512; bh=0euZMCoEpPGlr1XcQPL3t7flM/QCAB9IGnRrpLvEkVs=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=BtZnh32aey9SFl3qsnUyyBkIESUPxlRCVdlwFgfjtpT1JBYmVU9QX8T6jUeMhG3xf pcB9hFdLWz7qNSi8LR9XlZdl1vsdQr5Orha5mVucb5z8lKTWTWoqgCYSe6f62veeqD rn3Y+lSwCfQCzquXfz7+AVXa7ga5OYMX+4nHQITY= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w43DIVP4014381; Thu, 3 May 2018 08:18:31 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 3 May 2018 08:18:31 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 3 May 2018 08:18:31 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w43DILM5013705; Thu, 3 May 2018 08:18:22 -0500 Subject: Re: [PATCH v9 09/27] ARM: davinci: dm644x: add new clock init using common clock framework To: David Lechner , , , CC: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Kevin Hilman , Bartosz Golaszewski , Adam Ford , References: <20180427001745.4116-1-david@lechnology.com> <20180427001745.4116-10-david@lechnology.com> From: Sekhar Nori Message-ID: Date: Thu, 3 May 2018 18:48:20 +0530 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: <20180427001745.4116-10-david@lechnology.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 27 April 2018 05:47 AM, David Lechner wrote: > void __init dm644x_init_time(void) > { > +#ifdef CONFIG_COMMON_CLK > + void __iomem *pll1, *psc; > + struct clk *clk; > + > + clk_register_fixed_rate(NULL, "ref_clk", NULL, 0, DM644X_REF_FREQ); > + > + pll1 = ioremap(DAVINCI_PLL1_BASE, SZ_1K); > + dm355_pll1_init(NULL, pll1, NULL); This should be dm644x_*() > + > + psc = ioremap(DAVINCI_PWR_SLEEP_CNTRL_BASE, SZ_4K); > + dm355_psc_init(NULL, psc); This one should be dm644x_*() With those fixes, I was able to bootup on DM644x EVM and a visual inspection of clock debug dump shows it remains same before and after the conversion. Thanks, Sekhar