Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1104438pxu; Thu, 17 Dec 2020 02:12:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwL2A8sW5rV/bkyNuy70Fwq9XkluNthSq8IDzy0ET+Kh7Vsy3A+Y0PltsHqqVhQbNWgNOA9 X-Received: by 2002:a17:906:f9d7:: with SMTP id lj23mr16179583ejb.266.1608199934397; Thu, 17 Dec 2020 02:12:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608199934; cv=pass; d=google.com; s=arc-20160816; b=GJWpyYwHo25En0cCuaQrOEEZgBYj1b7qHQGKAsqbUbA9+iV6Hm7XrJbiittS0Cf7AD e6fWD3C9cgVngeleh/y2vLgaVAXYYDO/dirbVfSJM2ZElqTrvXHEN9HE0akxpKFctfD0 kUuriz8P/FyiJWFAspF0m179Wz9kQPk6bCkaYUeu07lOBtyF9GWwHCQw77r5nZcqPnG2 KSl4Pusi7F/20e6Uzcs2EL/mMQqBM+50GC/6yQD2XRxa9z6pkX6+Mp7C0kVBNSUafGS2 DEQPrM7q+9HJzWOa7/4TgWMojPo15d7VirlbOzYqqdrpSqqtVZNkDyK0KG+DEo4BiI5y 4a8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=wwmTC36H/3TnbjyPrW8YxFLHlUgkodbvGfp5Wf6JY6M=; b=zOUMc3dz3kRDizVG7BN1PGUox+IXMLv984XxufdfILLB+8lTpZRIB4j8YDMtxpb40O PYkZ24unfkD1UBf0dXmUjCgnvFEwCjmvUoYuqznNTGSOrxXSgJcWClllpgJuCPBZhdJO yV457hOptP22EvgdEqCKWZu3jfD4VnevVprk+Ze0Qcv/YNFSDKktqyitwwVgGSo8j8to K+EdSyPzPbwmDI+dviBiGKRfumxhew3YBzwvW/6siAtAkwd+z/WfbVMLdaz0fk1Iw4kL D9IscWwzd30Hpgi+ajw/vdZCiSK+crjBIn6lcO5FJmtYl0KQ9X0KblGdm8YRVQCFOWnk Cixg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=sfJrtPMo; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gj15si2414400ejb.597.2020.12.17.02.11.51; Thu, 17 Dec 2020 02:12:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=sfJrtPMo; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727823AbgLQKJx (ORCPT + 99 others); Thu, 17 Dec 2020 05:09:53 -0500 Received: from mail-eopbgr150057.outbound.protection.outlook.com ([40.107.15.57]:9948 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727646AbgLQKJw (ORCPT ); Thu, 17 Dec 2020 05:09:52 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kxwkW7atjxBGt2c6k3OwNaAIQWpGy24HfLyYrz36IbipdMR5zkgdj06D4Dao+p03EDTsfjBhRwdDCqNDkDm0m93G+IEb8gBwZvZIzZEgcuGyJYR14Rgvg9RowdM5btoCxNHzEnfNvAIjHEzq6Q4Q4aMZpjAoWJTH5U4yX+4Cp2bU6J9Pn8VSVla0Tc1hyrw/v0ZugpCz6qzhilWNrJSJA1DcEh6PSpV+UaV/gydDH1Nyohui3LohAPlFnJig0gDbvnXrR/JOf8b+zdBfE3APeJPfkqAukESV+8umX5ffupDfOTmrnAuafsCyReBHriEDEQnLOGrf3zim3Sr9yk73pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wwmTC36H/3TnbjyPrW8YxFLHlUgkodbvGfp5Wf6JY6M=; b=A9Q55pxVZ4UUAPpg8tM4rnAwpU4rZCko+kYu8yA1bBj/z7HI8DAhXZnONvAxpfGY/0ahONIq9+/CdzW6N0bLrC7jx3MuNZSBRZN9OWsPEbHt4lml78oc5NNk3qKK+JBfJPtKMI/3TwuCLXCMNAvzdLwypo3e8RiLcYl84t9CNdMQNBuurKOZmJsOM5JmY0sXAXIZ5/RACZ2TqY7nnkuImyjI53p7A56NRlS2TGNZ8GMwg2RM0DErZ1fmO6fijRv/b0BZv8HHGSMHUovC2rQ2d1Grt4yb3mC4yU5pTdbVLeoWYIeI9a6oMPTtG1Bn1OWawvc4s6o8nCATFI8Xb7sf5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wwmTC36H/3TnbjyPrW8YxFLHlUgkodbvGfp5Wf6JY6M=; b=sfJrtPMoBW9xsP/gDVEzVGD8gZbtXZ5f/FjU5uogsxPYrNZDkrXXGnjf+KyZsOwEGChomNKQ+W4vX0N+eiwNTFQ7/fYWeIyNOqRLqgsM7pzOwi7nzI75JuKn/VRQZP3YHNYNwSXWV6Uf6KLwzJiBoXRNKVWXJQUw2fgH0f2NWoo= Authentication-Results: lists.freedesktop.org; dkim=none (message not signed) header.d=none;lists.freedesktop.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) by VE1PR04MB7312.eurprd04.prod.outlook.com (2603:10a6:800:1a5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.14; Thu, 17 Dec 2020 10:08:32 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685%7]) with mapi id 15.20.3654.024; Thu, 17 Dec 2020 10:08:32 +0000 From: Liu Ying To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, mchehab@kernel.org, a.hajda@samsung.com, narmstrong@baylibre.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, kishon@ti.com, vkoul@kernel.org Subject: [PATCH 02/14] media: uapi: Add some RGB bus formats for i.MX8qm/qxp pixel combiner Date: Thu, 17 Dec 2020 17:59:21 +0800 Message-Id: <1608199173-28760-3-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1608199173-28760-1-git-send-email-victor.liu@nxp.com> References: <1608199173-28760-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2P153CA0012.APCP153.PROD.OUTLOOK.COM (2603:1096::22) To VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2P153CA0012.APCP153.PROD.OUTLOOK.COM (2603:1096::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3700.2 via Frontend Transport; Thu, 17 Dec 2020 10:08:26 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: f0803abb-2a49-4a8a-3d15-08d8a273b576 X-MS-TrafficTypeDiagnostic: VE1PR04MB7312: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:326; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fhcXv8KCGj7KOdkeUcMsvoev5tgrKYjZogBiJVGCchFbf49+X9uz6tgA3KsjMefVBFF+0aSohFb3Xdtxs0K9S+p6uUxa6aHBYFLSQgmRLZBrqNLSLVmevxF/BFtYAzsT4g6f6wa10NGBL7v/S6kLIBwYuqwVppdgy1bQA412mW6keSF1eNapkCs7vtD7TYNiBzhCrMt6V8E1SQq8JbCJR123jhQDzEJuMuct2eZgxsRqQBZMwskWsZNnsOLiHGK0AaQLJIYC/WY7gQN0Em/gMMTURpMuj2oCFJ4ati8D7hq7Qu/geGHodMBBzR1+IjZjJcZSzvb2rF+f412xbGo7tnr/KBuqkT3XfvGUzza+esgcF5Ub6U7xZBkr5bqp/r/Y X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB3983.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(39860400002)(376002)(396003)(136003)(346002)(6666004)(316002)(86362001)(6486002)(2906002)(8676002)(6506007)(4326008)(52116002)(26005)(16526019)(8936002)(7416002)(478600001)(2616005)(186003)(956004)(83380400001)(66946007)(5660300002)(6512007)(69590400008)(66476007)(36756003)(66556008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?ouWeSV1rIHeN0j7jgu6sSKfT9ImaDUsJLQ3I38V4b4uLPXGk7r5umdfkuP5I?= =?us-ascii?Q?oYqvw2jhLd43J3yY2KEpxUH/daCSQooFPKL+Pm+KIYa5ns2CCXxQpm17cbBY?= =?us-ascii?Q?GAocM25pvISuayum8/UbR/cnMLG0DIJkmq99GIe/bqau2JpvqqQIyoHt+SZK?= =?us-ascii?Q?0sZzyiJuLTlI9gTYopS4M3JjI2hI0G1i2gTgVlzAzXJNsQTggK7IYjXgkxqv?= =?us-ascii?Q?n2no1yZrs6Q7BoD1Wy30m4NEAFgQDOfJHMFTq1gxF+oiezrXdm9PKZ2r+WPg?= =?us-ascii?Q?Vsz9/XEOFLOHTpnQtb1Rza8qQ8x9LEPenn5BGaWcbGKIYbsuvyucHlfhOxCX?= =?us-ascii?Q?1KpZf6FExpAcXUhrXnFERN8Q7nbDGMfxiKDQ4Kh9MoKIv61FMfvf2UPlTUGs?= =?us-ascii?Q?crHMYooi5CEkQwuNgtDZu6oqYCNuMZxlz8i/0KcMQ8eIZ0euhZz1W0PRH7xp?= =?us-ascii?Q?7KEE7ZiHEXCIxgc1PBorktZxk8tEUevP1xIBFipJiLYDMa8iAH1BiEKhP5WA?= =?us-ascii?Q?9hSYqgGOxuP23ZBmwXAFdIDuixjVxrpW8fCSTyqciU+ZoP1/f8kHY/pQCxem?= =?us-ascii?Q?5h23v6F5579g1BbFQDZQjQpmczS8i3sGZIR5HIQCGgSvkLwVfr/6rda4rLHs?= =?us-ascii?Q?M0Qw8kYSJ27Q0i3gVqwT8LMg90gSOBMD/YZaGCKfmk5rQ4nR0NnV5NVS1ZYY?= =?us-ascii?Q?6E30HJrpsQS3FbAdBzFnh6QFhM7+lNUhLMGgIT0saX0OJ01fZ7J7Qe+e2L4n?= =?us-ascii?Q?C2zHZuzInBSTFGqaij2fiIIgyoQX/E3utbGPL82C9YqGEGN9/L7WDHVvOHFE?= =?us-ascii?Q?JFgQXYkSUpE+VFPvD0LWbLCXYvN5CG4gSQXbA9c0qjgYsu25LbfnnDcBN8qr?= =?us-ascii?Q?TUitBeKVObnCmeGca5ziKWpLSzepw06VaN8xOF5vkUjDJxQgtW3qwBB3+bVh?= =?us-ascii?Q?j263OtRkrVFvahgqMp4lrJIp6u9snfBsXz2Wyfq/rcgekEgLc0ORALMbguyU?= =?us-ascii?Q?VoYs?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 10:08:32.0899 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: f0803abb-2a49-4a8a-3d15-08d8a273b576 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QYm1UGEynIw43mef+Q1N37UsKx5UFsxCec5rllCLE8vq8+DiU9NzCPNTMFrk4WEob4EMV0ToWQlYqt49EmtGjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7312 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. The RGB pixels with padding low per component are transmitted on a 30-bit input bus(10-bit per component) from a display controller or a 36-bit output bus(12-bit per component) to a pixel link. Signed-off-by: Liu Ying --- include/uapi/linux/media-bus-format.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/media-bus-format.h b/include/uapi/linux/media-bus-format.h index 5d905ad..b218282 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 0x101e */ +/* RGB - next is 0x1022 */ #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 @@ -59,9 +59,13 @@ #define MEDIA_BUS_FMT_RGB888_3X8_DELTA 0x101d #define MEDIA_BUS_FMT_RGB888_1X7X4_SPWG 0x1011 #define MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA 0x1012 +#define MEDIA_BUS_FMT_RGB666_1X30_CPADLO 0x101e +#define MEDIA_BUS_FMT_RGB888_1X30_CPADLO 0x101f #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_RGB666_1X36_CPADLO 0x1020 +#define MEDIA_BUS_FMT_RGB888_1X36_CPADLO 0x1021 #define MEDIA_BUS_FMT_RGB121212_1X36 0x1019 #define MEDIA_BUS_FMT_RGB161616_1X48 0x101a -- 2.7.4