From patchwork Mon May 7 16:21: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: 135105 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3355802lji; Mon, 7 May 2018 09:22:29 -0700 (PDT) X-Google-Smtp-Source: AB8JxZobbF5L09hCWKmJd4l8XBj9lHbGlxqxMwzmhEwKFTBt/IcG+XU2GqCm0WZXvAPbTBmpG6K/ X-Received: by 2002:a24:1a85:: with SMTP id 127-v6mr1891277iti.143.1525710149800; Mon, 07 May 2018 09:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525710149; cv=none; d=google.com; s=arc-20160816; b=INzVYGdlZlfZS14qgUH5/1y89/NK8U5FMndq2YtZ91iW2L5KpNpvxHl1sFw88js/6B DWscTRIaF2H/RGxJpRpH8LPT+gYiLMvyeJsrXcPuAd3dEyfFLaTNS/o395XJiNQB/GSX PydLSNjMUclcnZIPtjgZrjF6uhofAfA0lJYPO5NM7SQBloZM+KyM3ogAVReGb4sM0Iec 2Z3FAIn60d6CnWzPmGFHKstMy2nWDq6pu0MzkCGZ03HtVzswuTmmZ96Cbaacjtr4mZqb +/gJilXlAdssej52wvdWdXFEdZBRFLcwozxHka2b+Q1uiUpvhcLVvXXiUkkSAN7AK2eN /5Uw== 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=OPXP9CjIaTppi52Y+mfUlfyomGGMDQHb6SO2kATzGAw=; b=UFHni22bRt4DyIBDvGWd53r+8wixG+hiXl7hSuq61aaWaXu3V04behtUf/qBvQPf1u 8Isz0kTRmcmscsDLdJZsCG2aBvmhP+LKu1ApbTSYtDcxUZm+r2QpOYACrk+XEHP99tAr 8XiTVwBVGkKqFqsUPcJkfT92MOH5t8myk4TCI2cqcdO18H8tNuIPkn1qFwqxd7l90Zex NwTcRuAkz24GwY10uYFyW3KUKffmkBkx6afOomX6s44mlyTXRDXjWf7PoI6RvDEwuMBq TWwtHqNsVCmjJLyDQIgPF61DfGmFl1SH4o0IW9Wa6yjrjMXbjzDRaVsXpFvsHhmklBvQ loeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VX7ThvLL; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (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 k124-v6si7484127ith.131.2018.05.07.09.22.29; Mon, 07 May 2018 09:22:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VX7ThvLL; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752223AbeEGQW2 (ORCPT + 5 others); Mon, 7 May 2018 12:22:28 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35856 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035AbeEGQW1 (ORCPT ); Mon, 7 May 2018 12:22:27 -0400 Received: by mail-wm0-f65.google.com with SMTP id n10-v6so16407684wmc.1 for ; Mon, 07 May 2018 09:22:27 -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=OPXP9CjIaTppi52Y+mfUlfyomGGMDQHb6SO2kATzGAw=; b=VX7ThvLLIFacKwtqgsXSCDb25KMKHhO4/fTA/0o5ZeBTjfgESxAWZgyzQkyM2pJzHR kCZ2E4cDSMtSVjewaUcVsuw9l31488CGVtjcC2iQQIW+1Dby3Ko9BP+8OlmlLezLTJOu 4Bn48k2nxqUn1ObMgwblFzxtWc62POIXA+OFs= 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=OPXP9CjIaTppi52Y+mfUlfyomGGMDQHb6SO2kATzGAw=; b=FryVwv279qAtkAVtq7BBDUSh03zhoceXIv/06MFyzCtD4+LLsoZAPtIff4AqcaE5xb qAOwusXUeJz/jxh84spKz6PuptdIgPv9cOvIs+QcNPmuMCFGB9ATWDXsXrj523wPPmaP AEZXyZ0G2ybyY+7+yI/NrSoE//AvkKqlqtXRFrVhG8WKSwxCtr00hocdmRhq9F7et5IE giZD31iJJZxakFczkY3WgBO1SX3oT77Ia/S8KVmkEaA5K6H3glL04YLbxtHdIp/TLzp9 1zxyVWpEJ0C5VvZ3DbvhR53EYn7T4G3Jj2cv/S8gUHxhsmbebqFhr9BW6g1U1ibxPder Zvvw== X-Gm-Message-State: ALKqPwfgLHD6b2jsaB0S+U+EeNO723WyDyB575dEQN8LAkSDDptN6Kb0 Dsnh9lAfCtIUl3ShcSWjUKY9VQ== X-Received: by 2002:a1c:8583:: with SMTP id h125-v6mr1164986wmd.98.1525710146506; Mon, 07 May 2018 09:22:26 -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 b11-v6sm26410251wrf.50.2018.05.07.09.22.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 09:22:25 -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 Subject: [PATCH v3 01/14] media: staging/imx: add support to media dev for no IPU systems Date: Mon, 7 May 2018 17:21:39 +0100 Message-Id: <20180507162152.2545-2-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180507162152.2545-1-rui.silva@linaro.org> References: <20180507162152.2545-1-rui.silva@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Some i.MX SoC do not have IPU, like the i.MX7, add to the the media device infrastructure support to be used in this type of systems that do not have internal subdevices besides the CSI. Signed-off-by: Rui Miguel Silva --- drivers/staging/media/imx/imx-media-dev.c | 38 ++++++++++++++++--- .../staging/media/imx/imx-media-internal-sd.c | 3 ++ drivers/staging/media/imx/imx-media.h | 3 ++ 3 files changed, 39 insertions(+), 5 deletions(-) -- 2.17.0 diff --git a/drivers/staging/media/imx/imx-media-dev.c b/drivers/staging/media/imx/imx-media-dev.c index f67ec8e27093..b019dcefccd6 100644 --- a/drivers/staging/media/imx/imx-media-dev.c +++ b/drivers/staging/media/imx/imx-media-dev.c @@ -27,6 +27,12 @@ #include #include "imx-media.h" +static const struct of_device_id imx_media_dt_ids[]; + +struct imx_media_driver_data { + bool ipu_present; +}; + static inline struct imx_media_dev *notifier2dev(struct v4l2_async_notifier *n) { return container_of(n, struct imx_media_dev, notifier); @@ -92,6 +98,9 @@ static int imx_media_get_ipu(struct imx_media_dev *imxmd, struct ipu_soc *ipu; int ipu_id; + if (!imxmd->ipu_present) + return 0; + ipu = dev_get_drvdata(csi_sd->dev->parent); if (!ipu) { v4l2_err(&imxmd->v4l2_dev, @@ -440,6 +449,8 @@ static const struct media_device_ops imx_media_md_ops = { static int imx_media_probe(struct platform_device *pdev) { + const struct imx_media_driver_data *drvdata; + const struct of_device_id *of_id; struct device *dev = &pdev->dev; struct device_node *node = dev->of_node; struct imx_media_dev *imxmd; @@ -481,16 +492,29 @@ static int imx_media_probe(struct platform_device *pdev) goto notifier_cleanup; } - ret = imx_media_add_internal_subdevs(imxmd); - if (ret) { - v4l2_err(&imxmd->v4l2_dev, - "add_internal_subdevs failed with %d\n", ret); + of_id = of_match_device(imx_media_dt_ids, &pdev->dev); + if (!of_id) { + v4l2_err(&imxmd->v4l2_dev, "failed to find driver data\n"); goto notifier_cleanup; } + drvdata = of_id->data; + + imxmd->ipu_present = drvdata->ipu_present; + + if (imxmd->ipu_present) { + ret = imx_media_add_internal_subdevs(imxmd); + if (ret) { + v4l2_err(&imxmd->v4l2_dev, + "add_internal_subdevs failed with %d\n", ret); + goto notifier_cleanup; + } + } + /* no subdevs? just bail */ if (imxmd->notifier.num_subdevs == 0) { ret = -ENODEV; + v4l2_err(&imxmd->v4l2_dev, "no subdevs\n"); goto notifier_cleanup; } @@ -533,8 +557,12 @@ static int imx_media_remove(struct platform_device *pdev) return 0; } +static const struct imx_media_driver_data imx6_drvdata = { + .ipu_present = true, +}; + static const struct of_device_id imx_media_dt_ids[] = { - { .compatible = "fsl,imx-capture-subsystem" }, + { .compatible = "fsl,imx-capture-subsystem", .data = &imx6_drvdata }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, imx_media_dt_ids); diff --git a/drivers/staging/media/imx/imx-media-internal-sd.c b/drivers/staging/media/imx/imx-media-internal-sd.c index 0fdc45dbfb76..2bcdc232369a 100644 --- a/drivers/staging/media/imx/imx-media-internal-sd.c +++ b/drivers/staging/media/imx/imx-media-internal-sd.c @@ -238,6 +238,9 @@ int imx_media_create_internal_links(struct imx_media_dev *imxmd, struct media_pad *pad; int i, j, ret; + if (!imxmd->ipu_present) + return 0; + intsd = find_intsd_by_grp_id(sd->grp_id); if (!intsd) return -ENODEV; diff --git a/drivers/staging/media/imx/imx-media.h b/drivers/staging/media/imx/imx-media.h index 44532cd5b812..d40538ecf176 100644 --- a/drivers/staging/media/imx/imx-media.h +++ b/drivers/staging/media/imx/imx-media.h @@ -147,6 +147,9 @@ struct imx_media_dev { /* for async subdev registration */ struct v4l2_async_notifier notifier; + + /* indicator to if the system has IPU */ + bool ipu_present; }; enum codespace_sel { From patchwork Mon May 7 16:21:41 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: 135107 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3355943lji; Mon, 7 May 2018 09:22:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpmb04wtWjYXPl5ARTceyeKDP+dg5D439Zlr+/G5lzQr4biJXWT1Yifxss6P5twHInSf/L7 X-Received: by 2002:a24:a90d:: with SMTP id r13-v6mr1885010ite.119.1525710158537; Mon, 07 May 2018 09:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525710158; cv=none; d=google.com; s=arc-20160816; b=dzQ9+1QR14bdgI2nXXR4uj0pHyPsPjb18EExN8ly0SKiUrQ33zfF19c63lu9uDGUwf 6khaWHvz2fujHLAPVBwt2OnMr+L90YlvgKSB171CiWRzbmGamdaodWPrVyBBsRlAzeMr ZSKLnBGVgJrdwXumggnIWZS6FNVJQbrTc+GaYgZJwH90CWoef/5HugrmqtZBzpcQ5Y25 N390uDeNF4NmGVTMeuaqFq5qnf3/IzB7vezA9CdfCp4IXIcP7Dy1g5G+n+IFwELZ6whm Ye+3+xOqmGut0mDj31uq5FVvqIPmqrRMxQ8CZ3D4Aj0kJRACmZAtd8Cx5TUDij6kJoSQ +agA== 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=PkmCvIFXTbBjkDS1P2WeyKJijywoczuYatT47bWnfTw=; b=J+/mDRX589OBBEKrzBw9HfK7MHrFNQ4pIK2OUTZL9JEvEx3IzuCjGeTkwmfh5Wu83K eMcyKMICY8VVo0CkBDBQ8wmRYORwSff1DDIxmUkEV3GiYyxAEeNXXjqH8W31DYiJTPSM TFfeU4vyf/PUlYTvGXqbWKS0x/iWh7I+RoJfjVDE0UoeYreOdiNa3HG4pAEzSmiwtHNn jAVjReU0tcBGXYtiKRMZf2Y/cUgq3V14wSeF9Xh0000pICdsfq3CNj6AyZSu56fbLmlj 9pHH37AGeFl7XORdxm63EiasaeOw/TA+3vN8afhhiFnC+fVhTpPDf5r2bVCXEYH/VrmD 6Z0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VjxpbVrB; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (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 k124-v6si7484127ith.131.2018.05.07.09.22.38; Mon, 07 May 2018 09:22:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VjxpbVrB; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752389AbeEGQWh (ORCPT + 5 others); Mon, 7 May 2018 12:22:37 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:38577 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751931AbeEGQWe (ORCPT ); Mon, 7 May 2018 12:22:34 -0400 Received: by mail-wm0-f67.google.com with SMTP id m198-v6so15661704wmg.3 for ; Mon, 07 May 2018 09:22:34 -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=PkmCvIFXTbBjkDS1P2WeyKJijywoczuYatT47bWnfTw=; b=VjxpbVrBxYG1KlfGWrd3Qp5FvylhuEeMvbmUjSRBZA6Dk7TI0mhGUQKCgSMhPxtKO+ 5m8ircL1yrkUOM5ajvuYpycxX+P3bBDbgcNBZ0e4SC51nBpxk1lDldHLSaR6Roi6Z2Ut 6ybUCbfUUcumBZUJPYKBh8APTVzWdnrwuVSyI= 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=PkmCvIFXTbBjkDS1P2WeyKJijywoczuYatT47bWnfTw=; b=nz693CSuNKhe+OTs7f4qoElxqaYqeCIpBr+GrOal2A3VKKmpsh96nustaZ0axXntkI PgNyDAW7Ofcm8vop/NyhTAslGMc3+E0NvqK3CBinP9O17A2mIruM8Mj6JL1iGAPoyJqK VVM7MJYSqL0TvrNUs+zPHc+KbVRQ6tj9B/iQGyQseDYNgDDgukhSRvzHw2BN2S/B2Rzv mm4UPnuReDMa3fG5QKht5gHEhxBkNkiJcAaw520QYme+PG4batkZnqKhVuOxa7ZqJrGR QkAQQCCx66bW2oHQuZbWN2psS7KY2J5GcHmb2ljF216M014K2vVFsxojVP/l6k9Drv3Q 3ijA== X-Gm-Message-State: ALKqPwfx0TgGrpoYOpR//qceXkmQh+MVb3xhRQ/kkd5v5Ooslj6poaDB VLgS5l1y02X66Wwnu2zhIN+2GQ== X-Received: by 2002:a1c:8444:: with SMTP id g65-v6mr1359891wmd.114.1525710153793; Mon, 07 May 2018 09:22:33 -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 b11-v6sm26410251wrf.50.2018.05.07.09.22.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 09:22:33 -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 v3 03/14] clk: imx7d: fix mipi dphy div parent Date: Mon, 7 May 2018 17:21:41 +0100 Message-Id: <20180507162152.2545-4-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180507162152.2545-1-rui.silva@linaro.org> References: <20180507162152.2545-1-rui.silva@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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") Cc: linux-clk@vger.kernel.org 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 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 Mon May 7 16:21:45 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: 135111 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3356205lji; Mon, 7 May 2018 09:22:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpv9wEWbnwQuTk+qozEcWQJR6utG7rprMpD9N5zMYQHGocu1knTCxMflDtDsXBqJtFdvD4N X-Received: by 2002:a6b:4413:: with SMTP id r19-v6mr19752503ioa.245.1525710170817; Mon, 07 May 2018 09:22:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525710170; cv=none; d=google.com; s=arc-20160816; b=tJaRmgvmNrT6kHypviAx82E+0EnZnRRpqbrPU4VzlILj2hsWUMbujhq/BrxHoM34U0 lprWx1LyLKI8htiH6965mcMl4vFTaUFSgns97LiIShefqjP/s16tebibi2fwtIcx3VeL 7bKbdXL4lelGsrLDX0CyBtlN6LHqPtZzqaA4IqW8AQWZVFwhXcqYbCk01pFYHuw9N2bf saRE2CZ8BGvO1XMXlrkpsttHEGYZC+52UUUmwHpV4qgK64A89GoBuPD1uDPRdKYFo7RK t8Xy1ppN3R00Fv7aXSKurbgSUOS0EV/iEyxVYUWfjXa4yY5JZCMJz/4QS43Lf+3N2CuY an1w== 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=ikgfp3Vepyt3kZ6O8dyv/2gC0viuo+sl4knK3c0ueUg=; b=JN3YzLKnlK6vMEDxDddHxK8O28+2djs0l3w7X6pUlAUGszz6mtl0mlrnmwFMx/bscC U3VzFlY7zh0Pjr6MJsUOdoefGTf2If3dZ3cTvGsvk6uH8mToHU2w/9LRjoVETiKBK9bQ vdSGrErRKcAET9Plu8+Xk4u513rGvfH+aw8iJtzGCHKtJGJoFzrC5PrfxOH8v/zyFQe6 DNfezV7Qx1JFiuadCldvAWqbPbMdwJ1DETCS+7H+q/1yusXaI3gdNt4yZmLB+3tcIld2 1S2sraBYuM/L/jzbUsfOTNIBg9v6puDmRmcPX4AJjYVJ7Si0rK6fgopz2i+tdri7fcI5 0TwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e5sBjH2t; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (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 v125-v6si7612679ith.144.2018.05.07.09.22.50; Mon, 07 May 2018 09:22:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e5sBjH2t; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752539AbeEGQWs (ORCPT + 5 others); Mon, 7 May 2018 12:22:48 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:40415 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752471AbeEGQWp (ORCPT ); Mon, 7 May 2018 12:22:45 -0400 Received: by mail-wr0-f193.google.com with SMTP id v60-v6so29359656wrc.7 for ; Mon, 07 May 2018 09:22: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=ikgfp3Vepyt3kZ6O8dyv/2gC0viuo+sl4knK3c0ueUg=; b=e5sBjH2tmzbEManLogsOdIeJwsb70yoECNeyMYHvfBM0YoKjrg+wtDAGni3BaLol0K D0V0qDhj6dw5+vmmnWhoUAnL2IL4m2cA+90sz6Dpsc/ttD3yhVCuK+Z2G0ymB9WatSSY FTo27tQJ5Z2MdiuduhLTRPwQF15HPp7p7of5U= 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=ikgfp3Vepyt3kZ6O8dyv/2gC0viuo+sl4knK3c0ueUg=; b=MmPl/YWN8K7uZ2rverzvUDonnE8pdfvN4W3DKKiJBuMy2fR3Tx6wJ4p1oAXaMX9oSn r9RamTnb23Hk6RkNtwSPX0AIbpsS8nYZtC/9QxV35XXf41BAsWVoMDhSCWkdZGOo+Bc4 3nWzgHsyG4BuDMdqk8xIRt3rNrRyNZlCXmvzLK6qNFSo/eh4zfL46hN+5G810uaavLSt czp0Ev/p2ilpeQQZ8tkwA61Xa6YNpR44o3vwsP6za5+5fA9JBE2qZlaVH7tOstOOcDSw cFnR3f19diK6MgddvNKj38Dod8jYM7Wo6dRgE/QobHv/1bbweiQvCXd7dtPkfqx8+2Wm raqQ== X-Gm-Message-State: ALQs6tCD0c9T2Rrvwi+yeYh1tBXbMAWir5vf9uNB2MWQK3i3kKxHbuUu zc+ml7fH5j05bTUjuGAYT/FemQ== X-Received: by 2002:adf:8af0:: with SMTP id z45-v6mr27921300wrz.150.1525710164586; Mon, 07 May 2018 09:22:44 -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 b11-v6sm26410251wrf.50.2018.05.07.09.22.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 09:22:43 -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 Subject: [PATCH v3 07/14] media: dt-bindings: add bindings for i.MX7 media driver Date: Mon, 7 May 2018 17:21:45 +0100 Message-Id: <20180507162152.2545-8-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180507162152.2545-1-rui.silva@linaro.org> References: <20180507162152.2545-1-rui.silva@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add bindings documentation for i.MX7 media drivers. Signed-off-by: Rui Miguel Silva --- .../devicetree/bindings/media/imx7.txt | 152 ++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/imx7.txt -- 2.17.0 diff --git a/Documentation/devicetree/bindings/media/imx7.txt b/Documentation/devicetree/bindings/media/imx7.txt new file mode 100644 index 000000000000..06d723d6354d --- /dev/null +++ b/Documentation/devicetree/bindings/media/imx7.txt @@ -0,0 +1,152 @@ +Freescale i.MX7 Media Video Device +================================== + +Video Media Controller node +--------------------------- + +This is the media controller node for video capture support. It is a +virtual device that lists the camera serial interface nodes that the +media device will control. + +Required properties: +- compatible : "fsl,imx7-capture-subsystem"; +- ports : Should contain a list of phandles pointing to camera + sensor interface port of CSI + +example: + +capture-subsystem { + compatible = "fsl,imx7-capture-subsystem"; + ports = <&csi>; +}; + + +mipi_csi2 node +-------------- + +This is the device node for the MIPI CSI-2 receiver core in i.MX7 SoC. It is +compatible with previous version of Samsung D-phy. + +Required properties: + +- compatible : "fsl,imx7-mipi-csi2"; +- reg : base address and length of the register set for the device; +- interrupts : should contain MIPI CSIS interrupt; +- clocks : list of clock specifiers, see + Documentation/devicetree/bindings/clock/clock-bindings.txt for details; +- clock-names : must contain "pclk", "wrap" and "phy" entries, matching + entries in the clock property; +- power-domains : a phandle to the power domain, see + Documentation/devicetree/bindings/power/power_domain.txt for details. +- reset-names : should include following entry "mrst"; +- resets : a list of phandle, should contain reset entry of + reset-names; +- phy-supply : from the generic phy bindings, a phandle to a regulator that + provides power to MIPI CSIS core; +- bus-width : maximum number of data lanes supported (SoC specific); + +Optional properties: + +- clock-frequency : The IP's main (system bus) clock frequency in Hz, default + value when this property is not specified is 166 MHz; + +port node +--------- + +- reg : (required) can take the values 0 or 1, where 0 is the + related sink port and port 1 should be the source one; + +endpoint node +------------- + +- data-lanes : (required) an array specifying active physical MIPI-CSI2 + data input lanes and their mapping to logical lanes; the + array's content is unused, only its length is meaningful; + +- fsl,csis-hs-settle : (optional) differential receiver (HS-RX) settle time; + +example: + + mipi_csi: mipi-csi@30750000 { + #address-cells = <1>; + #size-cells = <0>; + + 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"; + clock-names = "mipi", "phy"; + clock-frequency = <166000000>; + power-domains = <&pgc_mipi_phy>; + phy-supply = <®_1p0d>; + resets = <&src IMX7_RESET_MIPI_PHY_MRST>; + reset-names = "mrst"; + bus-width = <4>; + fsl,csis-hs-settle = <3>; + fsl,csis-clk-settle = <0>; + + port@0 { + reg = <0>; + + mipi_from_sensor: endpoint { + remote-endpoint = <&ov2680_to_mipi>; + data-lanes = <1>; + }; + }; + + port@1 { + reg = <1>; + + mipi_vc0_to_csi_mux: endpoint { + remote-endpoint = <&csi_mux_from_mipi_vc0>; + }; + }; + }; + + +csi node +-------- + +This is device node for the CMOS Sensor Interface (CSI) which enables the chip +to connect directly to external CMOS image sensors. + +Required properties: + +- compatible : "fsl,imx7-csi"; +- reg : base address and length of the register set for the device; +- interrupts : should contain CSI interrupt; +- clocks : list of clock specifiers, see + Documentation/devicetree/bindings/clock/clock-bindings.txt for details; +- clock-names : must contain "axi", "mclk" and "dcic" entries, matching + entries in the clock property; + +port node +--------- + +- reg : (required) should be 0 for the sink port; + +example: + + csi: csi@30710000 { + #address-cells = <1>; + #size-cells = <0>; + + 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"; + + port@0 { + reg = <0>; + + csi_from_csi_mux: endpoint { + remote-endpoint = <&csi_mux_to_csi>; + }; + }; + }; From patchwork Mon May 7 16:21:48 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: 135114 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3356357lji; Mon, 7 May 2018 09:22:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqHZqac5pxjN6I2AodFTFG3mNZANn8cMw2X1rSaEqO4aUrb2aOkkLsW8gnCbVn5Ks3kLvmJ X-Received: by 2002:a24:fa05:: with SMTP id v5-v6mr1971118ith.101.1525710177439; Mon, 07 May 2018 09:22:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525710177; cv=none; d=google.com; s=arc-20160816; b=EIvfHUdfpe/do7bEjN+U7yUUcang3ikRzUZ28APtl9kBqNHgwAg25RouJukg+2avxY ktYoTJDbQ2rjZnFH62fLX0+Q9ENw10Q21W8vBFDur5a12NMpd84fRVKe748Jzp2LSsxr jjfCZOtfVRCDoxK2ow58jjnBz1Ymn28TT2K9g09IQMkRWNiyzhrP2t6+MdxyaiNyaLEs FQtDLc+9SBWz23X/XPgcShgCA2tSGgSWK7wsRIyYG3Loe3XyLKN34/ekjCovqt0hCC6N XN7eSHjU78cX/9SHKDrRwzzk0PVLbOKyHai8ImRg2CJvYgLGZIORXbj3GCg+NhpWjAGJ /S3Q== 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=+uLNqRgUezA5v8rK101OemrsYB8SZjjAm8/lOf/oYHQ=; b=m4KZnqFjJ+TE6ikS8/qnvp5SoLXvyEQWLNVa3T7qYUS3qfeupzn4bMkLqA3w3ZTZrl YTz2De2Xn+qQegjvjxnxGahToVJDMYQD4Di7czDWKKCgSxoc55I0ifGChWQmVPRqSPxv AX2TLVPCcEhwOfMqEraiA76A4l5AwNU36Q6KgDk7do61I6FJz8heqAOINPwpjMr6/PEj b1I/LF3sAvdiqxzbdfN7rMCkISXLuyA0a3qvvH7oqa63wSVdZGCoJzBo2rVUTezj9RKM b7ZzZ0s0xiR2mguzK11TlCJxqrivvjvGPMO7qntbYpN4WG7T6+/FMT407Z45Cp+xC5Q+ 1nug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XkqFKGFe; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (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 v125-v6si7612679ith.144.2018.05.07.09.22.57; Mon, 07 May 2018 09:22:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XkqFKGFe; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752580AbeEGQWz (ORCPT + 5 others); Mon, 7 May 2018 12:22:55 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:39779 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752549AbeEGQWx (ORCPT ); Mon, 7 May 2018 12:22:53 -0400 Received: by mail-wm0-f67.google.com with SMTP id f8-v6so16465380wmc.4 for ; Mon, 07 May 2018 09:22: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=+uLNqRgUezA5v8rK101OemrsYB8SZjjAm8/lOf/oYHQ=; b=XkqFKGFeKovmEMG38nHkfN0kswQrGufkVSpc3PhnoPmO2rVgk9ZdtF444n6R53D83l roFsTFC40FFsAw5sDUZgEtvsZE8xa1bOh8YYg3x+mpHKPYs0mjAA+wpY6K45JXCnaTe8 YxQlnnlMeIYPpLAyro8gGx2GBni/EyvrqVzb0= 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=+uLNqRgUezA5v8rK101OemrsYB8SZjjAm8/lOf/oYHQ=; b=qh092LjZYVAgkcJFqRsqPrL2dVrA2d+TikuWXlS4lKYS0hKVpJhZTS88S4eWS7p9GB LF6ftmqdPYb6jVj+YEvNqKKWjmf9PBAgKIIkh/1i6hH6GqUYbqfX6op53M8EnosnNNxV 1O3QvwVrYJSdTwaZrnDtJs/oEL1FCy/sm53nU9MoUlbOpqox7OqisbaXuoqeynU85qd3 sYTYWxnMPj1Ggfo7ap9Cevbs7GQD5fnOKmwPV/axOKNaLZ7zbg24cFaPgJvhACHuQYw6 ois/xFu+5FSgA4linnWxN+4Kb3VVT7d/bRHXd5v3t5ByQM+zdDOo0peSWyWAuaWMsUDE d4KQ== X-Gm-Message-State: ALKqPwe+W0ECcgLXDMgorU618GnMtek8fDAQiZ7acOMv8fbqhSmPiWOL 0SSUKINjN5syhmj0atJUfvhb7w== X-Received: by 10.28.59.212 with SMTP id i203mr1291742wma.41.1525710172439; Mon, 07 May 2018 09:22: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 b11-v6sm26410251wrf.50.2018.05.07.09.22.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 09:22:51 -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 Subject: [PATCH v3 10/14] ARM: dts: imx7: Add video mux, csi and mipi_csi and connections Date: Mon, 7 May 2018 17:21:48 +0100 Message-Id: <20180507162152.2545-11-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180507162152.2545-1-rui.silva@linaro.org> References: <20180507162152.2545-1-rui.silva@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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 | 78 ++++++++++++++++++++++++++++++++ arch/arm/boot/dts/imx7s.dtsi | 28 ++++++++++++ 2 files changed, 106 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts index 8a30b148534d..ffd170ae925a 100644 --- a/arch/arm/boot/dts/imx7s-warp.dts +++ b/arch/arm/boot/dts/imx7s-warp.dts @@ -310,6 +310,77 @@ status = "okay"; }; +&gpr { + csi_mux { + compatible = "video-mux"; + mux-controls = <&mux 0>; + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + csi_mux_from_parallel_sensor: endpoint { + }; + }; + + 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"; + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + 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@0 { + reg = <0>; + + mipi_from_sensor: endpoint { + remote-endpoint = <&ov2680_to_mipi>; + data-lanes = <1>; + }; + }; + + 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>; @@ -357,6 +428,13 @@ >; }; + pinctrl_mipi_csi: mipi_csi { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO03__GPIO1_IO3 0x14 + MX7D_PAD_ENET1_RGMII_TD0__GPIO7_IO6 0x14 + >; + }; + pinctrl_sai1: sai1grp { fsl,pins = < MX7D_PAD_SAI1_RX_DATA__SAI1_RX_DATA0 0x1f 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 Mon May 7 16:21:49 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: 135115 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3356419lji; Mon, 7 May 2018 09:23:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo/Kj0J6ZWnLJHKUB8a2VjxADxNkLqyRjrVD0YBpSvPyrY9DFSi5HLFpFzdwdKj+SP4Yn+w X-Received: by 2002:a24:35cd:: with SMTP id k196-v6mr1998810ita.98.1525710181309; Mon, 07 May 2018 09:23:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525710181; cv=none; d=google.com; s=arc-20160816; b=d4/z+/bF1zVCcX5DYCPP1Moef/RLBAnz49pyTSdxz1oaXPGXhu6x5yJ+LYK9xoTKAV kch1lrs8GRakYPb9la2xOQ7uM2gxt32r9l+UZ4hlJ4vbQ4zkOt3GQ/qE5DR+e2aWXF4a pTYir1cnRpY85FVpozXbmLWap1mcDrKdWuWhuAHpssLGClbYQ5Irg2NKUF+0/PXDhSHL DQA+pClsKI8L8sVl4+iK3CNhZNXTouNW1FRH5fuenfKwQRved/tttU/rF4vIGDHQYaTF /C7qy9hLGdzNmyrjzB9zWgIk//P3Vd2P5+YFuk1tchZpkIEva0aZQi229UfZn8sYXkgX eQJA== 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=CFv1CecASkV2wz1siZH3rXM+lyHlH/bVDa+dvuAkpwA=; b=sd+DSsTZ5k3iViH0qB/I1sLYe878NEGHzItnb1UqVOM6eV/NDbI6ciGCdHe52gTI+j tpeIhHi4AvyWCXJPuTvo8iWzsBy3RKjC/kUvMmrf5fi2SXiWx/KJrY++Sx7hzgJt3uS7 rzMxUdpfx+hOoOEmmsgo52AKNRf8XUlm5LGR/f8ehdAHTjW2UQZmDEaLiqOpeWRXIs7J +EPK5AlffWNDv4spxTnhbo2313KgzFYJX5zH5rARiYULg+v7saeo+GO2m0UWYd60xh4a 235p9aHiyXg2/y301QsdEptTG8GNV0wdMWMPdfNnGEYoyCuHKVs/Fbsq9wYh81Arrx8A MYwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gg9tgnRZ; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (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 v125-v6si7612679ith.144.2018.05.07.09.23.01; Mon, 07 May 2018 09:23:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gg9tgnRZ; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591AbeEGQW7 (ORCPT + 5 others); Mon, 7 May 2018 12:22:59 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:40433 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752581AbeEGQW4 (ORCPT ); Mon, 7 May 2018 12:22:56 -0400 Received: by mail-wr0-f193.google.com with SMTP id v60-v6so29360219wrc.7 for ; Mon, 07 May 2018 09:22:55 -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=CFv1CecASkV2wz1siZH3rXM+lyHlH/bVDa+dvuAkpwA=; b=Gg9tgnRZIog6S2pz9Q/keqsXWyeHRNQ4ekcJVvMPISjTu8Uch99g/anUNXQlLrnh0R xYWvDcj/zQN/NRtYH38WAa8YItMElQxYdGg5+TbjMRrfUehbGlcnRIfcaa36xg9WYb7X claHBPUg5r0zNxSgzbuafHQF9MwDGvgb4CYSk= 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=CFv1CecASkV2wz1siZH3rXM+lyHlH/bVDa+dvuAkpwA=; b=UwiIX6kOOxYbov3PDyFsfxvBic3nPAmhK6CE1p1/A/qyrC2jZg3fwuV1YDgkniRS/Y SEUkttG+lJyPvz9zNZhZobJMVWprECi27FVbAVn+Pj0gyzKCd/J7tMszW5EGp9RPBkp1 u0P9gK97V3i9wUnSoujHFxOQWWacfcGB+sJoINSZzz5fBLlQINRm8pE8h0aFVCiros8P joGv2YHaO6pnNqZUamw7+25WAMqSwfHWPYNNK6gKb+6DJZtd6NXqkXFYlR8hghiebjB0 VvuYT5Ro27kP09pipDgpcoCj1aWdFGexo5HzLRnEPgBJxZOJF1mkrpxtboneUEMafxlB m69A== X-Gm-Message-State: ALQs6tBp9WG2jBqgBWd9wf6Q6MaI+LU8WmG+qRvB9aAebw1r9mYyPjv4 zauVbqotXwDyi15J/jGtKhQctw== X-Received: by 2002:adf:b2f4:: with SMTP id g107-v6mr31126607wrd.205.1525710175315; Mon, 07 May 2018 09:22:55 -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 b11-v6sm26410251wrf.50.2018.05.07.09.22.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 09:22:54 -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 Subject: [PATCH v3 11/14] ARM: dts: imx7s: add capture subsystem Date: Mon, 7 May 2018 17:21:49 +0100 Message-Id: <20180507162152.2545-12-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180507162152.2545-1-rui.silva@linaro.org> References: <20180507162152.2545-1-rui.silva@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add media capture subsystem device to i.MX7 definitions. Signed-off-by: Rui Miguel Silva --- arch/arm/boot/dts/imx7s.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 0bae41f2944c..058e0cbf8ee7 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -1175,4 +1175,9 @@ assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_500M_CLK>; }; }; + + capture-subsystem { + compatible = "fsl,imx7-capture-subsystem"; + ports = <&csi>; + }; }; From patchwork Mon May 7 16:21:50 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: 135116 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3356438lji; Mon, 7 May 2018 09:23:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr/UaUFT+T7NyytbL5Qpn1xVRiBn/z62GeWTY1Pe+tDONWEpeG+uqnH04ReCPRC3IjjDqP6 X-Received: by 2002:a6b:5009:: with SMTP id e9-v6mr34118490iob.5.1525710182508; Mon, 07 May 2018 09:23:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525710182; cv=none; d=google.com; s=arc-20160816; b=TEP+CYO6NbyhNLYVF8296/T8e7Jx2NbAk6uzXZCSZObwgzKWeimw8NKYKs5PC/VJAP hW7aThAKy7Brh/0kf60xV2Ptq+EMfvvxyFAJEzyrvZH0ghj377lpUlbkSfrg0AnTJWSR VfmeI0mwth/9cCndk+hlqSSpEC8tSzJN2FwUHXlvrOSdiTmdo7vt/aKeebGIkUqEpsjL 24isppJWhRiKaUh4saY0dGSMID9xkF3Nb+Nauu7ejjWTaCUXplCSHnPLBmwDtGWzJ4km 8JvyLRzKKo0AZ1ecjtG30Dq5nJx7Og//8oBO8Tnskodchl78mW9EmRiu8p/I/rwR4FVm KoUQ== 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=D/NcqSb4++bH4vD50OWqfML5RCJsNlwQl9Aie5hhNnY=; b=AnPovfRYJSHV+bSNdjVzYdOcUcT7iCHtyiZxl240TuLCiZvFpH63Iqfer3zo/Pai1Y TZX7q2psDnSw6dwdu764X0neLXg32MKA30Er0ZZzuEABX6Q1td/m2QDhqX9MkdQpl8yg 7EEsW/AHw2us9wuoOy89ITRSKI47Hn72De980/HRugHSRLqDa/Q1Ms27ajUGwEAYVlNn RhnRL1LCP0SamekI5ybbZY7xqYwsW9d7cpFkSTpM767AHbowC0MTTaHngqYzctT7OOSL dSjBu7urkxhdsA3Lq8oXUpPam4ADA68liUyZO+ih1HP4Eih9rrqZcBfhoAuh9hdvCtuI gNfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TF8ZzKMm; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (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 v125-v6si7612679ith.144.2018.05.07.09.23.02; Mon, 07 May 2018 09:23:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TF8ZzKMm; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752598AbeEGQXA (ORCPT + 5 others); Mon, 7 May 2018 12:23:00 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:55843 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752036AbeEGQW7 (ORCPT ); Mon, 7 May 2018 12:22:59 -0400 Received: by mail-wm0-f67.google.com with SMTP id a8so14334366wmg.5 for ; Mon, 07 May 2018 09:22:58 -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=D/NcqSb4++bH4vD50OWqfML5RCJsNlwQl9Aie5hhNnY=; b=TF8ZzKMmEgF4ERYZaxfzUuLD49+i1o4eYSn5K8ZJlHrZB8htPa66MQHy0SWYlXQ7m3 caPehZRXLKnE2uUzvePoG3lxGr7FwYb9/9xhf+QEGEZfboq4zdH5wSqjbf/eZszodTCc 94l7r914Bbkz6hpitT5cOvSigcpHv/f1mlCgo= 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=D/NcqSb4++bH4vD50OWqfML5RCJsNlwQl9Aie5hhNnY=; b=mGrUDdXNCOrvl4Cp06eydhXjV3xJOJ/+0+y5v/oMCEPtakdLZckib5a7+85wNFC40l VNteTBEcqhQOT4QRj67oZiTWRylJ8lQppaxxeKQbWhx1Vx/ELJGMDkNFik5JAnXCPyAV OP4YCr4jVvgTWGtWcfn1vv06pRvKI9Li6+KvJcpwvcExWbhpJDwWwThkmS4AC2infiAT ibcviau4j/A3OZcEdAWUMInp7tKYZ+7ilxec1g4QTmtKqR8D5XlEd2AA4pf2Yv/8ANF7 cCoQKrRHj2fcAdSnzTe5e4ykyYLVfmw5ONKMLvCcsk5B73IAddjMuo3codVRiy/64Bl4 gJXQ== X-Gm-Message-State: ALKqPwelxbQZK6EVoASAS5BpGizLsxE5BZDADuNtno7YMVtzfjuJOYmV aN159jCBlYk5pjcIrz5JwdFnb3B6nd0= X-Received: by 10.28.238.149 with SMTP id j21mr1244666wmi.16.1525710178177; Mon, 07 May 2018 09:22:58 -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 b11-v6sm26410251wrf.50.2018.05.07.09.22.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 09:22:57 -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 Subject: [PATCH v3 12/14] ARM: dts: imx7s-warp: add ov2680 sensor node Date: Mon, 7 May 2018 17:21:50 +0100 Message-Id: <20180507162152.2545-13-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180507162152.2545-1-rui.silva@linaro.org> References: <20180507162152.2545-1-rui.silva@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Warp7 comes with a Omnivision OV2680 sensor, add the node here to make complete the camera data path for this system. Add the needed regulator to the analog voltage supply. Signed-off-by: Rui Miguel Silva --- arch/arm/boot/dts/imx7s-warp.dts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) -- 2.17.0 diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts index ffd170ae925a..10df24c05b76 100644 --- a/arch/arm/boot/dts/imx7s-warp.dts +++ b/arch/arm/boot/dts/imx7s-warp.dts @@ -91,6 +91,14 @@ regulator-always-on; }; + reg_peri_3p15v: regulator-peri-3p15v { + compatible = "regulator-fixed"; + regulator-name = "peri_3p15v_reg"; + regulator-min-microvolt = <3150000>; + regulator-max-microvolt = <3150000>; + regulator-always-on; + }; + sound { compatible = "simple-audio-card"; simple-audio-card,name = "imx7-sgtl5000"; @@ -218,6 +226,25 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; + + ov2680: camera@36 { + compatible = "ovti,ov2680"; + reg = <0x36>; + clocks = <&osc>; + clock-names = "xvclk"; + reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; + DOVDD-supply = <&sw2_reg>; + DVDD-supply = <&sw2_reg>; + AVDD-supply = <®_peri_3p15v>; + + port { + ov2680_to_mipi: endpoint { + remote-endpoint = <&mipi_from_sensor>; + clock-lanes = <0>; + data-lanes = <1>; + }; + }; + }; }; &i2c4 { From patchwork Mon May 7 16:21:52 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: 135118 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3356521lji; Mon, 7 May 2018 09:23:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp277Kxvf9vhwjGO9acu1w/2I1BS3Gdg6lx+AYMTRZJUI9HQ9Om4oYu1qc3XOIChMxdmKhi X-Received: by 2002:a24:9987:: with SMTP id a129-v6mr1895871ite.124.1525710186911; Mon, 07 May 2018 09:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525710186; cv=none; d=google.com; s=arc-20160816; b=QuQCMzBZlaZQAQyHyAQFCoY45tCpbXq45bPO8goct4LiH9qnF9KOCcdw22OsinH7f1 WxEZwWKtR/bRzvoMMynycL2CRsubcHxVn3Av0UMMGaMCuV2KKlfZ1eL3ZK8mDPqM9hBz hRM384mWpocA2cCrn/lAaAMqtuktXSruXR/ZyTu3CG2lsLhREEAVXPnE3V6jXSP7Q0Uo 3QlsQT5jRc9MxK7X7QWRwvyq0BacLyI1WrDspQSyAnZJJpcfRCSKVW6VpF2+g17rMDiM qJ5gtrx/qtvKqZuyXSy3qP6lEdVnGoqcIDGwXOPyuwTRfJpAfN6Y3T+kw7YDEICFMElL OEJA== 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=TiMKxNcuWyiIR1/1GRykjtSZyeJ3/oWUfsTfPU4yLf0=; b=lQB3QhLAnGABIIdFVg6XIshggUVBwN+abrQR3+ZlIY2iiNk6A4jBt9BMKvtjyV7hW5 JrWczW2yioppO/1Cn+RWwmICXC/aA/yctmjEJv0HIvc/nh3inCxHGz+ELFg2eVi0Kj6o fWLlsJ++C4UVypXA/FPyNQziM+u8YYi9D94W62sVIJrqSoJrsrizU4MFK7kMENM1+iZ0 16lpIkbsBPZB0XFT9+WMkv8gniyzNoBSBp0m34onBmfbZs4pVOx9gMU+FsIon2vDEawZ HMivg5ffXJfOaEpPBt2q9EZi/j8WXDzPVINDT21ECVI4dTmUrrXKjpnNasiMGK6rJbby NIsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BVOCrLJu; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (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 v125-v6si7612679ith.144.2018.05.07.09.23.06; Mon, 07 May 2018 09:23:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BVOCrLJu; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752036AbeEGQXF (ORCPT + 5 others); Mon, 7 May 2018 12:23:05 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33733 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752561AbeEGQXE (ORCPT ); Mon, 7 May 2018 12:23:04 -0400 Received: by mail-wm0-f66.google.com with SMTP id x12-v6so15777328wmc.0 for ; Mon, 07 May 2018 09:23:04 -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=BVOCrLJuldTLe5+d/Lqu5GvAPJrEknn81mp2uX67Bfn8A1qHPgKua7GHnt8HjyeNiC GNKfiEruMHnuWeFYq1q46ur1G5tTRBOERp2UohqcAAGDLcFLLXDFRK3hedMy6dt6gbWj f6PB/ZAOa0c8AXkFk2T7w09ATztHefOAVoAPs= 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=IzGQnQjRBjjI7UN6LQsaXHG/FP3TksXmzvhCfL4mwg/jCf0OJxWSl7nA5PnzKnCXH+ XCpjO+Cqo4NQEPdjHhHJk+rmbUK6KqEdgXjHyUq3w3H0jnJOE5SPd8gpM+0/DP3CCp0S BVodgtm2e3YuRux7tJCwIkLmv3V4ZwCTPt28QnRmcfURBv/NBU0A3y6H2qJ4vACnMJ1K 862nCTw1sXismSXp+xhD7nj6djonPuQM/Q0/U9G4+oTwadcn4xQBBBd0TOeQcbo8ihhb pobJPG4jHp851xouTrRZtvJa6vVcQRMXMssPig7IsHx+NOWa01rvfHbm5T0b7PPqswSO LhXQ== X-Gm-Message-State: ALKqPwfsRIAfpsFHnDhiSuyq2Mv+fO6Hn2HbzrYhMIsd8aTVHpGr6hUF 8tYk9p57NzbRA8Eav81mQTSWbw== X-Received: by 2002:a1c:8583:: with SMTP id h125-v6mr1166182wmd.98.1525710183379; Mon, 07 May 2018 09:23:03 -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 b11-v6sm26410251wrf.50.2018.05.07.09.23.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 09:23:02 -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 Subject: [PATCH v3 14/14] media: staging/imx: add i.MX7 entries to TODO file Date: Mon, 7 May 2018 17:21:52 +0100 Message-Id: <20180507162152.2545-15-rui.silva@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180507162152.2545-1-rui.silva@linaro.org> References: <20180507162152.2545-1-rui.silva@linaro.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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 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