From patchwork Mon Nov 4 03:28:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 840992 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2066.outbound.protection.outlook.com [40.107.103.66]) (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 9308D17D8A9; Mon, 4 Nov 2024 03:29:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.66 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730690983; cv=fail; b=u0ojbT9yBfm+oHZuIeLNZi2NSFPtFcoD5/JsXF19PBetPvu8gGqC66IranNcD52S/+7LIIQvXsefwK1Zu+Vn4mvV49vLBSqn+2zCUG0PtBSu+WdzAmCDZr4LmLAk7vsdpi+B619ACei3jOPj2g4siyyelA365VtLB2qMICfwzr8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730690983; c=relaxed/simple; bh=KGBiFFTgtbyLIRUKU+pWfXo0tttQpRGUjvPPazVttsA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=OWywvf/qY1Jg7e0URBatHoxb52BxGjBT969tfIdMFi9sZhgxgOo2QozuiJu2Y1ILkSrvsjBfhjECbSHJcTm7hcDK1RvaHsqSDj6yatp639f4ggbpbZlMyu6sdd5cEvqQKj6Wb0C3xea4mFYOABTnGMK5tTqS69P3h2eDlAhUpr0= 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=Oe4QOmlf; arc=fail smtp.client-ip=40.107.103.66 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="Oe4QOmlf" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lx+UuNAWeuGbuDSgSNRuRFnirQn4tKV+Qcbg/9CPz3LOk9mZpNAH6WcXjlyv8RLacocHt+r67Zdu4PvXp9PwysI058b71r0+tkoqfmobWv7aoxHK8coQbDolWPN9gZem1a7M0naaCg583oS97X2HgTWkwPBrZFs89TlMXxJeKdwxK2Td7c2VWfHfX9DEKdlqnI3kxwJ+Jdy/7AApgbcqSReSVrfNCMNVUL43J0vxppbM1BRdv0UshtzmjxZBWOtKgcTuTuwLEznTLVMIiDOnhcAOYTPPU12UKbIW6jzqRHu5zL/ZEo1DrLISTbxFJ+DFLekknLfqhI5paNJHXPplcA== 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=iBYb9b3yHPqkfA+6H7mw96HGKPaBZ7DvQfYniSyZpLc=; b=nD1RZyVNueXmFU3z5EzlyjcMDa1dtnTR6PhDJdaepVI2Rhw0WLp9XFyT9LbjR620ONfwL8Em0KR4JdpSN7oZ8IOaNQS7S3MkwZ20JXpXPGR3RkTKUPPPSfCWj7ZLbCMKjAxu3oPvXi3zLMp8McSVfGwzQRRS0Sajg5tTAH5FexmNkLoicoyeLiXm/833Y13uPPQ2ma8p2te1VDox8f1wpY01yod3gT3wFviGPgIpAq4RkJYDixY82TufX/ZZnP+5qL9+vjWf7lr11y/XL1xxCMyL//VlqgRSwgbebbvH3gEPiNXs+QBqt4aQuHfID+XXjF4f4YHSEAii2RgtKzeccw== 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=iBYb9b3yHPqkfA+6H7mw96HGKPaBZ7DvQfYniSyZpLc=; b=Oe4QOmlfbM96Hmv4tSjT0Lwq4qtkbGRI9wYA4tnVEEcvrFTdAwNd0NrB9Eh1yxNYStV3eYNDJEEdpask1iELW7eQiF44DPYzpzWGnoAVBW0FhlMx3FNO66oaAORH6Hp/12pxwZfITGQUYZwtcGQMmy33Y2DSQIY5OzxQIO3pt/1ORxH5uqQWMWz0b8+20VPkn819VAlYnQjwpSyay30HWEtQYwnhxbslkJ4j8YTfokXX/jUZYQR7kc568bSTPma06hjrQ/6PgnuW9A8w5Zt/sB9Bl/ZMizoVbVjcAb+4LrhynxnWMPnpVPcV4MzCrI2aO6OMch5OeN0AUvoffFGzmA== 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 PA1PR04MB10602.eurprd04.prod.outlook.com (2603:10a6:102:490::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30; Mon, 4 Nov 2024 03:29:38 +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.8114.028; Mon, 4 Nov 2024 03:29:38 +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 v5 07/13] dt-bindings: display: lvds-data-mapping: Add 30-bit RGB pixel data mappings Date: Mon, 4 Nov 2024 11:28:00 +0800 Message-Id: <20241104032806.611890-8-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241104032806.611890-1-victor.liu@nxp.com> References: <20241104032806.611890-1-victor.liu@nxp.com> X-ClientProxiedBy: SGXP274CA0016.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::28) 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_|PA1PR04MB10602:EE_ X-MS-Office365-Filtering-Correlation-Id: e30189ef-c115-422d-5add-08dcfc80e999 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|7416014|376014|52116014|1800799024|366016|38350700014; X-Microsoft-Antispam-Message-Info: q/bPNCI/RR1OP6cFCIOGaXCFdVEiw6qOjfBNc/gfWEXwV3yeD0ciwi/S58TbG5EztmIC2JXAxzZp93cl6gjFVwBm3wePpuktFR99HoOeGxkZ3oPqZZcwjUrMuckaoqi1QuWA31S03cd039QP3UJk0zrs5efBfztk2nruzNfb08Y4m9Gw9dVuurY5JAdBTet9WIyp34D0CTvqZEmMr+Yo3mQsKJXB35AC+BR6ccGknmNgH6stDieTBcDKywmQI4nc3d3Z5qfbOxDjbVEruo8Hl70XRnJWcH5W3vY7UcQN0sttb4abL15vYoT9P3H2ILp6DSX7KWkyr09dZrgR6PmMcifjDKkSCmKaQvH8mjyRQXsDLIM9oi8C4PbbgXVHB+cfePelBSd9NuLNjq4bqydP/v68mpjGp6qQhOl3wDJqfHTRtDkVihXhYq3KkdJkbDJBQBpYEgSVzcLEiB/QVqvhDKm/ZSoaF12BCAyHFXK9llNC+7A1lxevLGTJfwd8/2MyUOehgrm/oNoJyKO1qC6yrUjfjCJx913CiVdrF9qZ5b+RmKzdKDZm4CgQegV+wxWucR8SKjYeZqoFxZuLd+AguaYD9B16QcNDRc8BJXfHfuSuy2y1XlpeM21ET1daVf6j3IzjljqDWUk+Ap4guIUujPj64WO0HSjS01uR4eGPCC2uolnJHEC5lf5aiWCD654yJCpNNsDSWT80CaFmtYYPOW6ISKh8NheuQnVPEGl2rm/eRLe65nOIHy2T0lgL88yOt0CFrxz2esFbq305c4Q8o16heyTOjc6TuNyypxPpOyqKsEUGYtMZkMNvvSi//m2cN3WDOpLOSS16gBcjIJXC3pzzbP2Lfu99dVmdZ4Lxig09Li5W2zFrD62sz1B+O1xoISPE3B+mLkAtreCHw+4HK9jBWAwHnu9nCNWP+58jfc7QJwTU4z7WL+0DW3rCA0U16jbsPvxlkkob1DvvSdtTMi56CsnGnavwGW8NckQDwzfij4j8mzLqwv4FG4O0vFDgiEZk7J0Txru9N4VEPCz4IbCl1xaKV5Bg6MHxCmOW4HNzTYV4i5HyTK3gUNdZFlptQQbswnKbypOHP91LkOdd5bi2irByreRTLNeLN1jeNFCeMnloTVetB1l8BAdfpg+tP/1fpjwG47jvx/JReFlGJaYcMB1LInUPvfJESkwACFYHo2t/x9OA7P150fsjw7nDJGs2n5WK7+YxDSrmQR/TPHhTiVYYmxzvMsEOthU3KjeFcy0BWq1ohjKJzqK1I6qXnXCiK3uetlyPqfR59iXUD2igvlwg0ycgi4VVNXu6lDcsqQXRjYXQIQ5/xXkh7kxJ2EaCpDTLxDx5p5aLNhomCJEypAp+coXILAHh/NqtJKI= 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)(7416014)(376014)(52116014)(1800799024)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bKS6kohl2UxPXUKE6nMBsWSBT3Weo0926wI3uENUcRGj0wzyUCfN/W0yxlzqvQUL/HbbBzHBBS/mjD6kWbvaRRUwmWEzrGKah8Ak9W76OxaLX5YsWIZvPjijvLpfswQrjNU5zgyUnmOv2IhYWTpbQS/m7zzaOsdkXH+KY4iutsVUKY9HgVx7m3vUWRpHDVDHBe06bPwP2URNKbtLpuh3tdEjzqt1caibr5Qvxm+DbQ6idqwRa093edYdb/y6YIDdCiA0tJyrQ2+ilxCH144mVENqjK3G/omN/Qlwm01AGB2Y4dFfA0mYtH/k4xAu819sqejEYwAdErxvqn6NNYnCwcQnOgirsemOHpGI1Z6uiwO6JILo/EcKQ32Io8yXnAygOlTk5hA2t6sW9VY/1wjvXBZcmX4lkxQLvkholjJmglbaqlPVFLVnoX1oCfxNkRwKjF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8Yk50Wd+gMv81xF/CK6EtST7v0IH2zHIi8KnWQcoh58Vk+7Ci1OrBMzaVDzO3Z3Xp3hNj X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e30189ef-c115-422d-5add-08dcfc80e999 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2024 03:29:38.6810 (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: hzxnfUuZjm6weLbepS9ycY8+QP7/VoFkJgc3HJf6cziHrWw9mWO3XVgDm0sxoHyUDC88b1/2+LYGzW7lD3evQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10602 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 --- v5: * No change. 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