From patchwork Fri May 18 09:27:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 136272 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp998633lji; Fri, 18 May 2018 02:29:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoosmQiIgo+GP1ppBu4pqcW3+PnuEIFodx/cZVinZuhgyoYQ6xWMjK/8a88r5HBJEjrnywp X-Received: by 2002:a17:902:3f81:: with SMTP id a1-v6mr8642582pld.29.1526635754626; Fri, 18 May 2018 02:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526635754; cv=none; d=google.com; s=arc-20160816; b=azDo5O6rViNVOivVei5IBf/91DCD2G4iB82a9if2U1olopPaFVuIZOdyxN5Coh8/ZN 5m7y++LC2OYrF/uOI+QJQasnYRCNGS3+DEUiAmnIage9rfe4i+HbcGCiR4Pf9nYnpHab yxsierQcQmDX0c6o5ykb8hEMcQ2VQBrH1LTkbJzvpx0nzIHTnEi6I6MWgF/rkc6XEoXF qGFzC7E8IgtBzUiOu0QnlXkr4aERzwd8MsC3ZHDAHp23hPALQRixFkZ9WY2ys2K2nipE h0qVtpc0vlX/yH+AkF6/FEWlUwHResRWeOCXWQG7P56pbInlsG4wnv0tDLORKVTqRIBv Olyw== 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=a5Nzm/PlIa+x1DZueAOEUXeNo4zY7zJzesOFKn4ZzCY=; b=EomGHvgtACt8MN28Xjf4bZT+x1taQScoqPWS444GBI6Wmi84NWuoicJvAJMG2L7LVv hAc5Y7LWQ2CgUq7y0TBnF29T2a9XgQvcE0CExDDAEKngjCMaXtWY/JXCGPOOHTrie0bp TvW6lhLTxydUS8I7B1jCS2U8xk2pSKApql0XQjqtqM+v0G7R77cfTcJfCCdudEVU86Tf utodPpi0c8eWLOMKsr1+02TjLqkrOYqsvwHg0NHBQXQFAWQop8mDdxfB+645ixNPl4uF 1viN8Cc2iwrGHNBZSvvlpH0lQ/utrwEPwWQRLLTqqQtfuCcf7wnOAxeBzOBg2eFAG4cE dLrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hyB3xzce; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u14-v6si5703839pgv.318.2018.05.18.02.29.14; Fri, 18 May 2018 02:29:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hyB3xzce; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752995AbeERJ3M (ORCPT + 5 others); Fri, 18 May 2018 05:29:12 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:45358 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753411AbeERJ2c (ORCPT ); Fri, 18 May 2018 05:28:32 -0400 Received: by mail-wr0-f194.google.com with SMTP id w3-v6so764086wrl.12 for ; Fri, 18 May 2018 02:28:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+GivAHxNif/Lo/d+/LTBZpU07EAf+f1M3F3+8RpbDnE=; b=hyB3xzceNi8ZJKcqJNXfrHKJncAeUa48S1nBhNFKMfW5wK/rOOzAQ8NkVe39+F1qjj 3u03gJ9OCSFEfCFcgeJDGWw88G38fu5Jt/MjZqvPlqmfz87axxGNgBG6K5a+g+Oj8GbA DwaIzhdMFhwpZRDDAI/iVNRBHD10ld7zodG0c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+GivAHxNif/Lo/d+/LTBZpU07EAf+f1M3F3+8RpbDnE=; b=QM5NKAWN5CZw8jjHh4rrEzwknU22u9CPpWKjQzcSrBqj1ZKeFIrINA2kOzARVl1l0x kU06McuEztMAbOVFgTYgHZ+U2YfdLPsgezSmIIjglAv4QI36lylriJ3FOxey33C5Hgri eDx2PLYIAthf2SVvyBz3sc6C6bt+mi5mZmcUsehx2O/XRxJhxfLmTnwYOIQZTS/dhzWt 5vME31wVF4kt0kvKV7P6Yt46rDeLxWudTOJpCz1QiHZ9KqQMqeCWILzcRnSODwZ0pvoA BU2k5/JwzKt20a0GemRQQUfQzM7mc4WaijtQkMz9mt2lbdkBQW8fB9h6hSmgH8T2FjpB Nsrw== X-Gm-Message-State: ALKqPwc0tu+Lf0r9FWokky7nXs09WqWyej47uULpYZwIbxqITDU24Dlj QoZUeNQQ8ylYbp9R5kiiPwSSdw== X-Received: by 2002:adf:adf0:: with SMTP id w103-v6mr7513104wrc.101.1526635711715; Fri, 18 May 2018 02:28:31 -0700 (PDT) Received: from arch-late.local (a109-49-46-234.cpe.netcabo.pt. [109.49.46.234]) by smtp.gmail.com with ESMTPSA id d125-v6sm6544514wmd.24.2018.05.18.02.28.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 02:28:30 -0700 (PDT) From: Rui Miguel Silva To: mchehab@kernel.org, sakari.ailus@linux.intel.com, Steve Longerbeam , Philipp Zabel , Rob Herring Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Shawn Guo , Fabio Estevam , devicetree@vger.kernel.org, Greg Kroah-Hartman , Ryan Harkin , linux-clk@vger.kernel.org, Rui Miguel Silva Subject: [PATCH v5 04/12] clk: imx7d: reset parent for mipi csi root Date: Fri, 18 May 2018 10:27:58 +0100 Message-Id: <20180518092806.3829-5-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180518092806.3829-1-rui.silva@linaro.org> References: <20180518092806.3829-1-rui.silva@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org To guarantee that we do not get Overflow in image FIFO the outer bandwidth has to be faster than inputer bandwidth. For that it must be possible to set a faster frequency clock. So set new parent to sys_pfd3 clock for the mipi csi block. Acked-by: Shawn Guo Signed-off-by: Rui Miguel Silva --- drivers/clk/imx/clk-imx7d.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c index f7f4db2e6fa6..27877d05faa2 100644 --- a/drivers/clk/imx/clk-imx7d.c +++ b/drivers/clk/imx/clk-imx7d.c @@ -891,6 +891,8 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node) clk_set_parent(clks[IMX7D_PLL_AUDIO_MAIN_BYPASS], clks[IMX7D_PLL_AUDIO_MAIN]); clk_set_parent(clks[IMX7D_PLL_VIDEO_MAIN_BYPASS], clks[IMX7D_PLL_VIDEO_MAIN]); + clk_set_parent(clks[IMX7D_MIPI_CSI_ROOT_SRC], clks[IMX7D_PLL_SYS_PFD3_CLK]); + /* use old gpt clk setting, gpt1 root clk must be twice as gpt counter freq */ clk_set_parent(clks[IMX7D_GPT1_ROOT_SRC], clks[IMX7D_OSC_24M_CLK]);