Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp174803pxf; Tue, 30 Mar 2021 23:50:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxcyi31nD1BbeHHx5/Aexk4kqO9hrj+hJLk1O39jh1qrMN2y8QHV3uKKHLTllnpncXZs/V X-Received: by 2002:a17:906:ecf3:: with SMTP id qt19mr1856862ejb.467.1617173434652; Tue, 30 Mar 2021 23:50:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617173434; cv=pass; d=google.com; s=arc-20160816; b=Ydo+ko4ocySzpdVFp0EcOHT41BSR9YGuGDSQWsTA3IzIP21T5C/ScwVJYzh0qBr1z4 iwKByQ8vwCJD6szPCfFddqi6/cqPka37eul+WMZWVrQtV14S2/jTguI10fZZ1suOLYqG HVUq9iqc3r1s2xKpa1XOAhFxh9bGD4TOABykgwWNUjAsE4nnuaJ2F1njZbGDelsntSwv LcunhdzdRaKi8+NIJFD5+ufkpLDNiomSFiyIwhdCPQ0TowOGlD25IysgRM1uox+XCTBs b6GIteIpDI6z46RNy/5Ff4WK7pP455Q367G0z0k1uRthgCq8jUWGelCaBS7XUKPsLfY/ mIig== 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=0fIvUbqgzh2AM1uyMHedNUJvc1wwHR065UxLSpMCKso=; b=X3ONoSWvZp1T0m8IXCsRXU3aQrrf9NK4zKubb1Y1pZ6/SaceuzNbBtmDSjFqqYaDHB dkw5sEuMiCDWHQ5vrMNjH8gZgVFDEL3yvINKT7H0fXdULAFDaxrUt5leSY0uN9owZUqh pQeVlKvGhT7MCoDccndzU+M1nhW3pICXQqnix9iJ7blg+HmWUiX/Fvudm9t9Rzyv+2n6 EMM1/uPq0XhyF64CNVitiD45LPwOFREdb510MwRmBXUP1EAZqA7kFZLj2bEA/z8dBJze SQOtalaisdtOaKZycDpOUH62ppLp/I/VJp+R+JwjlMzhKDWmid/TG0rr5x7pK/HzZHzo 2lrQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=e9F84dGN; 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 13si1172170edx.282.2021.03.30.23.50.11; Tue, 30 Mar 2021 23:50:34 -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=e9F84dGN; 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 S233867AbhCaGtD (ORCPT + 99 others); Wed, 31 Mar 2021 02:49:03 -0400 Received: from mail-vi1eur05on2054.outbound.protection.outlook.com ([40.107.21.54]:7297 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233823AbhCaGsn (ORCPT ); Wed, 31 Mar 2021 02:48:43 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TSjJ9TbzmcvY8lFxd5HhCKBpNbQx50RpwE17ft+FtO8ccl0zRUWQ99m2wldVg6SpHZEE2ZExUnqm648zcCB7cMlNKnyoHhkpiBQxq8UU0WUM20lLb6bS1QInjdKle7vXwHyx6nJQeuFcvYSBkSU/cUH4gsVssk7se846xofDvZ9D/p1388sOjX/zzho0CEZw8/zHnpYz2699vQ9UKkxtot/H+DO2nPdHUjhgRMnrNNZMsE1gzNgvRL6CTGz3furAYGkJZ4KGR1VLyqpNZlBgyxVYSbQcMA0DJby2zHeIQ7XH5WbOdvBRvA9CA0YWyZokD4HJtJTwvJFfV7wd5M8pGw== 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=0fIvUbqgzh2AM1uyMHedNUJvc1wwHR065UxLSpMCKso=; b=g5vmX/49if7yo4BD4wPV/QKiEYB6Gadl8BLv0vCTWqqQzjODw6tJxcWix/IzuTxonWk9ayaHiPzOXpfY1H4HH9VzzLjlkmzTgm9avaJME/cFp/VwwIBelkQqOgb7OcT0lMQN8DgrjRi2kEK5dwPjX3r0Kbods7hA+1cNGcSmnIcpwOHm4juVHTzmUWy5jwEbCzIAwyrBaRSCmvrB8sM6+JBJ6BCTgx24jqBZWePzOUb3h8/zr/t1JXNsCfLl1NnfsSOJFNz2WsmE3QRaiq2TLRM0tG97aQqsMajTB7eloscwROHuoPSO8yf8MhdsnmGAbQwOA4UcfWuceS28dvS2QQ== 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=0fIvUbqgzh2AM1uyMHedNUJvc1wwHR065UxLSpMCKso=; b=e9F84dGNGZRqkr5Jpt3sbPRb5qsOOWCrx5nzgvjM42UE63R/ExZoJVf4PQS9Z6b/xB11917yNQXYxaARbo3gRGIPT/IJOO1cdng2kDXlD5kAiM+QrnoHWGxv/uc8+gKw2CYTGeU1fcOSSzn+3CvA82Nyi+d4/wHctRUS65v8el8= 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:39 +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: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, robert.foss@linaro.org, lee.jones@linaro.org, marcel.ziswiler@toradex.com Subject: [PATCH v7 02/14] media: docs: Add some RGB bus formats for i.MX8qm/qxp pixel combiner Date: Wed, 31 Mar 2021 14:33:13 +0800 Message-Id: <1617172405-12962-3-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:32 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6288f849-89a6-44b1-c589-08d8f4110425 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:3968; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +W3wivkbEUjkdW9axNZjCeyPp9t/7O/t4ts69ufR1KJQdG4XScTwXYZaldP99oFvu9eR5n7+OJI5UKyJrlcmMZY9hXzPbL22LmDVYEYOBoUn/w1vPt4IgFiPD+7aY3Awv9KBVeIfSDRNhvDzxllYSR1d7gpMN98xrjflXFlPetcnL/N6uOYYT0qP8LF7QnLgxH/mqDr0GA2HYv2QYdIcNeKEUCf4gu5+43eJsVgtCqT3lJ8QPlWWg7OLqPukUw6No8IW5fV9b9ZwcmWXpTukYOK1htHGupGr8b3pXlCbTUY1SOD3SXZtdrZ8+fnRNU5Fk0SR/A9nfduOQTTe0v1Z1CUKKAR+UuisOkJBBBlZ5eAmoVot9s63TJLTmQ8gk3nMXgRSoN+XcL6Nm3B+dUXVYkhgBVfTnQKFl8P6RzUA2GrME5UkPDgV2+28OeGHeNa2vS2dnQ+cCYJghXtJuThaEzPIMOIOZZNFR/uZ9JZ4Nvd9DMbt3d+P/uq0MqEln9ABRmaCoTi8Vd2UUq6OOhW0TZCmJHeYhkwGZXg87SGJXuQoeYwgvQDe2/we37MfsPOtLxjk6X3mTKngGvQyCnnRDc8kuBOsAQ/RlhbPbVzMRwrvse/fbY7tc8GxbNttankfBEPOnp8gZyIoREMKnAX0KJxr1djWb5Ulb+QOgprTh8cJ89ls6dXtKCVvTgUfUy0K 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)(36756003)(2906002)(6666004)(8936002)(6486002)(66946007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?W9XD5KIT/K2YhtKsIdxcwXrgEhvEUmuvUFwwAUWmkfKzuFQHEis8AYQG1lOU?= =?us-ascii?Q?AZ+mwFOYO9ZxSh5kuvYoufFfr3Oah7xCjqfdf6oNWYxGq/18P4Ft0H0h3FTV?= =?us-ascii?Q?KABYohsNqu11iD5/w62t1gcr77T6CTwPjZXK5mWJFYwpbTNx2EqaE4tNLLjh?= =?us-ascii?Q?mxBRkgQZhrsB5uFXwXGqR0HT5P/hQrtNkzmzUob9/ZXjfPajOfuvqNwMQj6E?= =?us-ascii?Q?ugmxG/YCUPVmUG3SPm1y/xoXNllGwK7xFVHeumYkjZv2YE3O+6zrq2Xa9YrT?= =?us-ascii?Q?0dRlqMgHJNYIt0vZo+DeJnhJfLA4TmKgkgX53leqHosGq+HWkoI0x9lbEBod?= =?us-ascii?Q?ZfJszKeIejKKM/KGJf5ytJOoABQOPVhAyebyXi+mG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AzVIiZIuQzVf6qv7Mi4hUMZ9NK/Rag8lJ95zZoXzk?= =?us-ascii?Q?hLMe4cVkojmgRez2PDx1A+JB?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6288f849-89a6-44b1-c589-08d8f4110425 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:39.6639 (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: MMfFYytUKnnu2VeD71McFanxYJNaJNL7ouYNhaBsHgaCfoAodw/uQrFpYyGm6Xa+VQmAcVCMKfSGCR25OND+fg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6349 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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. 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. .../userspace-api/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 7f16cbe..1402e18 100644 --- a/Documentation/userspace-api/media/v4l/subdev-formats.rst +++ b/Documentation/userspace-api/media/v4l/subdev-formats.rst @@ -1488,6 +1488,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 @@ -1665,6 +1739,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 -- 2.7.4