Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2478714rdh; Sun, 26 Nov 2023 07:46:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGT7mxYuj92sQI7jgv+OcIbXwrAkn39vQ7av8h+Un8d0qtpwyy4Pka/jPoHoOQARaujZWP4 X-Received: by 2002:a05:6830:1d8f:b0:6d6:4c54:730a with SMTP id y15-20020a0568301d8f00b006d64c54730amr10850775oti.16.1701013618972; Sun, 26 Nov 2023 07:46:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701013618; cv=none; d=google.com; s=arc-20160816; b=sFh5RNI82Q8F0dWqdxoN+8onko4ZHekKac7cyobDrlA5VM4iah0cy2JLKF+zD4+bmb rlh7c9SE9ng/LkN2vQlChcaLueooAsp3Txicql3uOV0PLY6sl32WmJF70mGATvJyX3hB uorSnYUYG+0hHSWAZR1m4LnB52gYgsKQjNoJk8p6UdWm9Mog1CrXGab1Vm6yist8JtNo 2XDT/e+FPggBJeq+y+wnRMp5m1gH4xa+jYz4hcucaFMqKm1b11DE4PAwfhGnODC3gp6F GLvTJqEDwqCLJaLp1L4dpptEH/+b0Vw5EKE3h0PL2FaGTT3kg+1A9Et1fG5XxuSBYGG2 ZIKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9NRiOseJ+HrnJijqkKCLC6KfYm1MOmk1OCYsL3w35U8=; fh=fWXE7xZkft+BJufovS8ylNK/yOmrS7a8YmeD9ZOnRl4=; b=A+2HBO5G2W4HJochdQ5mbOiIMv265otdUQHbZSFcCrfovMea7gEDybpqyohjPyLO5W AoT0cjb+lddBhZ7RJAVeM1DxXbeAJ1W0EKl/28v8psI0Gxdo6BkQm6VWTBOVft366Gtd 7j7OmYs25GgAvDj2vp4jDseEgLmUIB+oKDTJrYiZzAh9qTKINOmRRzFRFsfh9d9DrlhD EB3Nnmz5mBRBTsnmFi1JsRDIJDnKrulmHHiliZqyqHySrR+HjI0heUjTKe4SUFuFuhV/ yewQsY4tPiE5vm5fl/h13qjtHLRv2WULIRlKXhTQIMU9lJt+LXj19uoGQkz/y1f2grzS 36ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q1JP71nM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 29-20020a630c5d000000b005bdbd1fe067si8077534pgm.141.2023.11.26.07.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 07:46:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q1JP71nM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 488F780657E5; Sun, 26 Nov 2023 07:46:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230254AbjKZPqf (ORCPT + 99 others); Sun, 26 Nov 2023 10:46:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230247AbjKZPq3 (ORCPT ); Sun, 26 Nov 2023 10:46:29 -0500 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55B3F18E for ; Sun, 26 Nov 2023 07:46:34 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a00a9d677fcso466236866b.0 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=vger.kernel.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=Q1JP71nMk6Gm3cEdgikVaOoELTDOZoQZie+e3piRLSeklXrYkvAYAhDEdNDf6qxCje 38xOcQ8gnVubMSPWSdbPabTjlFFGEu82J3R0pkOzb0YDhpRDsnpauNEGlgPMwYxW28PG 1KHfqERz5dij90Y1CCPlwrP/G/3GwLapeCAs4= 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=Fldpxnk/D8+JgiJ/KxVGVUOfBTB/Lj53gBn0ZejWF5tNARpkfr+8i6ESy4cFLbmV7E uxk4NRl3KiAie3ZuVChK6VMheTw9cHK3H94vJ+t1Y1IIxLeXzpaIa7kfaNyAc9LgOx93 keknSMbIqPTWszyN3NH8d4/unYmjBJszAF5F3f6C8bUMX6fYiQbxGQCQZk1szTvZqZS3 IPVUGZRNlnjPjqTxcpR1FwHr0EDOmVmj9hz7qI9VEYZcc0GwmclPTcirw4g6kyR1zLSt wrr4Aywgh/E6SwGh9VVRRGgb7oFqZLnI5zQ+SRXaUC0VNcac0PpcuU28BHSTIHVdQpQ/ ApVg== X-Gm-Message-State: AOJu0YyggLiVa5GNr3RIk5gvwkjtrQgxY0tt2gpr82ltGd3VgbYkyQER L3tEZnIoDx3V96L3zJVmbUSsEE4QDoy65vK4IdULXw== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 26 Nov 2023 07:46:57 -0800 (PST) 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 -- 2.42.0