From patchwork Fri May 18 09:27:57 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: 136262 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp998114lji; Fri, 18 May 2018 02:28:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpj+aE2tdJP6iOktt7UKxYLgmzwxC4DZEum1YIUo7/qx7O+Ro3byPCpu6U8s9YLeRu5uDYw X-Received: by 2002:a17:902:7e4a:: with SMTP id a10-v6mr8902894pln.276.1526635717974; Fri, 18 May 2018 02:28:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526635717; cv=none; d=google.com; s=arc-20160816; b=FI154QlIqDq0nzBxsOacOTllccAd5LsWiFShw1XepAteF2avssZfS7j7yB8d2VsmMl LErs0seDC6HBRT2sR21PWOVUZNFjojd25980IYpQElYb+d7eyH/mcOPgn/sDfzo+apA0 0pMYCsqNYj+o8amwyTgLfd+e8sz7w3rdp78b20fZUvOGPBKP5cGxTpXADJbDeJFsQMFN LZu5B0Ezg9K9zP5OhEZ/F7YRFy5lOCwukBt6ZaeNJFlPpK9O5XU0n92GY8q9TrOgOiQ7 Etyw0VaHNek7dooGkic50vMNM8bNabGiGiUZ8jBoWEwnYLztJjkOLgiO1+tyng6DjzkQ S+uw== 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=yWllDycaIBhpVhFrBgjVgEgKz/V5+w78bWiv/eXJ2ZI=; b=Sd/6asM6ihZ1/fwOTifoCqst4dyw40F0Erm0o80Q3U9xr4DvepFvrxHeRqOh9cEB5i 7uS0V1yqxWuNYpl6Y/b7zSf/WPbPGH5GGdq3OU5esXK3gYCy3d9fngGXGkXekHvXhP70 JRo0MDNpiVjvTXvwQbW1Mva52jiuAInaNGl+A/uY6dVQAo2uuHGP0gnsZEbGc6idyYSy v/eW1ByeJ/2Si53qDZ32FsRSQ3HJQfxb8BDMPJafpFn7idUenqmUyy/YhNY0PfnMmauW 9qZJjYvxWlVWSiDDk/54heVeZn1YDSEb0UtRdi+9irDEwQDzdXbnGF3tV4Ve4t4zWdrg PI3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KOfJyXAM; 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 o5-v6si6884200plh.556.2018.05.18.02.28.37; Fri, 18 May 2018 02:28:37 -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=KOfJyXAM; 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 S1753422AbeERJ2f (ORCPT + 5 others); Fri, 18 May 2018 05:28:35 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:54406 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753379AbeERJ2a (ORCPT ); Fri, 18 May 2018 05:28:30 -0400 Received: by mail-wm0-f68.google.com with SMTP id f6-v6so12980213wmc.4 for ; Fri, 18 May 2018 02:28:29 -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=Sxw46gnlz9mtv1XXl/Vo2KttgxadVIeBrluz36BuYaM=; b=KOfJyXAMxO5+/fUmuHFS32W5IYSPbAGBc4o0hdoLfjqMdkzygva3J0C4mpINhu/u2v PFrriEzVOS3EApz0ABYLj+O1XHsSKgtJ0g1FVickEt6E+euOtIbkAEYtjYjKfL4B8mcy nnmTSli8+Ntxerx/3ab6NDyBO7wSf2Nn73nuc= 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=Sxw46gnlz9mtv1XXl/Vo2KttgxadVIeBrluz36BuYaM=; b=WqOgZyD0GGAKGhVub5W6mh2nLexz72/GuUyy6U4TWgnf7LDI6/RUhfQC0tWGk2dvaW 4Viwx9rFExZM5+QBwCGJghLrnv9Jm4aqPelHh3AoGK4i3uCIQIdtUwO1sFuztcw1fU4h 8ByCpJJJHRqtQ+W+FxLNdS9POBZCCqVl7uxMkp0cGBAaxwQEJhR3cujOW1iDtNs74v9g n78bTeJNeA1zwIVDEnVotgceeGL5mVOM7DyLDJimgPf2btO60NTt1jpNDcdLtYDsTFWS zdnbCIc/4b0J93rFP46RqxOWuezqAyjz5bEp76p20E3sFI5O+OFm8d6mERjpdz50iAOo xgHQ== X-Gm-Message-State: ALKqPwexssu3VWWFi4G2Km7P3ghPMVlvWk3PMgiucnkkFfhI+E9AO7iC gwbwHVvHe97ySe246w6Fz69QHQ== X-Received: by 2002:a1c:59c4:: with SMTP id n187-v6mr4069161wmb.51.1526635709059; Fri, 18 May 2018 02:28:29 -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.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 02:28:28 -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 03/12] clk: imx7d: fix mipi dphy div parent Date: Fri, 18 May 2018 10:27:57 +0100 Message-Id: <20180518092806.3829-4-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 Fix the mipi dphy root divider to mipi_dphy_pre_div, this would remove a orphan clock and set the correct parent. before: cat clk_orphan_summary enable prepare protect clock count count count rate accuracy phase ---------------------------------------------------------------------------------------- mipi_dphy_post_div 1 1 0 0 0 0 mipi_dphy_root_clk 1 1 0 0 0 0 cat clk_dump | grep mipi_dphy mipi_dphy_post_div 1 1 0 0 0 0 mipi_dphy_root_clk 1 1 0 0 0 0 after: cat clk_dump | grep mipi_dphy mipi_dphy_src 1 1 0 24000000 0 0 mipi_dphy_cg 1 1 0 24000000 0 0 mipi_dphy_pre_div 1 1 0 24000000 0 0 mipi_dphy_post_div 1 1 0 24000000 0 0 mipi_dphy_root_clk 1 1 0 24000000 0 0 Fixes: 8f6d8094b215 ("ARM: imx: add imx7d clk tree support") Acked-by: Dong Aisheng Signed-off-by: Rui Miguel Silva --- drivers/clk/imx/clk-imx7d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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 975a20d3cc94..f7f4db2e6fa6 100644 --- a/drivers/clk/imx/clk-imx7d.c +++ b/drivers/clk/imx/clk-imx7d.c @@ -729,7 +729,7 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node) clks[IMX7D_LCDIF_PIXEL_ROOT_DIV] = imx_clk_divider2("lcdif_pixel_post_div", "lcdif_pixel_pre_div", base + 0xa300, 0, 6); clks[IMX7D_MIPI_DSI_ROOT_DIV] = imx_clk_divider2("mipi_dsi_post_div", "mipi_dsi_pre_div", base + 0xa380, 0, 6); clks[IMX7D_MIPI_CSI_ROOT_DIV] = imx_clk_divider2("mipi_csi_post_div", "mipi_csi_pre_div", base + 0xa400, 0, 6); - clks[IMX7D_MIPI_DPHY_ROOT_DIV] = imx_clk_divider2("mipi_dphy_post_div", "mipi_csi_dphy_div", base + 0xa480, 0, 6); + clks[IMX7D_MIPI_DPHY_ROOT_DIV] = imx_clk_divider2("mipi_dphy_post_div", "mipi_dphy_pre_div", base + 0xa480, 0, 6); clks[IMX7D_SAI1_ROOT_DIV] = imx_clk_divider2("sai1_post_div", "sai1_pre_div", base + 0xa500, 0, 6); clks[IMX7D_SAI2_ROOT_DIV] = imx_clk_divider2("sai2_post_div", "sai2_pre_div", base + 0xa580, 0, 6); clks[IMX7D_SAI3_ROOT_DIV] = imx_clk_divider2("sai3_post_div", "sai3_pre_div", base + 0xa600, 0, 6); 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]); From patchwork Fri May 18 09:28:03 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: 136267 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp998317lji; Fri, 18 May 2018 02:28:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoUxZnGTunmjPQkxEyNHiC6jkDBDnl67L+ZwS7pEK82mbF2kVMELxjzfVA5+Oupi93D6yx+ X-Received: by 2002:a65:62d9:: with SMTP id m25-v6mr6852549pgv.407.1526635731795; Fri, 18 May 2018 02:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526635731; cv=none; d=google.com; s=arc-20160816; b=nKy0TWCOTrN+lNGy43oTqATRConRIROTi9ux8FR6Et80n1MSRjoxzzJVUnHQpPxD9+ /mp+aXqOIQcNXPxA41q/oe8f5aUUHUcGjCOOBaErpbRYiuOIwDVy0wRkcVZ+50/Pyke9 SlG7buKnrJKUDesZFQ8EE8dp2qU3foL57bOH+qJ1gUHe6qtEf7Yirp+3yBGI3NP+6jl/ pN1vOMw+V6x+qAmdCmpmlI4i9Sb0fFYXRF2mUak+1bJ/0TAppPKm6x9JJC6KiAtVlbpc VCQx6XT/jT+SYcC/rM7kEjHYNoCGYXEn7IwTCuUw2a+GmNFDSEYZBs/NO0NAtYUpi8D6 XdgQ== 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=daKA2w+H6LWjawLzNhT8Id5K9oJFw8orWIrY8ef/CVc=; b=y8TwcC2WrsVunDvck+ZmEhQ6YV6NCg42bLbInd0fzM2/6SI4xAVc6I9Nzy+Us30bWp YZ+MgTPWafJMrPmSUramPpuJsBBXD0r7xYRT5tPa2rAfOEwwCt0K5+Q1EP9311y5vNx7 1kavb7s78XXn8NAHgNW9eo4FzaL/hA04eN0Ovl7SWHEWAWXXfDwgzVFdTtIzgvfBzdNA y9OCPLfYe6Z1mfUoq8KD/E1pJ/o0JlU3UDEXm4hkrfbd4/hjewdsMlPuKR/I06OoRT4X /rjjd9oJ1on5A5Ew3zAEGDSLRzVN0CXsXdZuQGH9qITH/f4Wka62cOZly4l4cYu4np6O fh7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eAdCA6Ps; 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 33-v6si7053191plk.83.2018.05.18.02.28.51; Fri, 18 May 2018 02:28:51 -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=eAdCA6Ps; 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 S1753392AbeERJ2s (ORCPT + 5 others); Fri, 18 May 2018 05:28:48 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:38487 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753437AbeERJ2q (ORCPT ); Fri, 18 May 2018 05:28:46 -0400 Received: by mail-wr0-f194.google.com with SMTP id 94-v6so8466488wrf.5 for ; Fri, 18 May 2018 02:28:45 -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=wjxDYbAz4IU4olfozatAjZ8MNt7cy7PprEy/RfcHVFg=; b=eAdCA6Pso7wqxumtRQ2NwmkB06ugW6ITRw4cwihQuOyfNfptSuc7bGAQPAbcV1EVdT 2vJdQ0WURbnoIHjSCO41kX6K4JIHqksvyZJRmx4TVgid78Hvi7Hp1e7ltPaRf9j6D2XK NLK/jRn/okveTvI/pIAdANBfQk3smaMcr0KkQ= 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=wjxDYbAz4IU4olfozatAjZ8MNt7cy7PprEy/RfcHVFg=; b=iFqNpFl2jCgIVRGDTk/oepvst/PAuSAAl+maRDXf8bJsKN/UkT9J+vc4kG9JMflWbW yTwDSMoMtVEH/5o/J2gomO8HM1smW3vHlhJw9uF2wSfxj4L71BCKS0VaWmENH5XdmaFF /uXmExa+kIuPGP3s2j5yLM++SE4sLCovRFWX/DtlTbLrYXovA3hd8l5jet4gcGKfFWg8 lrtcKlvn6Rhrel+U/sRS63I1lNqAsys2RsbcyxoU3LGWF0MEm1ZG3bkBIwX7XBa68nDD PHK93+iIbaxtAog673ijgVvUyPgdaAs95KsUCM/GSPbL5fBcOn+qUCdSMbKekWGK73xG BARg== X-Gm-Message-State: ALKqPweBHkMKglg9FQkOTYFzveKxLgYNG3PR1ES7nwW0K9TRTqG5Y8Sj lZfcXqPROEaWPz8w50IqAFy1cA== X-Received: by 2002:adf:e8c2:: with SMTP id k2-v6mr6454789wrn.182.1526635725071; Fri, 18 May 2018 02:28:45 -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.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 02:28:44 -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 09/12] ARM: dts: imx7: Add video mux, csi and mipi_csi and connections Date: Fri, 18 May 2018 10:28:03 +0100 Message-Id: <20180518092806.3829-10-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 This patch adds the device tree nodes for csi, video multiplexer and mipi-csi besides the graph connecting the necessary endpoints to make the media capture entities to work in imx7 Warp board. Also add the pin control related with the mipi_csi in that board. Signed-off-by: Rui Miguel Silva --- arch/arm/boot/dts/imx7s-warp.dts | 51 ++++++++++++++++++++++++++++++++ arch/arm/boot/dts/imx7s.dtsi | 28 ++++++++++++++++++ 2 files changed, 79 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/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts index 8a30b148534d..cb175ee2fc9d 100644 --- a/arch/arm/boot/dts/imx7s-warp.dts +++ b/arch/arm/boot/dts/imx7s-warp.dts @@ -310,6 +310,57 @@ status = "okay"; }; +&gpr { + csi_mux { + compatible = "video-mux"; + mux-controls = <&mux 0>; + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + + csi_mux_from_mipi_vc0: endpoint { + remote-endpoint = <&mipi_vc0_to_csi_mux>; + }; + }; + + port@2 { + reg = <2>; + + csi_mux_to_csi: endpoint { + remote-endpoint = <&csi_from_csi_mux>; + }; + }; + }; +}; + +&csi { + status = "okay"; + + port { + csi_from_csi_mux: endpoint { + remote-endpoint = <&csi_mux_to_csi>; + }; + }; +}; + +&mipi_csi { + clock-frequency = <166000000>; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + fsl,csis-hs-settle = <3>; + + port@1 { + reg = <1>; + + mipi_vc0_to_csi_mux: endpoint { + remote-endpoint = <&csi_mux_from_mipi_vc0>; + }; + }; +}; + &wdog1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wdog>; diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 3590dab529f9..0bae41f2944c 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -46,6 +46,7 @@ #include #include #include +#include #include "imx7d-pinfunc.h" / { @@ -738,6 +739,17 @@ status = "disabled"; }; + csi: csi@30710000 { + compatible = "fsl,imx7-csi"; + reg = <0x30710000 0x10000>; + interrupts = ; + clocks = <&clks IMX7D_CLK_DUMMY>, + <&clks IMX7D_CSI_MCLK_ROOT_CLK>, + <&clks IMX7D_CLK_DUMMY>; + clock-names = "axi", "mclk", "dcic"; + status = "disabled"; + }; + lcdif: lcdif@30730000 { compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif"; reg = <0x30730000 0x10000>; @@ -747,6 +759,22 @@ clock-names = "pix", "axi"; status = "disabled"; }; + + mipi_csi: mipi-csi@30750000 { + compatible = "fsl,imx7-mipi-csi2"; + reg = <0x30750000 0x10000>; + interrupts = ; + clocks = <&clks IMX7D_IPG_ROOT_CLK>, + <&clks IMX7D_MIPI_CSI_ROOT_CLK>, + <&clks IMX7D_MIPI_DPHY_ROOT_CLK>; + clock-names = "pclk", "wrap", "phy"; + power-domains = <&pgc_mipi_phy>; + phy-supply = <®_1p0d>; + resets = <&src IMX7_RESET_MIPI_PHY_MRST>; + reset-names = "mrst"; + bus-width = <2>; + status = "disabled"; + }; }; aips3: aips-bus@30800000 { From patchwork Fri May 18 09:28:05 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: 136270 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp998444lji; Fri, 18 May 2018 02:29:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr3xfH29e2Ejih+QojAU6s2X+1iAElqvVAN2/Jw9WOsuOR1JqLisNWJ4y3Ki89F1NOb/9BT X-Received: by 2002:a63:6ac6:: with SMTP id f189-v6mr6981377pgc.308.1526635740551; Fri, 18 May 2018 02:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526635740; cv=none; d=google.com; s=arc-20160816; b=qIKb4F5ju1OLhaLSHkq90N6JkG+8g3qr3JShLr8vM5WuaO3CDpxeFFRPz0EQkcXRNU hfZx9Mnh3tdmu2u20Q9oJQ5eDec/ZfY/I7M2FVOht7ACo1nLjFDQsYTRji0JNh4PcgQx BGhM7x2ssBigPQe7er6m7QGSZ8Hjucyk0i49LFJ1WooqZ3n6YRx6Z+Lf9QnkHBRh323y 7/9Bd5Xr/+tac9mhfz6E5ReCM0YR5AAWPFWuXqvwTryJ4dmpNNSWMG712S8T946c/fVO YiWQG5UfEU6u/Bydk0HQTusEXTxywU0v+vfuudRo2p+1TQ5N4kY+Qd1s4eKOaNLQV0Fm a7NA== 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=MSHQrc2C8dfRzCAz/RZ6XCvziw34AnL0/aSrrNDxSiE=; b=aVxgMpNi51rM0aDN5QP2ocy97NurUD+KqqD5Lj9PS6KLRfDLaVz5ZGVYJjADcwTrv5 xCKTueJ0aBr6tK339RsE8PQWDCkGIwGn+Icu+yuGtpqtifVLGAUcb1EED/zNKbbe/c7L hd9zR1X5R6puUIYgYk4gftZFPg6YqCsVUBVipIp4IlIXa71Me/k2Y/0WqXhcEwtRo1AY DLxovQdsJbI7UJsUt0fbhV+MPBJBicMwDko50EcHqP2eTGKbKxIrnAew443/Lx14ZFok IX5xlWWAkugk3MGg+R7TsGFyOe2Snzr7fL5VpdhtcxjgauDT+mQPdIPYejLfpmq+5w/g n96w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ah7yvl9w; 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 33-v6si7053191plk.83.2018.05.18.02.29.00; Fri, 18 May 2018 02:29:00 -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=Ah7yvl9w; 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 S1753069AbeERJ26 (ORCPT + 5 others); Fri, 18 May 2018 05:28:58 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:45411 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753470AbeERJ2v (ORCPT ); Fri, 18 May 2018 05:28:51 -0400 Received: by mail-wr0-f196.google.com with SMTP id w3-v6so765151wrl.12 for ; Fri, 18 May 2018 02:28:51 -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=upUz86uDGdqlDx0xJz09Q/xu5MofVHeUnOYE96kb03Q=; b=Ah7yvl9wSzI0enAEWXuRSlxmiDAlbcS/LuJ/phVu0a7p83wBwCC5/vVSqRcc9T1QnJ NWZ5lenV/usbzVypsTPznnBLG6DQy5f9KPLLGI3HJLOGJX4/pYCx/JpAcyW4EolumidY agJnv5DgzbdY6kKksdH3FL6nnEOo5JMNIWBJE= 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=upUz86uDGdqlDx0xJz09Q/xu5MofVHeUnOYE96kb03Q=; b=AijrE/aKwQViGiiVmkseY0F047XpUeoPYvEQTNAOcMw2D9Ok/4XJYCGGKJn1dcLcni Wpm65jP+ahl4LGnMQFfu1+hA/JYaWyKIouHpu/YT0oS8/ABdVB6huoCBzZ41IamRmrS6 lD0E1q3PWgV+mIn3128Uoa+hBt3rsd3T/8EU0N3npJyaY/b10zjed+A9Os+w+eBaOOMi g7hprno3aJlIcClpf+u/40Xx4gUg+WsVy8Sm3dY8duoNE8SrzYd7YkWyXv53bCjD18u9 2+UGB3oUHkZ2A4z9s+eu4R9CM0kRGBjjgxl3lW5yyUOKJBWcQg8TYAb3g1vEQovYt/ij AoHA== X-Gm-Message-State: ALKqPwfKgnTt6kR5tGxt6KmnT6Qpl8XwGT5045+UO5KiClphueDgfw22 zAPmMm7+gbZaHX4lNs+SAi+PpA== X-Received: by 2002:adf:b78b:: with SMTP id s11-v6mr6628300wre.247.1526635730286; Fri, 18 May 2018 02:28:50 -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.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 02:28:49 -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 11/12] media: imx7.rst: add documentation for i.MX7 media driver Date: Fri, 18 May 2018 10:28:05 +0100 Message-Id: <20180518092806.3829-12-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 Add rst document to describe the i.MX7 media driver and also a working example from the Warp7 board usage with a OV2680 sensor. Signed-off-by: Rui Miguel Silva --- Documentation/media/v4l-drivers/imx7.rst | 157 ++++++++++++++++++++++ Documentation/media/v4l-drivers/index.rst | 1 + 2 files changed, 158 insertions(+) create mode 100644 Documentation/media/v4l-drivers/imx7.rst -- 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/Documentation/media/v4l-drivers/imx7.rst b/Documentation/media/v4l-drivers/imx7.rst new file mode 100644 index 000000000000..cd1195d391c5 --- /dev/null +++ b/Documentation/media/v4l-drivers/imx7.rst @@ -0,0 +1,157 @@ +i.MX7 Video Capture Driver +========================== + +Introduction +------------ + +The i.MX7 contrary to the i.MX5/6 family does not contain an Image Processing +Unit (IPU); because of that the capabilities to perform operations or +manipulation of the capture frames are less feature rich. + +For image capture the i.MX7 has three units: +- CMOS Sensor Interface (CSI) +- Video Multiplexer +- MIPI CSI-2 Receiver + +:: + |\ + MIPI Camera Input ---> MIPI CSI-2 --- > | \ + | \ + | M | + | U | ------> CSI ---> Capture + | X | + | / + Parallel Camera Input ----------------> | / + |/ + +For additional information, please refer to the latest versions of the i.MX7 +reference manual [#f1]_. + +Entities +-------- + +imx7-mipi-csi2 +-------------- + +This is the MIPI CSI-2 receiver entity. It has one sink pad to receive the pixel +data from MIPI CSI-2 camera sensor. It has one source pad, corresponding to the +virtual channel 0. This module is compliant to previous version of Samsung +D-phy, and supports two D-PHY Rx Data lanes. + +csi_mux +------- + +This is the video multiplexer. It has two sink pads to select from either camera +sensor with a parallel interface or from MIPI CSI-2 virtual channel 0. It has +a single source pad that routes to the CSI. + +csi +--- + +The CSI enables the chip to connect directly to external CMOS image sensor. CSI +can interface directly with Parallel and MIPI CSI-2 buses. It has 256 x 64 FIFO +to store received image pixel data and embedded DMA controllers to transfer data +from the FIFO through AHB bus. + +This entity has one sink pad that receives from the csi_mux entity and a single +source pad that routes video frames directly to memory buffers. This pad is +routed to a capture device node. + +Usage Notes +----------- + +To aid in configuration and for backward compatibility with V4L2 applications +that access controls only from video device nodes, the capture device interfaces +inherit controls from the active entities in the current pipeline, so controls +can be accessed either directly from the subdev or from the active capture +device interface. For example, the sensor controls are available either from the +sensor subdevs or from the active capture device. + +Warp7 with OV2680 +----------------- + +On this platform an OV2680 MIPI CSI-2 module is connected to the internal MIPI +CSI-2 receiver. The following example configures a video capture pipeline with +an output of 800x600, and BGGR 10 bit bayer format: + +.. code-block:: none + # Setup links + media-ctl -l "'ov2680 1-0036':0 -> 'imx7-mipi-csis.0':0[1]" + media-ctl -l "'imx7-mipi-csis.0':1 -> 'csi_mux':1[1]" + media-ctl -l "'csi_mux':2 -> 'csi':0[1]" + media-ctl -l "'csi':1 -> 'csi capture':0[1]" + + # Configure pads for pipeline + media-ctl -V "'ov2680 1-0036':0 [fmt:SBGGR10_1X10/800x600 field:none]" + media-ctl -V "'csi_mux':1 [fmt:SBGGR10_1X10/800x600 field:none]" + media-ctl -V "'csi_mux':2 [fmt:SBGGR10_1X10/800x600 field:none]" + media-ctl -V "'imx7-mipi-csis.0':0 [fmt:SBGGR10_1X10/800x600 field:none]" + media-ctl -V "'csi':0 [fmt:SBGGR10_1X10/800x600 field:none]" + +After this streaming can start. The v4l2-ctl tool can be used to select any of +the resolutions supported by the sensor. + +.. code-block:: none + root@imx7s-warp:~# media-ctl -p + Media controller API version 4.17.0 + + Media device information + ------------------------ + driver imx-media + model imx-media + serial + bus info + hw revision 0x0 + driver version 4.17.0 + + Device topology + - entity 1: csi (2 pads, 2 links) + type V4L2 subdev subtype Unknown flags 0 + device node name /dev/v4l-subdev0 + pad0: Sink + [fmt:SBGGR10_1X10/800x600 field:none] + <- "csi_mux":2 [ENABLED] + pad1: Source + [fmt:SBGGR10_1X10/800x600 field:none] + -> "csi capture":0 [ENABLED] + + - entity 4: csi capture (1 pad, 1 link) + type Node subtype V4L flags 0 + device node name /dev/video0 + pad0: Sink + <- "csi":1 [ENABLED] + + - entity 10: csi_mux (3 pads, 2 links) + type V4L2 subdev subtype Unknown flags 0 + device node name /dev/v4l-subdev1 + pad0: Sink + [fmt:unknown/0x0] + pad1: Sink + [fmt:unknown/800x600 field:none] + <- "imx7-mipi-csis.0":1 [ENABLED] + pad2: Source + [fmt:unknown/800x600 field:none] + -> "csi":0 [ENABLED] + + - entity 14: imx7-mipi-csis.0 (2 pads, 2 links) + type V4L2 subdev subtype Unknown flags 0 + device node name /dev/v4l-subdev2 + pad0: Sink + [fmt:SBGGR10_1X10/800x600 field:none] + <- "ov2680 1-0036":0 [ENABLED] + pad1: Source + [fmt:SBGGR10_1X10/800x600 field:none] + -> "csi_mux":1 [ENABLED] + + - entity 17: ov2680 1-0036 (1 pad, 1 link) + type V4L2 subdev subtype Sensor flags 0 + device node name /dev/v4l-subdev3 + pad0: Source + [fmt:SBGGR10_1X10/800x600 field:none] + -> "imx7-mipi-csis.0":0 [ENABLED] + + +References +---------- + +.. [#f1] https://www.nxp.com/docs/en/reference-manual/IMX7SRM.pdf diff --git a/Documentation/media/v4l-drivers/index.rst b/Documentation/media/v4l-drivers/index.rst index 679238e786a7..693295bbc53f 100644 --- a/Documentation/media/v4l-drivers/index.rst +++ b/Documentation/media/v4l-drivers/index.rst @@ -44,6 +44,7 @@ For more details see the file COPYING in the source distribution of Linux. davinci-vpbe fimc imx + imx7 ivtv max2175 meye From patchwork Fri May 18 09:28:06 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: 136269 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp998417lji; Fri, 18 May 2018 02:28:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrjdHgLIcAhUxXAtMTQ/o12h9ptZFOv+U3seIeA91+dxGSEo1raD5l99+rI1pyA0u91bQcT X-Received: by 2002:a62:2197:: with SMTP id o23-v6mr8705463pfj.202.1526635738992; Fri, 18 May 2018 02:28:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526635738; cv=none; d=google.com; s=arc-20160816; b=fXLdPU1TEh4hGTUqIjK/jzSTk7qjz4GDfvexM13WuslpEiQxFWrp3sNPFPbmFMQpp5 wMdXUjHUJFkjby2H4HnjG1s7XaP78EdGElVLH8Oe0GtpyA3yN9bfL3KI6HjoLe9mERHz steP97mBBPtMNxsqUZJ1awMqfSzESXMzGCCcag6ANNXAtm0jdzd+lasst1TTi117F7cM bDAOgVMHj/v2Q5CiATQL9Nu1GBMDRYwdUgo1dz/3sCcLjx1ZQOFnIYCw4YYMEeQ/Iuoh 124iTxF7L5PdAes6NkEBQNdOsL2bvOCDS3lrGGeuayQRQX76ORc8mAWlBYj4qlXIApfC 5LXg== 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=s0uBvAmEBJt3fmGcodBTu2BNNEVex7yGCyyzpeJ/UA4=; b=PEcAYZJt7y3MAxdHQh8Amg47EUQQ0H1Z9xCGugvnI0Qm8BlwxjWcLR7KUTaK7PW5Y7 0lcPduRfjeJN37eWV0qXKn60jPBXnDu1/MAYGMvrbban8T9kw2spBhRTrTznSVZuzlhF jb6z74TpVxs6Od63mrRhSRUEED/KSCFXbgQ5bi5sWXWq6GRPPXdNza939VlIzYirrFRB JguvFW4j3TOBlDbw3FASxp24HIsXBoBrjkM0esHdl2eXPSiHKGO1lP+aVSgi+77Xbep9 ckE7W1e3uxl5tFjeUJE8mJMnxQdJbHlDofghNwIMgfrYeTLvz0k/iZEFtL2xuvtYcSBs x6Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KPwCt8Am; 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 33-v6si7053191plk.83.2018.05.18.02.28.58; Fri, 18 May 2018 02:28:58 -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=KPwCt8Am; 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 S1752913AbeERJ24 (ORCPT + 5 others); Fri, 18 May 2018 05:28:56 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:37421 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753168AbeERJ2x (ORCPT ); Fri, 18 May 2018 05:28:53 -0400 Received: by mail-wr0-f196.google.com with SMTP id h5-v6so8478043wrm.4 for ; Fri, 18 May 2018 02:28:53 -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=TiMKxNcuWyiIR1/1GRykjtSZyeJ3/oWUfsTfPU4yLf0=; b=KPwCt8AmbFtQNjWebC2oCsL7fPXiILSlq6IFGFWOfm1kyIRoXZMkbeIzWtMwV/R6yv jVblfMXMC77v3hyud7v0Sbe/Djhskn7gJna0dM2EfysL9+GgHlfAGejZbF2QvLYS5xXo RJ6eH2a4C/tbqsAE00GSP8byUWU5nDKk3qPLk= 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=TiMKxNcuWyiIR1/1GRykjtSZyeJ3/oWUfsTfPU4yLf0=; b=KAjeRu8zyeAuq70p2I3b/WWcK8/XFLCulLonA+Lum+i0l9bUFm+lJAaVoqq1CQuTe5 poPy9TrA2R9Ea/Lpdwn53KJORhVMgRyA7K6alu5S+nkRZeLAwjm5bgw/jET/J70njA0D 6YCRZXdmYwRo15/GOC6hIr2r46Kq4zoBu9i2fNCRDTEnXwRhFw3VyvDZ3Pj0WUcoBaPl +7RISBnVEtRB94S/zVIeDzTZzt+BS6LkjCFnSJaKXZLP7WzqWkJPN6vVxPSewxEzzCQf jNfQyPGz4HeXDc23KKOnx2K6b7KcmZCdfVfjIvip5mVQGrDNbFruqstqQ51mDgPMX8sR wzBQ== X-Gm-Message-State: ALKqPwcP2lN5ocsX2TvX4Bm4uB/4QlplUIF2j8i5JggvVpfsRWoGJ6MZ XK+yvYxcPegvNmKiBqsO2TJHOA== X-Received: by 2002:adf:dd03:: with SMTP id a3-v6mr7821407wrm.0.1526635732818; Fri, 18 May 2018 02:28:52 -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.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 02:28:52 -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 12/12] media: staging/imx: add i.MX7 entries to TODO file Date: Fri, 18 May 2018 10:28:06 +0100 Message-Id: <20180518092806.3829-13-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 Add some i.MX7 related entries to TODO file. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/TODO | 9 +++++++++ 1 file changed, 9 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/staging/media/imx/TODO b/drivers/staging/media/imx/TODO index aeeb15494a49..6f29b5ca5324 100644 --- a/drivers/staging/media/imx/TODO +++ b/drivers/staging/media/imx/TODO @@ -45,3 +45,12 @@ Which means a port must not contain mixed-use endpoints, they must all refer to media links between V4L2 subdevices. + +- i.MX7: all of the above, since it uses the imx media core + +- i.MX7: use Frame Interval Monitor + +- i.MX7: runtime testing with parallel sensor, links setup and streaming + +- i.MX7: runtime testing with different formats, for the time only 10-bit bayer + is tested