Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp174712pxf; Tue, 30 Mar 2021 23:50:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxm5s36/qwfBAXnnFc3yR9wGYncjJYtVXaus0g3swwRB4PP7sfFQuvl8xMELrsDYvl24R39 X-Received: by 2002:a17:906:6817:: with SMTP id k23mr1918861ejr.6.1617173421117; Tue, 30 Mar 2021 23:50:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617173421; cv=pass; d=google.com; s=arc-20160816; b=NSQDfzJeGWnfMOZdGGkYgYiJ2TwXD96kzpjZ80bR4qanNlUPZKBDyfsfntwXAD+E8r hxq5wNmC1KRlZvERh7aueSDHOMJI8ct3vBEIEAkkiTQiE0ALy+yNtubGJM2nTjK2bb3h OiSwy2GA+Mwy3nopyd/W17qD3X7q0Ooe4P0dDEP62eKwtHtf732rdiz4z1OfxwHI1oeN QT8OyCrYClwvFwLFunN1WmcmZrlDVl/7nDdjfekbt0NZex6WBEg8VRTHOjdXuCWqW69z ttzU8kBsDVzAUg0QrQkiyBrrcS9mAs6upw+1Ve23jpG8H+wTT9HA+u09MmIUju2i53sc PM1g== 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=9bGkJWV6xCvtperfmZT8t5blnzN8BHYwX4xkycRkLkI=; b=B7yP8nSyHUIANBOtvlXGzsQKAiRz90p/ObG7m6X8qLcL8U6KbdSN+SZFjNMk2LSUaL 7qxdwgbs3RKh79DB1RTlsm+HnpNnNZm7dEc53Ak5P+aXJHx98lnAS7sxHMgVNmyU6nJt 193TJFHweX3OdODLI0vQrAQ9ha/sfWh6g3lE/rpLa5eyT2g0bIlXzf6klWjrQmqL1YMI pwJXhSz9DFkhymM6OsOBx6ERpy2afFmfZkvlPW0jsYONbL0gVT0HXkTfC/rdMd+Qe5dJ FBn6IauT0chjjC7mNC9ncik/Pw0KQKogBJrE93+KMFNEjzEHWhb7np2To6D3TTb1SaOK LUNA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=m5rU1aLZ; 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 do7si936010ejc.307.2021.03.30.23.49.57; Tue, 30 Mar 2021 23:50:21 -0700 (PDT) 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=m5rU1aLZ; 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 S233856AbhCaGtB (ORCPT + 99 others); Wed, 31 Mar 2021 02:49:01 -0400 Received: from mail-vi1eur05on2047.outbound.protection.outlook.com ([40.107.21.47]:46945 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233831AbhCaGsg (ORCPT ); Wed, 31 Mar 2021 02:48:36 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FRvPtnHqI8mxbbtYFz8yR0b9x+A5auRa0NSGNfOavdsxemIlX0s01K3Yjg7XkRAOObygyel1ebsUPwR8aBpBZ2oHee6xRMfur4OjGVQJpSKtLQR0f86dLYf5Wpk3l1Eyte5UMbDX590CAk/1qSJeWkFt2Dr4GL9Iw2bayAYRU/MrdKgr5REt2TXcxiG4kxHjK1bFGU7XYisnXDhPlsq9gWowwu63n/sf6JslhA/zcs3cNPPieGuCENFcKkoDaPLKshPsp+5eACa+mekaSSHyzfFFEz8DEReXmqbJA5cF5bm1OElcH6uPKlqJ1fdnmnp9Pq3zcAVt3QQA2mEktG1Trw== 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=9bGkJWV6xCvtperfmZT8t5blnzN8BHYwX4xkycRkLkI=; b=Y2N1NO2Y9l7BybSz07b2Phw2ZRYGQQKcZbu6RPL4A9v0igoynKFJv3Ca1rqfq+lb1f6LygoSUVZ0oDAo3DfCkK+xQ7+Npzh+540w8eOiyd0bbqd2+uJxLYEW9aWjU2YLeEuh1KDSWaf60999t1E1LAGbfBQ4V7g0/f9LTufso+Wuns5DanCiuDIX7rgXKXjAk1Ig0/zQB+pQUkY3kOWVhfXBqBeV9s6xvm7Mkogm17+nn8ZDXsYgxdPxPubBVCwknyZo+k1IFfdXPVxODzzZhWUyfUsuR2iQDk6Cjxr83mm5DQwsUOjDu/ICJptif/J5ipqPFK4QpQj0mt1UXsa8JQ== 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=9bGkJWV6xCvtperfmZT8t5blnzN8BHYwX4xkycRkLkI=; b=m5rU1aLZSmG5+2l4HNe5T/dmxnkAW9jjVwJ6a3rKuthnLk+QFGWos4T/NPaaKHgPyd+REO/Ly+0NL8cB5im6+Sv5aaNONUKungNxQ8hbQfo/70WVdNYobJ5jF7lKG16jT4yg8CgfPAgkWB9SatCclHxm+dyRuiuWaJ6F2LIT57M= 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 VE1PR04MB6349.eurprd04.prod.outlook.com (2603:10a6:803:126::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.30; Wed, 31 Mar 2021 06:48:32 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c%5]) with mapi id 15.20.3977.033; Wed, 31 Mar 2021 06:48: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, robert.foss@linaro.org, lee.jones@linaro.org, marcel.ziswiler@toradex.com Subject: [PATCH v7 01/14] media: uapi: Add some RGB bus formats for i.MX8qm/qxp pixel combiner Date: Wed, 31 Mar 2021 14:33:12 +0800 Message-Id: <1617172405-12962-2-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1617172405-12962-1-git-send-email-victor.liu@nxp.com> References: <1617172405-12962-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: MA1PR01CA0105.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:1::21) 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 MA1PR01CA0105.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3977.26 via Frontend Transport; Wed, 31 Mar 2021 06:48:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 59c737ec-5e82-4f28-e418-08d8f410ff99 X-MS-TrafficTypeDiagnostic: VE1PR04MB6349: X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr 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: kqPNZNiJRcxudBYVbh0cdoyqzJfSILgEQuuy7Srheww1zb/tYKFnZHOP+eZVEQBFkUII8ifRXcRIRruhjTtD401uRiU38nHD1AFJ+1n3lLknweW6kk6K5P8rJkg83YQ4as3KHg2eSY/yQmhi3Ewx2Asbzmf92w1g4D+p3/Wudus/+PUBm/zBSElgdtGbD6WpNmnY+ejW8HisORh25CKtqHlKvOAa8DXz387eGpclYTsb0Jk68YpZWpYREH49i+d7koOO/V9uqlKfoJkrjxFWV1XAzngW7+UPmzifvQPb4EudHnA+lE/NTCs4QC5nIgkCG+mtSMoed/SOchuLKtUdKuDuTlTZ92qrZBTMQEynYJ2hFEGStAEDYy41x+f4p2MFG9PxrqKtHoxklX/eiqiKe+CMpmzMrfeCp5zAPAOcvRbXZyK6yUEPEWTDyZ9UZb/oX0fdwuu1nMZ8ue3B10y1mPisk9kX475YhcRZmtLqZ8LppuhEMuNkgSxgDWnF8w0aIgmtDt4sfdRWnjv0couuxLbyoysRm1EfhUDjnvuMUxdtOWyYZ1gWuwYP93EX5+ckkpa9YnsttPJ0KdOKFcPIOJV31cdhsXDIvB/sddVymdEBjjOkeiic0MA5CwHE9kaNJ4fmH/IargMkr7vMETpKmKrSoRXWYG7+yiGqn8ax4jMgk2lXx2Wt8HTw4Nju4yfA 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)(16526019)(7416002)(52116002)(86362001)(6512007)(8676002)(6506007)(69590400012)(186003)(66556008)(5660300002)(26005)(498600001)(66476007)(38100700001)(4326008)(2616005)(956004)(83380400001)(36756003)(2906002)(6666004)(8936002)(6486002)(66946007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?qL8/EwbUBej0CFws6YyDDkaG/g+YmBwCBILJ6voZraV0zY/e0kGP9BtKNnpl?= =?us-ascii?Q?yH3X5mfg2VfYL5SYat5kYtumypNiGQOQFKTGnlh5DEZiHz0k1I0B5ytplt5f?= =?us-ascii?Q?PUjRYh0a9KJ1sQTgKEgJuKTLLz3AbJUrshbIPI7jud+GS4Ddn5t576Kiz92L?= =?us-ascii?Q?Pp3KGIUMNMr1KksTaJs9ty+OohkywizwGnpECNLSlBZPzdQWEFjG4ghmuVmj?= =?us-ascii?Q?lNeipKyWuLhhjtLpkQlg3LlLAsjrFnNVKDm/vlASvwZps+/vX+O0TMZCTToo?= =?us-ascii?Q?jhJxFfYNW8Lkl4U4nP+GMiZbzluJe5i/kOc5mHfpervAV/nfU96ek7wt06UW?= =?us-ascii?Q?Zi4MA+wdhr336e6VYUaMo7NZihyzlXJYZ4WicYfdpDkar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WNEyCmKT6GdhhwFBayXoaRlkkgZMZWIRmRtrclVicN258Z1qyyC6b1n?= =?us-ascii?Q?uBJlRcaEArR6u8o3gRCxAT6U?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59c737ec-5e82-4f28-e418-08d8f410ff99 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2021 06:48:32.0413 (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: TvctNh4D1bXdaNRyhVkGSQ3kc+syil9v2OEERORhqVhPeuTF/fgSmCq/yc+ljiqCIvi0K2oaOjzhF6fBDP5xLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6349 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. Reviewed-by: Robert Foss Reviewed-by: Laurent Pinchart Signed-off-by: Liu Ying --- v6->v7: * No change. v5->v6: * Add Laurent's R-b tag. v4->v5: * Add Robert's R-b tag. 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