From patchwork Mon Jan 23 07:23:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 4385 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1472048wrn; Sun, 22 Jan 2023 23:23:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXvikR65SOvh2fqvlHFNjjpJA7LdBOrpxzPElPx+NlUKZtIne25ovodgdOLfOwyiLwxcJ+PT X-Received: by 2002:a17:90a:9283:b0:226:30c5:3e61 with SMTP id n3-20020a17090a928300b0022630c53e61mr24956431pjo.6.1674458608278; Sun, 22 Jan 2023 23:23:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674458608; cv=pass; d=google.com; s=arc-20160816; b=dppBiyrpaJDK82XPKP+AfEdWFx2Vrdd6M/giayRLSfvnUxnuYTIz23OjBIEwtiF9/6 tuBkThhg83T8YLdeIiMv8OApqppe8WPe0DFcWjoR4LivuoSHAnQhb5ts3kr2TUMoH4Tq 8EQVkPp5G7JIi2CCt3E92AayxAH+Emzp40tq+/d7DWUSvRXfTr5EqMspZu8hkcQtX7bw tyFyRAr/XlVIr1E03/aWPqYbBZdkOaO6BF6DFU38cRjKlSY999P/e2OITWqcLaZFN6DR riIJp+D8Ha7G4FftbolTi+61RRrP0jlh0DlytmY6jeN79kTw9jREiksj/PcxdBgieOot 06wg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=q4YfyxNb1zolOCeqdqDO9Pkpxb956KD0y5tNtuFRZqY=; b=YPkYl96+dtViIm6NVh63kiVMQlWb/P1LvzNCjgVQ7Bi31W+Z8EQbf+qpP9P10FzCOw rMVxcbjb2PRwrPBc9QhV7AkAAnbkWtDTYi/44/Xxi6zx5zlq6FUdxPL9fFDnDXG9eAuS VDdB7zh9/6Gjow4zrddqv8Sek06P5/tYfNzBhtV9K7v/xKoAuZL+/X9J/+APgWbqqAG4 53E94EAqohlpfQgFBa4aqdd6avVg+Ghb3hgzawpWzOXedJfyffSVDgJEZ9e3225ZsX1J LTLP0aJLVOPY0pamn+2q0+ZQwz77ccb6HQkEC8PLAh9luBAnIjlr03qxgPUTbvBRhlyR 14gg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=TsFPms06; 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 i10-20020a17090a974a00b0022bbae722fcsi8125282pjw.1.2023.01.22.23.23.16; Sun, 22 Jan 2023 23:23:28 -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=TsFPms06; 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 S230255AbjAWHW7 (ORCPT + 99 others); Mon, 23 Jan 2023 02:22:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbjAWHW5 (ORCPT ); Mon, 23 Jan 2023 02:22:57 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2087.outbound.protection.outlook.com [40.107.21.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F2E41700; Sun, 22 Jan 2023 23:22:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N6yApAEfUL8fgcqHRttayKMIAHZnYxMpd/zol44ltxDR3tToKGBl9AW7dEhYiClxiRbAqyurE0kZ4yx26TfJvUksEBCK5noGbEheSIcE7d/zGaaMa73NBtP8mjdV8mfNbYZCA2OlLuxSucyhTGTeOw+nag+sEQEj4XVw9nJUGeYWW5qFmw4Kg1z1fLiGbdFirsw9k+pUL3QPdqgtoNQEk8Ws+HhJpbcm9WM3uIlygWgPEnhtem1869r+q6Jz/WqV8YgbQXRECrAcMq5xbV5J3CW/mBdUbbuDGe11rugR5IlMR2TkAcd7RrPRz3hY+K+Lh3WBikjT9PgHemj1vFGKFg== 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=q4YfyxNb1zolOCeqdqDO9Pkpxb956KD0y5tNtuFRZqY=; b=PI8UU/l9/EL4uqgyhwVXwsR1nnjrgveYY6XN4LYx3rZGNOswLnI9VedOLGpH7Tj2aqTxlqHvavL766XVPNAIX9uqZMwh4oot3u81I3rXSARlo9mWDwuKG/4SeFZ9jr0n096z7nM+xgcivlcAblOEFN09UQnE2lXjysitWnlHKpt+b5OkeNlGkcr2KW6qQGn6LA7j9T53GzkXp4GrXmbXkyCvaBvsGKqJsD6VWsX/W4sL1+FuP5TcJAgm/xYGzXGDz+ZS79pmX7cAmG3HRVnbUNxOdaQDJoPz0hk+KjRxd2S2eznhw59NHhUCF/SYu+MmAEvbP7eY643VvRNBZXEnNA== 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=q4YfyxNb1zolOCeqdqDO9Pkpxb956KD0y5tNtuFRZqY=; b=TsFPms06KhTBrferE54m02NfnBC6x5WwkLzh47MbBB8PiD4HGNCDTLUm0oO8fRa06ChAdeSHsEN6Z8/1EhNfUGF6+so3hPogCthshYabbLjuq6EiPWwiKY6Eu/zDB2bmeGr+GOKfqnwc7T7xuZfUY8gqkstgPscw+PtidVwK3v8= 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 AS8PR04MB8184.eurprd04.prod.outlook.com (2603:10a6:20b:3fa::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.33; Mon, 23 Jan 2023 07:22:46 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::5725:92ec:f43e:f5fc]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::5725:92ec:f43e:f5fc%7]) with mapi id 15.20.6002.028; Mon, 23 Jan 2023 07:22:46 +0000 From: Liu Ying 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 Subject: [PATCH 0/2] drm: lcdif: Add i.MX93 LCDIF support Date: Mon, 23 Jan 2023 15:23:56 +0800 Message-Id: <20230123072358.1060670-1-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SG2PR03CA0104.apcprd03.prod.outlook.com (2603:1096:4:7c::32) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|AS8PR04MB8184:EE_ X-MS-Office365-Filtering-Correlation-Id: 83a4a29b-149b-4d3a-3d67-08dafd12a005 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E2/kH1DUspRc4cKLe+qsHB3xZME0ZIABCeg8zxRo3Pr64QbnZe6F3nmDyPW71Z2DSgbWsO8McxhR7yYYW4x5ks3BWfKAa82Kol9XJSNopX1MhpkF29h5hMsQMKaH//Ym7PWPF4/zhO0drDhix0HILb7SsRLccmgeICkiobFXYvKTUqidTAQXZC12E6eDEdDGUeTauZ5CPfsPCZH4IihOSGV9zAj0ySJc2RPLFdAqOLLE7EU2RZ8gXApNCkVRkOAfbIwqU0kpObzoHnT4g6BA63KznNu8/I5TopywkyVeBpnErBgjBlGJZy07+sQyudJhheqFLBYxRz2W99k1CIY0s50zlSH8C/Bxhr0IGQJtJIOvgcdaTcnnsco2zXVm6Ao8rlk5osr5J0MOprboN6+ssGqRrzwWR6IMaFmDaWnSu1K4BXON4UIbkrhOpES7gVgm7uabmPwOD0ApQC5Pc2BPsEHEtCW3jUqHnJpzpxAg5Nk8l/fTUpZGuygxCTTK9UNvz4S/wsKganCCqWOe/iv2c0RDtjZMb3XxP2VxTmB0jgerLR1GnfX+GRw1pYuLLj5mPXEx/Igbr6FiVbJsvijZ1pg/fRX1ZV/O63Mi/tWCPC+/3y6i+p3Dp7BF6lWuf5y84o+XSU8YKl7OVSb86hGy9OpvbbPHVPDd+wq/aj1/SA6BsbIgl5bfu+Znai1UGwIeMB/ymvGzbW6BbTHg0kn4sQ== 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:(13230022)(4636009)(136003)(376002)(39860400002)(396003)(366004)(346002)(451199015)(36756003)(86362001)(7416002)(5660300002)(8936002)(2906002)(4744005)(4326008)(83380400001)(38100700002)(38350700002)(41300700001)(6486002)(478600001)(52116002)(8676002)(186003)(26005)(6512007)(6506007)(1076003)(316002)(66946007)(66556008)(2616005)(6666004)(66476007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kY+jGjgr1VoPYMCa3cQ41lvzke+u9qyxc7ijlrSRb91+vOuXrgSXu3zvkmt6Nek3PH/IRuoL/29miGHDaPN001KWMB9dy+N6TR1/DSHywK3QqLvW4tycEiJJqTOEJRko8QccdVfMzaSF0fNboY2CHSVqEtsFBvC30OrL6Mx4sK/0jtC0kPfx6wm1TQ9bFW7unt3QfdITWSYjCVwlVSVntU7mowD4Z4qyO8/r3x+dSOR7vMbx3QpvDHjbhsfyZXRaayq/2wR7iiOolwj23tTIzu/l+ksjVaqIw8BSjkkKWHw53Pgm1efd2lDEhWuS0sVpaUCPxfZOlp3sw0EgE6KO5TUQJZLvav4lBTjUrY3dOUEtnaRRQDWdrKypyy943/0OhlY65bN3BCCaPTiLc53c+Ygaw8ii9IVhK3nw/NE2ZTacp4zjo30nL0KHsMZElU3vZu9V9iUxegZ2huW8QBD6s4HOfr50w4MWddoMUJtQlDxcmtL8gZNMP1Bc2bhp479ZcDCUr6//B0hBiumWtzUQR6JghrqjP3BQhZ30z+0sfUGhJU8xRmRC3/+5/xkTBNUr9B6y3AD13qc22IrNnl4ZIeek/KN2t93XHPU61YjllBacU+4RqMotSZCwqm1izAzxWZaIAHDU2ck3b/+XYCgQvZtY8RnPIaq+szFsGNdm7253f8CDYG1OLSzpHZR4EoJtiiHBI5quAwT01utvofcjH68g8qIory4G5JMcd8vTNiFrgAxKUCDUSRncMkLQXq1ySWL6pxqA8Kyrm0SRkikNFP1T7FXIudImhlLo5RREKAcvcE9YR7jNBfGyZwg17yXiUb2uavTQNU1srMfQZRvq+9KdGTpvbndXswRju1Pooo5aPnXCe5fPdT10o9d2RHTR56p3e4CBPYpWBvFW7Hr5ZQsfnyaSEP2/AZXSonsxFhixtZb9KCBGDrvOMCUiMntxonAbP8KOTfKkKLUgW8ZdSEQ34D3a52KrlA4SpV63JcMwNOrhzw/wJwJTN02ftpdqACjaMnh57ym7KyL527QnpMngOQbXtwltujgf3EocgUiCzpUtKhwbzxDf34MXIBx6V0tRMRBpEYtXFDf1sO5hPccST2eLn2MIpxx4v73YOt99F72wn1gmukGnlLmgf2LDypnFtSFlejPd3RE++IgYMZouKvDNeeyDptSdb34kvk7dUQFZrwlRPtQKcA9z2nhmZFqoDZQBeMrlf7gxo4Opy5dRiU2bzapf6TQGQiXRnyqr3nn6ygQ/o1XpqZQEcNiZMDlYUWVAXhZVbmW1IqcR6aNMlhf2hRCtD7J24An3eciafb7s/KbD8lr69yMtCVun1eDCt7e4V+hvwrzAMgYUQkPX54jOCPD14avUHkPc+z00lxp9CJc4wFRQdEfYKjBv70sWRZivUbBTX7/wrfttHG3D3mm8wYtz8Th0IBgOp1x4GAjvUb9Zh23k2BaegyacNTQeMzcbPyz30QdTQdxOJzPZmF3Yk0wpNLcIVsyZNgLVSTg8FZbYiELwDqXe3Pq9Uk+OeOhvnjTnD8eU9WgMvdv7Pjy6F1FSlM6x3odu6XlwbUYjgwH/K/V1ofLaz+tZ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 83a4a29b-149b-4d3a-3d67-08dafd12a005 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2023 07:22:46.5563 (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: LN6QSY6gRG0/BLZfbwYf9iKRW8G0RycGxC4dzsd7zASbxEtB5dsAmf5fHcFeImiSkgFM2FGUYFM7m6ueq5Dp9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8184 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755797109867433247?= X-GMAIL-MSGID: =?utf-8?q?1755797109867433247?= Hi, This patch set aims to add i.MX93 LCDIF display controller support in the existing LCDIF DRM driver. The LCDIF embedded in i.MX93 SoC is essentially the same to those embedded in i.MX8mp SoC. Through internal bridges, i.MX93 LCDIF may drive a MIPI DSI display or a LVDS display or a parallel display. Patch 1/2 adds device tree binding support for i.MX93 LCDIF in the existing fsl,lcdif.yaml. Patch 2/2 adds i.MX93 LCDIF support in the existing LCDIF DRM driver. Liu Ying (2): dt-bindings: lcdif: Add i.MX93 LCDIF support drm: lcdif: Add i.MX93 LCDIF support .../bindings/display/fsl,lcdif.yaml | 7 +- drivers/gpu/drm/mxsfb/lcdif_drv.c | 73 ++++++- drivers/gpu/drm/mxsfb/lcdif_drv.h | 6 +- drivers/gpu/drm/mxsfb/lcdif_kms.c | 206 ++++++++++++------ 4 files changed, 214 insertions(+), 78 deletions(-)