[v2,1/2] dt-bindings: display: bridge: Add NXP i.MX93 parallel display format configuration
Message ID | 20230531093206.3893469-2-victor.liu@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2750068vqr; Wed, 31 May 2023 02:41:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6rDx+q1NaS9vYCpvgGcLRYsnAjbGnpoj6IvP3sDxQWcdc8HM0fRiyKtEH2WRh2CopuwFB/ X-Received: by 2002:a05:620a:400a:b0:75b:23a1:35f2 with SMTP id h10-20020a05620a400a00b0075b23a135f2mr7363313qko.3.1685526093500; Wed, 31 May 2023 02:41:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685526093; cv=pass; d=google.com; s=arc-20160816; b=IGbCLaaEtrwXFZ0sfmRNLvmepAqXQTMxyHyHIqgxyqsBZ3xX7axM8NwVgRhKIUUd/W OLgNfG8dPkb+OUVqKGsRnZfZHVO3of/7dqeAlHEqVM9ibP8J4L5ixHBU8ji+2MuPt+vv ToyBB36D44cVT784cl6rye1s7+2RNCTE+X6BF41l32wodcSVZh8RqMBDF34dJJOIA0Tf E6xegwP58PPLDsAhpSPnwWljou2XEAyL2F7NG91CtS3TSQjjj052lOOHTbDgpFYglqyc bkGl39JKlZdyZvGVJ2zAxawbnVed2bRFtdHYAEKg7xzx/2Z9Q8YMg6yoDND+xPaTqqSe DMpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ui5uRSS08ZNr06mtVn5lP43/VLU/Y5Uzukp9kL/vCAE=; b=KhSbkGSIJY+mHiSg0Hb7DPX8yUjX8+6qZQ/qAoZsTK5rjUBiyPemn07KdBZoVwa8UE tfI6weHvejWIanjUcB4aJyzJ86eVMNFASsgtcwB+5sPjVeWvH3tNxuVqA9V12TTkdl6X vvPj6biYpQui38+0xyq18bDrwWFQvHnQPGTncXlEBOxVji4nLhBMURCmIkUo1dx19+Ex dVt2f82nkains/EO+rZXAKp6UH3Sw5grpfXL3f68EXiRiY1foKkLY4Go5rf/HlVE3RY0 xaLyX2KzTBzvRRz0cyErYzMZFwDb3TQBVIdyCeWvZ3GLtjAmo+llAsKV4ihey78ji8Zl HV/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="Czm/63O8"; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 188-20020a6300c5000000b0053fb89f1e10si658545pga.501.2023.05.31.02.41.18; Wed, 31 May 2023 02:41:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="Czm/63O8"; 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 2620:137:e000::1:20 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 S234557AbjEaJ1d (ORCPT <rfc822;callmefire3@gmail.com> + 99 others); Wed, 31 May 2023 05:27:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235478AbjEaJ12 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 31 May 2023 05:27:28 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2047.outbound.protection.outlook.com [40.107.8.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DEB0E6; Wed, 31 May 2023 02:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gro2/0l2bG/eWFRAmQHSe/qJl16PlkFU1LU0b0jiMhxf3uWAjx09Mi46fXfVtQGWWstiAhOhWpPg+2iX29Hr7WyZfFsJbAPr4ysefA9JA72i1WjI0PyY6cVeqePP+gfNnYzpyJDYAPqqOuBNV8En4BY7dGLpCf13Tu/Zw2B+ADf8A6e7QXvkbhJOe0zgvfSY1O4zntrOxjKu49HVBKbgSBexXxtbf+94r2EMzEKFGyrGiiOd6TH09hFDhtKh4K4HNViaHPuOv6zqinFauR+RRXwapMbCA11MSpWWWUj9wkmcd62c/vGcH5zwXXWsxEnzja20L7keayTMyA4Bmig/IQ== 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=Ui5uRSS08ZNr06mtVn5lP43/VLU/Y5Uzukp9kL/vCAE=; b=AgcrfRoBxdYcTvua1oISRnRcZWuskDJIZRaq3MTixm2TP9OjU55bZuLyoPd+ygm4wO+fpBzrraLEnCsWftefvyLKRbqLJaEW8OTEAC3O2lIKmQc2ciPZOFBohWq7CSu0xUxqZBCWIqAn+6HQ9R1REiAuBBXyzAYXyHYO17WnkRbjGAtXReklUPopr1+do4SAEXmwEiDPVJAp2+jo4pL4W4EPhPnihRJWNe26GXbbEM08nMZ3KqqrXtZNwjEla4UMXmkv9z5QoSle4ut4GRJhzP2Pab+WHBB3w8hCCxdmSvM9xyv1QbtpzFdKJeRlLUDLqJSGGK+zV2Kacfx+6BJlpQ== 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=Ui5uRSS08ZNr06mtVn5lP43/VLU/Y5Uzukp9kL/vCAE=; b=Czm/63O8MCBhMwYwEUxufhX1su8pk6FcsCW4dncuqjwDUAeV8I9IZEpDvQFQZlaCQFnKSHi2Vxnfo4Zsb6SiOwHMTCI+LdclZz2+r/YmS3npvh2gwKHSAgg7oDk9s/fsqmE1rmLc0frx9ERz6inoWbVkswRIzl38AUqQhurXIhI= 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 AM8PR04MB7859.eurprd04.prod.outlook.com (2603:10a6:20b:24c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.22; Wed, 31 May 2023 09:27:22 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::f3d5:528:d12d:50d0]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::f3d5:528:d12d:50d0%4]) with mapi id 15.20.6455.020; Wed, 31 May 2023 09:27:22 +0000 From: Liu Ying <victor.liu@nxp.com> To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Subject: [PATCH v2 1/2] dt-bindings: display: bridge: Add NXP i.MX93 parallel display format configuration Date: Wed, 31 May 2023 17:32:05 +0800 Message-Id: <20230531093206.3893469-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230531093206.3893469-1-victor.liu@nxp.com> References: <20230531093206.3893469-1-victor.liu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0118.apcprd02.prod.outlook.com (2603:1096:4:92::34) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|AM8PR04MB7859:EE_ X-MS-Office365-Filtering-Correlation-Id: dbabed12-c7b1-4fb5-a6f7-08db61b93d16 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KxVQFqVIm6grZP0kvzPaQYkfzb4FJDQXMznbYr0cNwbfZu5WZFq/ot9xtKVJmvEBgf1uixqJ3tPkve2CJrm65cM+OynIWf1HpnZB2NqT2UqlO6Lfnl2yAlmgT1a4fekQBi+h9AntO5By1IaZbtFq244Yq+zh7HAYLfQj0pinnRNa6wXWjHfeM5s0gQvXocIIYC7h6wLDveduvxLfUk9tob3qdRksTcVBszFgEOH5Vt/sxK5uZ20LL8Goz9fHsYPt6+O3R30qlVVRvNAbGfcTikAP8olF3FpT7IBUhNTyyEW/S9E2AhHYhuvvWfj3HMOrqLNXZbdZZo3MSTVMjUXihfBlRnTCi95whZMa+yrWye2b6wklh+HpNxsIviz3xKSLlxuhgyEpYnQ0iDCX5h3qv4gYFkHRNXqiuTS8vs4wKPxOGxfaBnAuWTpgEw6NOl1FwOBsjEibJxbsuYN3KkK46w44Dqh0FKQQojMzPDq9pKExAWpTeWkSATqgOFK2wizw+/jPDo7cYcDpKBRQr0hwYAwBz/QqMilSQWl/IxdvpoZvXFFhIXauwdhJsWPSOXUGgOdx2SDJl+YvdXQlft5UFPoApCs68LS5kp473mjQ4w4= 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:(13230028)(4636009)(136003)(366004)(346002)(376002)(396003)(39860400002)(451199021)(8936002)(8676002)(2906002)(2616005)(5660300002)(7416002)(41300700001)(38350700002)(38100700002)(26005)(6506007)(66476007)(6512007)(36756003)(186003)(316002)(4326008)(66946007)(66556008)(86362001)(1076003)(478600001)(966005)(52116002)(6486002)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: F656RpC+jQcmm5jXbGhZjfzcK/zVBWjSb56WqynLKIQiSWayhA6hDhI5Clm+HZy/ZcBfzjxO06OovL101gLK7/88vpAy3JraU5UI07VKetGgV/PeKPQ32ay9HI0ChhiZD3hDpbrrrwmlmv7X1AL0WVoXV/IMBOrig5O1BtliFIO7OPYOvQq0BmY6uXO5ZfFGEy+FRPDVNGPKt1t3hAwl29h4izvIv6zvHRlLXCfO8yOxzSlE5/IDmVNFYmF3PZQaFr4TP4a044h58t9sYd2L5X4eY5AbcupTNxfNhuSIaeMnvbG+Z948hTeFDnRnPb/mtof7sdN5us5qx4xSYvUpb3DMzeSgttEYaSxfBkfz55eDRdgq8cKv8hPeNptm4PYYNVlWmgKfVbuDWMByfZG+cnAwJ1MZdmK204GqrNHytsJjja2pAhbekPL0LpEn+MliV0GKEwyRglUvOG0B5jjqgV/xxFCjqWeWqnTTr0ch/jBMh1IUE2EW3zFN7MHx+R1Eu5Ct9ET0X2ensSGsLSm86pXIUYBg7+WVEnDBrNWqXmC26b01oFExud6O1t61ahy7R1iOPjuhkuGiWPmNwKHE/2euiv56cUMdfaZFalAPDga3dr+uVKO7w8haziLrwVrUkGMeVL5AWMMilerKktJzCTdbtoy4JWFYioH3eInCbDe00dCmt7kVyMD4yxlwi1myopVKN5H6s4KTTN9WVErIgLavcEqZ2qDQFYIYbhkUsn1gqve6Us+V480YLl+LyxOakReTOi4Q8+VIiBA4RyTc/GFLZDXZ9wbTYpDFF7QAZXwqc1vhYMbVXcyqx+nMiBo1DiqbVvolH7LB05bgAV+NEKdTKLNKgQaHkLs36Ib7GO8l3Of5uk+rNolNCC2+gIqjN72/w6BE2YuF9BmlNP4WYhOozQFUu4WKU1jxO1JO1FmKxRF52obsp9CAI0NISg8FwWgD7zVQxQlfeTP2oG6zvbgIweDtZ7wR+TrSezyteFYSMIoxqqPFgWeDlqctGwJA3eyGKXRtKLBaNU5GGxg0+JZokfkRWWINtGsLGNsQPGLQeJnexacw74TVtQ0xZvFLc2FiaLOgs2CDWV73iceUj7aoo3AXbr8ftpPvPQDw0kLQ4LdtwnUBp10MG4cqRonDNst7erKGXK8wIwZojp1R/3kwBgg56ZPw29g7JYAAo9hp12f0z6xrJIet6HMbkXfqFcnpuXXkqMdzwKk65P8YXKvhS5ILRT9ukZR5PLqe3Rtxfsd6V5t/c6Uj6ajMqJZ4HLTJN278tfiMxnHq3C6Hgky0+bIMATPEJZ3KgDrdG1SA22WBOoZVgxLjvb75+0nKTTh14lDYAODJFh0d73Zr6RXqnu50r1Bdvvb/ee4RzS/vK0YDezBXBkqDThQCLgsW9aex0kNNmUUbb0/ySEe603lso/aM9QCg8d8ze+qtEwjfvnryHDJdWml+n1CGBdiRHTLAC4EUvDD4nQSRpD052ELu66Yofrx5PMxXTF0ls84U98EvQXqK1+jZhgbB6fzYO61m3mV834UozVYNsqXTf9a8/wkGdJkA3V3NpqyhHuPWVRzXrAjHOPMRgPLSTsmW X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbabed12-c7b1-4fb5-a6f7-08db61b93d16 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2023 09:27:22.6729 (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: aQQ5OLccmIpI2uEB8/0ciggSAEzlD69XhuTnitSuagCDBkWynMaso2WiG5uzFvqcCsD592TR8jwa4fInrJN1vw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7859 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767402209275123731?= X-GMAIL-MSGID: =?utf-8?q?1767402209275123731?= |
Series |
drm/bridge: imx: Add i.MX93 parallel display format configuration support
|
|
Commit Message
Liu Ying
May 31, 2023, 9:32 a.m. UTC
NXP i.MX93 mediamix blk-ctrl contains one DISPLAY_MUX register which
configures parallel display format by using the "PARALLEL_DISP_FORMAT"
field. Add device tree bindings for the display format configuration.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
---
v1->v2:
* No change.
.../display/bridge/nxp,imx93-pdfc.yaml | 78 +++++++++++++++++++
1 file changed, 78 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/bridge/nxp,imx93-pdfc.yaml
Comments
On 31/05/2023 11:32, Liu Ying wrote: > NXP i.MX93 mediamix blk-ctrl contains one DISPLAY_MUX register which > configures parallel display format by using the "PARALLEL_DISP_FORMAT" > field. Add device tree bindings for the display format configuration. > > Signed-off-by: Liu Ying <victor.liu@nxp.com> > --- > v1->v2: > * No change. How did you implement Rob's comment? > > .../display/bridge/nxp,imx93-pdfc.yaml | 78 +++++++++++++++++++ > 1 file changed, 78 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/bridge/nxp,imx93-pdfc.yaml > Best regards, Krzysztof
On Fri, Jun 2, 2023 at 1:45 AM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 31/05/2023 11:32, Liu Ying wrote: > > NXP i.MX93 mediamix blk-ctrl contains one DISPLAY_MUX register which > > configures parallel display format by using the "PARALLEL_DISP_FORMAT" > > field. Add device tree bindings for the display format configuration. > > > > Signed-off-by: Liu Ying <victor.liu@nxp.com> > > --- > > v1->v2: > > * No change. > > How did you implement Rob's comment? Should have discussed more in v1 about Rob's comment, but let me explain why this dt-binding makes sense here: Both i.MX8mp SoC and i.MX93 SoC media block control devices contain a LVDS Display Bridge(LDB) child device. The i.MX93 block control device additionally contains this PDFC child device. LDB dt-binding [1] is written in a separate file and referenced in i.MX8mp block control dt-binding [2]. So, for the sake of consistency, it makes sense to keep this PDFC dt-binding and reference it together with the LDB one [1] in i.MX93 block control dt-binding [3] in future, doesn't it? It seems good to have a separate PDFC dt-binding in case it can/will be referenced by multiple parent device dt-bindings. [1] Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml [2] Documentation/devicetree/bindings/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml [3] Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.yaml Regards, Liu Ying > > > > > .../display/bridge/nxp,imx93-pdfc.yaml | 78 +++++++++++++++++++ > > 1 file changed, 78 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/display/bridge/nxp,imx93-pdfc.yaml
On 02/06/2023 05:54, Ying Liu wrote: > On Fri, Jun 2, 2023 at 1:45 AM Krzysztof Kozlowski > <krzysztof.kozlowski@linaro.org> wrote: >> >> On 31/05/2023 11:32, Liu Ying wrote: >>> NXP i.MX93 mediamix blk-ctrl contains one DISPLAY_MUX register which >>> configures parallel display format by using the "PARALLEL_DISP_FORMAT" >>> field. Add device tree bindings for the display format configuration. >>> >>> Signed-off-by: Liu Ying <victor.liu@nxp.com> >>> --- >>> v1->v2: >>> * No change. >> >> How did you implement Rob's comment? > > Should have discussed more in v1 about Rob's comment, but > let me explain why this dt-binding makes sense here: "It needs to be defined as part of the mediamix blkctrl schema though." Where is it defined in mediamix blkctrl? Best regards, Krzysztof
On Sun, Jun 4, 2023 at 6:16 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > On 02/06/2023 05:54, Ying Liu wrote: > > On Fri, Jun 2, 2023 at 1:45 AM Krzysztof Kozlowski > > <krzysztof.kozlowski@linaro.org> wrote: > >> > >> On 31/05/2023 11:32, Liu Ying wrote: > >>> NXP i.MX93 mediamix blk-ctrl contains one DISPLAY_MUX register which > >>> configures parallel display format by using the "PARALLEL_DISP_FORMAT" > >>> field. Add device tree bindings for the display format configuration. > >>> > >>> Signed-off-by: Liu Ying <victor.liu@nxp.com> > >>> --- > >>> v1->v2: > >>> * No change. > >> > >> How did you implement Rob's comment? > > > > Should have discussed more in v1 about Rob's comment, but > > let me explain why this dt-binding makes sense here: > > "It needs to be defined as part of the mediamix blkctrl > schema though." > > Where is it defined in mediamix blkctrl? I've sent v3 patch set out to define it in mediamix blk-ctrl. Regards, Liu Ying
diff --git a/Documentation/devicetree/bindings/display/bridge/nxp,imx93-pdfc.yaml b/Documentation/devicetree/bindings/display/bridge/nxp,imx93-pdfc.yaml new file mode 100644 index 000000000000..a84bfb46b01d --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/nxp,imx93-pdfc.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/nxp,imx93-pdfc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX93 Parallel Display Format Configuration + +maintainers: + - Liu Ying <victor.liu@nxp.com> + +description: | + The i.MX93 mediamix blk-ctrl contains one DISPLAY_MUX register which + configures parallel display format by using the "PARALLEL_DISP_FORMAT" + field. + +properties: + compatible: + const: nxp,imx93-pdfc + + reg: + maxItems: 1 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Input port node to receive pixel data. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Output port node to downstream pixel data receivers. + + required: + - port@0 + - port@1 + +required: + - compatible + - ports + +additionalProperties: false + +examples: + - | + + blk-ctrl { + #address-cells = <1>; + #size-cells = <1>; + + bridge@60 { + compatible = "nxp,imx93-pdfc"; + reg = <0x60 0x4>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + pdfc_from_lcdif: endpoint { + remote-endpoint = <&lcdif_to_pdfc>; + }; + }; + + port@1 { + reg = <1>; + + pdfc_to_panel: endpoint { + remote-endpoint = <&panel_from_pdfc>; + }; + }; + }; + }; + };