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: 13430670 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 D33E3CDB474 for ; Fri, 20 Oct 2023 13:01:05 +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=JPEbO6fSRALIbYS7fg6eUMsmxdgQFghFAJq5R3Fw4K4=; b=RxwpBBo7KAf2aO 3lSA3WrSZDoCBbnox7DZWQEr47jskrPtobRcVsXejGRyky3zXcPqjqPIEtxGRrYJpXN8EMhoPbAzN GIjVb+S+pvEtWaaULCw9WukHu30YdDJ1FTGMgVy/CjExsa1bvvJ8rQNt4tLxUcSllL3SK5bj0GFPH XMyTKF3o8CSPqohRSu2XQ42Wd/g2fDve/MHCKRLoeeEX61YYWA8tfVKwloEjoA9xmnEbPVBMDLKCl 7mLNLFgBh/mqg7z3FpS5E2e1mX4Rxj+rqLA/08JSrDiRUz1gMXtsee+3quQUc7JwgW8rs6xudwA2U Y1yPGa90UxxyZUnDCz5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtp7H-002IcZ-00; Fri, 20 Oct 2023 13:00:39 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtp7C-002IYU-33 for linux-arm-kernel@lists.infradead.org; Fri, 20 Oct 2023 13:00:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1697806835; x=1729342835; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=TnyfARd24Yv/vqdYrIhsLpQv3L7sDR2LHiBp0Qosj6Y=; b=RvbiFOcuDbRLxXJjPnIxgzYyO+GGZUhJ01nOmU09Oeudr/3hwuKq1ZnX xM/IqkBpy0siLPh85h8mdPur0iOfuhZhX24E5W4zISdvWcFhNgUMviJNs dJ871z9K9HJLq64b+TSG4Pgdp06qfE7rkpwF4kY6t/9g2v50bmLNNvdQL LgUjC+Crw57XQMQjk4UmQ/PPks1hHQPtjTRI2XjEqrIowaciAD00hUnW+ YkkyjEVasCWhyhn2v19JC0bVK9yHGxXwm8oQK/e5vCj64ThjZfHzcicPz QDPNKYKCdOHwQvKjql3tP0usyJpg2P04PCnIkbWpRNZY5AIn2ImtaQQvC g==; 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231020_060035_385647_BF67FB70 X-CRM114-Status: GOOD ( 11.79 ) 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 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