Received: by 10.223.176.5 with SMTP id f5csp2508166wra; Thu, 1 Feb 2018 01:29:50 -0800 (PST) X-Google-Smtp-Source: AH8x225LFFd4fycuohWA3kBhJV/DgfV3mmp+Z2cyGBgUw1ovu+0+zwUG17h246htAuL4MhOLCqXL X-Received: by 10.99.127.79 with SMTP id p15mr28437428pgn.140.1517477390128; Thu, 01 Feb 2018 01:29:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517477390; cv=none; d=google.com; s=arc-20160816; b=Nmsl0Hse3a9tKnhPkRF3VaPxS9GbLagvXTx9glwvBswfro2nOo8c8gK7czQALFfvYf 9PNOiRpqjPjPJ5OzrvVrp+q3yubYoColG4emhvxngPlDOWgPMGZcJRRAj+wpXEpDAIDU smBvfS5OrQK7Z+h5Vsz6a/0Q9uV9tbGjGFO+T96KbF+U5wBqStW0ax5xUDNRds/OQa+0 p1fWDn/bP8gU+GeK9v/MSRty+3GRSC5Z65/lQZjlhFlwQuWCm33bHNj/9EoajKD964dv Y4TcWY9ORYh03bSyCS8lG13AE+vpS69T2d2n5+PFKpPItsTFogCJPxaMTMb8NKKB4Hon O2FA== 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=R60ztzAnJApfNUQhI+bIQq0NPgvxZ8rbeWNEVwGh8lA=; b=Y8m+4nMjZLyL9k1g7Gad70RbytyQ3M6bXqhjL37vREvbAu8QpRqfNrn7vWr2AYjgY0 l4cgBDtXVxooOwoo5BJBq0rAH7XWn/D5LIKQC0M6TpfeT/L862ImK3fBJ1ziUavcM/lI FCJT5KfNA81Sk4wMR9W5759kWdmdalY0QD9G7dlawkiTLxs2Pby6ydhvmLNALF3cJSq3 gKw37XZO/BpP76r1tEp2kHbKsh7H9MCXg6vk3AXEWhFGPHcHlycoIr31FyuZTNFWtFIL WZgAdgCg85oR9zd9eCnqN5Y/nmoI6svKBVjG40B70PLTyTzkuI2YsT9Q8YSMRG0GrtKk jaBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Wnt81eOB; 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 p17si1147490pgq.161.2018.02.01.01.29.35; Thu, 01 Feb 2018 01:29:50 -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=@ti.com header.s=ti-com-17Q1 header.b=Wnt81eOB; 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 S1751986AbeBAJ3L (ORCPT + 99 others); Thu, 1 Feb 2018 04:29:11 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:24022 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751628AbeBAJ3K (ORCPT ); Thu, 1 Feb 2018 04:29:10 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w119S7Ri017016; Thu, 1 Feb 2018 03:28:07 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1517477287; bh=vKlFtXsj/twdu/FLXtSU4mMgNpK6rpk5W3IAHiTbi0I=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Wnt81eOBMB3rmsUOtLSIr+n+GJXQ4D9JClKukYi8BSle12bT5IVJUmiSmAvM8BQ1D LY4MOdu6j5SKS2/oDUNTxX4+AOJZWSxtOtRtvmoEsTWrHrSCcMzXjeVXjs18+JJzH7 7PYuplLR9RiAD/A+kfl3IsjqRkEQ3ju6d7CCCQnA= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w119S7tv003698; Thu, 1 Feb 2018 03:28:07 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Thu, 1 Feb 2018 03:28:06 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Thu, 1 Feb 2018 03:28:06 -0600 Received: from [172.24.190.171] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w119S2FD000981; Thu, 1 Feb 2018 03:28:02 -0600 Subject: Re: [PATCH v6 06/41] clk: davinci: Add platform information for TI DM365 PLL To: David Lechner , , , CC: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Kevin Hilman , Bartosz Golaszewski , Adam Ford , References: <1516468460-4908-1-git-send-email-david@lechnology.com> <1516468460-4908-7-git-send-email-david@lechnology.com> From: Sekhar Nori Message-ID: Date: Thu, 1 Feb 2018 14:58:01 +0530 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-7-git-send-email-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 Saturday 20 January 2018 10:43 PM, David Lechner wrote: > + > +void __init dm365_pll_clk_init(void __iomem *pll1, void __iomem *pll2) > +{ > + const struct davinci_pll_sysclk_info *info; > + > + davinci_pll_clk_register(&dm365_pll1_info, "ref_clk", pll1); > + > + davinci_pll_auxclk_register("pll1_auxclk", pll1); > + > + davinci_pll_sysclkbp_clk_register("pll1_sysclkbp", pll1); > + > + davinci_pll_obsclk_register(&dm365_pll1_obsclk_info, pll1); > + > + for (info = dm365_pll1_sysclk_info; info->name; info++) > + davinci_pll_sysclk_register(info, pll1); > + > + davinci_pll_clk_register(&dm365_pll2_info, "oscin", pll2); As pointed out in other patches, I think we can remove "oscin" here and also get rid of clk_register_fixed_factor() for oscin in davinci_pll_clk_register(). Rest of the patch looks good to me. Thanks, Sekhar