From patchwork Sun Nov 26 15:44:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13468888 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 23B7DC4167B for ; Sun, 26 Nov 2023 15:47:17 +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=Hq2RSlga5vH0t7mq4vOS3xaulgssL9HOGTqcs1O6WB8=; b=VS/I0WcYtSgr54 M6Zpx3c5CeyTEK45KP4teFD6eVEU22xt88DA9aFne+yx8Uyl16WmTcgmpD2ekzPF6jocWSxMSXLPT FnZNcDDkptnmNqUA7SCyFeQt19OTN9H6uNgC73pVkVnWfrTUoxeon+uBghAM93qCe5+BppXDckDHo eDWi4LFYGv6lL46b3GgeSBI9ezdR7fuy5zHyC0hegjvMNm5UVMaCez/8Bjz4GMTS7CD7GLSUxfEk9 p1CdOP04HGV/J69aqVufOxy0jFf4Nwj23eFVLs5lKDE06F5bIUtJypDViarJDEisQX47BljEgaYWS BaZGp1zZ6kWLwtf8O39Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7HLJ-00CV3S-1L; Sun, 26 Nov 2023 15:46:45 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7HLG-00CUx5-0p for linux-arm-kernel@lists.infradead.org; Sun, 26 Nov 2023 15:46:43 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a06e59384b6so423756666b.1 for ; Sun, 26 Nov 2023 07:46:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1701013593; x=1701618393; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9NRiOseJ+HrnJijqkKCLC6KfYm1MOmk1OCYsL3w35U8=; b=jOu7RghVQEyvxwJq5II6rK5z1i+zuD94SC6JcPX+Cjdei/pgZpn45zvPqatgEm4MjW XMWau+5j5TJmiXSPiN2CB/7wmAykpAk/g3Nz9Lo7GMnzTzY4nR+88BlHAUDSSfwMnUNt vwvOWHpdLswWNFVnGe+FbcYgg3zGQZIxSlKi4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701013593; x=1701618393; 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=9NRiOseJ+HrnJijqkKCLC6KfYm1MOmk1OCYsL3w35U8=; b=pxIibRR2rVcpevBh3tmXvdd2VnK1N/SHo3IqZd7IT9xxojf0chEa/Ml8j3dw7hYTDl Yh3J9a8QZXNq1pmunMtYUQWhbMC3mfNJf4Uye64JqoJNntf6XGooFmxq/kGnmxqCNtLK LLac5ystjrFgAVt2ASTW6ypoRVrqxWQajiwQOA06mD9d+/zfH/v/b063fuaiv78mELjU Nh0TcBakqrcrVZQTxy4dXjCWT3XGGU7XzgDe5UIHAgXoSVHYFCSzrj4PGF7LEv+lw6Kq uy43Z8EPgOPXif/Ttci35KW9zSjTnYs8BN7DqJ4vT4Cwo+WIZR5Eww0BcGsH1sZT7C5a qF3g== X-Gm-Message-State: AOJu0YwoDXETjOqcJZDwIuo7lLOJLc8PrkCwIreYQg/126yvYdGEkJq4 MACBDxTvBPAbaXhTqsiOz/UVdQ== X-Google-Smtp-Source: AGHT+IEb53K6LDcvxA1JVS/ygRWYIX4dk43omNRLsXmu9w+lynQAvanumFjUNJA5PES2kP7X13+6BA== X-Received: by 2002:a17:906:2b52:b0:9dd:9380:bb15 with SMTP id b18-20020a1709062b5200b009dd9380bb15mr6186748ejg.50.1701013593129; Sun, 26 Nov 2023 07:46:33 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-95-244-100-54.retail.telecomitalia.it. [95.244.100.54]) by smtp.gmail.com with ESMTPSA id h24-20020a170906591800b009fdc684a79esm4656158ejq.124.2023.11.26.07.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 07:46:32 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , michael@amarulasolutions.com, Dario Binacchi , Andrzej Hajda , Conor Dooley , Daniel Vetter , Dave Stevenson , David Airlie , Fabio Estevam , Frieder Schrempf , Inki Dae , Jagan Teki , Jernej Skrabec , Jessica Zhang , Jonas Karlman , Krzysztof Kozlowski , Laurent Pinchart , Maarten Lankhorst , Marek Szyprowski , Maxime Ripard , NXP Linux Team , Neil Armstrong , Peng Fan , Pengutronix Kernel Team , Rob Herring , Robert Foss , Sam Ravnborg , Sascha Hauer , Shawn Guo , Thomas Zimmermann , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 00/11] Add displays support for bsh-smm-s2/pro boards Date: Sun, 26 Nov 2023 16:44:52 +0100 Message-ID: <20231126154605.15767-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231126_074642_315354_0EEE4663 X-CRM114-Status: GOOD ( 16.74 ) 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. This required applying some patches to the samsung-dsim driver and the drm_bridge.c module. Changes in v2: - Add $ref to panel-common.yaml - Drop port, reset-gpios, and backlight - Set port and backlight ad required - Replace additionalProperties with unevaluatedProperties - Adjust the timings of the panel reset - Adjust the mipi_dsi node based on the latest patches merged into the mainline in the dtsi files it includes. - Added to the series the following patches: - 0001 drm/bridge: Fix bridge disable logic - 0002 drm/bridge: Fix a use case in the bridge disable logic - 0003 samsung-dsim: enter display mode in the enable() callback - 0004 drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting Dario Binacchi (4): drm/bridge: Fix bridge disable logic drm/bridge: Fix a use case in the bridge disable logic drm: bridge: samsung-dsim: enter display mode in the enable() callback drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting Michael Trimarchi (7): dt-bindings: display: panel: Add synaptics r63353 panel controller drm/panel: Add Synaptics R63353 panel driver 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 arm64: dts: imx8mn-bsh-smm-s2/pro: add display setup .../display/panel/ilitek,ili9805.yaml | 64 +++ .../display/panel/synaptics,r63353.yaml | 61 +++ MAINTAINERS | 12 + .../freescale/imx8mn-bsh-smm-s2-common.dtsi | 1 + .../freescale/imx8mn-bsh-smm-s2-display.dtsi | 121 +++++ drivers/gpu/drm/bridge/samsung-dsim.c | 14 +- drivers/gpu/drm/drm_bridge.c | 9 +- drivers/gpu/drm/panel/Kconfig | 18 + drivers/gpu/drm/panel/Makefile | 2 + drivers/gpu/drm/panel/panel-ilitek-ili9805.c | 418 ++++++++++++++++++ .../gpu/drm/panel/panel-synaptics-r63353.c | 375 ++++++++++++++++ 11 files changed, 1088 insertions(+), 7 deletions(-) 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