Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F748606A31A for ; Wed, 2 Dec 2026 13:30:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=qIk7tw1G; dkim=pass (1024-bit key, unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=KOdmDfRt Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 2BEFA409BA; Wed, 2 Dec 2026 13:30:45 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id ESi0r-P39UFd; Wed, 2 Dec 2026 13:30:44 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org 16FD740935 Authentication-Results: smtp4.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796218244; b=RQ30MVHsg+p2nkUmLs6b8mLi5w7anKGRN21rzIxgkrjR0lLb8id2PqboMZvLcQlUYQur nur1pU8ez3jPehnj12JplEEvptp6e7cWTsmVn6ZHPhhwMnA+tyWF1iOR5a6vISNnEJjGk PL6uN9OjThG5Lv6BS/cWGajGCZ7zo5/FoPUpTNBQJjkk2HdiDhN+5MH+8pg+0g5s6fNDP +Lsw6KMROMTFPRtcnV2I1wJKW3SclHbJcDi+SQLcnYLAAdCTpVX3uXDxyZFtJRg8+t7o4 a9yynNanA75gAhJV5g4MFRADA6fJB4oKR3w+HfqMaidAlczk1aWBEeCsrTQH+RY+jUg== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796218244; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer: MIME-Version:Content-Type:Content-Transfer-Encoding: X-Mailman-Approved-At:X-BeenThere:X-Mailman-Version:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Errors-To; bh=9mRcB7SNyDDYpLZ6lUkNP/pBIU+DY/uPun5RPNRQvdI=; b=JuLEbrJoJpiEqbdTjeuTxNOkgtZJdGWV5JbBi0G0zJPv5qpgRIxJtrWHKWYX74tYdhN0 tt+VBDFfas/eeGV/QRTbsGNuFAHaflLUZab9LxC4pc9vt1cKGHtfTlE5r8IJEO+QEFXYh si+UYzt5m7K5qKj4vm/nInlR4Kh+A2o2J9i1cVktXtUr8cqwk/ZCliNB/rQvl7k6+/oxr e0RixEHULpfwkuZszVX33P1dUVJf9jdX1fJK2Y+NN+WnsgVRIFIv7R6o7Y6ng2N2u7V43 4cpBCSb6PT+69hRg6QIPlFFiKf2K6pl0GMI2V3h6s93FvbXLebvxb1BsIxjZnwSoKkg== ARC-Authentication-Results: i=1; smtp4.osuosl.org; dmarc=pass header.from=amarulasolutions.com; dkim=pass header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=KOdmDfRt; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796218244; bh=9mRcB7SNyDDYpLZ6lUkNP/pBIU+DY/uPun5RPNRQvdI=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=qIk7tw1GS96uPsfMpsuj77rv45kSH3WKV963VVPdd8gjkqq2rdQTIGgUBlaj6tF7X /J1avRS7G8iDuvOmJy8aK3dLUcE6lFZ2cfpZgNtHiEkJbNIJlANKrOZNseSg5ByDPu 69RNPLAu1tS0XfXsSf8sCyqo4Yj3VdNwSfLa7Hkq0HwPQP25i79GlE66KY5keZgubJ ND6WxVMxLwDUvj0TFMiL+GaI0bLT8ne0PmoL7/G6mZ3FzqviSBV+iPIdKwT99G7Gu7 RUQpwCTpaWZlgd2BPrPtMZ01jt0TiH+uOYK0O/fvsXLKR4wuJmEnci3cmofKtyqgR4 udH0AfMvRk4hw== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 16FD740935; Wed, 2 Dec 2026 13:30:44 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists1.osuosl.org (Postfix) with ESMTP id 6A09D765 for ; Wed, 2 Dec 2026 10:27:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 5C69F40794 for ; Wed, 2 Dec 2026 10:27:28 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 89MeZ0y016BB for ; Wed, 2 Dec 2026 10:27:27 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org D08F0406C1 Authentication-Results: smtp4.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::32c" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::32c; helo=mail-wm1-x32c.google.com; envelope-from=dario.binacchi@amarulasolutions.com; receiver= Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp4.osuosl.org; dkim=pass (1024-bit key, unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.a=rsa-sha256 header.s=google header.b=KOdmDfRt Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by smtp4.osuosl.org (Postfix) with ESMTPS id D08F0406C1 for ; Wed, 2 Dec 2026 10:27:26 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4a2d6d01ecbso68178885e9.0 for ; Wed, 02 Dec 2026 02:27:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1796207245; x=1796812045; darn=lists.u-boot-project.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=9mRcB7SNyDDYpLZ6lUkNP/pBIU+DY/uPun5RPNRQvdI=; b=KOdmDfRthAdZ7A/BDS+CpZ9qF2TOA2CCCC1onl5T4CG9V7EvhITm/0BqVH17DLxodB QbUsjh8Tr2xDs1EwmkK3PCAD62iHqvL05haUb01MGPmkHVqMiU82xBrXEYWUy0fY2f6V Mr+kriH4A1qOs+to4VRYX1dlhEY1xRmE8NFy4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796207245; x=1796812045; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=9mRcB7SNyDDYpLZ6lUkNP/pBIU+DY/uPun5RPNRQvdI=; b=MHTyP5bbjdbOTW/ARmb/j1Yceou5BNRh+WLv93fzCPHqvOMyyvUNMC/oTebgWMSftf 9YbvX23t5zeVNLJ7VSgUASQCAxeze6F4GsJE3ccv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mPEMsKzqs0Sd3x+XVyO X-Received: by 2002:a05:600c:3ba3:b0:4bb:7571:5743 with SMTP id 5b1f17b1804b1-4bb88813444mr910989205e9.27.1796207244681; Wed, 02 Dec 2026 02:27:24 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:6962:3ebc:7df:e6bf]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bbbaeb1e4csm366823865e9.13.2026.12.02.02.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 02:27:24 -0800 (PST) From: Dario Binacchi To: u-boot@lists.u-boot-project.org Cc: Heiko Schocher , linux-amarula@amarulasolutions.com, Peng Fan , simon.holesch@bshg.com, Marek Vasut , Valeriy.Yatsenko@bshg.com, Leonhard Hesse , michael@amarulasolutions.com, Miquel Raynal , Dario Binacchi , Anatolij Gustschin , Andrzej Hajda , Brian Ruley , David Lechner , Fabio Estevam , Ilias Apalodimas , Jaehoon Chung , Joe Hershberger , Johan Jonker , Julien Stephan , Lukasz Majewski , Maksim Kiselev , "Markus Schneider-Pargmann (TI)" , Minkyu Kang , "NXP i.MX U-Boot Team" , Neil Armstrong , Sakari Ailus , Stefano Babic , Tom Rini , Vinod Koul , Ye Li , u-boot-amlogic@groups.io Subject: [PATCH v3 00/26] Support display on the BSH SMM S2/PRO boards Date: Wed, 2 Dec 2026 11:26:11 +0100 Message-ID: <20261202102716.572884-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 02 Dec 2026 13:30:26 +0000 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 This series was created out of the need to support simple-framebuffer for BSH boards SMM_S2 and SMM_S2PRO. To achieve this goal, it was necessary to develop additional code and/or drivers for all the required components (i. e. clock, power domain, video, etc.). Compared to v2, the panel runs at 60 Hz, as in the changes submitted for the Linux driver [1], and the DSIM bridge is set up as the Linux driver does, so that Linux can take over the running display without a modeset [2]. Tested on the BSH SMM S2 PRO. [1] https://lore.kernel.org/r/20261202100443.565075-1-dario.binacchi@amarulasolutions.com [2] https://lore.kernel.org/r/20261122153032.2782768-1-dario.binacchi@amarulasolutions.com Changes in v3: - Say in the commit message that the parents are not changed - New patch - Set the command allow value and clamp the porches and the sync length as the Linux driver does - Get the PLL input frequency from samsung,pll-clock-frequency - Set the pixel clock to 63.861 MHz to get a refresh rate of 60 Hz, as in the changes submitted for the Linux driver - Set the video PLL rate to the pixel clock of the panel - Add "clk: imx: pll14xx: add 63.861 MHz entry for PLL1443x" - Run the panel at 60 Hz - Set up the DSIM bridge as the Linux driver does Changes in v2: - Add patch, replacing "clk: imx8mn: Mark IMX8MN_SYS_PLL2 and IMX8MN_SYS_PLL3 as enabled" with a generic solution - Reword subject and commit message to describe the change - Fix the coding style of the new clocks - Add patch - Rebase on top of the parent enabling now done by clk_set_parent() - Read the flags from the private clock - Add CLK_SET_RATE_UNGATE support - Treat an error pointer returned by clk_get_parent() as no parent - Reword subject and commit message - Fix build error - Drop i.MX8MP support, already provided by the imx8mp-mediamix driver - Let the power domain uclass count the domain references - Check the domains allocation - Reword subject and commit message - Look up a device as a bridge before looking it up as a DSI host - Reword commit message - Add patch, split from "video: Update mxsfb video drivers for iMX8MM/iMX8MN display" - Add patch, split from "video: Update mxsfb video drivers for iMX8MM/iMX8MN display" - Move the coding style fix and the DE polarity change to separate patches - Bind the DSI host to the DSIM node and drop the "samsung,sec-mipi-dsi" compatible - Fix typo in a comment - Drop the dsi-host node - Add commit message - Drop the custom boot-on properties added to the Linux device tree - Drop the #if guard around smm_s2_setup_simplefb() - Fix the style of a comment Dario Binacchi (10): clk: ccf: enable the critical clocks when they are registered clk: clk-uclass: fix parent reference counting in clk_set_parent() clk: imx: pll14xx: add 63.861 MHz entry for PLL1443x video: mxsfb: add missing space after if boot: fdt_simplefb: add a debug message video: mxsfb: support simple frame-buffer video: bridge: samsung: support simple frame-buffer imx8mn_bsh_smm_s2/pro: support simple frame-buffer imx8mn_bsh_smm_s2/pro: enable simple frame-buffer imx8mn_bsh_smm_s2/pro: add splash screen with BSH logo Michael Trimarchi (16): clk: imx8mn: register the main_axi, noc and gic clocks as critical clk: implement CLK_OPS_PARENT_ENABLE and CLK_SET_RATE_UNGATE clk: imx8mn: add video clocks support power: domain: add i.MX8MM/i.MX8MN display block control driver video: Add video link framework video: bridge: Add check_timing interface video: dsi_host: add disable host interface video: mxsfb: set the DE polarity from the display timings video: Update mxsfb video drivers for iMX8MM/iMX8MN display video: Enable DM_UC_FLAG_SEQ_ALIAS for display and bridge phy: dphy: add support to calculate the timing based on hs_clk_rate phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure}) phy: dphy: Correct clk_pre parameter video: bridge: Add Samsung DSIM bridge video: Add Synaptics R63353 panel driver imx8mn_bsh_smm_s2/pro: Enable display on reference design .../dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi | 18 + board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c | 72 + boot/fdt_simplefb.c | 2 + common/stdio.c | 4 + configs/imx8mn_bsh_smm_s2_defconfig | 21 + configs/imx8mn_bsh_smm_s2pro_defconfig | 21 + drivers/clk/clk-uclass.c | 70 +- drivers/clk/clk.c | 15 + drivers/clk/imx/clk-imx8mn.c | 105 ++ drivers/clk/imx/clk-pll14xx.c | 1 + drivers/phy/meson-axg-mipi-dphy.c | 2 +- drivers/phy/phy-core-mipi-dphy.c | 36 +- drivers/power/domain/Kconfig | 7 + drivers/power/domain/Makefile | 1 + drivers/power/domain/imx8m-blk-ctrl.c | 355 ++++ drivers/power/domain/imx8m-power-domain.c | 166 +- drivers/video/Kconfig | 14 + drivers/video/Makefile | 2 + drivers/video/bridge/Kconfig | 13 + drivers/video/bridge/Makefile | 1 + drivers/video/bridge/samsung-dsi-host.c | 1570 +++++++++++++++++ drivers/video/bridge/samsung-dsim.c | 165 ++ drivers/video/bridge/samsung-dsim.h | 20 + drivers/video/bridge/video-bridge-uclass.c | 11 + drivers/video/display-uclass.c | 1 + drivers/video/dsi-host-uclass.c | 10 + drivers/video/mxsfb.c | 142 +- drivers/video/synaptics-r63353.c | 228 +++ drivers/video/video_link.c | 448 +++++ include/configs/imx8mn_bsh_smm_s2.h | 1 + include/configs/imx8mn_bsh_smm_s2_common.h | 4 + include/configs/imx8mn_bsh_smm_s2pro.h | 1 + include/dsi_host.h | 8 + include/linux/clk-provider.h | 12 +- include/phy-mipi-dphy.h | 3 + include/video_bridge.h | 20 + include/video_link.h | 19 + tools/logos/bsh.bmp | Bin 0 -> 10644 bytes 38 files changed, 3524 insertions(+), 65 deletions(-) create mode 100644 drivers/power/domain/imx8m-blk-ctrl.c create mode 100644 drivers/video/bridge/samsung-dsi-host.c create mode 100644 drivers/video/bridge/samsung-dsim.c create mode 100644 drivers/video/bridge/samsung-dsim.h create mode 100644 drivers/video/synaptics-r63353.c create mode 100644 drivers/video/video_link.c create mode 100644 include/video_link.h create mode 100644 tools/logos/bsh.bmp --- base-commit: c1958b5f6cce03956d309ce422b5d9f819955d4a branch: display-v3 -- 2.43.0