From patchwork Fri May 15 21:48:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Almeida X-Patchwork-Id: 209794 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7711C433DF for ; Fri, 15 May 2020 21:48:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 94A442070A for ; Fri, 15 May 2020 21:48:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="frXfUUqE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727940AbgEOVsn (ORCPT ); Fri, 15 May 2020 17:48:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726266AbgEOVsn (ORCPT ); Fri, 15 May 2020 17:48:43 -0400 Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31493C061A0C; Fri, 15 May 2020 14:48:43 -0700 (PDT) Received: by mail-qk1-x744.google.com with SMTP id 190so4250603qki.1; Fri, 15 May 2020 14:48:43 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=/bMUwdeTMh2W9i+EOVv7dhyz664fp1ziAg67LLNKBOI=; b=frXfUUqE34wjGzrPt/UpX6qWWgh222sCoLJ9clKhWElbz17fHBYpYXjAI4efHyhqNh nhK45dynSmhoiiVVdg4BFVtA9cI9qnJCP14a2zgekPK6WytP1ZA3+DTlAcHVq0R/BJdk cNOqXpLcH1NG1SasrtTmnG7szh0NQcyz+lYAV2vVaXlIDHqyCBLrAURYfrajxa9x/m2H JQEDINlKlG2D6fHnVsl1YydjCIez+BLbYIujtMXwJh6SDsj+BUdMkc3agTpBNEy2DyHo fR+kT75oT2Q7WTPCg7XpoNzZzMX8Ivusd+o7fM4WDQIQuDEr58DEVUNDMUjby39VMy1M CRwA== 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:mime-version:content-transfer-encoding; bh=/bMUwdeTMh2W9i+EOVv7dhyz664fp1ziAg67LLNKBOI=; b=EXO7rKGdoD7koaW7916E3rMxsa81RNrku/j6Jtu1hK+BIgAYLluqPfwlCQrf4eodW0 W27tCI36nj2QHduSGHP3uLxygKhd7jg7Zu7hz0n2GVrfEEcm+zsZB6I9K7tZrgHxSP2o OULiDfV2eoLXH3VLbh6t41g3fm6pwnPVtx9YWWKho6Mf2mpNRRTHCaozy1Infh6CKQHX pgDS75zUlulOFo2un4K4KNnyBJ6Xg6Tu68tLwXVsw1EZ+kD7veSds0qmAUwTjYMyMgqf hSBkyhjtK3ZlZVyjdij8qav9OfAu15whN7fMKUP/0Vdi8gV0kThwRGNit/j1wsg0XU49 2B/w== X-Gm-Message-State: AOAM533WBF8B2gGC3jo4p9ZL8u6uQX/7h85xrLqSaoggMBZwo6M/RDk1 RChu17G8fr68Zagj1QVM4As= X-Google-Smtp-Source: ABdhPJxBYveqgHbL6PYIQcIWYaOZD3nhsEZ/WdrV3LcpuHRSJ+RZzaYXaSvg11WdbuNMWUdbck0ZmQ== X-Received: by 2002:a37:7403:: with SMTP id p3mr5656512qkc.339.1589579322358; Fri, 15 May 2020 14:48:42 -0700 (PDT) Received: from localhost.localdomain ([2804:18:700e:2692:8980:dd13:6be6:4050]) by smtp.gmail.com with ESMTPSA id m21sm2495019qkh.50.2020.05.15.14.48.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 14:48:41 -0700 (PDT) From: "Daniel W. S. Almeida" X-Google-Original-From: Daniel W. S. Almeida To: mchehab+huawei@kernel.org, sean@mess.org, kstewart@linuxfoundation.org, allison@lohutok.net, tglx@linutronix.de Cc: "Daniel W. S. Almeida" , linux-media@vger.kernel.org, skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel@vger.kernel.org Subject: [RFC, WIP, v5 01/10] media: vidtv: add Kconfig entry Date: Fri, 15 May 2020 18:48:06 -0300 Message-Id: <20200515214815.15514-2-dwlsalmeida@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200515214815.15514-1-dwlsalmeida@gmail.com> References: <20200515214815.15514-1-dwlsalmeida@gmail.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: "Daniel W. S. Almeida" Add the necessary Kconfig entries and a dummy Makefile to compile the new virtual DVB test driver (vidtv). Signed-off-by: Daniel W. S. Almeida --- drivers/media/test-drivers/Kconfig | 10 ++++++++++ drivers/media/test-drivers/Makefile | 1 + drivers/media/test-drivers/vidtv/Kconfig | 11 +++++++++++ drivers/media/test-drivers/vidtv/Makefile | 2 ++ 4 files changed, 24 insertions(+) create mode 100644 drivers/media/test-drivers/vidtv/Kconfig create mode 100644 drivers/media/test-drivers/vidtv/Makefile diff --git a/drivers/media/test-drivers/Kconfig b/drivers/media/test-drivers/Kconfig index 188381c855939..7d273a8a7acc2 100644 --- a/drivers/media/test-drivers/Kconfig +++ b/drivers/media/test-drivers/Kconfig @@ -4,6 +4,10 @@ menuconfig V4L_TEST_DRIVERS bool "V4L test drivers" depends on VIDEO_DEV +menuconfig DVB_TEST_DRIVERS + bool "DVB test drivers" + depends on DVB_CORE && MEDIA_SUPPORT && I2C + if V4L_TEST_DRIVERS source "drivers/media/test-drivers/vimc/Kconfig" @@ -24,3 +28,9 @@ config VIDEO_VIM2M source "drivers/media/test-drivers/vicodec/Kconfig" endif #V4L_TEST_DRIVERS + +if DVB_TEST_DRIVERS + +source "drivers/media/test-drivers/vidtv/Kconfig" + +endif #DVB_TEST_DRIVERS diff --git a/drivers/media/test-drivers/Makefile b/drivers/media/test-drivers/Makefile index 74410d3a9f2d2..9f0e4ebb2efe7 100644 --- a/drivers/media/test-drivers/Makefile +++ b/drivers/media/test-drivers/Makefile @@ -7,3 +7,4 @@ obj-$(CONFIG_VIDEO_VIMC) += vimc/ obj-$(CONFIG_VIDEO_VIVID) += vivid/ obj-$(CONFIG_VIDEO_VIM2M) += vim2m.o obj-$(CONFIG_VIDEO_VICODEC) += vicodec/ +obj-$(CONFIG_DVB_VIDTV) += vidtv/ diff --git a/drivers/media/test-drivers/vidtv/Kconfig b/drivers/media/test-drivers/vidtv/Kconfig new file mode 100644 index 0000000000000..22c4fd39461f1 --- /dev/null +++ b/drivers/media/test-drivers/vidtv/Kconfig @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: GPL-2.0-only +config DVB_VIDTV + tristate "Virtual DVB Driver (vidtv)" + depends on DVB_CORE && MEDIA_SUPPORT && I2C + help + The virtual DVB test driver serves as a reference DVB driver and helps + validate the existing APIs in the media subsystem. It can also aid developers + working on userspace applications. + + + When in doubt, say N. diff --git a/drivers/media/test-drivers/vidtv/Makefile b/drivers/media/test-drivers/vidtv/Makefile new file mode 100644 index 0000000000000..d1558d84eeaed --- /dev/null +++ b/drivers/media/test-drivers/vidtv/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +