From patchwork Mon Apr 23 13:47:39 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: 134002 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1021169lji; Mon, 23 Apr 2018 06:48:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx48oXvK0IK9FnEkMLLvewVGdGB/ffMBtDnefs3LgPO2x75XIEGV+GfByMilv5XV3qGXfnCys X-Received: by 2002:a17:902:4301:: with SMTP id i1-v6mr13232572pld.280.1524491328150; Mon, 23 Apr 2018 06:48:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524491328; cv=none; d=google.com; s=arc-20160816; b=Lf44PE0Ge7MuDJJcA5r4YFPhHBFS7JffEoMmpzU6VQol++Pi9mgt9eESXvd3e05cNt HuN3KJcexKTXR5itU7KIXtZv9zGhV4JA0+Nn86oGGNlp4vTS/iBOWr8xVerg6szKwAAP pKA1EMmDiboqtDuZSo8om4vwdJYq2pZjuSGEl9+hy+uHfHPeokFjnG+ukRtK63j3qO4q EQc1T16Ok0D0tg3ni3ZRkxhoRQYkc2l9uG1A8e6a2/nSnPz4MwntzrU5MRarmzyRJH4/ t4CF8NudQe/CZz437xspUuvNh3FL7UrsK2fMrOp4d2yzGl6sEQMYBlg4X09mbDjW8Sx1 mX8g== 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=SA4ktksb6pQA0uE8tryeJ81D2L75wjPv3FovsPf0Kg0=; b=KgKx2fYn2OpI7QsXET6fYKfLpysYRbYy0y/0loMDM+tsuMkGsjXQGpY/0LNeiJ2X65 sSo259gIyTg+n9Le1YOmoZU0DDHFAFEOQxR5FPfjVFfe9pL2Bb1XARrIHjR1nHKjcwnr c7cEtIjouavYaidFCyZmEWdSOOrnwbUbFsSFMkEHH/GMxSNX3GJ47edSX24U7+Erd/EH Ue150T3Tn+sBcGLXEvfxuf+rLlw94EYc52x6tr/0YBtPkBQoOWn0vl+aBNhzTZj+V9L4 7WerbO6v/AYjcQfDZONIS3Jm/6h0/W8jBwPUvbo4INFWum1OJwc91j/JOJaogSNbf1B5 luaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=kmhwJnKI; 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 u7si9006758pgv.251.2018.04.23.06.48.47; Mon, 23 Apr 2018 06:48:48 -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=kmhwJnKI; 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 S1755359AbeDWNsr (ORCPT + 6 others); Mon, 23 Apr 2018 09:48:47 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:45699 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755378AbeDWNsi (ORCPT ); Mon, 23 Apr 2018 09:48:38 -0400 Received: by mail-wr0-f196.google.com with SMTP id p5-v6so13701897wre.12 for ; Mon, 23 Apr 2018 06:48:38 -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=gK9A9pFQIcbAfxyJUjOYF3SIALHP3sV8LqVLGbeds3M=; b=kmhwJnKIlIDeagxfxPmy9kOh0T0V7znDWU9pQ2tRTT8/1tLgpOg866BP03BnS5L8fa dp4TnZyqCKyGjjdidzgObLgzVXW3DHsq/W+9p3lmk3s8OfZb/IXzegOE5jjRJbSLNkXz g+U48Mz+qPJ98fv7wIMxYyufVRKczC1ByNC9I= 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=gK9A9pFQIcbAfxyJUjOYF3SIALHP3sV8LqVLGbeds3M=; b=dZsVMvPMG3+y1ApAyMk7htbe6Vw+JeueOjfNX7frnLYUC03S0wq+/bWyw15bOWLg0u hYcxQ6DgYiPa8BVN8/EKfqSxl+VvcAkCpu2pRRp7Di71W0/0HhQla4wDjctZ43sM7hdj iPBmb9/Jb8RJgklxPKSQaxe5daeN/Q/qkn3EVyPklqhWfDpcbH5kFDIuK1ZkmLR5sE6H EuFKlnYIeswDNmVdIXPDxChiE+W5FBaQSZP0HWgq1tBpG7tsVE9EfACimxBFwbMaEI3V nY14dkc30C2yzKmpxkUrmBzJNxJwfIjKg9H7GtTcYO1GH2U+tdZEa5qSzCQSelOST+xK bxLg== X-Gm-Message-State: ALQs6tCHB7jaYyR99xz3okMryQArZ5LjpUC86qezkRMr5V6RQaNpfbLK +CgkCKJGJUDR7Hc7LhkCss/U5g== X-Received: by 2002:adf:9d0d:: with SMTP id k13-v6mr17772897wre.179.1524491317788; Mon, 23 Apr 2018 06:48:37 -0700 (PDT) Received: from localhost.localdomain ([2001:8a0:6606:9100:b159:5390:182d:7dce]) by smtp.gmail.com with ESMTPSA id n14-v6sm14680319wrj.16.2018.04.23.06.48.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 06:48:37 -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 , Rui Miguel Silva , linux-clk@vger.kernel.org Subject: [PATCH v2 04/15] clk: imx7d: reset parent for mipi csi root Date: Mon, 23 Apr 2018 14:47:39 +0100 Message-Id: <20180423134750.30403-5-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180423134750.30403-1-rui.silva@linaro.org> References: <20180423134750.30403-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. Cc: linux-clk@vger.kernel.org Signed-off-by: Rui Miguel Silva --- drivers/clk/imx/clk-imx7d.c | 3 +++ 1 file changed, 3 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 Acked-by: Shawn Guo diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c index f7f4db2e6fa6..9a1a18ceb132 100644 --- a/drivers/clk/imx/clk-imx7d.c +++ b/drivers/clk/imx/clk-imx7d.c @@ -891,6 +891,9 @@ 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]);