From patchwork Sun Jul 16 23:26:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 789176 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x9jJP0BXnz9sRg for ; Mon, 17 Jul 2017 09:27:30 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GSdh1VY5"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="W5p17Quz"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=wINprzMLgNG3RFL3ycSlvM1CTAsCiJC6/czc29PvfWw=; b=GSd h1VY5THAS8L1thatJr2S/MxzGQ2mVWWBMBZnzLVBQWzFOKUDMJsOpmpMtAdhokAkw89Uzys4qPX9O Ew0BbVqLZTXn6gBBYchtHTPtY5pG3Cs55kTWrKgIOfWU7/X4t0ZajFQNZbNPnQGmn9H4JW9FQ0Cda Z5WysUb9FbIihPOwJGeF1kGp6hoa64x+FkLX+jfZZdS0N72ShjoDCxxcijaAGMt2P5KOENJoYBmhh jV805O2kVCXVG71tjhNnQ70aS7LP1NfDKCPIRLX8oT5TBMIZuwwhOBK8seaZDfxG6nCZE+SQ9ZBmF hHrtrCswIaAjCK3+HbIKKLpPcv01NPg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dWswf-0002jc-L1; Sun, 16 Jul 2017 23:27:25 +0000 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dWswc-0002is-0q for linux-arm-kernel@lists.infradead.org; Sun, 16 Jul 2017 23:27:24 +0000 Received: by mail-qt0-x244.google.com with SMTP id j25so2772355qtf.0 for ; Sun, 16 Jul 2017 16:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Z85a/JjtjZ0zsbO/GP7lpeyPddICNfnG3pSSo4NUtp0=; b=W5p17QuzWWi08lZLgV3ed4+xg52s6WaMqUXu/uSdzOIC/DPUn1S2jcBKwpKfVC19ja 70yj7Cioc7mYLxQY+cjiU436CXr+yl8JTavoHdp5R0rJ2n1Z3liL7W+WTc5ARI66980c 2Y82WcFoRDB872HEbm3fvXJF2ZaWt89Ru/ijeAABqeMv17eQxykykrPH8B4nHZdKMd7q f2COOOyqMqxPw8oZg0ejrU+MAB6VIepI3qA/W767sa7IENgVFm2IRnGDUhoyz70ejSn0 QGnkVS6a2+rxJen8nLZXLHOJX+kXPMaQorAR5BV+Ydy2PKAEqQXd0/PhQuWi7IMKq8SI HRYA== 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; bh=Z85a/JjtjZ0zsbO/GP7lpeyPddICNfnG3pSSo4NUtp0=; b=qqv5ei7JmRuAuuMzV7Am/RYoj6XSW/6QTKetgqpAsUqcWwBzpFTydC1NEXcJYGAJlc uGb0bgjZ6ig5K3dD9b4qeenSAhSWypn7oOMogBLRAR1qoUW0S9RURDWgZXmaPs7Nx5pO ppgRYODa25LpbW0p2N9afcXPUYk9x5wXi+b2vsWImJT3PZCQw6LAO1RG3ElHqFQOkrBp PcFPlBGaSkZWo2aWYqxap0Qfs4pci9JIdD54whvx0yfCy8NuZXvVMzI8V5KaGkU5Kpiv nSxVBFEiZtuBAoFS02PfvgpGOiPZAFF8yKt795Zpf3pQmb6VBG4JOvBabMFF+fQBXuvd 1gpQ== X-Gm-Message-State: AIVw111kAlgTxCN7fbYTFeVUUf0Yx2vh9cLldbD0yiC1QFaJpv1t7LP8 9aGlliecY459gA== X-Received: by 10.200.49.180 with SMTP id h49mr5207160qte.176.1500247619954; Sun, 16 Jul 2017 16:26:59 -0700 (PDT) Received: from localhost.localdomain ([187.180.181.24]) by smtp.gmail.com with ESMTPSA id x25sm12851220qth.61.2017.07.16.16.26.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Jul 2017 16:26:59 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH v2] ARM: imx_v6_v7_defconfig: Enable staging video4linux drivers Date: Sun, 16 Jul 2017 20:26:42 -0300 Message-Id: <1500247602-3364-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170716_162722_202697_B257F5EF X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400d:c0d:0:0:0:244 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 UPPERCASE_50_75 message body is 50-75% uppercase X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , steve_longerbeam@mentor.com, linux-arm-kernel@lists.infradead.org, p.zabel@pengutronix.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Steve Longerbeam Enable i.MX v4l2 media staging driver. For video capture on i.MX, the video multiplexer subdev is required. On the SabreAuto, the ADV7180 video decoder is required along with i2c-mux-gpio. The Sabrelite and SabreSD require the OV5640 and the SabreLite requires PWM clocks for the OV5640. Increase max zoneorder to allow larger video buffer allocations. Signed-off-by: Steve Longerbeam Signed-off-by: Fabio Estevam --- Changes since v1: - Rebased against Shawn Guo's for-next tree. arch/arm/configs/imx_v6_v7_defconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 49e7969..3a48ad8 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -51,6 +51,7 @@ CONFIG_PREEMPT_VOLUNTARY=y CONFIG_AEABI=y CONFIG_HIGHMEM=y CONFIG_CMA=y +CONFIG_FORCE_MAX_ZONEORDER=14 CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" CONFIG_KEXEC=y CONFIG_CPU_FREQ=y @@ -186,6 +187,7 @@ CONFIG_SERIAL_FSL_LPUART=y CONFIG_SERIAL_FSL_LPUART_CONSOLE=y # CONFIG_I2C_COMPAT is not set CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y CONFIG_I2C_MUX_GPIO=y # CONFIG_I2C_HELPER_AUTO is not set CONFIG_I2C_ALGOPCF=m @@ -229,14 +231,20 @@ CONFIG_REGULATOR_PFUZE100=y CONFIG_MEDIA_SUPPORT=y CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_RC_SUPPORT=y +CONFIG_MEDIA_CONTROLLER=y +CONFIG_VIDEO_V4L2_SUBDEV_API=y CONFIG_RC_DEVICES=y CONFIG_IR_GPIO_CIR=y CONFIG_MEDIA_USB_SUPPORT=y CONFIG_USB_VIDEO_CLASS=m CONFIG_V4L_PLATFORM_DRIVERS=y +CONFIG_VIDEO_MUX=y CONFIG_SOC_CAMERA=y CONFIG_V4L_MEM2MEM_DRIVERS=y CONFIG_VIDEO_CODA=m +# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set +CONFIG_VIDEO_ADV7180=m +CONFIG_VIDEO_OV5640=m CONFIG_SOC_CAMERA_OV2640=y CONFIG_IMX_IPUV3_CORE=y CONFIG_DRM=y @@ -346,6 +354,9 @@ CONFIG_FSL_EDMA=y CONFIG_IMX_SDMA=y CONFIG_MXS_DMA=y CONFIG_STAGING=y +CONFIG_STAGING_MEDIA=y +CONFIG_VIDEO_IMX_MEDIA=y +CONFIG_COMMON_CLK_PWM=y CONFIG_IIO=y CONFIG_IMX7D_ADC=y CONFIG_VF610_ADC=y