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: 13468878 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 85A6BC4167B for ; Sun, 26 Nov 2023 15:46:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2088710E0A2; Sun, 26 Nov 2023 15:46:38 +0000 (UTC) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by gabe.freedesktop.org (Postfix) with ESMTPS id ECF5A10E0A2 for ; Sun, 26 Nov 2023 15:46:34 +0000 (UTC) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-54b18dbf148so1586304a12.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.freedesktop.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=PFYha7uvKq/1aHQdRNc9zvRaBYjwsuIj0CI95GfhvZV9Yhq/NGPhvKS4cWxuT3SvFs 2C1ZOlDsljMuY08FMBPTltufGVhCREnlEGVhUlM+4A+6yfucD+iuI9pfEYuk9atGVQz1 qVzaIBivHu6ikIOOt1kpC6+G/jFKPYVQp5rLM= 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=BPZH5HpPqYMgaRQ57glh93SiOC6k4fxA5GZG/VB5ZNzQ8xe88W/nqzyGOX6P/nIo06 UDuGs0s+B3M3w+DgMIqaaowU7at4s3bcNFejkftH9SI3AgipiGLILFjFjDEkyqNNzGIQ TgPYLjGgOlRw+yHDboKevyup+gCHhLtrVxCMB6V78glVpKt1I0LUviQV+jzNM8P1hutz +5ACq9ueeSjOpSFK7IaMfNdyjmFI3SeTdVjioYY5KKWF9ZTlTpQV/6RQu0p0/F+/IXRv Lk1W8y9cKMHJrUdAbAAwD/qH8Ixf9quR1e9g0V0Fcu0BgMcTwR3LQESU+8q0NMp9c5aR 1dvg== X-Gm-Message-State: AOJu0Ywcs6BWozA09COELItQmHVkKnqAQ6kwSkdseZlkTgJj3RIKiEoZ uQMVvajaTm9DhjYnVBJGVn97Rw== 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 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-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: Peng Fan , Krzysztof Kozlowski , Sam Ravnborg , dri-devel@lists.freedesktop.org, Frieder Schrempf , Andrzej Hajda , Dario Binacchi , Marek Szyprowski , Robert Foss , Dave Stevenson , Jernej Skrabec , NXP Linux Team , Jessica Zhang , michael@amarulasolutions.com, Jagan Teki , devicetree@vger.kernel.org, Conor Dooley , Pengutronix Kernel Team , Jonas Karlman , Sascha Hauer , Maxime Ripard , Rob Herring , linux-arm-kernel@lists.infradead.org, Neil Armstrong , Thomas Zimmermann , Shawn Guo , Amarula patchwork , Laurent Pinchart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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