From patchwork Fri Oct 20 13:00:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13430676 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7512CDB474 for ; Fri, 20 Oct 2023 13:00:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377389AbjJTNA2 (ORCPT ); Fri, 20 Oct 2023 09:00:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377399AbjJTNA1 (ORCPT ); Fri, 20 Oct 2023 09:00:27 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BEEED60; Fri, 20 Oct 2023 06:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1697806824; x=1729342824; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=TnyfARd24Yv/vqdYrIhsLpQv3L7sDR2LHiBp0Qosj6Y=; b=fQMXD518OKtnT67QILbxzGloZKL+kJkzL2XETgK2pHzHgdH4iG7yE/z9 jBSsPaCaL8xFcAfKJafpmb6bkRu5Ppb0d+YJhoIyPBTHl2LTEE2wAEyWS WJq0w1csQawtC+zhl+Ujng+uMGQQkwg5LLeCqtiN37+bJE6uDOwcih/qJ 9pRB1r6ynEqrVISKdzRfZYonGkC955s/CG0T80oNb5WYH7jh+I+KkA3VC 0IKvMnEBfScNDI48vLbVMLiMEfoQfRst+vpyLilhvbL9vyHPdyzR/ew8t rFUWNIKEo1ONX+GGuYWiw3HwAWq4OGn5zsCKYRqlCY4pojtiwWUwQ/VYg w==; X-IronPort-AV: E=Sophos;i="6.03,238,1694728800"; d="scan'208";a="33575466" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 20 Oct 2023 15:00:21 +0200 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 77FB128007F; Fri, 20 Oct 2023 15:00:21 +0200 (CEST) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam , Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Ulf Hansson , Marek Vasut Cc: Alexander Stein , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux@ew.tq-group.com, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 0/5] TQMa93xxLA/MBa93xxLA LVDS support Date: Fri, 20 Oct 2023 15:00:13 +0200 Message-Id: <20231020130019.665853-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi, this series adds LVDS display support for TQMa93xxLA/MBa93xxLA. It consists of two parts: 1. LVDS support for imx93 2. LVDS platform support for tqma9352-mba93xxla Patch 1 is the imx93 equivalent of commit 9cb6d1b39a8f ("soc: imx: imx8m-blk-ctrl: Scan subnodes and bind drivers to them") Patch 2 is the imx93 equivalent of commit 1cb0c87d27dc ("dt-bindings: soc: imx8mp-media-blk-ctrl: Add LDB subnode into schema and example") Patch 3 is the imx93 equivalent of commit 94e6197dadc9 ("arm64: dts: imx8mp: Add LCDIF2 & LDB nodes") Patch 4 adds a video PLL configuration for 477.4MHz Patch 5 adds LVDS DT overlay for platform support Patches 1-3 are self-contained from patches 4-5 and could be merged independently. Patch 4 is necessary to achieve a correct LVDS frequency supported by the display. Alexander Stein (5): soc: imx: imx93-blk-ctrl: Scan subnodes and bind drivers to them dt-bindings: soc: imx93-media-blk-ctrl: Add LDB subnode into schema and example arm64: dts: imx93: Add LCDIF & LDB nodes clk: imx: clk-fracn-gppll: Add 477.4MHz config for video pll arm64: dts: mba93xxla: Add LVDS overlay .../soc/imx/fsl,imx93-media-blk-ctrl.yaml | 44 +++++++++++ arch/arm64/boot/dts/freescale/Makefile | 3 + ...3-tqma9352-mba93xxla-lvds-tm070jvhg33.dtso | 45 +++++++++++ .../freescale/imx93-tqma9352-mba93xxla.dts | 27 +++++++ arch/arm64/boot/dts/freescale/imx93.dtsi | 76 +++++++++++++++++++ drivers/clk/imx/clk-fracn-gppll.c | 1 + drivers/pmdomain/imx/imx93-blk-ctrl.c | 7 ++ 7 files changed, 203 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx93-tqma9352-mba93xxla-lvds-tm070jvhg33.dtso