From patchwork Sat Oct 12 07:35:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13833953 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 483BBD1A443 for ; Sat, 12 Oct 2024 07:39:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To: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:List-Owner; bh=OJ9bcJ7eO0m7WN6p3IL8AAXUN7kEvTpvsG1AROKT7RA=; b=G4PUL/NnHFcnckj04tYmCUQrFf xqVtzKeKTZIv3fIYTH3IJhieenDGGcPifYmo3JHR1w5QYzMzOukQQfSKgcBoOrr0rQX5hqgpZ0NUG gF5fNeP4XOEICfryO8Uxmrk/cLlkztnans88zjj+MgdoGdwoqr1HGrPCg2sTBwklIwtKwoOP/FdPx riTN8e2Y6M74lg6T5fgfJNbaPQbdQm21mbC/dSES3SfqBlOwbX9Dq2gfs9KN5sb8VUT1csAFbhPkI XZKmq67pf6ns7qttoiWb/Jq2aw+wVClgGTnB+4pTICoTTWr355NImLvOHRIgVSKZmCyGaku7aB9nn jQiWhSqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szWj6-00000000k1T-0w8B; Sat, 12 Oct 2024 07:39:48 +0000 Received: from mail-dbaeur03on20600.outbound.protection.outlook.com ([2a01:111:f403:260d::600] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szWgL-00000000jJJ-1uVf for linux-arm-kernel@lists.infradead.org; Sat, 12 Oct 2024 07:36:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pgXD9c6fux24/Uphq64gr1oZi7M96el8xo1ABsKsSt5AzU6rlumD1qPEpb81dHMK4xX0K/Bya8NCnafGf5wwYe2mKMOHcgNi/Hvqw3z0hiZ1oiaX8+WS91gfiUKi7MnEsGOZmVWmGo7jqDJJ+hnGvZj1bJhL7uNj4yr8bK39j5FWahViCaD87UsxgUIc0sRS1yiMVnbpdT1xlZE8JyFWHlVzWopU4RK5C5SUqNtZYSTtEEgsI+eS4i4A/cgMEB6mJ/JqevcxaDZDMUZxv/0VPMtC5DqqE8OZsHusiAm2vGG+1J7rXQ872ID5ukB9VZO0dMlNONFdTdarZyxsgLAozw== 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=OJ9bcJ7eO0m7WN6p3IL8AAXUN7kEvTpvsG1AROKT7RA=; b=maSrJPnZTe2fG9HXOIGwltg7aei8BoLQ6UOvmzRZZYe4C7QaSa8TK/+NG8/fjMEkW8OKrD/8+KHmMSTqj5cAkXZ48QGh/Tws1OJ2hxp9wSmCEIluhb4y7sEEp17rTxFvQFTJ9F3ISGF+85uWdkMrz3D0cSrXW1r/U9TILAmjxSIj7Hq04X+PzWC+dQVshyKoIUOKqyWL8BIlHBXN2vCXAosGI1Rs679Fa4FF8yGhein9UGEBD3Umz96nMTju+rgYQTzZisDY0lH83itvwAYECx+VG273YBRSyEX9t/hO9cGjJEz+XLGTWISVyeE/TIn+ToLp3y5GhLw/Lo9pfkTMSw== 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=OJ9bcJ7eO0m7WN6p3IL8AAXUN7kEvTpvsG1AROKT7RA=; b=QCn9q/S+9CDVeTY/o+jIgPDtu85PvlJByA76QCdW4/1JnCttXJ79tGKSDgNDPKzMawwWy7XWSS3Vyu+nSy3w8IcDPrn1PgKidZoDNKBhzZ18AYpTu20scupev2wgRyRyMkiEhvqDjVWfHoT7vE0YwQYF540pkMnRlXW7vUo4RffRXJsl7O26yMwGXy7/61/vzN3oeFohcYifRRoHeRaxvWPrDhFoFusP2xsxj3cTFByL5VFQo7WEhQhz4f4WkF0xIkGYSmgxpP5zTuzzGHyqxoW9jhTIIaQAe8jQa+cGw876g6Btq9d36rRNMUl2TYND0SVVX6hYlrdSECF9VmcFIw== 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 DB8PR04MB6986.eurprd04.prod.outlook.com (2603:10a6:10:116::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.22; Sat, 12 Oct 2024 07:36:52 +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.8048.020; Sat, 12 Oct 2024 07:36:52 +0000 From: Liu Ying To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@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, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, catalin.marinas@arm.com, will@kernel.org, quic_bjorande@quicinc.com, geert+renesas@glider.be, dmitry.baryshkov@linaro.org, arnd@arndb.de, nfraprado@collabora.com, o.rempel@pengutronix.de, y.moog@phytec.de, marex@denx.de, isaac.scott@ideasonboard.com, biju.das.jz@bp.renesas.com Subject: [PATCH v2 1/9] arm64: dts: imx8mp-skov-revb-mi1010ait-1cp1: Add panel-timing node to panel node Date: Sat, 12 Oct 2024 15:35:35 +0800 Message-Id: <20241012073543.1388069-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241012073543.1388069-1-victor.liu@nxp.com> References: <20241012073543.1388069-1-victor.liu@nxp.com> X-ClientProxiedBy: SI2PR01CA0051.apcprd01.prod.exchangelabs.com (2603:1096:4:193::6) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|DB8PR04MB6986:EE_ X-MS-Office365-Filtering-Correlation-Id: 7cc45098-594e-49b9-ec5c-08dcea90a38f 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|1800799024|7416014|376014|366016|52116014|38350700014; X-Microso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jt7/APN14hPJoL6IpBfhjSpQJHSjRc+cxLTqAgsFgzSudfF281vkKqYbu3x86rMjphqo5dzi+qOIr7qVIXKnoNiLFlTNoEymU08cG+ZrRU5MHFBtyAMjSvnYjCF8MffW4Npgob8DtGawiwSOqUc5Wq4Fgu3Xk1X39uoT4BWj5lNkcI7FbyIRCe3vWhpANA+361yCECEixN/P9+GrWkNc9bCke+mA/livPiGugOJxtwPWwQz17xG7rukETkuCc8oPElBp9Cj931eHVYH0L03yCoWCIvGJEaxEW/iMsLEBxcAVwUYh6L9XWRA== 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)(1800799024)(7416014)(376014)(366016)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: J6oH6PtML9RsLCmNL7tiFSCt1kUe6kDozqFEVCRiB2x8TRQ2lkE5P32RdrK5MUY7gAf/Uq1Hb1Kbp6vDI3l5hS3ysw6BrYDwaLjY/+9hD+W4nuwRyGqy+eDtE8EMMy7AA1/5uAjtVj4leIhiJsoHwnwPV2JP0wGibJxvgwvXcsCRH3VhXGyw2c2SyKcu3ZABdx8vMYKD+olphgJTVyLAS6kFYrwGytp3VfsipAG0ChYzgqz6ldZpjL7cXlcJbr98UR9I6v8yFfFJaLHYpqv2gy36B3HeLdF42SBEbZHY/vQgjusiFlPqzpXhsWSzHX+vC9xjeEZoOIWV09hlHYaY140FSOlD9C3/yTIIyzOlUsYHYJxdiL7QEBgY5GyOPyVR4f0X3dJNCL4bM1oFUFnauMALXv8l2ZCtED25dCFYo1I1rJpDxKFVqDLWyYrke/+7WvN0jFUxeB3zvYXvbZkXmABf+UBMw1yCUrsYRQps2TcA/u2dhZmmWcxIp2Qo0WnBxZoMC1ZL69WrYhSL4NWyF+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p.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7cc45098-594e-49b9-ec5c-08dcea90a38f X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2024 07:36:52.2126 (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: KQkUmNHdYr1vYnuUal8BljU7VjLNTSt19h3gS74/JWdRfqurZd7PN+F+DrGRsKUbB4FJBz1KSqxrGa1PYgqdLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6986 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241012_003657_510397_543495AE X-CRM114-Status: GOOD ( 11.72 ) 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 Add a panel-timing node to panel node to override any fixed display modes written in a panel driver. This way, 68.9MHz clock frequency specified in panel-timing node may accommodate 7-fold 482.3MHz "media_ldb" clock which is derived from 964.6MHz "video_pll1" clock. The above clock frequencies align to the clock rates assigned in the lvds_bridge node and media_blk_ctrl node in this DT file. This should be able to suppress this LDB driver warning: [ 17.206644] fsl-ldb 32ec0000.blk-ctrl:bridge@5c: Configured LDB clock (70000000 Hz) does not match requested LVDS clock: 490000000 Hz This also makes the display mode used by the panel pass mode validation against pixel clock rate and "media_ldb" clock rate in a certain display driver. Fixes: 6d382d51d979 ("arm64: dts: freescale: Add SKOV IMX8MP CPU revB board") Signed-off-by: Liu Ying --- v2: * No change. .../freescale/imx8mp-skov-revb-mi1010ait-1cp1.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-mi1010ait-1cp1.dts b/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-mi1010ait-1cp1.dts index 3c2efdc59bfa..4e9f76de7462 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-mi1010ait-1cp1.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-mi1010ait-1cp1.dts @@ -13,6 +13,21 @@ panel { backlight = <&backlight>; power-supply = <®_tft_vcom>; + panel-timing { + clock-frequency = <68900000>; + hactive = <1280>; + vactive = <800>; + hfront-porch = <30>; + hback-porch = <30>; + hsync-len = <10>; + vfront-porch = <5>; + vback-porch = <5>; + vsync-len = <5>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + }; + port { in_lvds0: endpoint { remote-endpoint = <&ldb_lvds_ch0>;