From patchwork Thu Jun 9 06:49:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12874880 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4C8B1C43334 for ; Thu, 9 Jun 2022 06:49:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ubLN41vKG7FgRaXZLVQUZSd2ZTWUXPnv/46eWHN9ucU=; b=TTsn5MxwvMKD8k ugEoI/hk4EXXS9Oj3IqfR/zztmhnTNYw1QIL6s1Cno1p3zvrqbt2AW2RF4Ney3fPvWFOScvkzlGo9 KDaZeAYmWuccJ3YRRWNDzLmapShsRBhk75fQT5uUikjjyO7QPsq64zxvxeGhpUlb1yHtX/47aAHfq vbEOIODnHrlsgfObKvzOdfA7ZYQXSNAp+p2KZRREujpmVQzkv48voASmXJ0cbX+o5ijOVZ5oljkPs L1RI79mIWH2dISPnSIt0JQAkvKRrMlg0XcGxVeknjMEmlay7lkNB+foOFFYKfLePuK4+WcwtEBKtF Q2/wnWZDp+Sd0UsdHBIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzBxy-00HA2P-KW; Thu, 09 Jun 2022 06:48:26 +0000 Received: from mail-dbaeur03on20608.outbound.protection.outlook.com ([2a01:111:f400:fe1a::608] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzBxv-00HA18-QF for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2022 06:48:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fy7i3bHHWAXBRoG8+0mPxZBEhMSyuCFtbZ9jZft7MUZWBR+R6RoODRdped91leCGzg1no8fNzP0FJjCs2z58Hn2xZ6RVACqaM+Y64p7U9E+HYjESK+TzOhSKuJfHaHZNPMkje9nRTemLTqQl+a2WcY5v9zXWwt3Nu+GYD7ysdg0cRiS7lIchkR3OwAUCZMYgCr33YCbcr1Py5sPCQdPjRSmJhMTuQpTUpdbH+F1bwIkoDDEGcQbfzTqZxtijKqVfvfrckuUUUYjIb7rDqm5QFI0AMP9LPdu0Qx8UKQJkE13R1t+K/JwxlF6o+xI4i7+oHtVSIPmgYFnPiR7vJLcAaQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7rNVAC+RYQlN7zRVQrTTkR1w7THm94t34elr5qvTutA=; b=cIt5bYNBR0/uuEIXcadMzhzdCr4yHzNxO83I4pmsfk4esKOpRlw4h3KzOKs9ud7Dhz5wz36x32IKJPMngaUVFY2VlRgodJwhNWdfYI5mYREIFIMe7MYfooETl1O+VLz7+qOHjlVVk9kpZaqIiBz0UQQKcKGZKvIoC959yZ3pptJ1qhHvnByP9/kg9NVBE/VhsjM6BZBGQjj25DqdWYbv44W/ZLjpW1AIju4hbxFnviH2Imn2FE09Sd2glnS91PltXIe4aCAI45wpeJ8NvYWB67mGsiTSvU0ht6FwHAMaZng8eGKhqfmQDW+IRoYDWganpCJBE5OQktHeu5Hc+3MKvQ== 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=7rNVAC+RYQlN7zRVQrTTkR1w7THm94t34elr5qvTutA=; b=LNjIu74HkzxR0mOEV/5AlBROL8mrHTQzePkmlTV7hUGaopRVx4h/y9E9U3Ikg7Brj39WjlYSv8DlYGazvLk7zboM5NTKGmBfFbpp0O/ecEdNRuhMQ0CKF5kTo1jJhs+fH/1pFMhhocH7eyzSFQy24EDQLhvnFV/Fkl6W0FEREyI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by VI1PR0402MB3518.eurprd04.prod.outlook.com (2603:10a6:803:4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.12; Thu, 9 Jun 2022 06:48:18 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::3c82:f63b:711a:502]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::3c82:f63b:711a:502%7]) with mapi id 15.20.5332.013; Thu, 9 Jun 2022 06:48:18 +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: andrzej.hajda@intel.com, narmstrong@baylibre.com, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, lee.jones@linaro.org, mchehab@kernel.org, marcel.ziswiler@toradex.com, Laurent Pinchart Subject: [PATCH v8 02/14] media: docs: Add some RGB bus formats for i.MX8qm/qxp pixel combiner Date: Thu, 9 Jun 2022 14:49:19 +0800 Message-Id: <20220609064931.3068601-3-victor.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220609064931.3068601-1-victor.liu@nxp.com> References: <20220609064931.3068601-1-victor.liu@nxp.com> X-ClientProxiedBy: SGXP274CA0008.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::20) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 63bb2775-e7e9-4312-8fd3-08da49e408dc X-MS-TrafficTypeDiagnostic: VI1PR0402MB3518:EE_ X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FNrYVyBjyIB7evAtzoVluoV2Bf6k90fZYBHzcL2sH6Ow6JJUe+YqEPMB4iMENHVekjX9ycfUXZ7g52A6jE9V3kDeCG27Kuk+k7DVj+804rUPn1+nBa8iunvzSJfS2vPBEsy3OnwW0W/e4B2QF6ZW++NAc2l8UTmbHJ3NbmCse5bucclzRtcsPCB1vnHQx+VorQ1iW6gCY339PDIF8rde8xS5Y5qg8UyBjieFLD0mEhd6GFqk0fZPNH2Nden5b9t2116yKDdYNptMq8FWzwTQU2q35K6ckFsxnHOx4vxBHgwBEj+eqVH97SvJr7sAusK6LGhpawD7j+CaSy9+uKRpLjod/ihRa7NoMMNnbamyStl6vw4kk2KhVzPHKOdz8JzPghdt9QeRK1T+h7lYesuuPUulPNvD/9KKQDO16s8DX7+rhXz9VmyLtVwZ60f5dU0Wq+waNH1TnsS2LfhL3cxydPO+M1Sue34fm/Dh7kAtdF9JV0AnLfzlxLmZgyMqL+50QIiBj5hSdEbA7hAoEEAlyvVaeEB6D4Jlrsv8xTl6PK2K4614lIGooes+/vEGDFSGrRA9zFnTE+07BRAt6fbKSaC+28BexBW7lZh4pVELO9HpCCXYY3omHl9jz34yGEdnxt1RHTpT0I8WlwbGAr5L5u5BgQGgTmcyu5ekhUW34UCuq9k224qLGDclTh/F/hyI8mmdP1hFRHePKf4ffH5W+A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(4326008)(66476007)(508600001)(86362001)(5660300002)(8936002)(66946007)(7416002)(8676002)(52116002)(6506007)(66556008)(2906002)(186003)(26005)(38100700002)(38350700002)(2616005)(316002)(36756003)(1076003)(6512007)(6486002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: x2yE4gm9O7Q2V7MWd8vIVSXAXP/JKDIZW1w1IVAm3DqTKKx029978FxLT84BCdxlbCK0l2Xeufyh5pOGNIyG7DK9a3NNPENyZhKBfxYQua0/g6y+YV+/CNmOs0Y7HCDSg89kH0Z0Az3MCO5OEU8QRLCHnhAnfj2YihpIqDnvhZFZQkvfFTd+hYmsntsmBZgAIwaRkzRlsjREEPPcBCQLVYaA9GMzeY55rlVUHSGmeIwygYeL6Iojkk0SLApLYkkFrVmDiL5yzzYYvm4vona1LjjFHcE73FD5pSQhjbsIZu8o3nUwl2p/29+ojjoHPS76u5Xe+fArln0CKZVeuElLL+9bJcf2IbHU4J1/+nEwiLf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8Cn6rRDVufUxNm+6W+UqIlsxWt5c3Orc5V00tDbCRPse42bcV+ir3IgEvVp6YET5myRoyHAIQPmSdZnTFXB48FcgZyKy8ezrlhrNxvTMdsL6N81ZLl/0SA4ARR1HaPZSZU//m8n2DS4qTIDR31IDMc6rgAyt/PqS+nQ0xr3UhJXrglWCFcTALl5kyAD8ZonNorEhTwP01EWW/Jv+zDjRHsYapQ9nl4AjsKZIIng3E/gCbVVRN4UcRtcaur5tlfFPVHbdrNFu6NbXSGTZV0dQ+r/HyAaaGeveQPr9zNlBdN+yd1vnqhK0wXdKW1Q== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63bb2775-e7e9-4312-8fd3-08da49e408dc X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2022 06:48:17.9826 (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: +xCVYknOQaDl2sAn4JJ28nIw5kUjkfTWjOGopy2cb1CW/EmC/xqcp8qEy1E0hBCEU9TfUPTo7xjO3crThp6H/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3518 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220608_234823_893440_8E2D3FFB X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch adds documentations for 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 --- Robert, I keep your R-b tag from v5. Let me know if you want me to drop it, as v6 contains a fix. v7->v8: * No change. v6->v7: * No change. v5->v6: * Fix data organizations of MEDIA_BUS_FMT_RGB{666,888}_1X30-CPADLO. (Laurent) * 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. .../media/v4l/subdev-formats.rst | 156 ++++++++++++++++++ 1 file changed, 156 insertions(+) diff --git a/Documentation/userspace-api/media/v4l/subdev-formats.rst b/Documentation/userspace-api/media/v4l/subdev-formats.rst index 0cbc045d5df6..d21d532eee15 100644 --- a/Documentation/userspace-api/media/v4l/subdev-formats.rst +++ b/Documentation/userspace-api/media/v4l/subdev-formats.rst @@ -1492,6 +1492,80 @@ The following tables list existing packed RGB formats. - b\ :sub:`2` - b\ :sub:`1` - b\ :sub:`0` + * .. _MEDIA-BUS-FMT-RGB666-1X30-CPADLO: + + - MEDIA_BUS_FMT_RGB666_1X30-CPADLO + - 0x101e + - + - + - + - r\ :sub:`5` + - r\ :sub:`4` + - r\ :sub:`3` + - r\ :sub:`2` + - r\ :sub:`1` + - r\ :sub:`0` + - 0 + - 0 + - 0 + - 0 + - g\ :sub:`5` + - g\ :sub:`4` + - g\ :sub:`3` + - g\ :sub:`2` + - g\ :sub:`1` + - g\ :sub:`0` + - 0 + - 0 + - 0 + - 0 + - b\ :sub:`5` + - b\ :sub:`4` + - b\ :sub:`3` + - b\ :sub:`2` + - b\ :sub:`1` + - b\ :sub:`0` + - 0 + - 0 + - 0 + - 0 + * .. _MEDIA-BUS-FMT-RGB888-1X30-CPADLO: + + - MEDIA_BUS_FMT_RGB888_1X30-CPADLO + - 0x101f + - + - + - + - r\ :sub:`7` + - r\ :sub:`6` + - r\ :sub:`5` + - r\ :sub:`4` + - r\ :sub:`3` + - r\ :sub:`2` + - r\ :sub:`1` + - r\ :sub:`0` + - 0 + - 0 + - g\ :sub:`7` + - g\ :sub:`6` + - g\ :sub:`5` + - g\ :sub:`4` + - g\ :sub:`3` + - g\ :sub:`2` + - g\ :sub:`1` + - g\ :sub:`0` + - 0 + - 0 + - b\ :sub:`7` + - b\ :sub:`6` + - b\ :sub:`5` + - b\ :sub:`4` + - b\ :sub:`3` + - b\ :sub:`2` + - b\ :sub:`1` + - b\ :sub:`0` + - 0 + - 0 * .. _MEDIA-BUS-FMT-ARGB888-1X32: - MEDIA_BUS_FMT_ARGB888_1X32 @@ -1669,6 +1743,88 @@ The following table list existing packed 36bit wide RGB formats. - 2 - 1 - 0 + * .. _MEDIA-BUS-FMT-RGB666-1X36-CPADLO: + + - MEDIA_BUS_FMT_RGB666_1X36_CPADLO + - 0x1020 + - + - r\ :sub:`5` + - r\ :sub:`4` + - r\ :sub:`3` + - r\ :sub:`2` + - r\ :sub:`1` + - r\ :sub:`0` + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + - g\ :sub:`5` + - g\ :sub:`4` + - g\ :sub:`3` + - g\ :sub:`2` + - g\ :sub:`1` + - g\ :sub:`0` + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + - b\ :sub:`5` + - b\ :sub:`4` + - b\ :sub:`3` + - b\ :sub:`2` + - b\ :sub:`1` + - b\ :sub:`0` + - 0 + - 0 + - 0 + - 0 + - 0 + - 0 + * .. _MEDIA-BUS-FMT-RGB888-1X36-CPADLO: + + - MEDIA_BUS_FMT_RGB888_1X36_CPADLO + - 0x1021 + - + - r\ :sub:`7` + - r\ :sub:`6` + - r\ :sub:`5` + - r\ :sub:`4` + - r\ :sub:`3` + - r\ :sub:`2` + - r\ :sub:`1` + - r\ :sub:`0` + - 0 + - 0 + - 0 + - 0 + - g\ :sub:`7` + - g\ :sub:`6` + - g\ :sub:`5` + - g\ :sub:`4` + - g\ :sub:`3` + - g\ :sub:`2` + - g\ :sub:`1` + - g\ :sub:`0` + - 0 + - 0 + - 0 + - 0 + - b\ :sub:`7` + - b\ :sub:`6` + - b\ :sub:`5` + - b\ :sub:`4` + - b\ :sub:`3` + - b\ :sub:`2` + - b\ :sub:`1` + - b\ :sub:`0` + - 0 + - 0 + - 0 + - 0 * .. _MEDIA-BUS-FMT-RGB121212-1X36: - MEDIA_BUS_FMT_RGB121212_1X36