Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp825308ybk; Fri, 15 May 2020 14:50:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7QfWCJclQJqxOTXFbCUXUUS/wN2dcT5AJeUF4dIj0KNE6c7Tuuv8I4o3lBRuiaDGSF4z8 X-Received: by 2002:a17:906:dbc9:: with SMTP id yc9mr4859300ejb.157.1589579445587; Fri, 15 May 2020 14:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589579445; cv=none; d=google.com; s=arc-20160816; b=tdq45OO7qUxVuA+3oAOsZ8/YnA+BbX6/K78DHzM/Rp111CJBap3G5mhIP/tQ6FAy/q K0YvBon9/ct+wPdA88Mhrn3aciJ8GuDB932O2ONNB8CbPHmRqrNi0b6Zezkgx4a+K4qL RyaA6QwFdw64jZubcs8dEYmFvje4z0k6xLxZHqPzMAs5rwFGjzqlzlqskFfgni6CqIJX iFPNN6YSe16m98b7hc7Ak9fK4r+VEd/stw9MXsmi1HnIqPtcLYVtgaLJeTJMbY2XwnH4 WOcNOAQK0zS5mj78YhR56MC+lDrJR4FAS83wrvc/wPebUcDnm1Vpgp64OH37b9AmeYvm +Tzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/bMUwdeTMh2W9i+EOVv7dhyz664fp1ziAg67LLNKBOI=; b=Cezspa3BBCSIXWJICdZZhKqU4Xy/Dwfbp5+FABcYSv7DNtB/G005phcX4a9C1EpH/U 1h1PhkCZuCeHUZQGLIGBEDu2ZvW3XxKEle8d9nrf0PuRVzWlPkc4vSD0hDSfTEq1qUwj r2yU9a3OVLMBp88aHXFXRvrFEcVhdNXEjFxF/z15U4u9aLk3IwEcmS66DtwfNzk2u1Q9 PHTwhdTIFRxs5FKyFcgOjr2v9R2iOid5JOGZTin0msqSTLft2ku+a4zKfQ5luD3TeE3y vmXwlZDcExzLT/uuSGj74N7RpPTtLQaUIA0kC3RUKzk9rkyaMvabeWiYnTv2XcO8sz/E G7Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=frXfUUqE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k3si1943775ejk.202.2020.05.15.14.50.21; Fri, 15 May 2020 14:50:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=frXfUUqE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727777AbgEOVso (ORCPT + 99 others); Fri, 15 May 2020 17:48:44 -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-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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 + -- 2.26.2