From patchwork Fri Apr 21 15:43:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13220264 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 6A84BC7618E for ; Fri, 21 Apr 2023 15:44:31 +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=aLUU2vUiueX1/iTE0f3zkmTXt7MaVm4+4S8HH5BST2M=; b=FxsHZJRWBu7RLe /XA2udQkz2LJhLxqqeM8Lfvv1pdooqUWbhYpb0VQud/AWoo3OhlzSXGQ7CQYChYb18+EX8LzqH/gh oGVQDfI/tQJY2TZJkUeCYImCpGW3W3NktkmlZLT9yoCVanOXXVu8lumTa7QOpye/p63O6TS7yP2my BpajKuURvSZoMmLtQJNgdKz2uYrsbz4obGgMM+/5D7k85r10PlOhdnhZTNJvWJXJYQxZeA7rJ3sJP s7OcGvoqhesGIC9LYOZ+IKnpv5xXRkz66n0FsI9lltg7V0Gcgcs+Isxq/bYLbtLAlvxuNAoP5z0t8 9Keb4hrh+aCwgcKku4PA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ppsv8-00BJ2D-0H; Fri, 21 Apr 2023 15:43:34 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ppsv4-00BJ13-1i for linux-arm-kernel@lists.infradead.org; Fri, 21 Apr 2023 15:43:32 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3f17e584462so19313545e9.2 for ; Fri, 21 Apr 2023 08:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1682091807; x=1684683807; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=sMEnXGj3u+SXU62VeCg+ELIQZXSDTJJuwOrlP/w5GEs=; b=bdUvv3JfOrVw/zILmIes6bmwuMa+wnr3MHyk5xmXizhrYrELmhf88wjSE2cmqquS3a fWkYFNsTAITXrjT18M9bgM1Dh+1PDe5JLBYYdc01bsQz4Ic1bTUPxA2yME+bnBil0/zO vKvbP/OAgkv4PS4aibBMZF8S757anBEQEaIrM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682091807; x=1684683807; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sMEnXGj3u+SXU62VeCg+ELIQZXSDTJJuwOrlP/w5GEs=; b=AmUNI30Hr6g1JQbzCFS5jXhKFwnZgJwhMhUAjhzSeVXbrO5z1pL4qS2S8sz6Qiwo7/ CfYB/jRrgPDn/nSrqsZW7ceh3ZlTQJurpCnnTxILInMkJ7gi2rJ+pkp78BODTXFDoBOB CLdDE+iWsDX5IslHL2m/mfVJE0CGqXX2lunPSBYhOhWz1UJHh6bvIRGGcIxDgx9YJ7D5 fht4ZYCRxX1k0q1W8IkmHagv8NZCZv/d1Sjc9Zs+Tz+LdpRrS1LfrmEN7slc+3LCDOBF WMmHLHUu3Ffk7JFdc08b+k6x8IPk/RYPjgsRss08/ExAq5lADLWYwC14LUhwI7dv+BYi psGg== X-Gm-Message-State: AAQBX9cIZLBNBY9wOibYcCnJbNZ25fggF3d45F9Uk5g8FNRADUtEjo/y wb+7y4vxtLm9phS6rNisCHpTDw== X-Google-Smtp-Source: AKy350YnSQtq123y2pQ09gEzQfB5N3RkWCbeSE+y7DhwsFraKIM8xPzW/lvSXmN6tH+XvnykN9Qt2w== X-Received: by 2002:a7b:cb47:0:b0:3f0:967e:2cfb with SMTP id v7-20020a7bcb47000000b003f0967e2cfbmr2410174wmj.36.1682091807382; Fri, 21 Apr 2023 08:43:27 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.. ([37.159.127.129]) by smtp.gmail.com with ESMTPSA id g18-20020a5d5552000000b002e51195a3e2sm4651609wrw.79.2023.04.21.08.43.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 08:43:26 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork , Dario Binacchi , Adam Ford , Daniel Vetter , David Airlie , Fabio Estevam , Jagan Teki , Krzysztof Kozlowski , Marek Szyprowski , Marek Vasut , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sam Ravnborg , Sascha Hauer , Shawn Guo , Thierry Reding , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/7] add displays support for bsh-smm-s2/pro boards Date: Fri, 21 Apr 2023 17:43:01 +0200 Message-Id: <20230421154308.527128-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230421_084330_626176_9E432BF4 X-CRM114-Status: GOOD ( 13.48 ) 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 The series adds drivers for the displays used by bsh-smm-s2/pro boards. It has been tested applying it on top of these patches: Adam Ford (6) arm64: dts: imx8mn: Add display peripherals drm: bridge: samsung-dsim: Dynamically configure DPHY timing drm: bridge: samsung-dsim: Fetch pll-clock-frequency automatically drm: bridge: samsung-dsim: Fix PMS Calculator on imx8m[mnp] drm: bridge: samsung-dsim: Support non-burst mode drm: bridge: samsung-dsim: Support multi-lane calculations Series "drm: Add Samsung MIPI DSIM bridge" (https://lwn.net/Articles/925754/) Marek Vasut (1): 0adce1be8dc0 drm: bridge: samsung-dsim: Add i.MX8M Plus support Jagan Teki (9): 0a98655a08cc dt-bindings: display: exynos: dsim: Add NXP i.MX8M Plus support b25b5384e27d drm: bridge: samsung-dsim: Add i.MX8M Mini/Nano support ee83295c036d dt-bindings: display: exynos: dsim: Add NXP i.MX8M Mini/Nano support f18605b9b682 drm: bridge: Generalize Exynos-DSI driver into a Samsung DSIM bridge 8ab12dbce060 drm: exynos: dsi: Add host helper for te_irq_handler c37c8e89af38 drm: exynos: dsi: Consolidate component and bridge 11276ea9964a drm: exynos: dsi: Add atomic_get_input_bus_fmts 2fe8a5f92c08 drm: exynos: dsi: Add input_bus_flags 5d79cf173994 drm: exynos: dsi: Add atomic check Marek Szyprowski (1): b9ad1112014d drm: exynos: dsi: Handle proper host initialization Jagan Teki (5): 93b2ce0c329d drm: exynos: dsi: Introduce hw_type platform data 83d704dc0cf6 drm: exynos: dsi: Add platform PLL_P (PMS_P) offset f25b304ea948 drm: exynos: dsi: Mark PHY as optional 6c59da2ae519 drm: exynos: dsi: Lookup OF-graph or Child node devices 2186e15100de drm: exynos: dsi: Drop explicit call to bridge detach Michael Trimarchi (7): dt-bindings: display: panel: Add synaptics r63353 panel controller drm/panel: Add Synaptics R63353 panel driver arm64: dts: imx8mn-bsh-smm-s2/pro: add display setup dt-bindings: display: panel: Add Ilitek ili9805 panel controller drm/panel: Add Ilitek ILI9805 panel driver dt-bindings: ili9805: add compatible string for Tianma TM041XDHG01 drm/panel: ilitek-ili9805: add support for Tianma TM041XDHG01 panel .../display/panel/ilitek,ili9805.yaml | 61 +++ .../display/panel/synaptics,r63353.yaml | 58 +++ MAINTAINERS | 12 + .../freescale/imx8mn-bsh-smm-s2-common.dtsi | 1 + .../freescale/imx8mn-bsh-smm-s2-display.dtsi | 111 +++++ drivers/gpu/drm/panel/Kconfig | 16 + drivers/gpu/drm/panel/Makefile | 2 + drivers/gpu/drm/panel/panel-ilitek-ili9805.c | 418 ++++++++++++++++++ .../gpu/drm/panel/panel-synaptics-r63353.c | 376 ++++++++++++++++ 9 files changed, 1055 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9805.yaml create mode 100644 Documentation/devicetree/bindings/display/panel/synaptics,r63353.yaml create mode 100644 arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-display.dtsi create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9805.c create mode 100644 drivers/gpu/drm/panel/panel-synaptics-r63353.c