Received: by 10.192.165.148 with SMTP id m20csp3207386imm; Mon, 7 May 2018 08:23:29 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoSATwxoxrI1HsPtWL6ntP1xUYGuS+RY9AW2kUKfDI+SXv3VQX/d1/q1WQ3ltv3eItcf/4O X-Received: by 2002:a6b:dc12:: with SMTP id s18-v6mr42498486ioc.203.1525706609127; Mon, 07 May 2018 08:23:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525706609; cv=none; d=google.com; s=arc-20160816; b=RoNe+kXLC4j6jS2ltcPmsm+Air23ELLigmoPkEf/jfdjY+D0HrG6RaCyJejyoCuvZ7 sqtJEq7fUJtwknIVkDrKpXaAvRTwVAx2Wc881iobwe8jQBCCA5l2i4SooTggga878qyB nW45iTv6PpE65LbNPp+/vgkmtveCJZ70UvmwysRCFyhPXdOsW8giwXw0agIYC2Tyn76+ rdw+w6mvMX2lOSrHLbM2goXhwf0nPH8cXRDQyV5uwx6XAA438AyLhk84hPhIPpnnsWmc Nnu/nRNlyp+lBXhrKgO4BgyuPMKCcmqs2lsciNTBK3Cp8gJI5uO5e7CpoiGAL3qgD/ij S2OA== 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=EaPJH5UelttKft5apsdwkD0DGAVTrpffkKfWntU4gC4=; b=TB5oWRP5Nt3hbZkEQTgIATBvP5/241SPr/1kshHRtXQLdRzBRXdSNWnI8/l0V7nZsS RnVQtR9BlwTEbpyHjEsfKhVjHiFfI72KPKlRTaKBZXHdPcdGHC0AATwvvYprgmazmZaf 2C2FgljVQLwDOOgZ+6l8xNXjWvuHhxHF9ByyvfbZgbT83m2V8P/rySlDtWPDVwOsKHJd AxB2gU6eXQWGeT/Gm7E6dbwpnSeGevvvuiJ222ueMGg6suZ80mc0Fyf/v399+c5EtCY2 86f5TsQIUctdD7XKBreHE8nxrSvzqUIshW3X+g351LMiVvm7W/qnOFDfKfGV4a6YtUiZ c+Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=K0XGYJ3a; 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 z184-v6si7205588itd.97.2018.05.07.08.23.16; Mon, 07 May 2018 08:23:29 -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=K0XGYJ3a; 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 S1752537AbeEGPWX (ORCPT + 99 others); Mon, 7 May 2018 11:22:23 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:11637 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbeEGPWW (ORCPT ); Mon, 7 May 2018 11:22:22 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w47FLJUE017217; Mon, 7 May 2018 10:21:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1525706479; bh=EaPJH5UelttKft5apsdwkD0DGAVTrpffkKfWntU4gC4=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=K0XGYJ3aHOYPtq6rcgVI1TUSwokWXah7BOtYV5hZW5UB5bH/mh8rbHsZ7mGs/U4LQ BBAlsJuocwJRaikI2EjOZHjFh+BoEHxG0IdYLFHw5X5QZHYtWNHcqokZhf9fgy8Vz1 STaZ0mkyT6jw5COoIgHOUMMQlwOUjsb/msXmgW4o= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w47FLJPF011898; Mon, 7 May 2018 10:21:19 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 7 May 2018 10:21:18 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 7 May 2018 10:21:18 -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 w47FLFfs022429; Mon, 7 May 2018 10:21:17 -0500 Subject: Re: [PATCH v2 1/2] clk: davinci: pll-dm355: fix SYSCLKn parent names To: David Lechner , , CC: Michael Turquette , Stephen Boyd , References: <20180507144307.32364-1-david@lechnology.com> From: Sekhar Nori Message-ID: <5805f462-0cb5-3024-f5af-941db8a46895@ti.com> Date: Mon, 7 May 2018 20:51:14 +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: <20180507144307.32364-1-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 Monday 07 May 2018 08:13 PM, David Lechner wrote: > This fixes the parent clock names of the SYSCLKn clocks for the DM355 > SoC in the TI DaVinici PLL clock driver. > > It appears that this name just didn't get updated to the correct name > like the other SoCs during the driver's development. > > Reported-by: Sekhar Nori > Signed-off-by: David Lechner > --- > > v2 changes: > - add second patch to fix additional problems with DM355 > > drivers/clk/davinci/pll-dm355.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/clk/davinci/pll-dm355.c b/drivers/clk/davinci/pll-dm355.c > index 5345f8286c50..1f746d2fc894 100644 > --- a/drivers/clk/davinci/pll-dm355.c > +++ b/drivers/clk/davinci/pll-dm355.c > @@ -22,10 +22,10 @@ static const struct davinci_pll_clk_info dm355_pll1_info = { > PLL_POSTDIV_ALWAYS_ENABLED | PLL_POSTDIV_FIXED_DIV, > }; > > -SYSCLK(1, pll1_sysclk1, pll1, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); > -SYSCLK(2, pll1_sysclk2, pll1, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); > -SYSCLK(3, pll1_sysclk3, pll1, 5, SYSCLK_ALWAYS_ENABLED); > -SYSCLK(4, pll1_sysclk4, pll1, 5, SYSCLK_ALWAYS_ENABLED); > +SYSCLK(1, pll1_sysclk1, pll1_pllen, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); > +SYSCLK(2, pll1_sysclk2, pll1_pllen, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); > +SYSCLK(3, pll1_sysclk3, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); > +SYSCLK(4, pll1_sysclk4, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); > > int dm355_pll1_init(struct device *dev, void __iomem *base) > { > @@ -62,8 +62,8 @@ static const struct davinci_pll_clk_info dm355_pll2_info = { > PLL_POSTDIV_ALWAYS_ENABLED | PLL_POSTDIV_FIXED_DIV, > }; > > -SYSCLK(1, pll2_sysclk1, pll2, 5, SYSCLK_FIXED_DIV); > -SYSCLK(2, pll2_sysclk2, pll2, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); > +SYSCLK(1, pll2_sysclk1, pll2_pllen, 5, SYSCLK_FIXED_DIV); > +SYSCLK(2, pll2_sysclk2, pll2_pllen, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); Good find with PLL2 SYSCLK2. Can you reverse the patch order so we are not fixing up a non-existent clock? Thanks, Sekhar