Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1686077rdb; Thu, 7 Dec 2023 06:19:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFP0gKbHasF5bEWkjDacsjXBC3Y88LHAieGPZpbL7CXoAkAO3Peh0EGXTslLU7I7vAxnVMN X-Received: by 2002:a17:90b:4c10:b0:286:c54a:a1fd with SMTP id na16-20020a17090b4c1000b00286c54aa1fdmr2301690pjb.46.1701958778936; Thu, 07 Dec 2023 06:19:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701958778; cv=none; d=google.com; s=arc-20160816; b=aaEto0X+bNmXwl8fRSjU83pA5L2ILsG0B7PZ+9P4eXa3Itf0/Ojz/o3ZSSlmX2zUVW JmHGox15/DB9zUysvYutNevEYhXZUV4y7skIIiaTg1BJoVpMT32rBRZChS7uyxKoyret 8ywzvQL5Hudde1Vi4UwUBPgVo46TB/o3zJFdsIEbI3k4x/u1ghihxRedxatELcq1vPGD 1CmixYoGpyjl34caL7Qlhsly+98ckFgzgLMSCH6XeDBk0S9LdbuZDJDG45dDOx+YbSQ+ hHYmSifMId6VTmTS0BnVspudUX3fCv+UW+4DlhE1p/clwB0gzjf616Zb2SqD4I5qc+52 /l1Q== 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=mF9zOE4ExgVr9gQbxX7r7tJN+TXsbkHqJB5gcZ6w0c8=; fh=fWXE7xZkft+BJufovS8ylNK/yOmrS7a8YmeD9ZOnRl4=; b=nVXOw+LWSuZDQ9GtwL60JJvHvhNOORHzd5EPHyXrwDHHIIAUXkHQkXgEgtAIk2I9aD ++QCPk3OUrVMuCEuFqpuISQS+oFA5mLy96uokQcsqA/Le+TwwDOW9xO2UYtPgIvG3ljv 7tlpe9MEeB0YFGYcHuArUzDzOMhIZNLUmMpbUs5wqmO8ofoQxAvkx4893E5Qt0v8UFQn bU8V5eAVA+tmWoTE6r7NbppXIBV9MYchq8P6JaZobfAszScHwwUvC4u37wVj6NUNAIQ1 HHSAQjBATb8bf9FWnC7bcuENPijaQcyGisLXm87ZlpPPrd/UTyslLgiaxhY8+8Ih0JT7 259w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gkqUgshk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id a6-20020a17090a854600b0028644ca705fsi1151586pjw.140.2023.12.07.06.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:19:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gkqUgshk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id C8D6B8044336; Thu, 7 Dec 2023 06:19:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443217AbjLGOSt (ORCPT + 99 others); Thu, 7 Dec 2023 09:18:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443280AbjLGOST (ORCPT ); Thu, 7 Dec 2023 09:18:19 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA2681BE7 for ; Thu, 7 Dec 2023 06:17:32 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-54c77e0832cso1273689a12.0 for ; Thu, 07 Dec 2023 06:17:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1701958648; x=1702563448; 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=mF9zOE4ExgVr9gQbxX7r7tJN+TXsbkHqJB5gcZ6w0c8=; b=gkqUgshkXTn9FN3WXcSwK/GeAEnGkAvbDsiQtx5Lj8YfSQw59qhBbV6Jv8j8MalJAZ rcLSqJfRPRMzvfNg1e5+lSKAz6YQT3jiVXJATvA3V528TrhJWEhHLRejATYCxaotuERX FyrdBlo6Slr3lYmxuMr7qLdRxF9mCT+Aq8t+M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701958648; x=1702563448; 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=mF9zOE4ExgVr9gQbxX7r7tJN+TXsbkHqJB5gcZ6w0c8=; b=H1i1sMjQRU7NdUz5fnaL9c6jyojquwggL6van1SAJFlFX2ynHr7f+5nbZE2jNSSRAo d+oWK87QCR53FcAaksU7pLg8op9nnBHtedwtLzhEVbEOQNVSjdcuJyvrOtLxpv+VyLRI HpnhG/4u4IgI1NIWP6QVCO8wvDYo/JJyLhY7/PujwhoRRpmAQBZJtIpbS4ePynfSjgaD Eal1epSqCKli7hLWR1AFOjnKKYs4KpuJ/xvbRAt0ewZeg7oFpEwEz6s/a1sRgDZjcUdb y+oe+ngNzObRFF/B1pH0j7POSMNmiwJUCRjUCJk0cc2bYC0Jqmk1zLDQXgMBoiIQFxLK 2Hmg== X-Gm-Message-State: AOJu0YxgvmpRHyjwcZ8nzuNjvG8+PUZpKWa4ahmn/ZivziJ7lqy6D9dm TTkTDlvKfb4mQsDSlXTXXi2Ow8ODT7gSAScKGmLF8w== X-Received: by 2002:a17:906:408b:b0:a19:a19b:c72f with SMTP id u11-20020a170906408b00b00a19a19bc72fmr1394903ejj.127.1701958647742; Thu, 07 Dec 2023 06:17:27 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:9bf:959c:3c66:46c2]) by smtp.gmail.com with ESMTPSA id f24-20020a170906c09800b00a1e814b7155sm885421ejz.62.2023.12.07.06.17.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:17:27 -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 v5 00/10] Add displays support for bsh-smm-s2/pro boards Date: Thu, 7 Dec 2023 15:16:29 +0100 Message-ID: <20231207141723.108004-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 groat.vger.email 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 (groat.vger.email [0.0.0.0]); Thu, 07 Dec 2023 06:19:28 -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 v5: - Replace a 'return ret' with a 'goto fail' in the r63353_panel_activate() - Add 'Reviewed-by' tag of Krzysztof Kozlowski Changes in v4: - Set the reset gpio to low in a single operation - Remove duplicated code for prepare/unprepare callbacks - Remove duplicated code for prepare/unprepare callbacks - Add Reviewed-by tag of Neil Armstrong Changes in v3: - Add 'Reviewed-by' tag of Krzysztof Kozlowski. - Replace "synaptics,r63353" compatible with "syna,r63353", as required by vendor-prefixes.yaml. - Drop power-supply - Replace "synaptics,r63353" compatible with "syna,r63353", as required by vendor-prefixes.yaml. - Squash patch [09/11] dt-bindings: ili9805: add compatible string for Tianma TM041XDHG01 into [07/11] dt-bindings: display: panel: Add Ilitek ili9805 panel controller. 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 - Add $ref to panel-common.yaml - Drop port, reset-gpios, and backlight - Set port and backlight ad required - Replace additionalProperties with unevaluatedProperties - 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 (6): 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 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 | 62 +++ .../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 | 406 ++++++++++++++++++ .../gpu/drm/panel/panel-synaptics-r63353.c | 363 ++++++++++++++++ 11 files changed, 1062 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.43.0