From nobody Thu Nov 28 19:45:03 2024 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010009.outbound.protection.outlook.com [52.101.69.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30D3A14E2D6; Mon, 30 Sep 2024 05:29:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.9 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727674147; cv=fail; b=VbKU4kAM6KyEbFjqQvpc7PT5CySS+SjkWUp3glspkaXtcyS86+/Y7rbNj6tiaPlmjCJNw6HncQVhqi9/KqFIk3fNcZexZKfJjfog437Tik4sLFge1VPoByC/dcp7LMbBUM8tE/CtWjpnfQgTIc7Q8AGjtIN8wBdIPDvfwml/Cu4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727674147; c=relaxed/simple; bh=Oxn0/4ZXp1jQmeLeLPod8jRjAIJO6I70ciaH4LWN6W0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=MtkWEWjsvnY7A8ycOvFFjRO11E8bgYuTC4+FyIp4WBTtABiGPcnkrGUZaxhPgdmhPg4EtQGmcogJrf1eMYXKE7PAuJoW8eLGKMDTuTWK4LrFw2lsDl8SEcZK6vzUxkWGY+WIsYgO8fOpgDJs5XLqQJU7qIwP+x9hTZX+KticW9k= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=oSQHzNr6; arc=fail smtp.client-ip=52.101.69.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="oSQHzNr6" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GImYgyKuhTe8vzDd78CVY7i6qkN4FcXmNqVhw5tjHzUGtGBPS5I2VYtl3XLJN6DBimsVv0edGAL/XWu7xiMzdYouxvubB4zurXaicTpVufQKtyEPzfGmaWxVV8AIs/1Hdy/b9/FxkP/6xQAypLYb1mbJfixDIre6RO0XJE1ghPMY6KninbnazMmVcm55kD2iKVdfs/oeycuqrDfAbHpo1DwfynFcvYoTgFCuFVDlKcIlub4CXBrBPD05D7i5byBeUobxvt5Jies17tdO9R6fSeZdpzKlqGt4DOipnco0G428Tv/EOYyG3bZL/WImjjVryGCs4dfJpuPmwhOysbgSJQ== 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=yVd0E0lyRBXWkmvGhlNxKECFxaodydKKIACJ94ljdFA=; b=HZFCersSBqaptHVMzAy5tJL5pvqKrlIvW6MPOdRlyHcNTkGeXTuw+AAy5AFE0YyEHOvZU7ELTWxWirclCcKaKCZs3YVUkciQgH6eCyLHlj9Td2Jc71BMCcUdEYnMStWZeAoqx1n6FSKmuP9iPAwB3ctlQJJ2pXujnwp/lWHzKN/S0383eb0POMn4pTQ9lLC+xz69innzHhvCfaMvQr73tFsnL8tvadDN2Dhtde11sDxeTrjur08MSlzA8WTo8xgL6gvy5rUXdYq+mMA8x6rgOGM9yeaOfB5A4anivn6QC4fzxBsDi6f80Ocp0a9DiTwBD3H/d3/5BCPWa4qJpnHZyA== 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=yVd0E0lyRBXWkmvGhlNxKECFxaodydKKIACJ94ljdFA=; b=oSQHzNr6gO48Fuod6Uf8WVMWmfWFyWVNRWxA11ux0m50ftCfX7N+B4BlusuX4SCzxnToxlQYN3YGAXnYvXXwukjetRFr2amwC0NAFK/P671AajWqMFe/g9pQ8xvE328bBeUz5s7cztFQ77DFveiPv/qxDgrIxgU4fw5P966SRTRHWLPW1M2BEmQyRXW7sqBssXKfP5c2/7v2GvPj7OiZgDBx60ziv9JuFwttT7B7RS53wpLtBGjdnukuTUOxFWBFL0CAyv0/nvMHy7h7JPH+pVavVPH1kLqdiBd7GFNryVroKoYBKi7f2jMdAXaWiAxkH5GULTk5FiH2LIBD9zWPWg== 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 GV1PR04MB10536.eurprd04.prod.outlook.com (2603:10a6:150:208::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.26; Mon, 30 Sep 2024 05:29:02 +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.8005.024; Mon, 30 Sep 2024 05:29:02 +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, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, 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 Subject: [PATCH 1/8] arm64: dts: imx8mp-skov-revb-mi1010ait-1cp1: Add panel-timing node to panel node Date: Mon, 30 Sep 2024 13:28:56 +0800 Message-Id: <20240930052903.168881-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240930052903.168881-1-victor.liu@nxp.com> References: <20240930052903.168881-1-victor.liu@nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: SI2PR06CA0015.apcprd06.prod.outlook.com (2603:1096:4:186::7) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|GV1PR04MB10536:EE_ X-MS-Office365-Filtering-Correlation-Id: cd64f7ff-6021-45a9-dc34-08dce110cad4 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|366016|1800799024|52116014|7416014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?KvS3BYDEV7DbxoGfa68yx9NSrYW/SjORgPIQEabVNTZMHXBxUiXJL6IHSetv?= =?us-ascii?Q?9vIUu50NRASDfwPNrO+JEcf8ty6QxxfJcZ4d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?Q?HiS6Bmhn6ylLtkBMuoce1rffzsdkpvT2Wx4sEgsFEEcVVU+ZRJAH6kNz78f5?= =?us-ascii?Q?b+mkFAQ32nfA/UYo+uoHSFUz5IJFS3IVc9KSqog9nEYOkD7emIwCXMWdjorE?= =?us-ascii?Q?cQ3e20Sq6YytVM6bfX2SOJ20y1Y2Id2zqjMnWaXTxHqfexoswqfZsDmuTWV/?= =?us-ascii?Q?QLihpgeAV1J/VM8hwvEGmx4+81h48jO8LhWsV3/Gj+ZgFAPolJnDJ9jlEf5d?= =?us-ascii?Q?yfexakTM8oiHu/it54adoB0qjwQKfReIe2aYsdqIgSSncScSIejWzBghXop5?= =?us-ascii?Q?JymEBR9oWCr8RGvqjpBbLy+QqEsxjw5bHL4+02lLReJZoIG7dgO7HkPm4zVJ?= =?us-ascii?Q?fiJgB7rZb8g82acgkONdiM9igAp7xBxUtFLdPg9CwFhwap/9VEa3E0Bo5eS9?= =?us-ascii?Q?AQajfsGFlgEliVi9ckoxEGBFgU8gB6e0n/9mRgM0irLiLJCWdQ=3D=3D?= 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)(366016)(1800799024)(52116014)(7416014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?hplunFajrfo8kZN5EMgwfbWfl0/7ZQTQM8dGveJVbRaaptjUtqhB4BKY0Ibv?= =?us-ascii?Q?E2McOiMCJKgpe6ACIIEyqydYHnaS5x3ZS9a4CRuWNzwDkV45dTNmsljTxutu?= =?us-ascii?Q?FlgM0yVwy+Km1DctDmcRoqvUHXCkp9fYDMP1dqUtOpyP2KAUCpeNzO6D5D2f?= =?us-ascii?Q?6VOR0f3ZkbLL/LAHSDvJEU2KBw33BgwI3+r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q?NGyyc6djpXmoQz2HqPxphMYHY8XEQbDWBpgO8uXIPqj3kfN1MhScfC5wIX5H?= =?us-ascii?Q?h7mSBond2wLpfM7IyV9s74wOl/dLo0/p5oUlV8WKzc/qa9hE0CQQFUyG2aW0?= =?us-ascii?Q?yTt+4WgV+vUwlzC53pVF4GkV9QF5yoZFQHbcD9BvCfDSGBoQpMOqoEU0YAjn?= =?us-ascii?Q?gz4ThE2N6Gn0RFj42QvOmuXcg44Vl44pLwlqvP/fh6H3M6aJWkdeQusn/nTx?= =?us-ascii?Q?cDib8/mz6TNhfDkZXmh+/3giVeGblEsuK6aU0PicG1Sy5amYQZoMAIKHx1Ps?= =?us-ascii?Q?omYcivssTwfPVlt0vuvIeCMxVNEu/UONIxROm0aT0mSArDlxhX0o7/ZZFIcv?= =?us-ascii?Q?ekITsu02fLSxkyZJmQnZsRDcfMVfKB1Wz0QvyW8+ezoxqsyiaw+t+daHipPC?= =?us-ascii?Q?AqfI2ilZL/ZhabPIaM7GpeRelktBUL6IZZAWmwtpmMTyKyYphfbt42axO484?= =?us-ascii?Q?LiCBMBWq7c6WidbHFWYp2cYeBm5Vv9p3btVC9tZa?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cd64f7ff-6021-45a9-dc34-08dce110cad4 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2024 05:29:02.0892 (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: gqyfLewFpcRz8ABhAqlSEynp04enz9dsh2soKyOcT4KKKrJ88QKJq/lATY4UXT0zWF6S2maHOqFAPi8S+rfJhw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10536 Content-Type: text/plain; charset="utf-8" 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 (7= 0000000 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 --- .../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 =3D <&backlight>; power-supply =3D <®_tft_vcom>; =20 + panel-timing { + clock-frequency =3D <68900000>; + hactive =3D <1280>; + vactive =3D <800>; + hfront-porch =3D <30>; + hback-porch =3D <30>; + hsync-len =3D <10>; + vfront-porch =3D <5>; + vback-porch =3D <5>; + vsync-len =3D <5>; + hsync-active =3D <0>; + vsync-active =3D <0>; + de-active =3D <1>; + }; + port { in_lvds0: endpoint { remote-endpoint =3D <&ldb_lvds_ch0>; --=20 2.34.1