Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp338822rdb; Thu, 30 Nov 2023 06:17:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8YOPmMC9jXVCT6jNvQx5HsKmfGKhIKNaDYdIECUk83cyCMOEMedzphovm5Mj7new1f2Me X-Received: by 2002:a05:6870:6784:b0:1f9:cdfe:797d with SMTP id gc4-20020a056870678400b001f9cdfe797dmr10867984oab.0.1701353849800; Thu, 30 Nov 2023 06:17:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701353849; cv=none; d=google.com; s=arc-20160816; b=oYNi1YyBxJLuJGAq5/Y5RyupS5I1PH37pAAm59hVFFssVkiIQBHBAPXGtvfcGVvrt2 AJ4CtIkJTxJh6cVeDn65MiLdJR4/TPYcDp/iVzQw8Nk85Sbetp867+XEWaIjvOpNzaTI UiAOIVRIl4ogeY0yFejYDaCWr4QPUc784OLqWi6tJIDvY8d9/Ky/dDZJXXC78jhv3E0a D87aWI7q07tk0/kV6fNalD8z7ak4UmrKi40oLGzXLi/nIkLgqpeREvSmetawSYJjplXy rPeGjMKft1OH2bWYayqxGUfmZ7e6S5lgcZ3KsYvAkeO615npx4EnqMonc38cWbcSD5Go JCng== 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=ESC3Z8t3GSKVJF84FzlAhVLsYO0WyF4hoPNvK+j5Hbs=; fh=fWXE7xZkft+BJufovS8ylNK/yOmrS7a8YmeD9ZOnRl4=; b=zElUKg2F23MHlmln88G7tAi3irxadLmgF2aqMSxqOG1uvwstiRkfqKY4m7n2W+gviv Bn8IU+2pymx1unYVhn3FRU8dqf0dUFm5x6G0kf0VQlKeG9oIN53zot/vUbPQE2eDCJi+ kuc4FyNWJkN3nS3Q9BBFnJcr6yU4t6XCPEa2VZprj7PKnpkHz5VVhuVLaq3cEeNDwMRc 3MRWkpuO8YwWEfR53axs4vAJ/NPQcMzQy5CGNKqUNlsZtpKsbR/R0sHdREoJ7LBrIOjb ZfKSgqW3tmLyFq/K8N/54yFOhMme3ZfTsB//QE4y+SGBQozrbPrwinTZYyy76nLuZyvc xQ6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HzXd8LbM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id g25-20020a056830161900b006d82d2732c8si451803otr.221.2023.11.30.06.17.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 06:17:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=HzXd8LbM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 91EC0826F7DF; Thu, 30 Nov 2023 06:17:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345908AbjK3ORK (ORCPT + 99 others); Thu, 30 Nov 2023 09:17:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345872AbjK3ORJ (ORCPT ); Thu, 30 Nov 2023 09:17:09 -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 30F9385 for ; Thu, 30 Nov 2023 06:17:15 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a00ac0101d9so144680366b.0 for ; Thu, 30 Nov 2023 06:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1701353833; x=1701958633; 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=ESC3Z8t3GSKVJF84FzlAhVLsYO0WyF4hoPNvK+j5Hbs=; b=HzXd8LbM4R30C5YY5jEk2dswlOBeuM+w8/+xq+ZwFkeCYVlTqU4OcoCc1DnH7hILRE WmiRIiT8nEFA1EyMcH1zyJ0naYy5ua8NDX+YAyhXcAEcb6+D7lYN3laHiSuIOnkBeQdA QPTlpDEGd1Rdy5srmfPYsy6DXdPedz01Pkndc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701353833; x=1701958633; 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=ESC3Z8t3GSKVJF84FzlAhVLsYO0WyF4hoPNvK+j5Hbs=; b=vtWvIkjVL8tftuk8FS6InG9AbVuA77FtUfjGyjk4dFS64pPIxk3TwE1UNT0Lh0/PSA 6XrNSLxrWopINYo+IXkTAoykHf0sbV0S/ZSX0qTuZcmyW2ht/FBfFUdhN7j7Sih3SlHa pDwUbHZ0kuvqD9GYDxisr1S5hK0pd+esmpwVcLsLxGFj2RfgUI1qjqrCx/KlM4Y7w1xK 7b16yDjseHGCjeI4tmkbJFkvK1/Gxt5oGK8i60wiHv73T14IW8qEfDoeNe9F6XxmHbOp y6LKeQa9VAjEWgTQB3njEI381009AN566ng/oqC4vo/SFAyYLadt/fD11RvwJocg7Fv+ TNgQ== X-Gm-Message-State: AOJu0YyNmhBrslHMCp7Cig7kqalqQt3u0zzRgRNVWZKG/z7OFe/taZE+ wxz2lcfXeu7/aqtjiExP2HqU7eMePws3qI4+1uZ7ZA== X-Received: by 2002:a17:906:20de:b0:a01:811c:ce9 with SMTP id c30-20020a17090620de00b00a01811c0ce9mr18312430ejc.0.1701353833265; Thu, 30 Nov 2023 06:17:13 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:d1eb:b106:516d:db0a]) by smtp.gmail.com with ESMTPSA id my18-20020a1709065a5200b009f28db2b702sm716064ejc.209.2023.11.30.06.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 06:17:12 -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 v3 00/10] Add displays support for bsh-smm-s2/pro boards Date: Thu, 30 Nov 2023 15:16:17 +0100 Message-ID: <20231130141705.1796672-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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 30 Nov 2023 06:17:25 -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 v3: - Add 'Reviewed-by' tag of Krzysztof Kozlowski. - Replace "synaptics,r63353" compatible with "syna,r63353", as required by vendor-prefixes.yaml. - Drop power-supply - 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 | 418 ++++++++++++++++++ .../gpu/drm/panel/panel-synaptics-r63353.c | 375 ++++++++++++++++ 11 files changed, 1086 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