Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6859575ybi; Wed, 5 Jun 2019 07:30:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyey/IeEBAiNSLx5nmKn3OQJtKDDd5fh7JCXPL+u/Cla09avmCWAoM+pV1d9v5DuQpYlxmD X-Received: by 2002:a17:90a:9f8b:: with SMTP id o11mr38043630pjp.102.1559745035881; Wed, 05 Jun 2019 07:30:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559745035; cv=none; d=google.com; s=arc-20160816; b=qLu3sQMWHIX8HURZtJUtiogiKU2kOV/AlKm830QX6H5ADWGXEDhzLEDLauqpZCkub8 kaqYeu2YIcM4Hn9JUwi950w0BDvzLluioFDc2gd7saoD5+RkzQxlfLFRfVV7FYRG0Mvd iIZL3vC9iGwdfOhsPdiLYahPFJzBh2VffDl1hOBZTT+23VonOzcWpLRFqRXr5thLYgaR tAqqvWd6+OgiFQt6Ec/UXO13CCa9OTiBCPsSycwIk4/u/hRXuqO0HGqMFGuDqUAYKWyy QFx+lftC23npOS+tBwtrsHtrAzygjvo1Oz0+XJ4rTB48FM+/zROZgYiFSvthYopMg5Qv eDiQ== 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:subject:cc:to:from:date :dkim-signature; bh=lTJZ7yvx2GJn/5Ucl0IpHbkLAJMz/sLGSpI28ny4Qgc=; b=jlqQCa1wKNd7J4chV3hPGeXVBTYAT5NWET1GWA3qDWuUtMn0IzLWouBGRf9qMuOx/H MiGbtpY0Ftb7ZZyTAgZolrUgNhRqRj5m15ahTZxw5VtBMmJiWi3Sq1linFm3vGY7FfO0 uE1NJLylbln0PgI/FZetRikNDo8QksCnu23/W/fv7G0FWytUSgG54bG33OnKqy/kpOWt iGWlX4FnP94yJ0+jaT+OaS438T9R5ixYLJ2P1QvuFwcTkJaKDv4aAIWiVnLPhk74vhHh FpFy9kOQ9rndcoKOzd+eP4SdC9SenSrbgvMUCDp9xyPfybEGAARwdDe24jIRj2U738Ly JU4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=FHC+epX7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si27147508pgp.96.2019.06.05.07.30.15; Wed, 05 Jun 2019 07:30:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=FHC+epX7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728410AbfFEO1G (ORCPT + 99 others); Wed, 5 Jun 2019 10:27:06 -0400 Received: from casper.infradead.org ([85.118.1.10]:35550 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727961AbfFEO1F (ORCPT ); Wed, 5 Jun 2019 10:27:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lTJZ7yvx2GJn/5Ucl0IpHbkLAJMz/sLGSpI28ny4Qgc=; b=FHC+epX7Epn/9PMwVZpDGE2gYh 9bs1PVFxV3ddPcqxWbVbtVC9OvlXVaEiKv7KY+VxKkSrmsSsDkzj5tmUjb8EDKG8oWktusbeahEJ5 FssgsPLunzGe9XEtRZSi2BN5xyscJyO5DT53Ckr5gmpQA/jNeap7pVsE2s+NGqS3/u+C4Lh2y+5UV I5zbYGpJnOYqJuDMjEJ6EQ1Eydk7ocvjOoR4FJzl8d0Cq0E6oi6ptgdgGh+ae2j49nUnzwfKBCYsY s5kdPlghAB5sehdD5+zOGJ9trAFcZkO1kaKYvY6mRU10ueKpF2KKukOhKDCj5KAIQ5PTDwdB9p+8S H759F1ug==; Received: from [179.182.172.34] (helo=coco.lan) by casper.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYWsO-0002Er-6a; Wed, 05 Jun 2019 14:26:52 +0000 Date: Wed, 5 Jun 2019 11:26:45 -0300 From: Mauro Carvalho Chehab To: Paul Cercueil Cc: Thierry Reding , Sam Ravnborg , Hans Verkuil , dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, od@zcrc.me Subject: Re: [PATCH v4 2/3] media: uapi: Add RGB bus format for the GiantPlus GPM940B0 panel Message-ID: <20190605112645.5b357630@coco.lan> In-Reply-To: <20190603153511.24384-2-paul@crapouillou.net> References: <20190603153511.24384-1-paul@crapouillou.net> <20190603153511.24384-2-paul@crapouillou.net> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, 3 Jun 2019 17:35:10 +0200 Paul Cercueil escreveu: > The GiantPlus GPM940B0 is a 24-bit TFT panel where the RGB components > are transferred sequentially on a 8-bit bus. > > Signed-off-by: Paul Cercueil > --- > > Notes: > v2: New patch > > v3: No change > > v4: Add only MEDIA_BUS_FMT_RGB888_3X8, as we don't have to care about > endianness Same comment as on version 3: You should also patch the documentation text at: Documentation/media/uapi/v4l/subdev-formats.rst In order to describe the new format that will be included. > > include/uapi/linux/media-bus-format.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h > index 2a6b253cfb05..16c1fa2d89a4 100644 > --- a/include/uapi/linux/media-bus-format.h > +++ b/include/uapi/linux/media-bus-format.h > @@ -34,7 +34,7 @@ > > #define MEDIA_BUS_FMT_FIXED 0x0001 > > -/* RGB - next is 0x101c */ > +/* RGB - next is 0x101d */ > #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 > @@ -55,6 +55,7 @@ > #define MEDIA_BUS_FMT_RGB888_1X24 0x100a > #define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b > #define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c > +#define MEDIA_BUS_FMT_RGB888_3X8 0x101c > #define MEDIA_BUS_FMT_RGB888_1X7X4_SPWG 0x1011 > #define MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA 0x1012 > #define MEDIA_BUS_FMT_ARGB8888_1X32 0x100d Thanks, Mauro