From patchwork Mon Oct 28 02:37:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 839264 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2077.outbound.protection.outlook.com [40.107.104.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B8DF18C35F; Mon, 28 Oct 2024 02:39:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.77 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730083146; cv=fail; b=t0gr+aKTtt1Mf/1UpYkdvgE2vf/67b5y3gTBRTLreRxVxVJpSqZzqaRNLdBc19CigrJcsGdloXbQPeUTEiefdE9y+UBGQyMTV424CR1+e0Qsf2n+pXkwdGbVW7wc0fqM0ZfOxj6K9wblGx1fWRrUoTcaLh2AciXJKgELCXnqg4U= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730083146; c=relaxed/simple; bh=Bo3nZ88JSljZ0RfQsHWsm2cN0ufMcZ29XpSKdPjwnGU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=Ih0ljWGwZMB6ZBnoWzguZyX0+FFUlPZnV+VUNV5SCMrImyzq5s0Dtf9aCkhN31EfYAWt+x3lQds2axVHv18LlwNRuhqUqxSR1wYzphl3bbe829o7Fbt1bfeNLawHo5n2IK631o05lbpWJyza0arddh56+7p5JA4IB6gIE//UoRM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=FPi8D3yE; arc=fail smtp.client-ip=40.107.104.77 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="FPi8D3yE" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mRvTYU18YS1Wv/fnmYfxPIqiKyyXXOkeyheknGGJ5ISH6fa3C6VUCkCUyFKN2aUH3H8CMSIQNO+aS5U9XVzIzPq0GfC8ejUdO7zCMp6fePAM+iaSvZEZmHusomxCBD/ooJeFfGzVx1TZaGOhd7pZKudrNVlcHt+G2/aIYDQ4lyWc90pEUHk5c06Kscj128Fp8H7mL8/1nyMLIfzk2p12uUej2RH+YEQjw2zRCglVL6j7NrmPHpblQBa7wB1q+PKA6gZjb2OhBK0MOF9uPLtoO+0vacYjYoCN070oeJFfOS7KAW9TDIJHG5slZzVH2gGrybZwBbCdQ08CFVisfIiWOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=y2JpN6ppELfOvef0lZ0Y7goaV2Ww3X/mKcfanTS1mn0=; b=DGqetsVqz3uRl21fx/fopwL2V2chfY0I5xNmfScL0zjmipM13q9BXXhBCM2JzufYdnT3/3atVDoOlG3TppqNRshpnSoNq9TMNRQp4QVgp0xagO4tPxU/HZk8Km2pToBr7lGpUlfuX2zTGb7UKUu/nAen8d9Kb4Rw/65Cb6csgxgvcSDW9BHhsTTQL++AL9ZZISY1M2VCLlrBKVnFoY+Z4o9AYLhDWnsnNXsZzVTSseOjuS+kCPsMDJFhRGex8gBC0sxKR6SXATx+1Q2MSa0aIsM5vNzupIwASPbHZwFAqcGBRN1wwOvmzyw8mwbH7D31eXuWlLBDEV7/LlDx+H1tmw== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y2JpN6ppELfOvef0lZ0Y7goaV2Ww3X/mKcfanTS1mn0=; b=FPi8D3yEsHpEA/sGZe+oMZZ7awljH9lPCHX6zCegnNAT7Cm4jfVKX6fJbYQtCYWP0O541ASDrUR9cdgfJm8YJuxdNN9wJoWniUJRS0jIipkinmpyNeFxMbr5lvRm1Bqv4At0kzKy3KvVWfhqg7ez5TftAxQpJY9GLjhSRrek1hxw2+SrkM8WllgNotP6Z63Dju8CljvCYZiEPdC5NBIxEjy2YTH0YJeXJWwzuZpsUb7ddMADITKvJtyVTiGuC3dU23gzrrP88fg1t3zzmIaMwjdyBznFEhLjW7iNPEVja41glhLyIdpQF+57iyW/OxQQ8pZQItdgVWifAsjO/hGwgQ== 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 DU2PR04MB8709.eurprd04.prod.outlook.com (2603:10a6:10:2dc::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 28 Oct 2024 02:39:02 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%4]) with mapi id 15.20.8093.021; Mon, 28 Oct 2024 02:39:01 +0000 From: Liu Ying To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, quic_jesszhan@quicinc.com, mchehab@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, catalin.marinas@arm.com, will@kernel.org, sakari.ailus@linux.intel.com, hverkuil@xs4all.nl, tomi.valkeinen@ideasonboard.com, quic_bjorande@quicinc.com, geert+renesas@glider.be, dmitry.baryshkov@linaro.org, arnd@arndb.de, nfraprado@collabora.com, thierry.reding@gmail.com, prabhakar.mahadev-lad.rj@bp.renesas.com, sam@ravnborg.org, marex@denx.de, biju.das.jz@bp.renesas.com, Krzysztof Kozlowski Subject: [PATCH v4 07/13] dt-bindings: display: lvds-data-mapping: Add 30-bit RGB pixel data mappings Date: Mon, 28 Oct 2024 10:37:34 +0800 Message-Id: <20241028023740.19732-8-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241028023740.19732-1-victor.liu@nxp.com> References: <20241028023740.19732-1-victor.liu@nxp.com> X-ClientProxiedBy: SI1PR02CA0002.apcprd02.prod.outlook.com (2603:1096:4:1f7::16) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|DU2PR04MB8709:EE_ X-MS-Office365-Filtering-Correlation-Id: 3fe36d55-a1ab-4580-fd85-08dcf6f9ae9d X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|366016|376014|7416014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: y/drqiiD1T34Ykf0EDBza5WchLEUIH1fKNvtvUIrsLDU1W96YoAMepXEcdAButEO/rYKxBa4fMcA5xuOYitnnZDaohPMtEUI5EObDqhGMfCPnDmy/QGA5GiTvDUFL9SuD9iLAy1S9UZuq2MNIQbiQ606y9GokxfEzd6/sGkLc3GruZUNZ9W83MBI0DvmwdcIJrNdQu+mGfsxuD8Audf08ce7I7hRqQ3D1VrdelZZLHCPowk8qJwJlpADEoGXW8wjY5ouj0OS+ReM7s3Z3uGECaCxNJ4ShcjH80EA1qntXGc5CXZi1hXfJVYKgoiDJgjy6ZZRWO3zvwo7llsgTVAIuoIATtdBMaL7RWZKaKfOWPQOXF4lmO1NKY3DkTzHPabNRwM0QLSm8gOTgCXvionshE5GDxjrlncszoqWmMdb33QLwgGO5MaN5mSWUpJebbBBFs940VNPqeDHX2MVf5vhARYQgyVAwq6FUabp2Wz6TY1k9Gf3YUveSQcrxIXuJaOCiCASKz74VerOQIXKL3pEkLZHK3+UZqf8dj1fexN7IDaOAMPOkX7yU0pE5g0eCfDVSrCJE9ulfUnVRrEThy+Noc0FxTRfzXKs/SLwk0VwiC6HKPDYX2JZbaeJMWVUd6PEhcAuE/8KAIV8u0ZpK7ILkkH9Us9QowyHDUL4EBegue1yMHXvcunfuRvMRI30lugeDOzKcacG5ED1lN4MkIwRe3aGUZIii9ucM2jqJCE7rKew5iBEcp+1ie8kTkCytbX2eG7WaDbcFMzYgxW5pu87cH7u+OlZxVZdNNmnONei95tgTYer41dJy867B7dwvRPh6dUfnQwAVdXJiztgKWhEUDKu54HM1vu9rBbha/W7iHuZDPyQiwAf2n7rvlRY9isyklWDFy9TG3Ukj2Lb7IFV1cejhcruV9EQ9CfqkcL6dMzvGpmWZieRMgAwtyFncp8kegCEllsG41sOINCi5Y7NUKZSgdiCFhf7laamBtFUzGdFU3o0VyK+U6G1yFyPcycREXDPBwV8IZeSDV8bEjRAd2G6q3+7tetAi3bmE+LpZfbzZJ9cnLo1wSsrTD1G91TYix5X8gL3FxQlsGSYNKBTehIjx3b7XOE8+8mOrQpReTBCyWVA3723yxvSI7EDteTIUJIwleSBa4Igt+3oo7OwWEXqpbcSJ2V8ZBVGK8dcilvl4Shc2auoj3XShRgzIDw7SyWrLG6PhGfFsWruRCdKaEBAaAfBWIMGFWFy10TKFwD/u2iu82FIEMza70EV+qdk5dvceIE2XImCyXWJoMLuVIYXzGIHTB/kVpI/YTuCmte2AQ3YFCkPDHRk/CAz7CuH1RDv6QlpBKEpFvJrSvgWclQ3gp54m6yQ25TeijDRzO8= 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:(13230040)(52116014)(366016)(376014)(7416014)(1800799024)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: R+1NhvRh0xE09/iI7DrK9KVFXZfkAuss2klRGQSLtHd+elMC6YMCiNEnqdR4sLloyf8Pn98k7w0xYiD+R7Yep2095Q6OuOw39zWckAYNyjM8yX+ru98AuOHNY8juzSEIWqe3ePXJume8CyJv2IKEl0Ss6ZD6GlfarNPCXzFmKBUyYCIzT9YnZuIqsKWj14kslslvKRxC7d7ippysPXNBa0DrYV2m+IDTPWt8eYYNHnZA1xNr0zhClILGUS/Rh+dL58510rTTJ0yl4vigbgTPWJQxGlbz931A4ckf//s1QecxiCVyuEOv7jYbFaInXPp/GzDF5Vcxi7eur1Nn5HrNtlML5Ddu8a3OyT+3/ViDs9hDSi4eq2m12a7cWBHUkk6SJ9tEsrQ8r24xETSkgZuT33zoHvQ1YHRDR/ZNavq/vBuvlr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htsVxXEyInFJvyDTZe5xqD0/0auQHfxHHnx+wugJiP9UOLEpVOcXcECPA2V1M2AUmBY8dkwItp+n8ERh32KkWudyv X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3fe36d55-a1ab-4580-fd85-08dcf6f9ae9d X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2024 02:39:01.9335 (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: MTVihxhnGv5xp7Y8WwaMEzWAic8gYKI3PL3kfXlEEi2s2VzKRU8zCNvg3Mq7qpwgxE2o/g1Rqi6gs5lJlF5f3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8709 Add "jeida-30" and "vesa-30" data mappings that are compatible with JEIDA and VESA respectively. Signed-off-by: Liu Ying Acked-by: Krzysztof Kozlowski --- v4: * Collect Krzysztof's A-b tag. v3: * New patch. .../bindings/display/lvds-data-mapping.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Documentation/devicetree/bindings/display/lvds-data-mapping.yaml b/Documentation/devicetree/bindings/display/lvds-data-mapping.yaml index d68982fe2e9b..ab842594feb9 100644 --- a/Documentation/devicetree/bindings/display/lvds-data-mapping.yaml +++ b/Documentation/devicetree/bindings/display/lvds-data-mapping.yaml @@ -26,12 +26,17 @@ description: | Device compatible with those specifications have been marketed under the FPD-Link and FlatLink brands. + This bindings also supports 30-bit data mapping compatible with JEIDA and + VESA. + properties: data-mapping: enum: - jeida-18 - jeida-24 + - jeida-30 - vesa-24 + - vesa-30 description: | The color signals mapping order. @@ -60,6 +65,19 @@ properties: DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B7__><__B6__><__B5__><__B4__>< DATA3 ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__>< + - "jeida-30" - 30-bit data mapping compatible with JEIDA and VESA. Data + are transferred as follows on 5 LVDS lanes. + + Slot 0 1 2 3 4 5 6 + ________________ _________________ + Clock \_______________________/ + ______ ______ ______ ______ ______ ______ ______ + DATA0 ><__G4__><__R9__><__R8__><__R7__><__R6__><__R5__><__R4__>< + DATA1 ><__B5__><__B4__><__G9__><__G8__><__G7__><__G6__><__G5__>< + DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B9__><__B8__><__B7__><__B6__>< + DATA3 ><_CTL3_><__B3__><__B2__><__G3__><__G2__><__R3__><__R2__>< + DATA4 ><_CTL3_><__B1__><__B0__><__G1__><__G0__><__R1__><__R0__>< + - "vesa-24" - 24-bit data mapping compatible with the [VESA] specification. Data are transferred as follows on 4 LVDS lanes. @@ -72,6 +90,19 @@ properties: DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__>< + - "vesa-30" - 30-bit data mapping compatible with VESA. Data are + transferred as follows on 5 LVDS lanes. + + Slot 0 1 2 3 4 5 6 + ________________ _________________ + Clock \_______________________/ + ______ ______ ______ ______ ______ ______ ______ + DATA0 ><__G0__><__R5__><__R4__><__R3__><__R2__><__R1__><__R0__>< + DATA1 ><__B1__><__B0__><__G5__><__G4__><__G3__><__G2__><__G1__>< + DATA2 ><_CTL2_><_CTL1_><_CTL0_><__B5__><__B4__><__B3__><__B2__>< + DATA3 ><_CTL3_><__B7__><__B6__><__G7__><__G6__><__R7__><__R6__>< + DATA4 ><_CTL3_><__B9__><__B8__><__G9__><__G8__><__R9__><__R8__>< + Control signals are mapped as follows. CTL0: HSync