mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: narmstrong@baylibre.com (Neil Armstrong)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v3 2/6] media: uapi: Add RGB and YUV bus formats for Synopsys HDMI TX Controller
Date: Fri, 17 Mar 2017 17:10:16 +0100	[thread overview]
Message-ID: <9b343849-d9cb-249a-b226-bced0bf14b24@baylibre.com> (raw)
In-Reply-To: <f57eefc2-8c37-ee0c-7b6e-06334d9d059d@codeaurora.org>

On 03/16/2017 06:06 PM, Archit Taneja wrote:
> 
> 
> On 3/7/2017 10:12 PM, Neil Armstrong wrote:
>> In order to describe the RGB and YUB bus formats used to feed the
> 
> s/YUB/YUV

Thanks for pointing me this !

Neil

> 
>> Synopsys DesignWare HDMI TX Controller, add missing formats to the
>> list of Bus Formats.
>>
>> Documentation for these formats is added in a separate patch.
>>
> 
> Reviewed-by: Archit Taneja <architt@codeaurora.org>
> 
>> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
>> ---
>>  include/uapi/linux/media-bus-format.h | 13 +++++++++++--
>>  1 file changed, 11 insertions(+), 2 deletions(-)
>>
>> diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h
>> index 2168759..7cc820b 100644
>> --- a/include/uapi/linux/media-bus-format.h
>> +++ b/include/uapi/linux/media-bus-format.h
>> @@ -33,7 +33,7 @@
>>
>>  #define MEDIA_BUS_FMT_FIXED            0x0001
>>
>> -/* RGB - next is    0x1018 */
>> +/* RGB - next is    0x101b */
>>  #define MEDIA_BUS_FMT_RGB444_1X12        0x1016
>>  #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE    0x1001
>>  #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE    0x1002
>> @@ -57,8 +57,11 @@
>>  #define MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA    0x1012
>>  #define MEDIA_BUS_FMT_ARGB8888_1X32        0x100d
>>  #define MEDIA_BUS_FMT_RGB888_1X32_PADHI        0x100f
>> +#define MEDIA_BUS_FMT_RGB101010_1X30        0x1018
>> +#define MEDIA_BUS_FMT_RGB121212_1X36        0x1019
>> +#define MEDIA_BUS_FMT_RGB161616_1X48        0x101a
>>
>> -/* YUV (including grey) - next is    0x2026 */
>> +/* YUV (including grey) - next is    0x202c */
>>  #define MEDIA_BUS_FMT_Y8_1X8            0x2001
>>  #define MEDIA_BUS_FMT_UV8_1X8            0x2015
>>  #define MEDIA_BUS_FMT_UYVY8_1_5X8        0x2002
>> @@ -90,12 +93,18 @@
>>  #define MEDIA_BUS_FMT_YVYU10_1X20        0x200e
>>  #define MEDIA_BUS_FMT_VUY8_1X24            0x2024
>>  #define MEDIA_BUS_FMT_YUV8_1X24            0x2025
>> +#define MEDIA_BUS_FMT_UYVY8_1_1X24        0x2026
>>  #define MEDIA_BUS_FMT_UYVY12_1X24        0x2020
>>  #define MEDIA_BUS_FMT_VYUY12_1X24        0x2021
>>  #define MEDIA_BUS_FMT_YUYV12_1X24        0x2022
>>  #define MEDIA_BUS_FMT_YVYU12_1X24        0x2023
>>  #define MEDIA_BUS_FMT_YUV10_1X30        0x2016
>> +#define MEDIA_BUS_FMT_UYVY10_1_1X30        0x2027
>>  #define MEDIA_BUS_FMT_AYUV8_1X32        0x2017
>> +#define MEDIA_BUS_FMT_UYVY12_1_1X36        0x2028
>> +#define MEDIA_BUS_FMT_YUV12_1X36        0x2029
>> +#define MEDIA_BUS_FMT_YUV16_1X48        0x202a
>> +#define MEDIA_BUS_FMT_UYVY16_1_1X48        0x202b
>>
>>  /* Bayer - next is    0x3021 */
>>  #define MEDIA_BUS_FMT_SBGGR8_1X8        0x3001
>>
> 

  reply	other threads:[~2017-03-17 16:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-07 16:42 [PATCH v3 0/6] drm: bridge: dw-hdmi: Add support for Custom PHYs Neil Armstrong
2017-03-07 16:42 ` [PATCH v3 1/6] drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function Neil Armstrong
2017-03-07 17:12   ` Jose Abreu
2017-03-08 10:25     ` Neil Armstrong
2017-03-07 16:42 ` [PATCH v3 2/6] media: uapi: Add RGB and YUV bus formats for Synopsys HDMI TX Controller Neil Armstrong
2017-03-16 17:06   ` Archit Taneja
2017-03-17 16:10     ` Neil Armstrong [this message]
2017-03-20 15:35   ` Hans Verkuil
2017-03-07 16:42 ` [PATCH v3 3/6] documentation: media: Add documentation for new RGB and YUV bus formats Neil Armstrong
2017-03-16 17:01   ` Archit Taneja
2017-03-17 16:11     ` Neil Armstrong
2017-03-20 15:04       ` Hans Verkuil
2017-03-20 14:33   ` Hans Verkuil
2017-03-07 16:42 ` [PATCH v3 4/6] drm: bridge: dw-hdmi: Switch to V4L bus format and encodings Neil Armstrong
2017-03-07 17:35   ` Jose Abreu
2017-03-08  9:35     ` Neil Armstrong
2017-03-08 12:12     ` Neil Armstrong
2017-03-09 14:27       ` Jose Abreu
2017-03-13 11:43         ` Jose Abreu
2017-03-14  8:14           ` Neil Armstrong
2017-03-07 16:42 ` [PATCH v3 5/6] drm: bridge: dw-hdmi: Add Documentation on supported input formats Neil Armstrong
2017-03-16 16:43   ` Archit Taneja
2017-03-07 16:42 ` [PATCH v3 6/6] drm: bridge: dw-hdmi: Move HPD handling to PHY operations Neil Armstrong
2017-03-07 17:19   ` Jose Abreu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9b343849-d9cb-249a-b226-bced0bf14b24@baylibre.com \
    --to=narmstrong@baylibre.com \
    --cc=linus-amlogic@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®