From patchwork Mon Jun 21 07:24:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12333963 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A8A2C48BE5 for ; Mon, 21 Jun 2021 07:24:41 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DE41060E0C for ; Mon, 21 Jun 2021 07:24:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DE41060E0C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 452E789D8D; Mon, 21 Jun 2021 07:24:40 +0000 (UTC) Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by gabe.freedesktop.org (Postfix) with ESMTPS id 59DFD89D8D for ; Mon, 21 Jun 2021 07:24:39 +0000 (UTC) Received: by mail-pg1-x529.google.com with SMTP id i34so7802396pgl.9 for ; Mon, 21 Jun 2021 00:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4Mz90SrmvetiiKOz2FA2/q5WPVb/5Mateql9uC1osYI=; b=LH6roB4QN50Ss3fd6q+CBK16FfSLRV/++biPwO3AeQTv8PFz5YsC987Yl5PrPtbQUR grYaD4IXKWdJJOg4dF6BckzRXAb951oI2Olp611oMhF3JgfviD5I5Jhy/q+gsRLvIMqk koZVmpZYLZherETZSArj4lMgsAiX7fGYNfJ8E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4Mz90SrmvetiiKOz2FA2/q5WPVb/5Mateql9uC1osYI=; b=mr/vk6KJ5tW6RHsEunZz3XnxG5nqxLUAGQnX9PXZLJI1uj6vDrGnlBk5hZCHNyy2Rb j+FHLefCOTUwEVYXzYHlNDroIeovHG5m6srmh1PgEnRX0RhnUe+ro8UbLJqEpOozW3Ut ofPOE4mEMLTHlrh6efwq5u+JQ3xZA5EQrrdGSnQ4pw7urbgRUT2XK13PAzp371xq1Rgp JDunhcE+OHSRVkCccpN6u/XhJx+oFLsriI3NXdUZ9yxkAaHqBQkc9441EmWFXngv5h3D TMXIn9We+JOzucKc+JXZLUwas0LOpwtTmnnpcX2JSBEli/QeZAwvpnCG10JeCfkwDZIl X4qg== X-Gm-Message-State: AOAM531cKR4KfGtp05F8rjZ8kZJgKIHRg6sdNNZGEVRRWgpFDPrpMkcF ijmqk87IDVawGyroa9etd8eDvg== X-Google-Smtp-Source: ABdhPJxiCxvGt4Lvg95BHdbOmEwOZrpqM6XZznMkEdEE3H9U0aYNeyTH/9EQGYu7BduM/FJvQrX1Kg== X-Received: by 2002:a63:ef04:: with SMTP id u4mr22267854pgh.429.1624260278855; Mon, 21 Jun 2021 00:24:38 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a884:139:e97f:a55d:7f66]) by smtp.gmail.com with ESMTPSA id 21sm13951294pfh.103.2021.06.21.00.24.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Jun 2021 00:24:38 -0700 (PDT) From: Jagan Teki To: Peng Fan , Shawn Guo , Sascha Hauer , Tomasz Figa , Fancy Fang Subject: [RFC PATCH 0/9] arm64: imx8mm: Add MIPI DSI support Date: Mon, 21 Jun 2021 12:54:15 +0530 Message-Id: <20210621072424.111733-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Francis Laniel , Matteo Lisi , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, NXP Linux Team , Milco Pratesi , Anthony Brandon , linux-phy@lists.infradead.org, linux-amarula@amarulasolutions.com, linux-arm-kernel@lists.infradead.org, Jagan Teki Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This series support MIPI DSI on i.MX8MM. It worked directly with existing mxsfb driver but the SEC DSIM timings has to be validate and tested through all platforms, ie reason I'm sending it as RFC. Tested on Engicam i.Core MX8M Mini SoM. patch 1: dt-bindings for SEC MIPI DSIM patch 2: SEC MIPI DSIM bridge driver patch 3: dt-bindings for SEC DSIM DPHY patch 4: SEC DSIM DPHY driver patch 5: MIPI DPHY reset enable in blk-ctl patch 6: display mix blk ctl node patch 7: eLCDIF node patch 8: MIPI DSI pipeline nodes patch 9: Enable LVDS panel on EDIMM2.2 Note: - all these patches on top of Peng Fan's blk-ctl driver. - anyone interest, please have a look on this repo https://github.com/openedev/linux/commits/imx8mm Any inputs? Jagan. Jagan Teki (9): dt-bindings: display: bridge: Add Samsung SEC MIPI DSIM bindings drm: bridge: Add Samsung SEC MIPI DSIM bridge driver dt-bindings: phy: Add SEC DSIM DPHY bindings phy: samsung: Add SEC DSIM DPHY driver soc: imx8mm: blk-ctl: Add MIPI DPHY reset enable arm64: dts: imx8mm: Add display mix blk ctl arm64: dts: imx8mm: Add eLCDIF node support arm64: dts: imx8mm: Add MIPI DSI pipeline arm64: dts: imx8mm-icore: Enable LVDS panel for EDIMM2.2 .../display/bridge/samsung,sec-dsim.yaml | 184 ++ .../bindings/phy/samsung,sec-dsim-dphy.yaml | 56 + .../freescale/imx8mm-icore-mx8mm-edimm2.2.dts | 90 + arch/arm64/boot/dts/freescale/imx8mm.dtsi | 104 ++ drivers/gpu/drm/bridge/Kconfig | 15 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/sec-dsim.c | 1535 +++++++++++++++++ drivers/phy/samsung/Kconfig | 9 + drivers/phy/samsung/Makefile | 1 + drivers/phy/samsung/phy-sec-dsim-dphy.c | 236 +++ drivers/soc/imx/blk-ctl-imx8mm.c | 4 + include/dt-bindings/power/imx8mm-power.h | 5 +- 12 files changed, 2238 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/samsung,sec-dsim.yaml create mode 100644 Documentation/devicetree/bindings/phy/samsung,sec-dsim-dphy.yaml create mode 100644 drivers/gpu/drm/bridge/sec-dsim.c create mode 100644 drivers/phy/samsung/phy-sec-dsim-dphy.c