Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1448096rwd; Sun, 14 May 2023 20:25:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7YFv91MpX//bpTtInrjmRtV8s42fN3o6twNcVhdtSsrGxcByoOFLk0yLDjDqeACFK9HHPs X-Received: by 2002:a05:6a20:3d20:b0:100:377b:2753 with SMTP id y32-20020a056a203d2000b00100377b2753mr33774894pzi.14.1684121146615; Sun, 14 May 2023 20:25:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684121146; cv=none; d=google.com; s=arc-20160816; b=ueHTN6VlO5EZ9Y3gLqxJFzFbksG6MCI91eDB6Kvjm8cqhMel7P5Dr3fE2KklCvhx/Y 0UCU2I82M5kJg1VMI2Z5O3QXIrVNqleFrahAQijaCr8zi194uiMnasAqcqrT0iowKFp9 DA3VpgRbg6n8RImdzK+MnDWPQ6UXNkQVDsUXlIEWObhtRM9HBHslTj+wZvCRVgJvpDOi aSD/jtX6ozuVAKADh9xKKzwi3++G1fLwfJ7A4hf5Ld1Hk2/ZV0cPkdae0JFpFMvw+126 L1gWkqsuPJ76UUcuBmI3mLMwx9rAlkr70EflMSbl0vfzDr+k8tsdmprWGxIj2xN0YXln z3Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2ywsA4V7LpZKbAyTLOyTP/G0fkII3G/y2S4riqPX8Yw=; b=yKfx2e7Ec3odSoUFCLO7sDduhYeDCZAoa1NraugGZspXNw21+IxRWcE8RiLoJAqNJM tF+Cvh2VAARndk4n5w0TdwtGumUB40RXndzRf+tyOUJ8a0AVQ6tNreA48mNqFzOHCxrx WQkd52Ezp++arqIm+G6IjJ8qPQ66uivR3YkZKjTxWGCnpJJRLaJ9mcEPdFU0uZZCZBWW aBkgU/HnncOkl0IsugIBjq+53YMUeWoJSKTEgker05As/+Mjq4qAhbavbJZwRhdqCRmS J1oDnpLykUg2V8H6iMts4YJnt5Hrq72IUa5lp6sHf5oesB3hTq8Vgq9LIvxVk88epxhV I7Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cMqtoLwt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s80-20020a632c53000000b0052c9fa0034fsi16167587pgs.699.2023.05.14.20.25.31; Sun, 14 May 2023 20:25:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cMqtoLwt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232241AbjEODQR (ORCPT + 99 others); Sun, 14 May 2023 23:16:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230281AbjEODQP (ORCPT ); Sun, 14 May 2023 23:16:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 892ED10F8; Sun, 14 May 2023 20:16:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A292F61407; Mon, 15 May 2023 03:16:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F4AEC433D2; Mon, 15 May 2023 03:16:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684120573; bh=AdGBDMKxollXaXewEE0kxL5foqSxU+diTb/RUS93bnI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cMqtoLwth2Lr932+ZBb2fkBUF4j8v04E6oXQrzyQYiGg3A5/jxnRixfQyv5Ic/3ii HoitDIxLlxqyX1kY4MslA0aDiTFB1o3iXvo9bchAUGSlYLP8LX+YJjYwRn9BOagRUx ZnMpTwxbgWut0OhTeDrms3zz+N7vmGiwTPFbSFrK4jQ8Q70zaks4uSd1Di/OfBV4jB x8BTNZlczcl0XKmRmy0vqvoamSsnO8GSP5metddO1cCuPjOKDV6yjPSu8DaJy5uOAe AwumY9WqSh56w9ba2/wsH2+j1vsLbpu/jWKyajxqKGqBuSjDrS1MXYd4NZ2WN3LB77 4sAuu5q5MV2Gg== Date: Mon, 15 May 2023 11:16:01 +0800 From: Shawn Guo To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, marex@denx.de, aford@beaconembedded.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: imx8mp: Fix video clock parents Message-ID: <20230515031601.GD767028@dragon> References: <20230512010423.1227793-1-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230512010423.1227793-1-aford173@gmail.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 11, 2023 at 08:04:23PM -0500, Adam Ford wrote: > There are a few clocks whose parents are set in mipi_dsi > and lcdif nodes, but these clocks are used by the media_blk_ctrl > power domain. This may cause an issue when re-parenting, because > the media_blk_ctrl may start the clocks before the reparent is > done resulting in a disp_pixel clock having the wrong parent and > rate. > > Fix this by moving the assigned-clock-parents and rates to the > media_blk_ctrl node to configure these clocks before they are enabled. > > After this patch, both disp1_pix_root and dixp2_pix_root clock > become children of the video_pll1. > > video_pll1_ref_sel 24000000 > video_pll1 1039500000 > video_pll1_bypass 1039500000 > video_pll1_out 1039500000 > media_disp2_pix 1039500000 > media_disp2_pix_root_clk 1039500000 > media_disp1_pix 1039500000 > media_disp1_pix_root_clk 1039500000 > > Fixes: eda09fe149df ("arm64: dts: imx8mp: Add display pipeline components") > Signed-off-by: Adam Ford Applied, thanks!