From patchwork Sat Jan 28 03:47:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13119632 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 AEA02C61D97 for ; Sat, 28 Jan 2023 03:47:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=So6kViQdIlGsXMtnc/TpEN6gbFq6pzxec5n2H7Scl/Y=; b=FKyPoLbr79eVXu 1VLxRl166yYiGHOp6zmtgsml5Ow6teAlWBtwasA/R0Z6T4ehzFAeLgivEOR3sgpcQgy4DdTyulBtL fz1xiKU75jkz+8tvJHSRDrwwLVqAuIQpR5ifpEIuIwBIWINrZyOCK2kwiHSFkvYWQds7AzDvmO/Cc 33XbDRBg4jhjp46AxMyIiaIc46Ou2TzKJido1bWaEf6H9q09pZ1Gyy91RA+Gf++NnTUeHSSkp1j07 H1/iilOipJZ4+YpP7X2ndujjbny9Jc0WyDKwTceipdnVBkaKpvg2DHZtvpaXdUdiLH9cHcBr6HeQ7 DsoemTip+qmeq0/rFijg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLcAk-00H7X7-W4; Sat, 28 Jan 2023 03:46:35 +0000 Received: from mail-db8eur05on20623.outbound.protection.outlook.com ([2a01:111:f400:7e1a::623] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLcAh-00H7Uj-Qn for linux-arm-kernel@lists.infradead.org; Sat, 28 Jan 2023 03:46:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wt0VKoIAcUi4xEgYOvYFu5+eCHYGsFgtR43phuqe4VCiGk+0utBHj3WaJa6S//igVwiqyy9oJTwfSAHk72+Ibc/Lkl0fe0WPOMmq6Gl3QG+m1iaQokUr2Qk9hlpvQTTriWPm8TlXRiWn/6oVK0rpejO6Q9Fw0f95WXZUKvjHt4hqaNwqHUW9F7wFzFGldMSbaVjcNgwEStCYM7gl2s1yJnslKA7xdhIYOhIMIWVPz7rgLriQhMht0QdLwoN+NwHJDWmhbjQmQMg5VB7Txo8maM6BtlK2KYkEs5R/PBfR7Q2m4RzAPEUQhYTLFo5MjATWqDLKqa504JQpquRI50s/gA== 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=BE7SY8Sj3Y0aKM4j48HBZlyBNJRlO2gGpJedsD3TFsE=; b=jtz91eVUKSuizxom/QODcgu3JWrLs+ewIgeZGKVbWzSQlFUNg9W1jpksL3gxG91FaDw8tqLpFgV49r6u9mKZ8F2w6/076YORdkCAz0DZbq2pBUOq4H1EZ9EVLyHAMaAxCUSDq5RWeeX3Yqw/HgJH8KQ3tUUTSJdmuaGheDnMQQ/ppfTrQJGVJlHdhJ78PYptVke+7vcCgAU+PqpvTzp/oc0t15EEDvfsP81ZZhNlJ4o4vyhFX6JnApS8dcGDsafsBhYS2E9SP9eqF1cRYpsh+mZ9c++Eg2NVnZ3xPCIaouPgqVbcY4WYuj7DA955TTf4PHy193FZ8jL4IrVJ2mrqgg== 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=BE7SY8Sj3Y0aKM4j48HBZlyBNJRlO2gGpJedsD3TFsE=; b=LwJUaO4bXZODW1JCXQKgY+SfmxDs4v0jp5aAIIHTNrkQQllxBFyS3NDm+kwcHNdYOmpeBhONOBq9tkFFHEpAHn7Knyorvzz/How5eW8sxS/oDqVPXvkj4UUlLhm3yOeIK0/fzdh7KgtuEOZXJXzrxL3yP8Rn38fYTo9hc23kwGY= 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 PAXPR04MB9203.eurprd04.prod.outlook.com (2603:10a6:102:222::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.25; Sat, 28 Jan 2023 03:46:23 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::5725:92ec:f43e:f5fc]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::5725:92ec:f43e:f5fc%8]) with mapi id 15.20.6043.023; Sat, 28 Jan 2023 03:46:23 +0000 From: Liu Ying 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, robert.foss@linaro.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, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Subject: [PATCH 0/2] drm/bridge: imx: Add i.MX93 parallel display format configuration support Date: Sat, 28 Jan 2023 11:47:11 +0800 Message-Id: <20230128034713.1530218-1-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SI2PR02CA0047.apcprd02.prod.outlook.com (2603:1096:4:196::14) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|PAXPR04MB9203:EE_ X-MS-Office365-Filtering-Correlation-Id: 331b37e5-1b5e-481b-873d-08db00e2394d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: e2hQBPGwpgo7cuuxsl68iMYUdNLHx0dMtH2knUhC+IMu53QHZz+jVzDQL9krjPBOgX0wc4fhW6IdwyDUAb2DbdzFak6V4rgkxQCNqOL5E1UslOuuZyrzk8YIuCIByjDhwApfDufr6B+fDWSKSqLXyyG5uY+JFHUum8wl5d0gUY8diXachtpWgs4o//J89e+ZbgyZyPO5nazs1u006X+YlxJekoztFmwQ4rJpyWIIsbNGlFixVTNz+Li0lkIJxhkHm/hM7KyAHJPoP/Ai6/44JlY8XCCnm/fd0u3hOM174l/DZ/WJIOOaHPL5ODL+yWwSn/Yz3pLkytAvsK4qmahgBC1xIgw7d8EmmNH9ikvT4EBkWpfOpe9B5acKqx5HF0kERHj0qAoJKZWd0hiA+632Ol3t3e7AIRL9/CLrFJ/UYTaZZaeZlQDztyIAvgPrAeD4TQRDVYnsuPM8iRtbZYMewNt2l0FvJrL8c2GhRCyYOETT0IfgoX/a4s058lGH2xpkfv4m1hwhbbaz1tXmiaDj+6V9I5OScAiplXwoXgvcNVCklGR2uMZc4lhQHuqi+TtiYVQegCfUDav2yCNg0lQoy9LF/Cosbe7+HFfO3YjvevfY0Z3SbkeynpG5sHHkkHYQWL5Vm7I6GsRjMD81F647t7ekRi61mTCsQRQqK0z4GCkzATFxHm6ns6AalVqZ+oEBUXGLqZOYFul7Z904PA1UCQ== 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)(136003)(346002)(396003)(39860400002)(366004)(376002)(451199018)(186003)(36756003)(6506007)(1076003)(6512007)(26005)(38350700002)(5660300002)(7416002)(38100700002)(2906002)(6486002)(6666004)(52116002)(86362001)(2616005)(4326008)(66946007)(478600001)(66476007)(66556008)(316002)(8676002)(41300700001)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pEh2NVWqC5nSVBk9cCe5GUYmifZPCngNL8rr1zQ5edn/qFtn7U3Dg4MFLmnWABF4dEC9lNhgCmi/SEiyZKHTnV+tbncxjNxvyNkRcre1PHUKEtYgNrPQaOTk92U19zEChl2tc1oql5DGRzbeHpYdlouZEp5wGLKQPH91GwYmvyGW3YTKl69qh009GUYMSSXJpzSxWfe57nFuZAP+15WfUylNMazET8mNWrH9n6W93b7XUZtOmUhOHZLS0RqSBEB7FF7Uv9y+Bh7VGXpIOHgtdjnTlUsOy0QUMwID/qRlnTUEGyDw4KwHFu7rj6tbGNOpmXJCrI5VaC+VPtCx3a3tAYeqiCbjhuf6rb1QykNUX12od6lhEzwax/8yUhDp6Ama+JEdm4sIUX63sQP4ipaLSPTDApYVG6pelOrix6hHno2BlPZfAiPDMU2oqr0TzQswhpLvBjH6qsyrVNebqwuLojFtkChCzjM+l+9Su6NjbIb0kw2tSEEd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UeRgfIkueoH8 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 331b37e5-1b5e-481b-873d-08db00e2394d X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jan 2023 03:46:23.2203 (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: rvI65mSkFKHD9rxMbHbBbvJptwZL9jO2N7LETu/fJ/0QFxcz7qwo9GQ8VRlNBETQ8FJ1KEpOrOhrt/InkfZwqA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9203 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230127_194631_889731_EF89B36F X-CRM114-Status: UNSURE ( 9.22 ) X-CRM114-Notice: Please train this message. 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 Hi, This patch aims to add NXP i.MX93 parallel display format configuration DRM bridge driver support. i.MX93 mediamix blk-ctrl contains one DISPLAY_MUX register which configures parallel display format by using the "PARALLEL_DISP_FORMAT" field. i.MX93 LCDIF display controller's parallel output connects with this piece of small logic to configure parallel display format. Patch 1/2 adds NXP i.MX93 parallel display format configuration dt-bindings. Patch 2/2 adds NXP i.MX93 parallel display format configuration DRM bridge driver support. Liu Ying (2): dt-bindings: display: bridge: Add NXP i.MX93 parallel display format configuration drm/bridge: imx: Add i.MX93 parallel display format configuration support .../display/bridge/nxp,imx93-pdfc.yaml | 78 +++++++ drivers/gpu/drm/bridge/imx/Kconfig | 8 + drivers/gpu/drm/bridge/imx/Makefile | 1 + drivers/gpu/drm/bridge/imx/imx93-pdfc.c | 209 ++++++++++++++++++ 4 files changed, 296 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/nxp,imx93-pdfc.yaml create mode 100644 drivers/gpu/drm/bridge/imx/imx93-pdfc.c