From patchwork Sun Jul 16 18:52:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 789107 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 3x9bD51wTvz9t2M for ; Mon, 17 Jul 2017 04:53:25 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rLtUuSuX"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="sR3bdqbB"; 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=iGA4KMD2wAjJrbwj3j7wNeAcdUWYQbT0HVwsKc4vupg=; b=rLt UuSuXif0u5ThigOOIv1JAqi71fxBLR5xqPKnw5KlEqifalBweBhvbmYTh6psquL5oH85n6M6ye87G orS+OG3Rd7SZuTJXqojRun1kjDjlyfn3U4bL8SuScTpWgCOmeUyNhfpx+SP+pfe/gnm00xPcpn5yP ARo4PcF0idROp1QDv1oKSkYHrV3bHYOWDHKHVBdECs+kt81UKwpx1jP2L9asuFHpZ1upvA0MNalEQ Tw6do5K3x245ZDJjKa5hR+nXWrOCg4ei+l8YE+rOSIKght8bJYWd+fyUW2t5axZZTbN4WNw5rKsd2 vzj5IcHOhJDFHX7GOPcftTSAdzODlmg==; 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 1dWofS-0001ks-EK; Sun, 16 Jul 2017 18:53:22 +0000 Received: from mail-qk0-x243.google.com ([2607:f8b0:400d:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dWofN-0001jY-Df for linux-arm-kernel@lists.infradead.org; Sun, 16 Jul 2017 18:53:20 +0000 Received: by mail-qk0-x243.google.com with SMTP id a66so17323088qkb.0 for ; Sun, 16 Jul 2017 11:52:53 -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=F1sjkqVYeQaH1IJMw9sspkz1O0IFStGdFZu/sRxJItc=; b=sR3bdqbBDPb0O6Doi6QXb8lPtc03HYwQFtKdRlsGp+Fatvjn0YR6/M9IW6r/MBmFcz 1ZQJdL20PmOi46Kd5X4m2KsEH3BndPLu72aGi/TrTrg62OsSWt6nX4ysB+fjFszdKQMV FIfWoMPo3yhCfqfu9ShxgFIiYWtaaf8tJozhfCsslBxqlWqiJNtiVzHrw2xShiAonVZM r1JtdStY7knxTz4DzR3U+R/v60t3oqqsdGJsAsBzSjHvi2JPB/WTugRxrc2KxaeQi0pc htxsirXNuFbTOaUgFyqXuHyjL71e9rDs7dZ2OpNVhpVZzmyUt4rPR3IRTaZkWWBahaBe FNTg== 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=F1sjkqVYeQaH1IJMw9sspkz1O0IFStGdFZu/sRxJItc=; b=MmMmBvNbwGmJ5zfOtLZXASZ07ZtgZvY4Vh8jUtMx2sAtkHx6icpor2xEtiRM8jYcIw X0NpgS98yW2FzVqcBXyOYQxYOl7TSOSkDN4lm1fsh28l3l6ZM4IYjRH+HQfKzIBE6kPU MbuVLQYVujDP3f2DCM7gLeClVcbzVNpVEUaqw48g/LBJnwDs09XIJIm2ZEK5EQOl08CG sIR/VHpuAF1aJheBQyfB4Eu4hVh/RoklC4ZgmZ9V8ptXwiRIuxTmQ2sHMb08U4UFEC7O j4RpTVFEbVt/VFTEPUj/iV6j3oZk7OZ09dmaWFeC+vpLMXh+m4Tpi797VurD7wRljbk9 EvKA== X-Gm-Message-State: AIVw1114YB97appDelZBoBco/YcUqw2hz5YbghPKYX1QM8cQjJIGkDX1 J3FuPK4cVuoUkg== X-Received: by 10.55.77.11 with SMTP id a11mr24189209qkb.161.1500231171876; Sun, 16 Jul 2017 11:52:51 -0700 (PDT) Received: from localhost.localdomain ([187.180.181.24]) by smtp.gmail.com with ESMTPSA id k22sm5855034qtf.26.2017.07.16.11.52.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Jul 2017 11:52:51 -0700 (PDT) From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH] ARM: imx_v6_v7_defconfig: Enable staging video4linux drivers Date: Sun, 16 Jul 2017 15:52:34 -0300 Message-Id: <1500231154-7073-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_115317_546162_435516AB X-CRM114-Status: UNSURE ( 7.89 ) 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:c09:0:0:0:243 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 --- 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 e74de69..218ae24 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 @@ -227,14 +229,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=y +# 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 @@ -344,6 +352,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