From patchwork Fri May 25 18:11:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Lechner X-Patchwork-Id: 136973 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3914107lji; Fri, 25 May 2018 11:13:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZouBSHcpWihdqyDMDcm7J+JjK7t1O1eTR+iWNSN7g6991upysfdkl/tr4sGiaxJICLOkVqN X-Received: by 2002:a63:b943:: with SMTP id v3-v6mr2834042pgo.438.1527272005844; Fri, 25 May 2018 11:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527272005; cv=none; d=google.com; s=arc-20160816; b=g4qt56ZrkQAvsx+sr1QOrM8hbml9yOIXaUjj1bW1x7UeRFmZM9PcCImFAxWlbyc61T QN5wLVc/YYxmjbn8Q0tCnvRVJySJcaTe29qI0EWu/x86+8lGDugNWE49aHzcnilEtirF 9n6UqTNAwnXHdqZw0OeHlP64sU1yq0ErVJyzJFS68B5Gj4Zd8509i+UmHZoehJEuGcEN +OjHxC7ZWgxy4woudlFGs91DZOJMtOidz/juKprXM7l10a0yh0TiTRP5EXxkTM0KvlRK IPwtl6DOXyT9TROa+mMv8WExnK1qhQ5eypYY4XDe+T/8CbBqdelQa1uTlus9kHINUHvA 0Inw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=PYBNlsyhtvmUqJ7y1a2uQqH+2ZVL8FUjNCmTTDbCAaM=; b=05vPvU+sJkq5zgX5taVIQ2LnVoBErmRn0lXxmjybYdWOy+qw8Hq6OV/9MilvbIRAIF 2fXQ0t6LLyZt6rTdPTAzo4f93LkG/LojVAvUp6HzFhlgA/jfQHm6H5oVQz0gpf3kRs/F LdILAkvfg8KvygRddNXW5gbl3n5m91i37hot8f0fStG5zWUqInbRIoEXWqoRWM28dln4 0lTO3dOHIfrudTghldOiIVdaW3OmFg45V/LLnLqszisZaItODhM0XgYRlopA9TNOSDVn uiGVn7CInDo51oe6dey6XponsMqJBjTlzGwUKDr8FoYA07+erDtCDpx/IDNWN0HiGK10 1ALA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=EV+0Yy2Z; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 7-v6si24256673plc.179.2018.05.25.11.13.25; Fri, 25 May 2018 11:13:25 -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=fail header.i=@lechnology.com header.s=default header.b=EV+0Yy2Z; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967931AbeEYSNW (ORCPT + 30 others); Fri, 25 May 2018 14:13:22 -0400 Received: from vern.gendns.com ([206.190.152.46]:46235 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967730AbeEYSMJ (ORCPT ); Fri, 25 May 2018 14:12:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject :Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PYBNlsyhtvmUqJ7y1a2uQqH+2ZVL8FUjNCmTTDbCAaM=; b=EV+0Yy2ZhxjcGz7yOVMF2CJKA gPOukbj1dophn0DHOsUAwQKYXpDIniq3JndGw1PvBzNRwf9mAdIZiDyH2+OhprWzxYmt0ShN/UsW/ fMHeCJ6l8Lky9ZoMbS/9aa3hwG8dUSXRirKG4pxMwTWgsuIUU1gZ0YRCE2mXrPbr8wi84SPi+5c19 K7pvGaWDeGUemRBG30YL1yCpO+5DiJAEw9YN9GggZZJJtysS8ymhkxoTe7/bpyY9Kfg5pM7gDvp/+ nELHE+LnhDWQjjTjUcFZexSbLUo8LOkE0Uc7WHicEjCFteiDohO4iM5mEzUkdCy5JnT8ltMzroAqE eb9UInXVw==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:45118 helo=freyr.lechnology.com) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1fMHCC-009OyY-2O; Fri, 25 May 2018 14:12:08 -0400 From: David Lechner To: Michael Turquette , Stephen Boyd Cc: Sekhar Nori , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kevin Hilman , linux-kernel@vger.kernel.org Subject: [PATCH 4/9] clk: davinci: pll-dm646x: keep PLL2 SYSCLK1 always enabled Date: Fri, 25 May 2018 13:11:45 -0500 Message-Id: <20180525181150.17873-5-david@lechnology.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180525181150.17873-1-david@lechnology.com> References: <20180525181150.17873-1-david@lechnology.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sekhar Nori PLL2 SYSCLK1 on DM646x is connected to DDR2 PHY and cannot be disabled. Mark it so to prevent unused clock disable infrastructure from disabling it. Signed-off-by: Sekhar Nori Reviewed-by: David Lechner --- drivers/clk/davinci/pll-dm646x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 diff --git a/drivers/clk/davinci/pll-dm646x.c b/drivers/clk/davinci/pll-dm646x.c index a61cc3256418..0ae827e3ce80 100644 --- a/drivers/clk/davinci/pll-dm646x.c +++ b/drivers/clk/davinci/pll-dm646x.c @@ -72,7 +72,7 @@ static const struct davinci_pll_clk_info dm646x_pll2_info = { .flags = 0, }; -SYSCLK(1, pll2_sysclk1, pll2_pllen, 4, 0); +SYSCLK(1, pll2_sysclk1, pll2_pllen, 4, SYSCLK_ALWAYS_ENABLED); int dm646x_pll2_init(struct device *dev, void __iomem *base) {