Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4296898ybi; Mon, 3 Jun 2019 08:37:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTQiNQ3ari/Ml85WSB33rudDrwljz1avqycj1VSNUCTTO0u3SUsKQzlembOwmdKS1pth5p X-Received: by 2002:a17:902:bc47:: with SMTP id t7mr18789161plz.336.1559576225263; Mon, 03 Jun 2019 08:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559576225; cv=none; d=google.com; s=arc-20160816; b=PBTyTvFlMRfiuQnAdmLrjbuusa1nzPEBQemj+PIaesIh6zfzYSv+CkPxwi1WUX+3ad NCNjrPlX2Z5FiHgQT1FuRjvfiEBo+X1BQH9XpQ7yQFgfz8ksRUfbJ+WSvqAzSCilxE/z ZLaz9JhJf+qqXEZIxpGp0XWMsWSovND5RZhptjJ60WRwa9DUnOYB2tcl75AMI+SFNUND 6iL1yMeaL8Alg5HzosVzL67bD8OrM4JkGvE0qnvheTuZkAPY7PsyBpyjq5mwsIwmMk1o 4b1KnEkxKJC+QQ95FVPig1Dcho0wLeO2GZ/6eBcc+lv5gyzlUCUj9uNf+uWuH/UzPSvJ QuOA== 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=7r5nkRsqjWYhBqtk66cNgvdETdf2nddmTlBNaVS+Hvw=; b=jjwCBiCDpT+UgS53iObRG+2v/9BMLBTjcK1TSLRHRssp+yqB9BWz8w10p4MdHHAbcE dANr9ElpAk9C0IOQYgFbqKMNugXtkqVMxzMN7MDDQijB4pkxP9GW41J9xUr720ARwwxn pWep1mbFP9U+JMaSlIlCXDUmSmy4JLDvIWR13QzDwpzWFxVZXQzH6b9wZLB01m0Uj53i ILUBbDUx3sCOVMgFFUZeauLSVoiw9VDKhqHyJcoZaRUi53jrYgm5auImMErWsRofcOzF 5n2Aamp5M6+Rk2qVwc/01NWh6GyObCn96O970m3IkJBIZgRqBa04FYZ9tGMcY8WSxfs0 WDNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=n8bhRenS; 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=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9si18404595pgg.450.2019.06.03.08.36.47; Mon, 03 Jun 2019 08:37:05 -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=@crapouillou.net header.s=mail header.b=n8bhRenS; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728135AbfFCPf2 (ORCPT + 99 others); Mon, 3 Jun 2019 11:35:28 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:58212 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726889AbfFCPfX (ORCPT ); Mon, 3 Jun 2019 11:35:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1559576120; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7r5nkRsqjWYhBqtk66cNgvdETdf2nddmTlBNaVS+Hvw=; b=n8bhRenSLUwqZGKRST5uOAdZKmzDRc5PXo2s8jCW/xIXSZPP+3UrbJEDobxr7ZK97m9qay m8XvMNVabHubdQoqxdJoutIWKGfo1AdnjVlEfheehLdSXw+r3i2K645DRs+dwTD7mmS821 yWGohoQtlZ0rgj5WiJvHEpLrqSyMY+Y= From: Paul Cercueil To: Thierry Reding , Sam Ravnborg , Mauro Carvalho Chehab , Hans Verkuil Cc: dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, od@zcrc.me, Paul Cercueil Subject: [PATCH v4 2/3] media: uapi: Add RGB bus format for the GiantPlus GPM940B0 panel Date: Mon, 3 Jun 2019 17:35:10 +0200 Message-Id: <20190603153511.24384-2-paul@crapouillou.net> In-Reply-To: <20190603153511.24384-1-paul@crapouillou.net> References: <20190603153511.24384-1-paul@crapouillou.net> 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 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 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 -- 2.21.0.593.g511ec345e18