From patchwork Mon Oct 21 06:44:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying Liu X-Patchwork-Id: 13843685 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 6FD9FD3C937 for ; Mon, 21 Oct 2024 07:06:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=3DuV7KFTyFyicCDR/hyADtZQbwKk5waEIVAObtX4OHk=; b=1tBkq1pfWXXcCdnKgJDkKk4R7P ab/Wd9fBztkqrJe5gb1FsNUVLShNXPUDix7wUj/4RefNpg+4euVXjmHdUQOEExZ+GxUAbxTTwvg/w /Zt3WFtMTL3qLiiDK24FhizQlgDLV/fS/O41hpg18xRFAFiWAlxGiiIHQMqqANQ8Nd1kPyUuTYpUa hLD3TOh77dG5ni6X9k2gl6XAYfT27JkSJpgBqBi3yu6wMYI5ujeDOdqrG+yDxmpSwdKNmap/B7pB0 tKW0V22zXnFi3KoFB51d2xAcjgn4kBNKy2dPjvhaqdyTobo2NaaOyPdTImE18NXpDPxG3bxJWPTzw LeXzvWjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2mV0-00000006JHt-1Ltm; Mon, 21 Oct 2024 07:06:42 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2mBY-00000006Fh1-3n95 for linux-arm-kernel@lists.infradead.org; Mon, 21 Oct 2024 06:46:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=e+AkTtI550diKcF0n5K4MGIF2youbHXOrN9K8lzaB2YDHTPCsHDVaNTxJur+LlSj/dp8o5MtNauTpZEBZd3z8//8oLkMise0WgQlSX6c658lGfRKVqs3nb7oW7cHAfZlkgJZG7yNVaw8OqgT7FJIKa19czJXICd1meAWdLNdLmgOpqq3nX3NEDsZwiUQsxdqVdkbpDZ2RPOftxHS92ZhTWCt/NkYb2ncDquWuQvfdZ70j1405h+kpoRl6INvVf8nxDKbO/gPUfZskz7ZFLY4HLvzuZKDGcOchadXWIpIn8xMDi8LG9syBIUsxcnmYG7ENkv71x95BwCjSHbkIcH2qA== 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=3DuV7KFTyFyicCDR/hyADtZQbwKk5waEIVAObtX4OHk=; b=ZY7bVKWSx04ZiQz/dZVnESipftiWb5kHe7qoUv7kQpBpFCuTgmxtRafQGuhJw9Q0VI2RM1JaFi/sl3S7y9a9QhhmYh63Cbc731QEl62W6mqtSmYKZ6ttg2g2i9dMmpXuZFtKwmVk1PVuX2XOHVoC0E4ifm+qq+3pV24zTSroY6Jo6c14lQHGZ07UsS1arj6LOPmMj/Ku0iUxHz6mj53nIEEBee8qZLUXki+iVQ/soX4zxPifgER4h/wYoay6TquBjjI1tt41SGkvHSrzoa7okVLzJyuDMIGbOu6/VnCOvS88WHkqOVnON0gjXu8CG757IxeM7d8Zat53kRLi5uxUwg== 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=3DuV7KFTyFyicCDR/hyADtZQbwKk5waEIVAObtX4OHk=; b=CD8rRob5XOHRkQNkfHF+yieOUGlHcqOlEnN4mb10Q+NMxUgeQkvpro5FGvEU0oz3Rimo06t0JMF8v3S4qDtjsToNzvZPIr5rnelZTbL0UWCAJ5IlfHJr5GeffeLG8RxmbVk4qZj8w1RPOImV/yIxcTOjzYlvTqBLZhQ0Pv08yWx8H5IX93FcToic1Tx5eob6u5fGGMsL1ffJCetfkERpiTF7AE+7JuDM6IUapkOwKolefj7ROchv3Pdrp0QhX01C7iTF6FvXY1JQMBzIV7I1r6nB9gHpnSviE/Z2HheTantzV0a2a9WsWQsdSt8ZjzqGuTmTVCg86krzsRrKP0y8iw== 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 VE1PR04MB7374.eurprd04.prod.outlook.com (2603:10a6:800:1ac::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 21 Oct 2024 06:46:33 +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.8069.027; Mon, 21 Oct 2024 06:46:33 +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, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, 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 Subject: [PATCH v3 07/15] dt-bindings: display: lvds-data-mapping: Add 30-bit RGB pixel data mappings Date: Mon, 21 Oct 2024 14:44:38 +0800 Message-Id: <20241021064446.263619-8-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241021064446.263619-1-victor.liu@nxp.com> References: <20241021064446.263619-1-victor.liu@nxp.com> X-ClientProxiedBy: SG2PR03CA0111.apcprd03.prod.outlook.com (2603:1096:4:91::15) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|VE1PR04MB7374:EE_ X-MS-Office365-Filtering-Correlation-Id: 7f7b0406-8efe-4dd3-8a2d-08dcf19c1a14 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|7416014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: QN5CL0jLcGhGXvVbiWJ4g/XPgYlG4zuibpYwLt70Vdt4AihJqqq0A+G5UkBStm5jmA3gEnvqPcGGh4b4h39kxLdYZTxXNvz9G55jzkwitcUxgPs7s/l8NFdAKA4OhsTRQmtEPy+eY/f2kcPH1uu9INzpwj8VcJuG81gJT6uOc7UjX+cR2Fv4Qu7LQZHckdfTZj9uhgIe/LOejq2/OQIcCJsXF8403ehsQX3bp2MsqnMyDeJIgWUqY9Qudy+X74EwjU6tVnBVuDh6+SPUnKuG45PDGEgCBZgQWrTvClvJAVfT8bUEwxynLAJ1MzPSoZr9/FmbyZ2N3wNZTBU80tE/TdOTHIcNx5FuJ1dUnEPrbF4cgSvhtsQkKSZJOMP4LKT/MpmlryAdHoRAXDrdsZ8REjCFnAGDN7xmuNipB9xb5nrRwo3Ub0yNGlsTDPk2XuLvd+7npzr276kbWrxFeIgiTZ1ChszmyLC3SHZOr59HcAgjE+c91tv1QjhNSFT36Hulq/CKic42kxF4iR8iPhogNHMTNxCfjjwqaASqrIqVS9dijCqnb0ufx1kXWH23Lswlno5SzGi0t9bedgwaluPKuaDoVn3EPmjVg7/1koD6dwENGw/MBczFCMgaR2ToafbapKOHEJ1qHQKdHNe5FZIRPsff5Kd6kMZtOyHM/J4Ghq8DtI4t5My//uYbPyK295n/eO4MxI7SU+ZrC2mI/axRkKXwlbitNB7YuWb2YITO5f8btCJqADFvIic7PGYb0t2MeS32pxLXgZu4MZSfc1TFwkz8h/8i8ZBADPt+q5r/hqLCpsA16w+yVk3ISsE/9hlMCKRkFlmv35mHnKWgehkCWTq/+oh1LpgJ2YdLUNVGqvEcJsEu1x29+S1ayGXbHNTpRseh8+ATOXIbG9pUoAHDcoeyCIP4sGPT+AmJ+kxCeVMAG15h3E8kfvYTsKioxJYBJHLwc3gB3YPS1FJAqFG/4JBN0Ds4moxwjN6Cb250K0sThG/1y5O10XoEiQlI8hk4TzoYN7GK+G3yge+vYgjR9RPr8EOaK0eWrXEJOK4FgDEm0HhJnUekNfYhtgaMuduDXyyEXojEK3UWC48VZDgyHS89ICL0SOyGEqr2Q4mroNi7Ta5FjkLsO1IV5SjFt0ISp4V3PIRrhFISqDyT5dv42Y9mGeXjqJPCkAvWDaIV9sedP4Ixdk15EIUXFlbs8G4z00LBq68yz+RxXQLENz6G/6EBUE4t1y52S0Gt4BCG98Gr1XJ41L1Q7ApPZFb777zZ9t4nBvBt7YuPnNR2vbcp8XIJtIY4uswNvB+bcGa8zhBaG3AbDZF5vC7xvgKA337UA02DkO3mmRJboPq9bIqgE1ktZ6mKSOjLGOWfSuOkvrc= 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)(7416014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cY7gOJw9IisfTNBu3d3eIZ52m5WZEHgTvqL22PCuD+D5wTsyZNka3zeY+MrgTVSgQuKPqEvRapP772/IOG7kNNcg8vDLxfvHz75kgKznLhddThckMtzPapOyxJMXEPDepWg79ugLZqT2deDXIois3uoL04tYZFcWZNWnsxo3dMf7xbi+T9VEeZYb9H3oiIDUEDTQ2nbu/0+DHASPduPFYkWjqjKGoKS3OCJtnrPV4PRVXdFY9tRssm+5FX6JO/5eNItZBg+rlF8pXvpCaJWHVHnBLuLcd4rsrIBu5/OLP2PG4SUDPgXvPTtVkwHU32fUsE4JkcsDh5jbkShmQ3M+tHc0Lu16trqVuHzFJ12GA107SjypgARVeNxZhmiLmQvkSXRSKd5Y8m6m1RMNaGe/Xq3jrEa8VKye+y8+qb7/CP9y3OPrSo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/QtHupRZl9Nmgu88AGnMzYNBvC0FdXI1T5wcbMH3bOdJhVVE5ELQddVdPTGTfryIsx4aD8JGBB7kh X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7f7b0406-8efe-4dd3-8a2d-08dcf19c1a14 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 06:46:33.7009 (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: vlVh6pET/L7+ysGFi7vPkLxmPA0tGPgGz0QIvLVbXR4NOOhJtzmzzmIQhsOqThTDUz8WesQxjNGSbO3GattTAQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7374 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241020_234636_969557_10F5294B X-CRM114-Status: GOOD ( 10.15 ) 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 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 --- 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