Message ID | 20241028023740.19732-2-victor.liu@nxp.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2083.outbound.protection.outlook.com [40.107.105.83]) (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 336FC14A088 for <imx@lists.linux.dev>; Mon, 28 Oct 2024 02:37:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730083082; cv=fail; b=SsNKr+8VMOC27FBjgLEjSf79gbERAVD2zgjV/YD6/uOJGJhI7i4I5SpjoWzNW9Y2n5fuxABnNGTL1RVQrtEYtQRTkCw9Sa/tOhXTFMhK33djg+RpZWB75AWy56Kf/bzx4CafvaxRE+/N5FokVK1XBwVZQFIuITyGwvjUhRhPuIM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730083082; c=relaxed/simple; bh=+tZs6WOmzdvsViyCZSalO9uwNZaweGP/xueYEi2TAx8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=MZj2ofm9BAkPbJTdsCMklFLF1mz22maCWoWpQgXmI7D8vc0Y7U7Jhsjk+zRvvrLN6+nKPZIJ+rR51FekJsjb8e9mZZ85Dxzq4y2ZpLXjIb0HM3bH6CS+zwASZhOA1MO3BfThrRSz3KD/S2ngooWKarOyBQotK82YVT8DopvSv60= 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=Hc+yp6EB; arc=fail smtp.client-ip=40.107.105.83 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="Hc+yp6EB" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UuGidjX492DCgy5OhsSvC0UdfdprYbXWe6jSzk9BOHsUC0fe2093gl8/7sbbCBmu4sQukyhjfgxX/GyxyGoaDxXH9ssldm8p9/0EW7pUsA42TcwOXgM27i2Cg06GHsL3X4zhF92hhlVFpy6dboqoSLtIGHY63pBcLPuU0O5ERDGVgNruIzTLathzChRBhB307KE2Er7Bq1PscwfoZZB2yQNEtPzRsfFjAkTdqZQY019p0Wl6/wiRz+7S/gqyGDn9BHam7yOMY8yyFdWDy/GCb9UlwnUvn0FhIsrEyw/j8tluV+CX3SE+jc64hwObXP161D0WL0wm5tOPMwm7fZaTWg== 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=q5MlxF+iOvQYNaGKgfap1AYx0PBdE+afeQkEdLBjw/k=; b=C4v8otplVPWr+xtdXeyb6STBOapqAuToClEjwlVzP9J/Vm0lkme2UJWIpt/0IsmIVe/fWqICKjB7N7+PkIM7iTArxgk9ZRzIWoHo9n4CCFF+v+aU5SdDlqsXg4HrwcjF5fr0Ycl8GhU23dwVmdPA8xcBM4yY/IyMEezS+f4EQhuG2gDeBVE/BBR22nyJLSY5AGnLcLnqQipK5H8/9yN2Qgj7vhz/LMXJtVw52hf3QdPzdjOLXVeHRkuG64scGkUDJA46oiq1VbjNjCzj5zrGqesYcZohyJYbYrLOpyoHSY68F3wnG9LFbDgtKtZEOJRdrcRtOemfsdAi1MjnbJZ3PA== 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=q5MlxF+iOvQYNaGKgfap1AYx0PBdE+afeQkEdLBjw/k=; b=Hc+yp6EB9GqnCUoCz5Ya/BnwSdRH1BmdOFSccBCErbV/YGgrQKTbGgclvGDTaoaJ2BVxLpbRMHt+w6+U8Mld5u4z+cSK1K01Tvc/TZxtS3nVY/L1g8mfl93BFqh6Wy1IQci4D/5PlNqrDo0oH+R7NMovKXQ3zVJsQU9Z8YQ/Ve6+Wt77cx+POJ6UnpSrcoT9G/QcD2d93zeZzv3sh9C8Ykhk/FQdugudKjAwQdVFtjqbR9ibQHIGBzfV3P5iE2lQPsPXRBGGld7KMQh51ZEY3pfw9t6Lg+imySFXMiNfIMCSnaU03TZMDPcSb9HiR+IHwHWtke5xIqoxJ4LFQuAjqQ== 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 DU2PR04MB8709.eurprd04.prod.outlook.com (2603:10a6:10:2dc::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Mon, 28 Oct 2024 02:37:55 +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.8093.021; Mon, 28 Oct 2024 02:37:55 +0000 From: Liu Ying <victor.liu@nxp.com> To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@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, quic_jesszhan@quicinc.com, mchehab@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, catalin.marinas@arm.com, will@kernel.org, sakari.ailus@linux.intel.com, hverkuil@xs4all.nl, tomi.valkeinen@ideasonboard.com, quic_bjorande@quicinc.com, geert+renesas@glider.be, dmitry.baryshkov@linaro.org, arnd@arndb.de, nfraprado@collabora.com, thierry.reding@gmail.com, prabhakar.mahadev-lad.rj@bp.renesas.com, sam@ravnborg.org, marex@denx.de, biju.das.jz@bp.renesas.com Subject: [PATCH v4 01/13] arm64: dts: imx8mp-skov-revb-mi1010ait-1cp1: Set "media_disp2_pix" clock rate to 70MHz Date: Mon, 28 Oct 2024 10:37:28 +0800 Message-Id: <20241028023740.19732-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241028023740.19732-1-victor.liu@nxp.com> References: <20241028023740.19732-1-victor.liu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI1PR02CA0002.apcprd02.prod.outlook.com (2603:1096:4:1f7::16) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: <imx.lists.linux.dev> List-Subscribe: <mailto:imx+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:imx+unsubscribe@lists.linux.dev> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|DU2PR04MB8709:EE_ X-MS-Office365-Filtering-Correlation-Id: f454bb6a-cee3-45f2-2968-08dcf6f98736 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|52116014|366016|376014|7416014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: +YM2LQ2m3j9KuHpFHI2aWBzRFvmf1M4OGTuagDjyJSEp2f12nk84lx8JEsIaLla3AaFZarHWNv2iOC5VcdDrv57nie40/q7OyhdvcFNynubryR/ctQEUJtiN8ftzwwjOB56Udu16Z5HFMGGXtioYT2JSRARPm8clc61pu0N+PPyECT0Z4t8XqcyYYV1ouqAkokEWENtQAFT1IO8LPUxFty/aaDgyHklzNfRHRihWfEiZFgCJx5NpIu8Q1SPzNxRlLjN8xiMTRVKHgXN2crg12bcWHEXS00UwkDomQhmNQQ92fi6sRFAZflwg+3qtFl9GGNBVKfFbBlua61JobBw9s1morH4oHhMj9y9rHb6CBk6JNHj1Ci4ss/Ukzlc+prEQoq5//rPP9FyWyiv8DphFUaknnxwk8J3g674dtGtr/ktAOIazsRVGqWQrN+h49YILHuJnuzOirXkenC14m7ez+ve2GZtHQE31ln/5VRW9ZgvxjRaJEJm536dy1cO7L/sLEeqjuB1C8NFaG1EJUEHhRCdw48MIlbmbgoMJHGDwrSffvev9zJjbDcWqZm9CKC1wVTa9TA1PxazdGFiTLN7Nof2foq6e6IGPmPQYN3EUmeKQlK5QHCBiz4O+TJwctYtYZJnlbmSiSG89hdy3ARb9C+nZfRW4Kpo4reCJ2JNFYSDmvGIwVAP/VjwX0cLjaHxi/Bz4QZxxXW95VWwA+5w62VWdU0H9glqZrIkvAdlduz6tXlv2KcUquSJ5MDQRl4+k707aS6GX6Df8D5XD83pVeMht6iBSUuA2QpcUnHl9M798aUCoiICVRRi1Bo31aB7GmCdSx+ti8nICS8dZy5Sav2+RqWWqN0y8Nj+VlZX8ZytVdiybxHaYYo7cbc4VqWehwdVh1mokGMyc/bpiOzjcE9PCC+bcnV/C19Y9t/ZC+YTJu0Bpw3yDBwmuqv1HIISNHgCdVEmU+E3VDLIpY2icPRpddMvqxlbXk9mqcM9tvB8DtbMsE5laHpLw18rjKXUTznod/8hBdEhwlsGaelt+C2CBWwaHMYbSm/zMPGm5sPTeTqxEkMJwiXn33hzZBonnM1Lq/MFPL8M8Z2k95HugB0q44gGdusLDl8SvJK1eyrNfj0ds8Gt6TXbEVTcKnCCUfnLzHKgavch6y045GTfJK89P+tVrSpX0SXF92Htt6lE0H9xNcmGFGHQXGzPX4hF5quUvtIqSLighvEgOaQBvZXeWW8OqC6R3EyflVYLIDIBDaVw86ViMtu9BusKPpOdkEhKwpsJYTnYIu9U0A3bhnjW5mffSemlMviaryBAqTAJck9hMalAcP/vR2r8QxMpg5r+sLUKj30XLpgmDHSBDf1zHlDYg4ti9Qrh2CZB31N0= 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)(52116014)(366016)(376014)(7416014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 37NlHQhFS26Vmhye5UtUJnary9SlEll9pTSSfFjQ9VKyNgtz8SbNKKGt1/DCbVhV0t3GL/VQn9ubttoEg0VmRthR/Bd8S0cH8D6lVeVjNTLELLBRrWAYXLPBVtA8csZRjabaJYbRd/WRZ49YFZkP02tmjaXgQ34l3HLHg4myGYJ7MjJwJTxAR7AGKS1njTkHGw92U632Od58YuOxFeqm2Usyb+NzwiD9mOMx1ItT/0Y4zhxK0PYMw6fELrQaTDWCyYByCoWa7kfGWoLiruP5ASC8aCoK2u6+2aPKGB+WeANRZ0CHACIYdiThh/KuEzVMSAINKkbmni7RzP3NVozWpO3YoUlkS97r1SaPtwGY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R7d/wWLzNm3ga5cLqeXRg/qdqKWo8NIIUQVYvQ+F6GFOukzEbFm4+5t8pNExMgYVYzNiCU2Ly7kD3QgMgZR+qX1CuH1lugKjltTkq6jnEnazHiN2vnBgUjvZQs/Hwl+NGfxx6kjBoGJnHqIfbEXkKzuniacebiUIm33LOj4j X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f454bb6a-cee3-45f2-2968-08dcf6f98736 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2024 02:37:55.8163 (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: Lf1231Aze39Pz7TGpBd2YUz6oJdt/XoBI5VxDFZWQGONi1+TUM+GsQzZWSGePEZ6i1Pwafe3CAFeRW5NE+Mp4g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8709 |
Series |
Add ITE IT6263 LVDS to HDMI converter support
|
expand
|
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 30962922b361..2c75da5f064f 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 @@ -52,7 +52,7 @@ &lcdif2 { &lvds_bridge { /* IMX8MP_CLK_MEDIA_LDB = IMX8MP_CLK_MEDIA_DISP2_PIX * 7 */ - assigned-clock-rates = <482300000>; + assigned-clock-rates = <490000000>; status = "okay"; ports { @@ -70,10 +70,10 @@ &media_blk_ctrl { */ assigned-clock-rates = <500000000>, <200000000>, <0>, /* IMX8MP_CLK_MEDIA_DISP2_PIX = pixelclk of lvds panel */ - <68900000>, + <70000000>, <500000000>, - /* IMX8MP_VIDEO_PLL1 = IMX8MP_CLK_MEDIA_LDB * 2 */ - <964600000>; + /* IMX8MP_VIDEO_PLL1 = IMX8MP_CLK_MEDIA_LDB */ + <490000000>; }; &pwm4 {
The LVDS panel "multi-inno,mi1010ait-1cp" used on this platform has a typical pixel clock rate of 70MHz. Set "media_disp2_pix" clock rate to that rate, instead of the original 68.9MHz. The LVDS serial clock is controlled by "media_ldb" clock. It should run at 490MHz(7-fold the pixel clock rate due to single LVDS link). Set "video_pll1" clock rate and "media_ldb" to 490MHz to achieve that. 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. Signed-off-by: Liu Ying <victor.liu@nxp.com> --- v4: * No change. v3: * New patch. .../dts/freescale/imx8mp-skov-revb-mi1010ait-1cp1.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)