From patchwork Fri May 11 14:10:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 10394333 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4E362601A0 for ; Fri, 11 May 2018 14:14:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DB2128D61 for ; Fri, 11 May 2018 14:14:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 422CC28DA3; Fri, 11 May 2018 14:14:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B7E8828D61 for ; Fri, 11 May 2018 14:14:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=p1u7bnOtf1nSWExqSSAdgfWDf28pHdYyX5BROCDyWQE=; b=O2knTfOpWYXm8R F1UDwKOy8mAYQwApbwCwIsjtYfAEvliCUpB++6fkuoEjOY2zs4wO/6zKJBsTHINeBlOY7tfboax3k V9mBrRIe6nGWn+Wv5gbJc3YErBrU6Y6beZtpNF4pkVXSU4UnDT53WEslF+F31hlF+nCXnBsDiApQ3 8FCOpf2f7I/8k1ckrdmJROedUnRUwTPnpAA2vi0lKkJztCpyvpeOQbiqxG4P9p0xrwnZ5IT9W80y9 erB66YrATARq09DPmuUAuVB2QcseQEq9j3twsSEtfaGRziuas7ZKALGU0qc+ehT97VhERCiX+H4kc u+iT6DYdDERO1UulguyA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fH8nw-0000U5-RR; Fri, 11 May 2018 14:13:52 +0000 Received: from lelnx193.ext.ti.com ([198.47.27.77]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fH8lo-0007uV-Vs for linux-arm-kernel@lists.infradead.org; Fri, 11 May 2018 14:11:44 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4BEAk3B003816; Fri, 11 May 2018 09:10:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1526047846; bh=CoRjTwW/qku/Hj2D532KEyTKzV/pd+Ep8y4IUOX8GBw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=G7qIiICO65OMY1/Xaiz0NbJgs49Y692rCkb7TdZM4PIAFTR42mi1r8r74BRat97a0 gq7T3yeU8Gu3pIoZdLsm2fB0VKYpcVmgLeqfTRPeLdL0i+AGgDxj0/+cve8ULtQJXO eWZBgcExqYYHg1UEgKuYdSL96jStrG25OWvpxU28= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4BEAkOA023313; Fri, 11 May 2018 09:10:46 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 11 May 2018 09:10:45 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Fri, 11 May 2018 09:10:45 -0500 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4BEAc5X009389; Fri, 11 May 2018 09:10:43 -0500 From: Sekhar Nori To: David Lechner , Michael Turquette , Stephen Boyd Subject: [PATCH 2/2] clk: davinci: psc-dm365: fix few clocks Date: Fri, 11 May 2018 19:40:37 +0530 Message-ID: <20180511141037.25250-3-nsekhar@ti.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180511141037.25250-1-nsekhar@ti.com> References: <20180511141037.25250-1-nsekhar@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180511_071141_210638_0C73C3DD X-CRM114-Status: GOOD ( 14.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sekhar Nori , Linux clk Mailing List , Linux ARM Mailing List , Kevin Hilman Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Fix parent of emac and voice codec PSC clocks. This now matches existing implementation in arch/arm/mach-davinci/dm365.c Also, there is only one power domain on DM365. Fix the power domain of voice codec and vpss dac modules. Signed-off-by: Sekhar Nori --- drivers/clk/davinci/psc-dm365.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/davinci/psc-dm365.c b/drivers/clk/davinci/psc-dm365.c index 5b5b55b0b59a..beeda10fd2f0 100644 --- a/drivers/clk/davinci/psc-dm365.c +++ b/drivers/clk/davinci/psc-dm365.c @@ -65,9 +65,9 @@ static const struct davinci_lpsc_clk_info dm365_psc_info[] = { LPSC(31, 0, arm, pll2_sysclk2, NULL, LPSC_ALWAYS_ENABLED), LPSC(38, 0, spi3, pll1_sysclk4, spi3_clkdev, 0), LPSC(39, 0, spi4, pll1_auxclk, spi4_clkdev, 0), - LPSC(40, 0, emac, pll2_sysclk4, emac_clkdev, 0), - LPSC(44, 1, voice_codec, pll1_sysclk3, voice_codec_clkdev, 0), - LPSC(46, 1, vpss_dac, pll1_sysclk3, vpss_dac_clkdev, 0), + LPSC(40, 0, emac, pll1_sysclk4, emac_clkdev, 0), + LPSC(44, 0, voice_codec, pll2_sysclk4, voice_codec_clkdev, 0), + LPSC(46, 0, vpss_dac, pll1_sysclk3, vpss_dac_clkdev, 0), LPSC(47, 0, vpss_master, pll1_sysclk5, vpss_master_clkdev, 0), LPSC(50, 0, mjcp, pll1_sysclk3, NULL, 0), { }