From patchwork Wed Feb 20 07:48:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerry-ch Chen X-Patchwork-Id: 10821643 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 38D37139A for ; Wed, 20 Feb 2019 07:54:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F2F12B923 for ; Wed, 20 Feb 2019 07:54:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12C592DB04; Wed, 20 Feb 2019 07:54:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0BD322B923 for ; Wed, 20 Feb 2019 07:54:31 +0000 (UTC) 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=OoThSQ4tt6uTL5j7Tmnt4pFC0bt5FBjy4KoXYVKkafI=; b=Oo6clA/w9xWGi/ /TX5G0HyzJBGo9lCqy37o4gBAj2LTWRt+Kwcnnq+9BElhNVM6MU8CtLvZGNVWv17DgOX3TewY6jmC NBJtPEASwuXCScuX69/GgxRcQZpcdWI7QWcneze9S/nf9Eo+j2dDyn8mwic8TK0OJybKKjK0d1oL0 CelSzQ71FuOEJwg3XVZPe0PNTYCQKjBHszQogQnNfF//H+nOgnlDzxmnFQRZCSSX/7Yi5CpLs1jtU 8ZBDCw6TFZ1RhfwxPFL0TfuDoREWmFY6ooSS1BYHkeO7Uj+WdZO0Muhv8Cv1D3hIgc/BKNlwYGVRY GJiT34eUouFFSveDRT7w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwMi5-00007b-P0; Wed, 20 Feb 2019 07:54:30 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwMhz-0008Ul-G7; Wed, 20 Feb 2019 07:54:24 +0000 X-UUID: 368622f3f47f42ada0e46c6b5a6862a9-20190219 X-UUID: 368622f3f47f42ada0e46c6b5a6862a9-20190219 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1662368699; Tue, 19 Feb 2019 23:53:12 -0800 Received: from mtkmbs08n1.mediatek.inc (172.21.101.55) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 19 Feb 2019 23:53:10 -0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 20 Feb 2019 15:53:09 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 20 Feb 2019 15:53:09 +0800 From: Jerry-ch Chen To: , , , , Subject: [RFC PATCH V0 6/7] media: platform: Add Mediatek FD driver KConfig Date: Wed, 20 Feb 2019 15:48:12 +0800 Message-ID: <1550648893-42050-7-git-send-email-Jerry-Ch.chen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1550648893-42050-1-git-send-email-Jerry-Ch.chen@mediatek.com> References: <1550648893-42050-1-git-send-email-Jerry-Ch.chen@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190219_235423_567228_20CD980F X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Sean.Cheng@mediatek.com, Rynn.Wu@mediatek.com, srv_heupstream@mediatek.com, holmes.chiou@mediatek.com, Jerry-ch Chen , jungo.lin@mediatek.com, sj.huang@mediatek.com, yuzhao@chromium.org, linux-mediatek@lists.infradead.org, zwisler@chromium.org, christie.yu@mediatek.com, frederic.chen@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds KConfig for Mediatek Face Detection driver (FD). FD is embedded in Mediatek SoCs. It can provide hardware accelerated face detection function. Signed-off-by: Jerry-ch Chen --- drivers/media/platform/Kconfig | 2 ++ drivers/media/platform/mtk-isp/Kconfig | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 drivers/media/platform/mtk-isp/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index a505e9f..ef08d48 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -32,6 +32,8 @@ source "drivers/media/platform/davinci/Kconfig" source "drivers/media/platform/omap/Kconfig" +source "drivers/media/platform/mtk-isp/Kconfig" + config VIDEO_ASPEED tristate "Aspeed AST2400 and AST2500 Video Engine driver" depends on VIDEO_V4L2 diff --git a/drivers/media/platform/mtk-isp/Kconfig b/drivers/media/platform/mtk-isp/Kconfig new file mode 100644 index 0000000..096d2cb --- /dev/null +++ b/drivers/media/platform/mtk-isp/Kconfig @@ -0,0 +1,10 @@ +config VIDEO_MEDIATEK_FD_SUPPORT + bool "Mediatek face detection processing function" + + default n + help + Support the basic hardware accelerated face detectioin feature. + + FD driver provide face detection function, it can detect + faces of Rotation-in-Plane from -180 degrees to +180 degrees + and Rotation-off-Plane from -90 degrees to +90 degrees.