Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6966175pxb; Wed, 17 Feb 2021 19:58:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqoGmv7UBFh80M7FyDN5mFzbM0FwaoCvdLMqlX52XoQxuNSFvEd4+0W5JSQBbfC1jNXqs3 X-Received: by 2002:a17:907:970f:: with SMTP id jg15mr2078006ejc.440.1613620729089; Wed, 17 Feb 2021 19:58:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1613620729; cv=pass; d=google.com; s=arc-20160816; b=PMogWywqB7W/QJ3JZFMQKHuF3h0yNLbx1knFAPVeJ6k7Mb1BFEAEuKwOCjT7JZ4Y+Q 1Ig0Y/8i8GtKsPQcCfAFx6cwendo9/splksILNI+hpNFUQ2xM29C0pO36/YinEvmNU4j ueRrQD5N6QE4YLaljOo+gfd8fT9OGV1Ti9mMqDLQ4s3Qj9PsM1TOgb2wdKdr0dIdC/z4 awimNmZVsTdJpNrJF7O9vLWSjDvj+HhZaH8X7W6Y4+SozIyaqTpmSbXTDVT8TyVV6+1C ppBGL3UCoYBPOFTQjFMuhoQEiSP47P1A9UiBV0VCpfvLZp+w667f2JkABG0l3+HkwyGV hKWA== 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=Pj0JES/9snIFKFYvpWGezmS51oG4cG1J/fqDc8U/62U=; b=TEfwlY3w5SaZs15kq7kd7/PDSEujSsngUmR8WOl0VSp2RvpMFqohGvcnZ/3Z3K2TqT NSYqMKWLgE087vFXA4tpngtQ+ePG/049u3UuvxaTjJnZnqDZj5GIWWAIqdOxgJnya8g2 m/JQSP4JY8iM8qIrwQ6F7KSbLTgWA578XxJEIjcSbCOBvVtDxTD+qiFQqZFjJJt9GQeu 7oWF84Wr3zoFZ1ajDuSZaWq77zaBxZ7Yg7r4CxlmYuiuJ+KdnrSPrTGu1Un+FhLUQtOQ l+JMHiOVOiwsoxG7XLsWzmCpq05c3KvteJLguY+adjO7aNp88PUqtV+pGXMbqyYJXbUx OhKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=p9wU8cq8; 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 kg13si1892099ejc.670.2021.02.17.19.58.26; Wed, 17 Feb 2021 19:58:49 -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=p9wU8cq8; 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 S230125AbhBRDz0 (ORCPT + 99 others); Wed, 17 Feb 2021 22:55:26 -0500 Received: from mail-vi1eur05on2069.outbound.protection.outlook.com ([40.107.21.69]:38816 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229752AbhBRDzV (ORCPT ); Wed, 17 Feb 2021 22:55:21 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bf2Aj29d7B7vJBBzdx1mX8qi0V3MDRMC+2pR4V64WWORGbIZHXR+L9LzcrmHI6+sg8ZDDca01sd9E5FiL/T74bIxKuWz5M+FNU3Q1fbnEOxmBcVBa5gNPUYG7CENP73LbrPtGKQbNN8Kk+stfOxPNwsyuAUGjk1/jcCrQIT3IuuxL3pnO9WELV7b0ejNEpBBda26HPJkQjvUj6diZ1/W7mQYHv5kLYN7QAYK1V/yxssXW6UZu/A/arLBOhiPJvRe7lMG7mh7ylPLvcUmfRYwpADOvXxX8ClVzBgiLMDRLmOmbqOnZT35bkhHT2dDUMhVJ1HnxPN2cuLx3MfY+qRQ/Q== 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=Pj0JES/9snIFKFYvpWGezmS51oG4cG1J/fqDc8U/62U=; b=A/yrcXewIbL6GcFo8NmsLf5O80orbUOwKkfkMMJpGO/YRHLQmGdmoHh/w5TI5N7GmcTd9iS0K0AiZT+BEB6hvZbOxChiibZsZHUsi1a9fr0uUUcRwPdbA9pGQSshGF+MdONfIeY+7GESJVC/47ZcXxA6nc8/tx5k/CPqJygJYkp1HRBBX7fxuz3lEJDGRkBVBgwti9slRRJTcxNZjElpRBgPXj3TG0D5onC9IatmwMX3ZIIXVpyHto5JGR8adVFUL1Ywbkq1Py8atql4ruL+VCCkgCXrFdnFYVW6mP5Xip/jKqwuz4gpuVEvS45tE9P2RXCgnGRXYuHRbEqfi30FPg== 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=Pj0JES/9snIFKFYvpWGezmS51oG4cG1J/fqDc8U/62U=; b=p9wU8cq85g3dXQXOgEP1DF45KFSj0eCg96uRM1zfOOfiZNqEpTnocwGE3oldK8kV+59zJMQpIAN3DG8yDJKiQr8HoBFbfwCB0IMsMrDg1OAJKlKybjY3WUm9XJxVcEi9GzGg+Rl8gMpfp+diG0CQpIutmOlVJ2ierO1WxqHW4Lg= 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 VI1PR0402MB3421.eurprd04.prod.outlook.com (2603:10a6:803:5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.27; Thu, 18 Feb 2021 03:54:17 +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.3868.027; Thu, 18 Feb 2021 03:54:17 +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 v4 02/14] media: uapi: Add some RGB bus formats for i.MX8qm/qxp pixel combiner Date: Thu, 18 Feb 2021 11:41:43 +0800 Message-Id: <1613619715-28785-3-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1613619715-28785-1-git-send-email-victor.liu@nxp.com> References: <1613619715-28785-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR06CA0144.apcprd06.prod.outlook.com (2603:1096:1:1f::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 SG2PR06CA0144.apcprd06.prod.outlook.com (2603:1096:1:1f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3868.27 via Frontend Transport; Thu, 18 Feb 2021 03:54:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2063acad-4b68-4758-be43-08d8d3c0dd2b X-MS-TrafficTypeDiagnostic: VI1PR0402MB3421: 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: GCQA8smv5Yiz7Pp4A0SKrV40K0A5ds9A4RfDci49aGg7brGnCUwTL4hGB9tOsL6rBdVT3PNMWLywY9ISBxpglUttnQzBXum+XwP9u3B4o7/baZkPLOHqvyfyViRQ21ZaC05Q0hiocxBHKLjvvJathT3lnoyRRgk7gTBQWPDDqTuqXviezYksemWI1EijSfgv06NIFgp0pe9KUxqhq6ssBpPWgwkLJjOjrn0dDvmAV0ssLa6cOeFeT7VRFASYK78MwcYV/ADRwviP4Y3Om+Naag27/b/UNC7cbtWYuXWoBa0MLEOgB+C+Fvdp7df+RugAnxZH85Jo407UerI1tCWxMFXEShB+9yO7jIK6GFjKfValVTWlvntVcugg/kEqdHCeZRwc1mMfRTbtqwn8+lE4qg77yBJfyGgaHLjo7SHmQ4LAi1JYhb+JZkoqtNc2VYmE2cTqVroP2sUWOZaI/iy9+fvgSB1dJqHQEfQc3qZtTxcklwvpcecw9nA7iZMZnNj0hhb38Te4e3iHna5r5S7Ab+PVSPHhFWamTippR4POvYEBgqYB2+kp2WPyihKKT+G7is1v02z3G3+J6iTJSnTTlA== 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)(396003)(39860400002)(136003)(376002)(366004)(346002)(83380400001)(52116002)(478600001)(86362001)(5660300002)(6666004)(69590400012)(6486002)(8936002)(956004)(186003)(26005)(7416002)(6512007)(2906002)(66946007)(2616005)(8676002)(316002)(66476007)(16526019)(36756003)(66556008)(4326008)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?O+20wBGeIe/H4GcTTp1EbravtAq4vEsXKhG238NycOzu3cCq1J5W0rQbZh4n?= =?us-ascii?Q?UNxB3Mw9YiyldK2FrvTO4CdS2zQIX8nNc6jgamZeia6QckWBv7N6tbzqlev9?= =?us-ascii?Q?REj3jqg8W6/jrA77Vm8bzFzYvj2YMZ+vTwJQEKNl91hOmKj95aAe/OgP207u?= =?us-ascii?Q?DrAezsenp1c4DJhioL6UCrc5Aq+FAtBWXFfIB2q6qNMV94QNAluiykArOslY?= =?us-ascii?Q?mN7fECPib7aTBi9ewWcTN3RtvvjMi25hCv0p5bZ5U0NZRD27A0d5GDEVwUzO?= =?us-ascii?Q?v7JuAqP5+rtHyrIHCzRO+uZYAviyIPATc6CKEz4WjcMvNq9V4mbDKKFmJQtX?= =?us-ascii?Q?LfMFm8Cec99DVxGt6jIoDYsxUouIQqq0GHr/5aul1WmQos+zXSC8T+Brxlog?= =?us-ascii?Q?OIGTCs/CQY9QWKJDuAJOi/KUKy8Pd6W8XUZ4EBPfq973t3pwSRdE76lInU0M?= =?us-ascii?Q?Xk2iNSrpA5swbcwZ3SzILpa3WJIg9ob7TaeAvjRPrywB2fGuiPiqyj5zvLya?= =?us-ascii?Q?0xW/XOZowcqcyMO2kr1d0lRf7H2kIs+gwzTlFrMO4Nj7RBK+UGESKa/u/s84?= =?us-ascii?Q?zh+OxxIe6yb8lipRjYvwa+mXPUczdxzOSAMTDV2JlqaGZAKPXxFUBiYi+3wO?= =?us-ascii?Q?nXoveaNF+dyXfmU9TBiT0fQ5S3p/761CbJmA3aeCv19vWpW2h32oPCbTIeSc?= =?us-ascii?Q?0sgOrDxCEeN4Uizcx8hHC3hVsO5wAwiGKYURjfz6dS6sxfHt91dRiVJpurt3?= =?us-ascii?Q?F6xTD+sOgWFZoXJFp+vVaNlpldw4FgnakI8wbZwTMbHgFLUQiK7H2vse+n4w?= =?us-ascii?Q?o3mPkNJqh3BarmkEjbkE5WcH0JmGyGxhI+moLhmAltuAmsqHPYYLG2DaB9Hi?= =?us-ascii?Q?yip2ibaxApFEn6+yuZ0UO+VU7BYsEQTxlVDvad5Bo1I2PIVYs276+rOKOiK1?= =?us-ascii?Q?amOCmTgSvDTAhfkWX3Ez2QYL/Bhua3zuUZ/j6UCi8zMqU7W06rMVQ7E2oe9H?= =?us-ascii?Q?piocYHAkVwDHEKghBkaQvFDRoDjWO9eLX7fwrCUaWtFPu0NJSQSZ35sT8ZNu?= =?us-ascii?Q?iOuKbTbta/gKTpP4kdtD+yeeVmBqoNlTZpzu0b0ral6FwVUZHSXJz6ON9CDS?= =?us-ascii?Q?5KgVA0dl3Qn5r+iFQ6zE+7xt61rxAzro3a0DN8QJ4trMJ5Io0MU+F+6jFRkc?= =?us-ascii?Q?lvavt58aGimZx+z85CHV4lIbDaqapk1EcAeACTD2xTda1BsAoRs4B6l7hk3T?= =?us-ascii?Q?vVeDnu1NtMlNyEdutF6sEj4abYAaun6m0HTP0J72i6DlhnFwxogERoET+MCM?= =?us-ascii?Q?hV3oQc53cMwipEpeF4HB8zNr?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2063acad-4b68-4758-be43-08d8d3c0dd2b X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Feb 2021 03:54:17.2986 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SmEksu7eCXsuAATdxQMt4n7O97g/kWok46Tvo3rDSl+bdRBX/fvzPQCRI9ekVbxSxA8F0z+2ZEfIqooJssHwIQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3421 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 --- v3->v4: * No change. v2->v3: * No change. 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