Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2218464yba; Mon, 22 Apr 2019 02:41:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxuEPPcCBBx7jwFuanRUd4tyAUUqgv/mn6IV+ox7xwkjy50xpiO6l3hs342bDyZbx/Vcb5Y X-Received: by 2002:a63:2015:: with SMTP id g21mr17736493pgg.226.1555926078767; Mon, 22 Apr 2019 02:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555926078; cv=none; d=google.com; s=arc-20160816; b=uNrFuL2yan0G7zLVM3Afr+wXLKxNOC2au1t32BvjFgq2ttGxFaSvxaWAQ8hgn/TLzW 9OBVfy0S0+fvuwRYFR/wJfvRPzZMewPh0qZ7Lw9FrZhDM+ZdaJFs+7TKO3Q1u8wC0++r ZJUFXt2lGro4bNrz0JRxuIsjntX4c2MyeGnh5IEIgtnWSHvIdfXtjGhZwrzj5XSdIuvi r+7ljP0H3saI6RHXCl4lI5M5YrPSYycM882creuhOyrtJZxmD6xWg4tYzQIX3HRJkt1N mX046jLLnVx0pMuBmaHOOh5KWXk5QxSjDIZlsCpYLQkdJwtb/gA8JS7o6BE6FEA3wHt+ xZAA== 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=TdFMc2ArZeHfvknO6GPoLqWKLIOciaw3wht0zLdPaAc=; b=xAH3Zva6poqOp2FxNklPZVMXntG5PoXvyHYXTRc/4tGkxnUeJccaA0P/0vXJROvcos eyczIKr/AMsNOSougAE7plloe2hSFYtK5mxpQaz7jri4nxgu/R6HW4ATiYNldp80/5hR bgeQrCYa2fEUOksFdPi17AVyjvVsEZxOomK4GstFeulurUuQ9Gt6gYqseQKwKMdJFcGY AqIqmF/YaRjeRDkZax4aA6/14D969U3z+RnN06zoc6hHxHpjzdEFfeZXca03Q+Mo/CVX 7Z6Xd2NyE5SzHEdA7s8CKjOsAe5F9E4XKmWDZPJJCRagGhYYQlZI/tCo98bOk1XPNiSm /ZOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=l4Y3M3NJ; 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 d186si13418163pfa.218.2019.04.22.02.41.03; Mon, 22 Apr 2019 02:41:18 -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=l4Y3M3NJ; 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 S1727299AbfDVJiH (ORCPT + 99 others); Mon, 22 Apr 2019 05:38:07 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:36124 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726674AbfDVJiC (ORCPT ); Mon, 22 Apr 2019 05:38:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1555925879; 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=TdFMc2ArZeHfvknO6GPoLqWKLIOciaw3wht0zLdPaAc=; b=l4Y3M3NJVGRr7ainKhT7VrOVuRLUGr4GtsKm4KQpqnajV8IMRtsw/TaF8t+FYt/uUKGNTF dYEzHM5Cs5yAOYOr3CaV5XYPp6x3YrzozQNf+whdWRz0oSCdwFEQlqN1Uo1B69j29K3Sf8 xk8GpB2eOih++NlxD/fVcWSETD5AtUQ= From: Paul Cercueil To: Rob Herring , Mark Rutland , Mauro Carvalho Chehab , Hans Verkuil Cc: od@zcrc.me, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Paul Cercueil Subject: [PATCH v3 2/3] media: uapi: Add RGB bus formats for the GiantPlus GPM940B0 panel Date: Mon, 22 Apr 2019 11:37:21 +0200 Message-Id: <20190422093722.4344-2-paul@crapouillou.net> In-Reply-To: <20190422093722.4344-1-paul@crapouillou.net> References: <20190422093722.4344-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 include/uapi/linux/media-bus-format.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h index d6a5a3bfe6c4..f31724d6cd40 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 0x101b */ +/* 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 @@ -54,6 +54,8 @@ #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_BE 0x101b +#define MEDIA_BUS_FMT_RGB888_3X8_LE 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