From patchwork Tue May 22 14:52:37 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: 136562 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1735010lji; Tue, 22 May 2018 07:53:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp8WGtNIsi2/802Tfn4ikiUYKUwZndE4/a441PXOjaeSYznUoWD8B8I/oeTlbJeCBH4GeZs X-Received: by 2002:a65:590d:: with SMTP id f13-v6mr13077175pgu.313.1527000798083; Tue, 22 May 2018 07:53:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527000798; cv=none; d=google.com; s=arc-20160816; b=ivz6JvIdMrw5tByIARFuffER6BFqTT6yafQPVE6BaFn8eu6r3zTjZ52Lxcpup5ao0H R+xURJkVJkIARgG9VdDZpzkK7os6Ss+HKQSsCf/dof42q3HRTTw81VMC+VH8lkI4XTlc R1pvs5NCq/DgvkAMC+10JlD6AAo1SZuYJAkvvSDQ4oPyAdE00WXazdwFgKblN0fi1IRL idihzBZis0/YouBxDGuN7GjDPp7GYbBYdNHe3yXGMTMctM6A0yqvCE8WKIkiaGuv2osb aTtP6GzMDaa9axtNuz09FhwGeOL0wakk2hNKxQe7WfGLoIbu0Y4Q2v0Bu7PsR0zM6gnK KiSw== 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=khpUB6xcWllW4opQNWFjtyn8sB3qRsoSotmaaTEvloUzAzni2W27Qnr5GEgpQZUYnv jVJCNYEVp28U0A+cwxQXPzWVC7mezTErI1uM5HM0ZMrxpu5HzBM+tXvzHx51+i1xcm7q XdN40KdBqXXmnB7GVlqpytyg7SBojUjiB1f9LqnFzZUDqh363w/h8NqelDCVCY6mUPKD DWoxB0x2k0skq3ZkovUCTWmwD7pL+day/K6XLFEkKvkIh96nLTRBJVGi8odMMEF98sjM 7FKm3SRRVypp/gtpk86otuQTyk2GQPc+YG3FHsNAEVkN3ONDVnL7LaLBwHAfj3yCD1RG fJPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=a3pyY/Fo; 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 q28-v6si16922041pfl.317.2018.05.22.07.53.17; Tue, 22 May 2018 07:53:18 -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=a3pyY/Fo; 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 S1751724AbeEVOxQ (ORCPT + 5 others); Tue, 22 May 2018 10:53:16 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:53036 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751637AbeEVOxL (ORCPT ); Tue, 22 May 2018 10:53:11 -0400 Received: by mail-wm0-f68.google.com with SMTP id w194-v6so564518wmf.2 for ; Tue, 22 May 2018 07:53:10 -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=a3pyY/FoOzPJhczcQFPNH53E2Ak6GiP4JuF7qzAHr9/bB0KbeSMpSG8C1JKPUBujVQ A8NmmrWmyifxxVz3WxnOAKKoXuuC2W+zmTTjuIFj4eTjw7GlP2oVqbwI7mRYBJYXHUG8 qFDdYihvPtDE4EBAxcZvhEXR/395AVjdt1t8c= 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=ruiJLZppK8rrTbtYcuH/yCpA0hvg9Ot9Cqqfqc/lthdWz32oiz+95L21MGKW3aSePE fUDfsFtLolt+PUzonXCbs7nwQgVVkfuOg63Jwp0Zx7o8d6+hT7crri6VBmf1ZpzuC2VN 3K4CYSuQohOubpfIj/Efh+rbRrQkREKaT4abuFMB+fXuhZjm4+49xDgn0+oX8cOQa2Iv piKOvsCjVjUnhnnOuRPIC0xkO2Az0WhDnfDyO8zla+rfvHQ6+RyCNCHM3xgb2oblHY8R 4NkpUv/MA8u6yecBKmXe6EXB8gL7b7jzFGvDzek5QlqCENUir72WPql5tol8t9PYO0JD K3cA== X-Gm-Message-State: ALKqPweBx8r4NMmZHHrgynPMGfYfmFSYbS/4zuIVUODB+y6q1rl9gNf1 lVsoLREYErJK6WKF1JSYkowVgA== X-Received: by 2002:a1c:4584:: with SMTP id l4-v6mr1457500wmi.142.1527000790042; Tue, 22 May 2018 07:53:10 -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 75-v6sm76878wmw.37.2018.05.22.07.53.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 07:53:09 -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 v6 05/13] clk: imx7d: reset parent for mipi csi root Date: Tue, 22 May 2018 15:52:37 +0100 Message-Id: <20180522145245.3143-6-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180522145245.3143-1-rui.silva@linaro.org> References: <20180522145245.3143-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]);