Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp664291ybh; Tue, 10 Mar 2020 06:07:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvV6o5C8mAssa67eVb2SUCbhJxYTGxRxnRpTwXsUdOCMAXIx2IjSbHOUAlClQv3hXTqr2il X-Received: by 2002:a05:6830:231d:: with SMTP id u29mr15885094ote.1.1583845638873; Tue, 10 Mar 2020 06:07:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583845638; cv=none; d=google.com; s=arc-20160816; b=PysI+WABpUNy023nepma5aEAyFKXmYm14tx+/MsCjXGgYA0opyvNGamZIOiLd4BmCH nAZefB8m0Rx8UKN/sT7BlsXLgj0PnBEIo4VvPwfzyloyZM469XYWxbUwEMMaG5w/sxzQ q/JteWC0u4AiGwNkhAfF5UwnDAMeA1zB/D6mwt5FQNh6ICpPxrewPuymWQeBxD7WW6VF Uar4ug9vsrGDvouobj1/PHHjpfGj8GBD8uvWKBxEWWHmlpvryZxH2hRVl67Z7azeHCrJ 45NPHRx+isNpehtoi276cewcg5A8fjZwxMyk3ntuz2g8qY/5UPJ9KMCt4irYTvVex1SE ENNw== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TlVVrEtQnSJF+Gpn6s7IEvcsij4VlYUgrL8b66NHGXI=; b=oMjL+2Du6UNovfgXP4gooJ/WhiLH4zDKixdZCnlhdv51b/oYR9g+7r7/PA+mv3yY62 zmqil9dwVhSst9h4Acku+EBAOccvemggHbIBvXwLwv6tdKIJr47Q+IdyJNbABosq+HOy uimmho7q+AC+jMlIlRm0l99Spu2FdiZtuguzt1YtHCtrj84oYAF4vhkeyGWSilVhjDgX lBe0OW1Eq1VpY2uBXS/om+EQs0mngdMJ2WAPtuePPQItSNF6a5MI4n15TqRQsmirj7ev pUSh0spTgas2w1iKjtzwhnXT3eZOozNysz8midmnnJ+uEH03QBiUql4KBD1KIN8aNqJE RKEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=btCuE0Jm; 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 z2si5146556oix.100.2020.03.10.06.06.48; Tue, 10 Mar 2020 06:07:18 -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=@kernel.org header.s=default header.b=btCuE0Jm; 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 S1729075AbgCJNFG (ORCPT + 99 others); Tue, 10 Mar 2020 09:05:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:48290 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730607AbgCJNDd (ORCPT ); Tue, 10 Mar 2020 09:03:33 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 546E520409; Tue, 10 Mar 2020 13:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583845412; bh=ag3c6GVTu3Y1a+XFsrgA2806COetS2Xnz2jc0AH61aw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=btCuE0Jm5ghw3OcAEe81a5o9cGn4HuwZabymgPPSBtAIEvvxdXQXFU1HVnM4wo0es yQD5xIXdO//KtoZntdMwwEuAA5NTHzotj4luuVRrjAzj3rtsUP9QitBBWqi7Bg5PL3 dzPvcb74Fiur8yG9usXPk2zjk6+YYAxfKtsoOqIA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Suman Anna , Tony Lindgren Subject: [PATCH 5.5 174/189] ARM: dts: dra7xx-clocks: Fixup IPU1 mux clock parent source Date: Tue, 10 Mar 2020 13:40:11 +0100 Message-Id: <20200310123657.372725099@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200310123639.608886314@linuxfoundation.org> References: <20200310123639.608886314@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Suman Anna commit 78722d37b2b4cf9178295e2aa5510880e6135fd7 upstream. The IPU1 functional clock is the output of a mux clock (represented by ipu1_gfclk_mux previously) and the clock source for this has been updated to be sourced from dpll_core_h22x2_ck in commit 39879c7d963e ("ARM: dts: dra7xx-clocks: Source IPU1 functional clock from CORE DPLL"). ipu1_gfclk_mux is an obsolete clock now with the clkctrl conversion, and this clock source parenting is lost during the new clkctrl layout conversion. Remove this stale clock and fix up the clock source for this mux clock using the latest equivalent clkctrl clock. This restores the previous logic and ensures that the IPU1 continues to run at the same frequency of IPU2 and independent of the ABE DPLL. Fixes: b5f8ffbb6fad ("ARM: dts: dra7: convert to use new clkctrl layout") Signed-off-by: Suman Anna Signed-off-by: Tony Lindgren Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/dra7xx-clocks.dtsi | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) --- a/arch/arm/boot/dts/dra7xx-clocks.dtsi +++ b/arch/arm/boot/dts/dra7xx-clocks.dtsi @@ -796,16 +796,6 @@ clock-div = <1>; }; - ipu1_gfclk_mux: ipu1_gfclk_mux@520 { - #clock-cells = <0>; - compatible = "ti,mux-clock"; - clocks = <&dpll_abe_m2x2_ck>, <&dpll_core_h22x2_ck>; - ti,bit-shift = <24>; - reg = <0x0520>; - assigned-clocks = <&ipu1_gfclk_mux>; - assigned-clock-parents = <&dpll_core_h22x2_ck>; - }; - dummy_ck: dummy_ck { #clock-cells = <0>; compatible = "fixed-clock"; @@ -1564,6 +1554,8 @@ compatible = "ti,clkctrl"; reg = <0x20 0x4>; #clock-cells = <2>; + assigned-clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 24>; + assigned-clock-parents = <&dpll_core_h22x2_ck>; }; ipu_clkctrl: ipu-clkctrl@50 {