Message ID | 20230213085612.1026538-2-victor.liu@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2241810wrn; Mon, 13 Feb 2023 01:02:43 -0800 (PST) X-Google-Smtp-Source: AK7set/N5dT1lZNhEjUwXfiHm3yVzG1mEgZeau/jKvTt+svBXT/Wp7R2eLiXtNLfCO4/ZKkXV54J X-Received: by 2002:a17:907:7d88:b0:870:d9a:9ebb with SMTP id oz8-20020a1709077d8800b008700d9a9ebbmr30573818ejc.38.1676278963385; Mon, 13 Feb 2023 01:02:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1676278963; cv=pass; d=google.com; s=arc-20160816; b=TQZJusi1QGht//p6P5K+/IyRj6RWk17wyW017kFV+9DtdrNLDks2eWYW3/fRHck77S AmskhvL0mbUnBfSMpJeAqbI8w51WUI4IRSkbN9t9BZ9kBQApw6WIkV9K9/45CV7XiR85 RtpbNf48DthNm01OpWX8PpTGSGPuxjrcGqGaokuOL13OE0SLtH+B6GF3/tMKBzw1j/G3 oqHX+LW1soZ6XJQQfuh9O3A5s2WbbtH6Vk4UgXI7I6flg3f2K0KGc60Ys9XcDUzzIKz9 Biq2OLhDuRdPKta+pcefHz2yeTF71AchhDd+XBbmRLxtWkFJrPUkCrSKDorKiFs6KlUn E3lg== 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=/SUhQVQzokpbnZ5hLrxn16lkitUjkIbMyWXVpWOhCJY=; b=fdDWN+dhgLSJZ5AO8Zkne8yxKpDdT/HTHq2ittVdWfiXXmS/ReN2H6NdbINYulTq+9 5Le7qQrtwU5jeEZkcohdx0w+v8INYkzfwmf4kw9iIu2qX5rcxKqd5XDR/mUXVgfQ02Bh TB3UBLbP/WK90ySn1QozdwVxVxB3Ksq/mBjNEH2E92X7WiQ+gCZ1D1cU8Q+zWNQs+4zl lqdlNWn7MvxFOeyte9Y+KShSsLmkApLoWkBusBkqLVZxT5yjg0qFfNLyCH2/E8Uqo48P ZY3z/dpxh3ai9rSWfpruAdsNDfJ5flE0wXFm+xrJCUuuRUKEKQmP8gVnurXKU+9e+v/q TjsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=pvFnckTL; 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 wg13-20020a1709078f0d00b008875432b6c5si11757145ejc.873.2023.02.13.01.02.20; Mon, 13 Feb 2023 01:02:43 -0800 (PST) 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=pvFnckTL; 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 S229744AbjBMIza (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Mon, 13 Feb 2023 03:55:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230179AbjBMIzV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Feb 2023 03:55:21 -0500 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2048.outbound.protection.outlook.com [40.107.241.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 322B51352B; Mon, 13 Feb 2023 00:55:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lG5N2t/9ZOjW7BQLuWh0t4qv+1G7xWJwftom7HzsoUXOojtA+pTstbGSGwM/tGkUDrN2c6PAM9ipMRlxlGzihAIoEPtjAXAz/HR/4QA0r8wEpI2N4GtJC45AtQrWOcxj3PTK/7yh49dBI+jiaPvXAEE6I7rf+SZuqixUiI6a9RdR2TWNHSjZxlA7rJvQIiFFtXhAtL6wVgerveaEtMA9hhaEPpOXKomJuLhyRZ1ZnAlDvLWzS52xz0YuYzC6mTRq/Lu65SZEdOrnQF9ONq513Jii/ZXg7gvbFg0hROut9fw0HyIat6es+3ozwUIw6NpqiRCouYlvjPhcVg3jW3DkBA== 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=/SUhQVQzokpbnZ5hLrxn16lkitUjkIbMyWXVpWOhCJY=; b=DS8SH64AWK8tgfc5t+2Eue1ACngM2ZvmGlYTJNcGnYTZX6DMGt7sJyMB11ZXZ7ykRcHBoiktzf8mlw0bVWhB/XyaP/AMb0pA/Kh+4if//22rw3U+nBIMre5gGUnedjPHJq6l8M92HsiEonj6OawKZEsGCc7lS8GW7gehegF+NI6SMVfuwDX6xtT1+hYbDMUpdRDhG5e2vqL8zL+JMBJRa4C41fnrZQHk9YO9tysOSk0IFIVBRNJayk3Yvgso8UiXWgG3HyLy0ZKa9Tn1HkvYL7NGo341RqgLpEdNJ/q+uL05wanlE5+oc+yqoydAWzhoSjpfdGyWp8ybIc04/msDVA== 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=/SUhQVQzokpbnZ5hLrxn16lkitUjkIbMyWXVpWOhCJY=; b=pvFnckTLdJlr9MGdLiLWo/zLZ0E1IDTs+VER8KIyEmi2vumzLMP86VXJTNNAXSP6PeT3G0ljfrorZPI/bN5Hmr6sTnaNfRMLzlUowJJd95RGds4QLtz5rPmG4/gQZkw7JigJ9TZ6qA+O4V7XkWcqOupwLEeGyiJeuXREXXt7T8E= 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 GV1PR04MB9135.eurprd04.prod.outlook.com (2603:10a6:150:26::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.24; Mon, 13 Feb 2023 08:55:12 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::5725:92ec:f43e:f5fc]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::5725:92ec:f43e:f5fc%9]) with mapi id 15.20.6086.023; Mon, 13 Feb 2023 08:55:12 +0000 From: Liu Ying <victor.liu@nxp.com> To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: marex@denx.de, stefan@agner.ch, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, krzysztof.kozlowski@linaro.org, LW@KARO-electronics.de, alexander.stein@ew.tq-group.com Subject: [PATCH v3 1/6] dt-bindings: lcdif: Add i.MX93 LCDIF support Date: Mon, 13 Feb 2023 16:56:07 +0800 Message-Id: <20230213085612.1026538-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230213085612.1026538-1-victor.liu@nxp.com> References: <20230213085612.1026538-1-victor.liu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR01CA0009.apcprd01.prod.exchangelabs.com (2603:1096:4:191::18) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|GV1PR04MB9135:EE_ X-MS-Office365-Filtering-Correlation-Id: ff2c6fbb-9d7f-43a8-7773-08db0da00433 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nwDVYcBx1lzJhbB83re9vGKK3lnmVd21qtclL/o7eorEwfsPFG60ZTA6/bi/1aJti+ge16Yy8nnPIGqHpqIeEO1qeZbQDzas/ApW16mgafDQ9467tqjonEHDqJlfJ0zyDn+9fDxuTbUY+tfEyb00ebA+OuU4e6xcNJqfJOx6YH7F/8rNozjoWjKtKxmmsBhvcZZ88d5vSu2kHH8oVS9iRRqz3sTlmT+NsqpgB4nA9u53Rwoc9kLsm4HoZ73QJ07j1RK/9vsZsFp+PzGuuKXomEcsS4hsAaoEVjUW8Dd1Or2e1/3ZwmZ1ay7SGgiI7Vq5EjLvJOXHovue/2wy3+mKZyCIKzqVN+RyOydF8IDOejcqBHEQTCw9Au9/jwBtjFsxlT3zOGpo7k40mG2G4pKYxtuc6jkMZEGruuvYpJS2QRdPONLIi3QMb85wEJb79of4tMXa4VcPkFKC68+TauL1CRbFtQ9cQZHSjgyIJz7ZX3+dYpHr48DxwEKF1STmpJ5gT666tQ7FxacG3a7o8usoMYa3DQVZmfBI0PbYWyaIk/wdDC9X6y3hIAwWzep/0mEJAxqGgwYBLm1CaYhqzoA8JFAqoDoTfBW7TdkKXYVWGYzFy+vyX9b0AM0vPEEOdx5NztK6QwoaQ1+0n8rBl1+38NWL1aYMUO2xMuncG/E3bK5ey+hbmRIaphmTz/3fP6xrQKpA4ow9ovZdkFvUedldYQ== 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:(13230025)(4636009)(366004)(376002)(346002)(396003)(39860400002)(136003)(451199018)(26005)(186003)(86362001)(83380400001)(36756003)(52116002)(6486002)(316002)(6512007)(1076003)(6506007)(6666004)(2906002)(38100700002)(5660300002)(38350700002)(478600001)(2616005)(8936002)(8676002)(7416002)(66556008)(66946007)(66476007)(4326008)(41300700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nai0GX83DPAdmaWc/iPq2Fj4Ee8/CIWHlXVqsrapkd7iA2X1qlIwcByO+FYzIvnVssc8WePNdQTPOWD/Ixx+vj0Sf22N2pvVHcmt+w+N886gLoo454uacP1CARRMA9S+jB67cnJ1byGqj5X6frDDfb/jCl2+mhrWDqcSF03Z9e2JPqHVo1IWOT281R3t1f+cm7wSgS6YzRZ6Ok7PggnS1fTAuNd1s5I0m66PPfpanexV6NhwZuMY/+jnD89VChkt+9nm8qgydMp2zjfkUB3SNgFKVktCMYtvSeZ5GDvXke6fqRbIOAyVMEpLwbIfK5c7jtlvWqvvY+AJ5KPFaG4gpuK/2Z3+u3MFGX5U3SJrZXP8WS/Dofir/pgJKNYsBApcs9Swepds+4Vzh+4lFsFPvfrZ/VGzXjWYXbT385xc3kcSOFqW65NEnIPueg3ZZtg+WYsLKAiDrHivFi7LXTvWt3Ei18vDMQ76p0Gj7pmbM5fThVapmlKox4S80aq0qBkdFiuNRTB0gkHeWBJIi9I0McBbj+GWr+FJfybaNwGsoedUh7LJgcWiIQyl2pxv5pXbIAx8n/udl3b62kwwevir0PBfvYHI5xDl7kvF8kvjOCNFzZQl9/Qp5V9SLPj36wcTfCWFZQUxABvSMMr9H5teZ0iodyxGn7NBagM96eFRuSKQrsKkwNf0QWBVyY20xXihUjvgJ4LM8MmuKM5QR9EbITLA9EXBm1uCb8eQniIKHJJIeiMGkV9CB+Jbq4/C2dJVH3VBtUoAehACrgMKKB0SGiXDlZyXaQXHZOvM/QrS53lR2UEXEn+mJ0QQjxGY2y9FoBiASAypEn8brR1U6KmPEAmjDnR8DnbV8yVpg/MNui50tlx8CTAMVhJiaq4Oi++Wp3dr3J5fQCSQYm6Ep1TORnEHi+bcR95KbG6jCDibGSaw7pB9vYLQLfL+OMAegsy+eoJ3Gzc2Py7bTAv05LvLmbFTJYewXpTcgvCVSyo2jfcx31AD4fg+30SMH1YNg32uZQtQszFXU7AQGE9h8ORv5A6ndaG3mlBjwPjICdsnBh9ay7An1dqUYq4RK/14aM3vJ7IV5jytw5nxnXGTLzrydazH+A4sgr+zQqgwg0CBlLuBB9wm1t/MNOhDdlNvbuOvTvEz+ZlleoXV+Y4zRmGopNB2/ZRKG1YbxW7f6fmcxgtfdhsV2FkYOhlSrzy2WUqUFYG7qAcpafJbawizWO19z6oRQX7BijnbtzXhZGBXGpSC3D/CsesDl3STe2Q5rDRVGSBTGhMu7ht0bEmRnWLsSRMlirI6mlssmi+m4434ZllUPSUtrGy9GzDQWYQTlpVIWDF4so29wZ9bZokF3UxT2Q+ixFeCYqfY0+6xUAim+DA9ycq0SEMnYDQzAc+zO8HDxYuYLFsEnobtSMfFFqbaTjrgqWdKB5zVjNlyO6TafmDYQLmbFmASUkPJxOVgz2q2DDRUKA3fpf7OT9dm3amcmfkLliByjQq1oP99wgv8DNmGtF7+Imr8RVY67KFkyBfoqK9tTI1Kk3TcjDpOiWHtxw3KpRxi5jzH6Z9EfDo6xpT8o14Pf4oSc6k1zRNrmasL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff2c6fbb-9d7f-43a8-7773-08db0da00433 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Feb 2023 08:55:12.4634 (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: T3qmzM2mFi8F91tXOQJZGM1AQQbLlMUAA+IP7kGY5xbmoDK/RuqzssNJOu6M2OudSEN5CeQu3n1/pMjEZHFnXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9135 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 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?1757705890601070572?= X-GMAIL-MSGID: =?utf-8?q?1757705890601070572?= |
Series |
drm: lcdif: Add i.MX93 LCDIF support
|
|
Commit Message
Liu Ying
Feb. 13, 2023, 8:56 a.m. UTC
There is one LCDIF embedded in i.MX93 SoC to connect with MIPI DSI controller through LCDIF cross line pattern(controlled by mediamix blk-ctrl) or connect with LVDS display bridge(LDB) directly or connect with a parallel display through parallel display format(also controlled by mediamix blk-ctrl). i.MX93 LCDIF IP is essentially the same to i.MX8MP LCDIF IP. Add device tree binding for i.MX93 LCDIF. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Liu Ying <victor.liu@nxp.com> --- v2->v3: * No change. v1->v2: * Add Krzysztof's A-b and Marek's R-b tags on patch 1/6. Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Comments
Hi Liu, thanks for the update. Am Montag, 13. Februar 2023, 09:56:07 CET schrieb Liu Ying: > There is one LCDIF embedded in i.MX93 SoC to connect with > MIPI DSI controller through LCDIF cross line pattern(controlled > by mediamix blk-ctrl) or connect with LVDS display bridge(LDB) > directly or connect with a parallel display through parallel > display format(also controlled by mediamix blk-ctrl). i.MX93 > LCDIF IP is essentially the same to i.MX8MP LCDIF IP. Add device > tree binding for i.MX93 LCDIF. > > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Reviewed-by: Marek Vasut <marex@denx.de> > Signed-off-by: Liu Ying <victor.liu@nxp.com> > --- > v2->v3: > * No change. > > v1->v2: > * Add Krzysztof's A-b and Marek's R-b tags on patch 1/6. > > Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index > 75b4efd70ba8..fc11ab5fc465 100644 > --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > @@ -21,6 +21,7 @@ properties: > - fsl,imx28-lcdif > - fsl,imx6sx-lcdif > - fsl,imx8mp-lcdif > + - fsl,imx93-lcdif > - items: > - enum: > - fsl,imx6sl-lcdif > @@ -88,7 +89,9 @@ allOf: > properties: > compatible: > contains: > - const: fsl,imx8mp-lcdif > + enum: > + - fsl,imx8mp-lcdif > + - fsl,imx93-lcdif > then: > properties: > clocks: > @@ -107,6 +110,7 @@ allOf: > enum: > - fsl,imx6sx-lcdif > - fsl,imx8mp-lcdif > + - fsl,imx93-lcdif > then: > properties: > clocks: > @@ -123,6 +127,7 @@ allOf: > - fsl,imx8mm-lcdif > - fsl,imx8mn-lcdif > - fsl,imx8mp-lcdif > + - fsl,imx93-lcdif > then: > required: > - power-domains I would have expected that fsl,imx93-lcdif supports up to 3 endpoints (MIPI DSI, LVDS, and parallel) in a 'ports' subnode. But this binding only supports a single 'port' sub-node. Also an example for this case might be very helpful. Best regards, Alexander
On Wed, 2023-02-15 at 08:26 +0100, Alexander Stein wrote: > Hi Liu, Hi Alexander, > > thanks for the update. Thanks for the review. > > Am Montag, 13. Februar 2023, 09:56:07 CET schrieb Liu Ying: > > There is one LCDIF embedded in i.MX93 SoC to connect with > > MIPI DSI controller through LCDIF cross line pattern(controlled > > by mediamix blk-ctrl) or connect with LVDS display bridge(LDB) > > directly or connect with a parallel display through parallel > > display format(also controlled by mediamix blk-ctrl). i.MX93 > > LCDIF IP is essentially the same to i.MX8MP LCDIF IP. Add device > > tree binding for i.MX93 LCDIF. > > > > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > Reviewed-by: Marek Vasut <marex@denx.de> > > Signed-off-by: Liu Ying <victor.liu@nxp.com> > > --- > > v2->v3: > > * No change. > > > > v1->v2: > > * Add Krzysztof's A-b and Marek's R-b tags on patch 1/6. > > > > Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 7 > > ++++++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > diff --git > > a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > > b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index > > 75b4efd70ba8..fc11ab5fc465 100644 > > --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > > +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > > @@ -21,6 +21,7 @@ properties: > > - fsl,imx28-lcdif > > - fsl,imx6sx-lcdif > > - fsl,imx8mp-lcdif > > + - fsl,imx93-lcdif > > - items: > > - enum: > > - fsl,imx6sl-lcdif > > @@ -88,7 +89,9 @@ allOf: > > properties: > > compatible: > > contains: > > - const: fsl,imx8mp-lcdif > > + enum: > > + - fsl,imx8mp-lcdif > > + - fsl,imx93-lcdif > > then: > > properties: > > clocks: > > @@ -107,6 +110,7 @@ allOf: > > enum: > > - fsl,imx6sx-lcdif > > - fsl,imx8mp-lcdif > > + - fsl,imx93-lcdif > > then: > > properties: > > clocks: > > @@ -123,6 +127,7 @@ allOf: > > - fsl,imx8mm-lcdif > > - fsl,imx8mn-lcdif > > - fsl,imx8mp-lcdif > > + - fsl,imx93-lcdif > > then: > > required: > > - power-domains > > I would have expected that fsl,imx93-lcdif supports up to 3 endpoints > (MIPI > DSI, LVDS, and parallel) in a 'ports' subnode. But this binding only > supports > a single 'port' sub-node. Also an example for this case might be very > helpful. The port node allows multiple endpoints(See graph.yaml[1]). It's enough to use the existing port node instead of using ports node. For i.MX93 LCDIF, the port node will be something like this: --------------------8<-------------------------- port { #address-cells = <1>; #size-cells = <0>; lcdif_to_pdfc: endpoint@0 { reg = <0>; }; lcdif_to_ldb: endpoint@1 { reg = <1>; }; lcdif_to_cross_line_pattern: endpoint@2 { reg = <2>; }; }; --------------------8<-------------------------- Looks like it's not necessary to add a specifc example for i.MX93 LCDIF. [1] https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/graph.yaml#L48 Regards, Liu Ying
Hi Liu, Am Mittwoch, 15. Februar 2023, 08:49:56 CET schrieb Liu Ying: > On Wed, 2023-02-15 at 08:26 +0100, Alexander Stein wrote: > > Hi Liu, > > Hi Alexander, > > > thanks for the update. > > Thanks for the review. > > > Am Montag, 13. Februar 2023, 09:56:07 CET schrieb Liu Ying: > > > There is one LCDIF embedded in i.MX93 SoC to connect with > > > MIPI DSI controller through LCDIF cross line pattern(controlled > > > by mediamix blk-ctrl) or connect with LVDS display bridge(LDB) > > > directly or connect with a parallel display through parallel > > > display format(also controlled by mediamix blk-ctrl). i.MX93 > > > LCDIF IP is essentially the same to i.MX8MP LCDIF IP. Add device > > > tree binding for i.MX93 LCDIF. > > > > > > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > > Reviewed-by: Marek Vasut <marex@denx.de> > > > Signed-off-by: Liu Ying <victor.liu@nxp.com> > > > --- > > > v2->v3: > > > * No change. > > > > > > v1->v2: > > > * Add Krzysztof's A-b and Marek's R-b tags on patch 1/6. > > > > > > Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 7 > > > > > > ++++++- > > > > > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > > > diff --git > > > a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > > > b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index > > > 75b4efd70ba8..fc11ab5fc465 100644 > > > --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > > > +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > > > > > > @@ -21,6 +21,7 @@ properties: > > > - fsl,imx28-lcdif > > > - fsl,imx6sx-lcdif > > > - fsl,imx8mp-lcdif > > > > > > + - fsl,imx93-lcdif > > > > > > - items: > > > - enum: > > > - fsl,imx6sl-lcdif > > > > > > @@ -88,7 +89,9 @@ allOf: > > > properties: > > > compatible: > > > contains: > > > - const: fsl,imx8mp-lcdif > > > + enum: > > > + - fsl,imx8mp-lcdif > > > + - fsl,imx93-lcdif > > > > > > then: > > > properties: > > > clocks: > > > @@ -107,6 +110,7 @@ allOf: > > > enum: > > > - fsl,imx6sx-lcdif > > > - fsl,imx8mp-lcdif > > > > > > + - fsl,imx93-lcdif > > > > > > then: > > > properties: > > > clocks: > > > @@ -123,6 +127,7 @@ allOf: > > > - fsl,imx8mm-lcdif > > > - fsl,imx8mn-lcdif > > > - fsl,imx8mp-lcdif > > > > > > + - fsl,imx93-lcdif > > > > > > then: > > > required: > > > - power-domains > > > > I would have expected that fsl,imx93-lcdif supports up to 3 endpoints > > (MIPI > > DSI, LVDS, and parallel) in a 'ports' subnode. But this binding only > > supports > > a single 'port' sub-node. Also an example for this case might be very > > helpful. > > The port node allows multiple endpoints(See graph.yaml[1]). It's > enough to use the existing port node instead of using ports node. Ah, I wasn't aware of that possibility for OF graph. Yep, agreed then it's enough. > For i.MX93 LCDIF, the port node will be something like this: > --------------------8<-------------------------- > port { > #address-cells = <1>; > #size-cells = <0>; > > lcdif_to_pdfc: endpoint@0 { > reg = <0>; > }; > > lcdif_to_ldb: endpoint@1 { > reg = <1>; > }; > > lcdif_to_cross_line_pattern: endpoint@2 { > reg = <2>; > }; > }; > --------------------8<-------------------------- > > Looks like it's not necessary to add a specifc example for i.MX93 > LCDIF. Fine by me. Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> > [1] > https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/graph > .yaml#L48 > > Regards, > Liu Ying TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index 75b4efd70ba8..fc11ab5fc465 100644 --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml @@ -21,6 +21,7 @@ properties: - fsl,imx28-lcdif - fsl,imx6sx-lcdif - fsl,imx8mp-lcdif + - fsl,imx93-lcdif - items: - enum: - fsl,imx6sl-lcdif @@ -88,7 +89,9 @@ allOf: properties: compatible: contains: - const: fsl,imx8mp-lcdif + enum: + - fsl,imx8mp-lcdif + - fsl,imx93-lcdif then: properties: clocks: @@ -107,6 +110,7 @@ allOf: enum: - fsl,imx6sx-lcdif - fsl,imx8mp-lcdif + - fsl,imx93-lcdif then: properties: clocks: @@ -123,6 +127,7 @@ allOf: - fsl,imx8mm-lcdif - fsl,imx8mn-lcdif - fsl,imx8mp-lcdif + - fsl,imx93-lcdif then: required: - power-domains