Received: by 10.223.176.5 with SMTP id f5csp2499439wra; Thu, 1 Feb 2018 01:19:27 -0800 (PST) X-Google-Smtp-Source: AH8x225EjZLGP1yVseABpJV1PCPiIy0ZNtVdOR2lsMivtFjMEGTRq2drH50LdhGcpT1fJPBqwza6 X-Received: by 10.98.97.4 with SMTP id v4mr25984880pfb.160.1517476766932; Thu, 01 Feb 2018 01:19:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517476766; cv=none; d=google.com; s=arc-20160816; b=EoCNWHdlILZRJp/b5Bbgpf6YH0KcpFTVtRb5brUOuFHtNU42/7cDou86OrQ0pN9luf H4d6+E3nI9NZmVoskGJimmj9vGEyd1oGK5KvSnFBbSA0Lx6HpeJsikbCUgEKcIbmJv60 9W9qH5CtAL04+u26bis8sHSrLSI3xCdHIudBwq78vxz6/lL0bSIR/VcR0fM7sbxluoAG 3tepO/N5WvNKusA/S1fCVViR8cFQAmw781B5MzLo11fU96OFp5HPlFH814leRUizLOEV 2T/WJWYrngLZep0hW6cstampLDl4E14ONykAUqfLLvCvcevG66zOJu4zD0vjeT+6RNJ+ wRXA== 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=A5gSDSX2Ea6hl3JmMC4qwddoq9rRnVolLLm7ZOwGCE0=; b=0AJWxTxzNK+H+WYFyYphuSEWqLI4LIwCFEOcy16F+XVWz5HmyOeA8wjhK66W1WFdB/ XW+ZtLo2lCdxUFBR48nZy6yTPN4j8XQMcDyqBWt4XDervwqRx4f0tmT5y94s+gG8P+X4 Ye11IQrnbtS0IdKV//m41K2wYCRMF7dKT3A4UFW4xzhCeWQFbd94AX0QKuoSTZZMvJTf jJUMdNzl/Ftagsd9/hzlj5stP2uo5SxCa4fIw7ioM4K0tqZMw6jDHGKsSFZVpzTkWz17 bjRHGDgkWqkMxR64S5gj6NoUhjvPblbHXEEhcdkXuNA4uzb7IlqHeevTeGCKgV4Kc3qB 3NZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Q+WS+LrJ; 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 p13-v6si3174658pll.84.2018.02.01.01.19.10; Thu, 01 Feb 2018 01:19:26 -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=Q+WS+LrJ; 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 S1751908AbeBAJSr (ORCPT + 99 others); Thu, 1 Feb 2018 04:18:47 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:19008 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751761AbeBAJSo (ORCPT ); Thu, 1 Feb 2018 04:18:44 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w119HbAY032565; Thu, 1 Feb 2018 03:17:37 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1517476657; bh=dniVk4c5FOEDqRO1HALzJkGOIVgQvmVs83mnznPnDhk=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=Q+WS+LrJHcaXWOjjTgtJxWZjre/5iK47syKStuj+ZwT1wjZhY1X5VuN+p+3I/4VYJ 0LWUlTaLHP8d6kYDOETkuV8H9Epos6ZyEsj2sc02PriNSFpIkgLEkXi6A9+gjOYWSo ylzxRsm+a4sLDhQgdu2OSJQ3Sv6mQ4Ll9CYvepUg= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w119HbmA019436; Thu, 1 Feb 2018 03:17:37 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE109.ent.ti.com (10.64.6.30) 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:17:37 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE112.ent.ti.com (10.64.6.33) 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:17:37 -0600 Received: from [172.24.190.171] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w119HWYM010697; Thu, 1 Feb 2018 03:17:34 -0600 Subject: Re: [PATCH v6 05/41] clk: davinci: Add platform information for TI DM355 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-6-git-send-email-david@lechnology.com> From: Sekhar Nori Message-ID: <53126e1f-cd75-ea19-ed72-8956adaa1547@ti.com> Date: Thu, 1 Feb 2018 14:47:31 +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-6-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 dm355_pll_clk_init(void __iomem *pll1, void __iomem *pll2) > +{ > + const struct davinci_pll_sysclk_info *info; > + > + davinci_pll_clk_register(&dm355_pll1_info, "ref_clk", pll1); > + > + for (info = dm355_pll1_sysclk_info; info->name; info++) > + davinci_pll_sysclk_register(info, pll1); > + > + davinci_pll_auxclk_register("pll1_auxclk", pll1); > + > + davinci_pll_sysclkbp_clk_register("pll1_sysclkbp", pll1); > + > + davinci_pll_clk_register(&dm355_pll2_info, "oscin", pll2); Even on DM355, both PLLs accept reference clock from the same input. So this can be "ref_clk" as well. Rest of it looks good to me (and thanks for looking up the data manual for accurate PLLM max and min settings). Regards, Sekhar