Received: by 10.192.165.148 with SMTP id m20csp2159830imm; Sun, 6 May 2018 08:15:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo6Yok99nEoyCjfmunM3jcOg/wWJqk8EpqHLDvSt7PWs+Clnpf7UBR1p716LrJCQowrTRrI X-Received: by 2002:a63:63c4:: with SMTP id x187-v6mr28187372pgb.154.1525619706624; Sun, 06 May 2018 08:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525619706; cv=none; d=google.com; s=arc-20160816; b=SfDVdflAl1HllIOBewFqnpSwaUQbpB5zGkPU9AnrfGy0nQyzgi0KAgmk2QJZ8IFulz 1ihx7f6WbJ2Lz+kN50kU9dpsK5GL/IgD9dN7cGbLa5z77tmdpqBm7EIwttusu2bxaigs BVyGZ8vXyqoq0Lr+EZf/JsiFONpcryLR7iGGSFez+rfj0o0WP67es7ZiP8QSqwRRFrT3 2Z7vrf44ijQxkDxeyUxAvXfHl91ggyMktBlgP6LEtRGFylvMPQHISszB6XcSOyvL51OF 1gxwzEcE8bpvY3WQFwKm1B/tvgF1Ptlb5YRwJTANKzlalgJRlby3QQkxyYqbtZyj6W9G 6b2g== 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=e6snfWPmvVEOodB1yV5IwpVd3DPiLz4D9gjQ695UJw0=; b=nlYxaefZXe3UQ1uVc2LeA7HpaZlSR0MlP3KQkun4P5OhzgHwu7fbkMTaZRz9ZHEwFg NPT9I+EPLiIoO/jW5QUXL3XZ0OxudxtPWB1MUAEwwNNlgclPlgoeq9uLz3XxvVPiT/4M ALys+RZhgP5bkFklRrFcQw5a/KhBat9vyrAhlwpeTq32riUE5iLoOIW1y5fJQAbYvfH7 1IXpqMJI22FiSd/l1CoTQasFjHyU0b/KQUtMX0/YmkY0dSX2QqAjFHwSjFJWdNW6wb8j /ZkhZmMibU77WIvmlBCiU45/3jURaTg1loexnE5X68RElTY7SPi6eqkKVggnvZ3OyzVT Im3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fAw5jfLY; 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 d15-v6si21040915pln.533.2018.05.06.08.14.52; Sun, 06 May 2018 08:15:06 -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=fAw5jfLY; 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 S1751794AbeEFPOl (ORCPT + 99 others); Sun, 6 May 2018 11:14:41 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:27350 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751580AbeEFPOk (ORCPT ); Sun, 6 May 2018 11:14:40 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w46FDZ0J027745; Sun, 6 May 2018 10:13:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1525619615; bh=e6snfWPmvVEOodB1yV5IwpVd3DPiLz4D9gjQ695UJw0=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=fAw5jfLYggAqRmXRLt/n2l+xktBnAO7c2hJpBjUaKDv/2lEY5vOe0WpHHCTWSGO+X 8xtuzO04WlsNTjrRiNbbAHQMm2ZtsklNAD2Zvy6HA2/OMxS3q1CwmE2xzwS83NkVBQ 5zKjjMueU445diVhdDUDbxtWMWkf4SfZZw3mUS3I= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w46FDZOX018791; Sun, 6 May 2018 10:13:35 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Sun, 6 May 2018 10:13:35 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Sun, 6 May 2018 10:13:34 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w46FDU1k015748; Sun, 6 May 2018 10:13:32 -0500 Subject: Re: [PATCH] clk: davinci: pll-dm355: fix SYSCLKn parent names To: David Lechner , , CC: Michael Turquette , Stephen Boyd , References: <20180504142426.4764-1-david@lechnology.com> From: Sekhar Nori Message-ID: Date: Sun, 6 May 2018 20:43:30 +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: <20180504142426.4764-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 Hi David, On Friday 04 May 2018 07:54 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 > --- > > Sekhar, can you please test to make sure this works? > > > 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 a0cff4212ac3..13dc6b8ea97a 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, struct regmap *cfgchip) > { > @@ -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); We also need SYSCLK_ALWAYS_ENABLED for PLL2 sysclk1. With that change, I was able to boot DM355 EVM and the clock tree looks good too. > +SYSCLK(2, pll2_sysclk2, pll2_pllen, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); > > int dm355_pll2_init(struct device *dev, void __iomem *base, struct regmap *cfgchip) > { Regards, Sekhar