From patchwork Thu Feb 15 01:16:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 10220207 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F285E602C2 for ; Thu, 15 Feb 2018 01:17:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0F4328D84 for ; Thu, 15 Feb 2018 01:17:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2F7128E0A; Thu, 15 Feb 2018 01:17:44 +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=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94C2C28D84 for ; Thu, 15 Feb 2018 01:17:43 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 601F6267C16; Thu, 15 Feb 2018 02:16:53 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 29411267BF8; Thu, 15 Feb 2018 02:16:50 +0100 (CET) Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by alsa0.perex.cz (Postfix) with ESMTP id 3E6B6266F0D for ; Thu, 15 Feb 2018 02:16:46 +0100 (CET) Received: by mail-pg0-f65.google.com with SMTP id m19so3009873pgn.1 for ; Wed, 14 Feb 2018 17:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=odcuYhOhc4CFOv1fLx3UnxLN1nie4DTAiWdpFf9T21I=; b=VtrWfFXnUb6kFU7KISXUO6jTAYnrvTIHejWc+6/ZuHnRYePeoa+BZsVYS3TpdIH6b8 2m0ik9zzbMDg1prYOTELyQR505Dd8zgiG9FuBZYu5ugzs3+DhYVjkVwLiY3iJrz8SQLh a7aWredyHFLK4xRcrwVLCrwruuI+U+FV3j9jvyGfoBjf8X6TOaO2Za8jhrkx9sJY4Nv5 XKU7h9a+ufMojsx7u4heqz2YC9GFgP9oRmXJL0nz9b/JnMTT9R5+x3cUMj7LpfaN3e19 yQxtXqB3WS+MdcHAOPgjR7AYGE00E7fP5W1Mj4k8AyunuEyThGHhTqqpXpBd98QFoPOR ZZPg== 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; bh=odcuYhOhc4CFOv1fLx3UnxLN1nie4DTAiWdpFf9T21I=; b=UNbgCDdqW4UUfyvLKwze272pjIMfoRz8vyzMX6Ocd2kQ1cA4lPBxA+NzouWjuuw4AL kYqOF4sttPm0eEfv6U7+OZhydHECDnUgEXu3noTd5bF+qf2Twuj9aQaIS6EcbcgGCR97 Zp12BShb3UbRAly6pgAz17R3XSNmLK4cPUOvQrlZuKBdpsEWmGVQD/uStmlPSMTR0oWG mG+4hLGlbDiixboT8EUclL8VPV+GMVQKZwX48r+Tv0Ja09Bjs+1dI9rTF/ckx7WXaPG/ VNkM4c0kTti44FA/h+LQeB0LCgr+T0Qld6ttMtyInGqVpy0jFtBDcFqpUOXlIEQW2aAF XY7A== X-Gm-Message-State: APf1xPC4d69wpYfHSvlujs7pkWaAM2Izve/W1/Sx4jpDAoUxyMeVZVMg WQ7pT06vLjB+f6q8zacbgJM1ddzE X-Google-Smtp-Source: AH8x225RNZIZgNJ5PAh6viw5RZ3msmU3KkvYGw7d/RlV0N5h0aGJjS1Ct05S4XP+DGERlfXup9+VNA== X-Received: by 10.99.127.70 with SMTP id p6mr740908pgn.203.1518657405716; Wed, 14 Feb 2018 17:16:45 -0800 (PST) Received: from tharvey.pdc.gateworks.com (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by smtp.gmail.com with ESMTPSA id g15sm34088336pgu.52.2018.02.14.17.16.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Feb 2018 17:16:44 -0800 (PST) From: Tim Harvey To: linux-media@vger.kernel.org, alsa-devel@alsa-project.org Date: Wed, 14 Feb 2018 17:16:16 -0800 Message-Id: <1518657381-29519-4-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518657381-29519-1-git-send-email-tharvey@gateworks.com> References: <1518657381-29519-1-git-send-email-tharvey@gateworks.com> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Verkuil , Mauro Carvalho Chehab , Philipp Zabel , Steve Longerbeam , shawnguo@kernel.org Subject: [alsa-devel] [PATCH v11 3/8] media: add digital video decoder video interface entity functions X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Add a new media entity function definition for digital TV decoders: MEDIA_ENT_F_DTV_DECODER Signed-off-by: Tim Harvey --- Documentation/media/uapi/mediactl/media-types.rst | 11 +++++++++++ include/uapi/linux/media.h | 5 +++++ 2 files changed, 16 insertions(+) diff --git a/Documentation/media/uapi/mediactl/media-types.rst b/Documentation/media/uapi/mediactl/media-types.rst index 8d64b0c..195400e 100644 --- a/Documentation/media/uapi/mediactl/media-types.rst +++ b/Documentation/media/uapi/mediactl/media-types.rst @@ -321,6 +321,17 @@ Types and flags used to represent the media graph elements MIPI CSI-2, ...), and outputs them on its source pad to an output video bus of another type (eDP, MIPI CSI-2, parallel, ...). + - .. row 31 + + .. _MEDIA-ENT-F-DTV-DECODER: + + - ``MEDIA_ENT_F_DTV_DECODER`` + + - Digital video decoder. The basic function of the video decoder is + to accept digital video from a wide variety of sources + and output it in some digital video standard, with appropriate + timing signals. + .. tabularcolumns:: |p{5.5cm}|p{12.0cm}| .. _media-entity-flag: diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h index b9b9446..2f12328 100644 --- a/include/uapi/linux/media.h +++ b/include/uapi/linux/media.h @@ -110,6 +110,11 @@ struct media_device_info { #define MEDIA_ENT_F_VID_IF_BRIDGE (MEDIA_ENT_F_BASE + 0x5002) /* + * Digital video decoder entities + */ +#define MEDIA_ENT_F_DTV_DECODER (MEDIA_ENT_F_BASE + 0x6001) + +/* * Connectors */ /* It is a responsibility of the entity drivers to add connectors and links */