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: 2854 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2C1CE3F07F for ; Fri, 21 Apr 2023 17:43:30 +0200 (CEST) Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-3f173bd0fc9sf10969945e9.3 for ; Fri, 21 Apr 2023 08:43:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682091809; cv=pass; d=google.com; s=arc-20160816; b=zOEbZ3axp7qcrUsFPt+8wci0sKZ4KtrdQJfVtd+L3UMTQepl5SxhV1C3OX/1yOoNUM YQK0RslxNQX/aOKpBQe3WZheNYINfXey2PyxiWs3lYGnk0tbQukYV/NBeSYGd9gH2xkb Qnut3D0Vrwou+u8Iz5aUP1qNosnb6rviBq8UMNiGO5VsF6obCZNvyYxSY51+xa70IpN7 zbWspzkqt/lBHm+43IxTzZtD2ocVo5EEVTA4wgYyxDzQmI5SXY7xivQnsK2CY90XkzGm 4omrs5zTwX35/NqxTq/jEXag+9oMIqZm9HsQWFejkUFTsHOF2yK5tO6LO9OEeiGivLq+ 1Cfg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=3OishshSHrY1ro4/c1kd2auGCbFRHeYXDXU7YbZZGYc=; b=pdLDqP+v/jbg9KTFRsujU4A0Hfljo3ihq7cfeKYWEalIK5IAcnQAofCNIAHlZf/D9v AhKbMEGNT/pl20bJDJSeX008vHV82c0XMDLUnvGjzlvlYTSOwPQFq882mHc0zm2Vkd6d z9MtDRX6QxtxY5Vj9/Q9zoVyBlkw7BeofY4TUsjb5SRH6ONzIlLCcI3xN5MYfGibBjut UK7tfgsLYQ/6M63nEGKhjz//I9x/g5EfOAVd5/ef/fZ7xu5zz94+vJHO/82yeXtQHn9b MscFGYEurnJCSutPMJGzWkWC9CuHUlHMEpmX8IqIMfOzGeK2OJ0gmOcXz3f2HRrqesJk AQJg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bdUvv3Jf; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1682091809; x=1684683809; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=3OishshSHrY1ro4/c1kd2auGCbFRHeYXDXU7YbZZGYc=; b=SJuDYhCnU1E9LYd2+h+HtbWetzbFCmhVcbK0vht10Sdg/S+eA+w7wuHW+84JWNmhQi X75mNBnEzjQCI50Nw0M88U/43nEPXfZDzkB6AF/dyxxoKD1pXn4IlqWxKj1vuVisLcWW dMm7Wp8inPPm4rTzTU/BB6xLCVdxmPuC+605w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682091809; x=1684683809; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=3OishshSHrY1ro4/c1kd2auGCbFRHeYXDXU7YbZZGYc=; b=REE6mgLuO2ZbZUOb6DZ/dFjZw67PJRbvQi1Y6qMnG74Dprtc8Rx5k0t78xhZDHwOgI uYFimyFZ0wdOZLzGOhOIHitOzzpT4c8wM9wejLaREoIRMfM919DUfQ/znCJvYt7cfr+L C+bq6ktw/RkeCIBb6vuKu3XcbiS/OATrcEuHH374/eB67xbvDoZNStRWkcY6tytcpbKU y6T8qEdAjSapBjBAB0oWbcKnejSGYG+uK+nbrSF6BswoTaRhyt/mNzH14oXAsY+EU8dB x//ejourEhQyuXSlzkL/RRQDK8ni6kheaEni3fz0dd1Uk1oj06cYTNbi5z/qJ2CEhWCW tz8g== X-Gm-Message-State: AAQBX9fVgq/1me3YgWwNX1jirBWR4/PoqerggUudMeuLP2NMbvsSWtSC esZHmW3q2tI7BZ88jwQkjndLOhUQ1Ebn83BA X-Google-Smtp-Source: AKy350Yy3dQCnVlVpDPyjAgGsrHyRaiQh+Apjb89cLqa/eNGBJvkt+vGRsbHNRDQxT/SXFg3OYLyPQ== X-Received: by 2002:a5d:4fcd:0:b0:2f8:5130:522e with SMTP id h13-20020a5d4fcd000000b002f85130522emr760333wrw.8.1682091809520; Fri, 21 Apr 2023 08:43:29 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:600c:3d93:b0:3f0:b128:14c0 with SMTP id bi19-20020a05600c3d9300b003f0b12814c0ls2602877wmb.2.-pod-control-gmail; Fri, 21 Apr 2023 08:43:28 -0700 (PDT) X-Received: by 2002:a05:600c:212:b0:3f1:93c2:4df7 with SMTP id 18-20020a05600c021200b003f193c24df7mr1997867wmi.5.1682091807867; Fri, 21 Apr 2023 08:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682091807; cv=none; d=google.com; s=arc-20160816; b=HQNZ5Los2dNs8ozMnCW6HrOI0ZBZ91Q4iwG50mMbzNO1T3Trx9PB+716Rv6eGC1cTl 09bWRuudK2PZGbMYmv0mFUALBs5EPZWkM43/KZbH2OhnPrn2igYxuXv4kJGs3iOznnMO kt6PuBGXEsA/6uZTu9R4/ZdyJYrUEhoIAFOGkBpI0iFLJiVKVGr4Kt1nlKp6lgH9M+PN FYHajlhd3e2PIMJJdgrydYYYq1sbO/goc7PVWVCQJoRrDrAkS49mMzmX7DxzL1ZlzyYz uORekyo2D+1VzJjwyxTMcTPcJ24fMG6IKOSfFftcj0piVuTYeDnZ7t8nxuk8WSelN2rn cp3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=sMEnXGj3u+SXU62VeCg+ELIQZXSDTJJuwOrlP/w5GEs=; b=tGju/8EMe+urUl8OkYSx6i183tFm/isXLPdhcEfi2jCBTjGb4AwigerTyTfAf1pUkX xXO5NkpFJwycYSuTjyb1OCRbhT+leQrK8umUub7U5p7UQ/8VIjS2byju5FdBiGztLjvi IHwy/2iq0m/5ee38lMnjxnxvyWUVs7/x+dVkPHtu8h6e07S1Qbz5xxIouNFxa8uR8m7F 07jom59nCskXY8ttpDPZw7t3xoAyz80HWaaDVM0PAsA7t4MFJ7337qHho3j5N7WzxmBg Scnnxsb4qzLOXhMH0laS1RBVHz0+l/n6NlXmZKwa8q2oovUrZXQjS6hWkSAA3WOeulMS VfJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bdUvv3Jf; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id n24-20020a1c7218000000b003f172db455bsor1454389wmc.34.2023.04.21.08.43.27 for (Google Transport Security); Fri, 21 Apr 2023 08:43:27 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bdUvv3Jf; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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