Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp129799pxb; Thu, 14 Jan 2021 01:35:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDykfRnQOH3lq1aIMMtA0Fy9owMGUIV/wQwD0W1ao3vXb1RUnMq5QDMk1EM0RyPbsKt7SR X-Received: by 2002:a17:906:447:: with SMTP id e7mr4586800eja.172.1610616911361; Thu, 14 Jan 2021 01:35:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1610616911; cv=pass; d=google.com; s=arc-20160816; b=kNc/I3tX4GvWy7u5RBPp3f8qQfM7iA09/Zg7UKCAZFIu4sEDHCMmNYCk3TM1ocdIOF GwcNSj3fAK85goCXtX7B7MHTZMYGezFfg0PWW7TYB6x2kIdmb6aumYRS7fXJj5KXn615 zN7O8WSdyoy33ouDln6HIioFaxKmoSS3rBTq2Mf7yFGYZJyfvtV2R7ICs7YQm4J+895o 2UD6vO9oZZXJSCr7oJjmKG+4Njnn9QtwIFI7G/6KzIbRa8RgF3ZrbXhUzLh7/7gCe3nY VVrh8a+4kp10yLVn8GmhkIK5/QiBY7Oq1sRim9x6wQy7da1y1qCENCQOGQgwj7eZFjcP zgrA== 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=4hBwZbAX4TcDQyoWJHnCe+1w+mBuZAeRiAiLvj9Ow9w=; b=moE8ToJsYMmPCUQcIkmmv3NaIeqUWDh20zUlJ/wk4tERQ9uDKZ2iR8oJJuvNcif4VJ 2N2KSNQxoB0CsTabmNN7zohSbuRca/ONqbs/Jt5N5M3LLwRHw64A1lE/qw7QWMwrwtYg qc21liMWYzmhjr6bKjlra7rbZ539AtNarUr1zdyz8dwKJpGKW/rrME41P3FD8E+hT7AY ZxlwW+rRa0KbEJoLQD+Ie9Sj78WaP1TrDVdn/8qQonOi8VopJriJk6D6g2krp9sl36md 6+00lIdMVM/sGEQv5YELzm1H/DrE50BFwB6+PlNCCZQJmLRNQ+oDLz/uYOUON7G0nA7u tTkA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=ZIKhhUNT; 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 b20si2141532ejv.187.2021.01.14.01.34.47; Thu, 14 Jan 2021 01:35:11 -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=ZIKhhUNT; 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 S1728247AbhANJdo (ORCPT + 99 others); Thu, 14 Jan 2021 04:33:44 -0500 Received: from mail-eopbgr60071.outbound.protection.outlook.com ([40.107.6.71]:41985 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728195AbhANJdm (ORCPT ); Thu, 14 Jan 2021 04:33:42 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g83IvqN6Ou+QrrgWIk0teHTBnIhQjR1F42l+K8Piw1ZZLxYOuZDzaCecaTQLGuxGBTItxgp/xAnTu0NXve/5TR2IxDpxQg8dPje5X5iTd908vrHU3J0v2u+Qw3KmMbFCGB0k9mR8f+huY81b4CXGYnp7gFZTu2UP49MTL885okTNgfpicrfTV+k5Q6BF/Sm7wzY0OKm6472xYX7VWxBtc90O6N7EFtPttpm0it6MSvtRFP3JbHkZiSlLDdDy1wLJA6ParbVrpmi++ixn39pUpGAZvsvrR2LJTIdc3Ln67ELX/BsXxAJlP6dmr2FT94Me3ahvaFrhtTO2Uq7s7q+9qQ== 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=4hBwZbAX4TcDQyoWJHnCe+1w+mBuZAeRiAiLvj9Ow9w=; b=YtDP70IxehFeftrTSgis/N4ljItLc++zg+rHYqqIDvHWbybnKB2JdR5yuJ14prvDaVO5h8A86OjzqGIVunmXu3ZTiA0XTHq4M6TrbaoHY24bbXu4pVzOn2Mxvl07WTosrPXiO995ExCPZsDcG3i57H5MBvwznyg4kqOL4YaaA5fsDr6pEdxuVhReL1YfrmesvIUORKwUynlRn0snFIQd0Of1sz2FA1xhppo6SlGDR4PJYI+/BwM34hsLvqpnK7gkQmGDu5020u5dH2McGviRa8reWdistlLWFTjPWoCEkKZ+H9pithJm5fR44wTitG08f/E4NnDhEhwNZCrS7IgCKA== 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=4hBwZbAX4TcDQyoWJHnCe+1w+mBuZAeRiAiLvj9Ow9w=; b=ZIKhhUNTKMFdyAqA0KY3OfRM5s69GAnKCG0HIj0KEWjq/25pYwGkchsQbLzKfThROAeC+Pt/NVlPw5FQ+jA7yvMtVfKi8+NlOH629ZO88DWbzz/tADoff06hLSVz0UcJpymSSGKT06im85KO90RGYVhrlv7x//e3eYfboXYgVUI= 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 VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:5c::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Thu, 14 Jan 2021 09:32:39 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::2564:cacc:2da5:52d0]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::2564:cacc:2da5:52d0%5]) with mapi id 15.20.3763.010; Thu, 14 Jan 2021 09:32:39 +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 v2 02/14] media: uapi: Add some RGB bus formats for i.MX8qm/qxp pixel combiner Date: Thu, 14 Jan 2021 17:22:00 +0800 Message-Id: <1610616132-8220-3-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1610616132-8220-1-git-send-email-victor.liu@nxp.com> References: <1610616132-8220-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR04CA0175.apcprd04.prod.outlook.com (2603:1096:4:14::13) 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 SG2PR04CA0175.apcprd04.prod.outlook.com (2603:1096:4:14::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3763.10 via Frontend Transport; Thu, 14 Jan 2021 09:32:33 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 106eadb1-a2da-495a-f726-08d8b86f55c9 X-MS-TrafficTypeDiagnostic: VI1PR04MB4893: 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: EMKhpUcKJsou3+yl27h0pJXKzOJn5djYpdOlhh/DEZTFpTzS22jrjtxfNfvPd3sJT5Y2Nkt9kc/fMUTSRCM+xsAzH2yILfGWTWXqKoK6xfXB/AKYUfqkEx3bSXp4/zTSz3Ay6e1HLP37f/+eQ70clMYXLRABVo+oGmAHCxF2jMq+j68nNDPCWR4Sl3+TsfsyDz4WwG0h2vFmd7rBZDbF0HeOYIdp8Lxf7hPga+oFIUoDmmsRpOEFIxDb2Koxq40FQf4rBhFUvZyYukFcVkAh43N5q3kZ8x9QW21Z5XlghWR2xzcqRIoMmGzWzmQhNvg3skX2ZBjyFNL3JYSKK1MYZVqaamqx/4xEvXB3GKfEapnLtoioDrKNRmEv/zSikRBqzwDcArkYb5TwlxlIS+smqp2QxsMGTtw8PkCMP6hCe1l0TrJRd0DMR5f75sV29cwXprbZaSUZvlNsAuey/ieXPA== 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)(39860400002)(376002)(346002)(366004)(136003)(396003)(36756003)(6486002)(16526019)(186003)(5660300002)(4326008)(478600001)(83380400001)(8676002)(26005)(66946007)(316002)(52116002)(8936002)(6666004)(6512007)(69590400011)(66556008)(6506007)(66476007)(86362001)(956004)(2616005)(2906002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?L1IhlsJVl+ia9OMZ0BBdR1NUFy5EBhnbv+cbcDOpohY/yyjCfBPXOrignERH?= =?us-ascii?Q?cPhgCN4pATe/GIgoGSD+JeuDoJek8S2qAhNv9w0O6pxdW6t79IVQaceV4wsf?= =?us-ascii?Q?HCMkVy1zd+5zVU7o9gG1HqGGZm6GPUIwt8iGS+ikhi1Yp6ZB/yhoWa3ds8JQ?= =?us-ascii?Q?bMr8K0X7mN6wlfBJGOdsQZPS91sTI/kWGNveHUwNTpPGEdAdbS2GujAIpK74?= =?us-ascii?Q?x8BSLXcFWdzVfE9lEvJ5SsWXVmKNCDnUzwOiFv8lpcOCGUeKy4FFCNV03kRh?= =?us-ascii?Q?ZAp9FGUCCQwS4+Mc9BzwArr7fueNalMOSILE+ltcJGFzJFSF1EHvE2MS6Q3L?= =?us-ascii?Q?GiTpBs//Y/IYtoR/2bdHtGI/8aJ4CUn68dAWPovYwdW80K96Au4iNB7irVov?= =?us-ascii?Q?lEcyJW0LDBJx00abgVnDqITQKf+WGMG89jPeHyVlxHRh+vg+T4rDDfhdkWhZ?= =?us-ascii?Q?hKmYsuncdYd0CGplubM+8YGasCchqPmKKMUWIooy17treb21TmTzkmYaCHK2?= =?us-ascii?Q?/Br6CkppUHDSAiGewbuSCPqdeZEglhh2p56VD1/L4VY+5ugW1tK2kF4iUYTm?= =?us-ascii?Q?fhsb83FS6yGjWXCLg7dwIy74QNLc1LLBacvWArA1mf0suYAgKGHhPG2sG2qT?= =?us-ascii?Q?ehM8qYNJSupGSxDYhdsuUd7nnipMpWKQQATwO2asPNKwh8YY1wPaYGQ+Uizi?= =?us-ascii?Q?W4TddX8Pgqlm5422uWPJYu/5fcfpDXtmVYzLmL8d83EtB5dK7rYEQ7pd38bZ?= =?us-ascii?Q?KTt0aWcmt41NyJ10+ZuQn/raocv+KVqjtEqJQ0HaDH78RuEm5KTobeRLVRIe?= =?us-ascii?Q?SwnU6ySuAEqWhFxOwJ3FVDfPjz2fNwTvPEJlRwDlFsX4LDBPj58ch4cGidoX?= =?us-ascii?Q?A9dB1lwgQqhnGnT+2oLSsrOrk7krAhbPmydR51ZaGDUSRFSlm1WA7tbeCVNJ?= =?us-ascii?Q?4cIYfz3xAl8uKBxgOO8qcqsR5MQ573O8pMIAthEHvxL+MjmuWUr34IcXyo4z?= =?us-ascii?Q?o7IV?= 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: 14 Jan 2021 09:32:39.1306 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 106eadb1-a2da-495a-f726-08d8b86f55c9 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ihiIa/ZB6QDkd3cdMnLyfLWnZi9HWzlrJymtQPW1s4O9/zoE1Bu0aVAIDYRW/26ZW1gQUUs6kCgjUumRkpzEMw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4893 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 --- v1->v2: * No change. 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 0dfc11e..ec3323d 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