From patchwork Fri Feb 9 06:32:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 10208305 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 0F41460245 for ; Fri, 9 Feb 2018 06:34:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F308E297A4 for ; Fri, 9 Feb 2018 06:34:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E735C297A8; Fri, 9 Feb 2018 06:34: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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 813F0297A4 for ; Fri, 9 Feb 2018 06:34:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752484AbeBIGen (ORCPT ); Fri, 9 Feb 2018 01:34:43 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:41890 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751124AbeBIGc7 (ORCPT ); Fri, 9 Feb 2018 01:32:59 -0500 Received: by mail-pg0-f67.google.com with SMTP id t4so1953209pgp.8 for ; Thu, 08 Feb 2018 22:32:58 -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=skZpeuz/SkT69L0OR01MN4uHlCP1m2RCXQ+7q9b6UQeztvtU9chDO28FqFwjPMlcHl Ce+Sghfy+ITEkTGYwavZX/u+QN1OOokaHy1TEcsvw8uAQhms749RCXUMUOy7/eXApBNh 8tQ9mDEZE6ZW+WnFkNwIgZIjBz/Gns8ZatIHVqZ2IJAZSW6o2vl3HJ3rI8eOJiaFVOV+ a2eQh2Q+Wm4UJ0CRtPyBePBmfPYHyQPl5q5ZBBsZo/qrblAFHLiZ85QlZQQ7Qs+c7fkC oMFGIvQ1teMIod+E+QzlfnUMvCgqYXVxJCQfHjmBaFZo1F/vl1MYGUDT2NZ0PUrKKi/a Jgjw== 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=maRG4mLA2/rmfm/wQPA1DpZfyRerJPdD6b+vEtesS+ma2bz1BGDdFvESR2cEGycWjT D6WrxPxDyf7h9FErhF5bDrYuG7QD+Z47NrRn8Z6VK4vbK9pV0fVwCjLbdARdiW85rF3g GimneqmOK9gOCaLxsShYUu6cHjvDCBL7/ZcRjP4M1UwDRlXzEYc6HsEYk+KX30X/hRgp 30xrcT/Uf1B+97Hp9bELqta3hWFjpqFRvk6xzq4Bd1Q4bZlNgwd0nn9pSIEAVb4jzlSr M6/AXTQFf0UWg2LT0XDaNVi0bWsqIHJEfLMHdyolf27LDXwDVvqxcI6355zjJc04advi eP2A== X-Gm-Message-State: APf1xPDpXAKgaj4/L1mnp3RRiQNQ00aEOW7ubKM2C4odw01czBhCCiGH gjjKKcCxg9qKcCI3o5NGnJI5eHfO X-Google-Smtp-Source: AH8x227lMEXaemaEDiT2FiUv0zAhB/VpWcnGr3lmBARHFVWG4MK4MVkJG5aFzrA5bpj5uJ5zdy9ugA== X-Received: by 10.101.71.129 with SMTP id e1mr1489745pgs.430.1518157978032; Thu, 08 Feb 2018 22:32:58 -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 b68sm3531608pfg.159.2018.02.08.22.32.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Feb 2018 22:32:57 -0800 (PST) From: Tim Harvey To: linux-media@vger.kernel.org, alsa-devel@alsa-project.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, shawnguo@kernel.org, Steve Longerbeam , Philipp Zabel , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH v10 3/8] media: add digital video decoder entity functions Date: Thu, 8 Feb 2018 22:32:31 -0800 Message-Id: <1518157956-14220-4-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518157956-14220-1-git-send-email-tharvey@gateworks.com> References: <1518157956-14220-1-git-send-email-tharvey@gateworks.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.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 */