From patchwork Tue Feb 6 11:33:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raphael Gallais-Pou X-Patchwork-Id: 13547219 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 AB106C4828D for ; Tue, 6 Feb 2024 12:45:54 +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:CC:To:MIME-Version:Message-ID:Date: Subject: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=KKC7frzswjNOAVE9Cx9TO2LPXuQmNf8OmDXp9R3l+8A=; b=t2PLvOFbVBkh8E rdVZuNgExSNtv9D4RdbUn8gANhdT+hVZ8xbeknD3G027bn/6GYJ9ezV7b1TrGwp3lRQAW9GzUeQlI RPRdWUXqcx3WI+u8mCEvTbYIcsZiy/Ttn75llMGyY8k5CAVll8PllLU2ZufRyupAN2jY8x31ziEtQ cxeS7xYOqOueVW8lHexlH+Wnlu/EaBB9wOJsekkW6ztSFG8Gz3IJ0rEBwlDyUc7o+l/tSMje8lnMC HiVJ6K566/WadpFawHIq+w86A/NkEA1zkg5DxZikfUWo0Ug4y9EZWpS8YDtbcgwL2gc9TmvWHiF+B 5lvG94+smTccsopXvpPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXKpe-00000007c16-0IaS; Tue, 06 Feb 2024 12:45:46 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXJi5-00000007Lgt-3iyl for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 11:33:56 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4167ikJX007589; Tue, 6 Feb 2024 12:33:22 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:subject:date:message-id:mime-version:content-type :content-transfer-encoding:to:cc; s=selector1; bh=SOtV+sCcBdJgMh qsCXgG5URgeoPNwCNuRe6hbvhKZYI=; b=qhO+Bfh/JZtZfri++DUq6saDrluOIT U9R7BYfmZdMreDQ8gaMKR++julShPimllzbgZtMfPgIjwjYNzoqdJIPU/4xQeQPO 079jai8Sy+WOEVWm6m7z2SjPpaHaw50UKWl8gy/ydxVP9/FFS7ht2DGN6BgXR3sO ED7nm8a2RFoBkWm5HAMwgEpGdZCSZRUAbnXXH9k296qHOIKk6iWHHS3PupFxtw1h YCosMevXgR34bHh4h3jQbTcs4JsEEnVK0ckZzna9bfdcMOiN2LA7C7X5h/6QqpQU UQk9thoEN/Tfw9PSNGaGsC5aVdy5cEexloTsYThRRqmg8oxGX0POsS9Q== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3w1eyktxpk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Feb 2024 12:33:22 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 16BC7100056; Tue, 6 Feb 2024 12:33:22 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0937623C6B7; Tue, 6 Feb 2024 12:33:22 +0100 (CET) Received: from localhost (10.129.178.155) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 6 Feb 2024 12:33:19 +0100 From: Raphael Gallais-Pou Subject: [PATCH v4 0/3] Introduce STM32 LVDS driver Date: Tue, 6 Feb 2024 12:33:15 +0100 Message-ID: <20240206-lvds-v4-0-98d5f9af399d@foss.st.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPsYwmUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyTHQUlJIzE vPSU3UzU4B8JSMDIxMDIwNT3ZyylGLdVAMLk9RkU4NUC3MLJaDSgqLUtMwKsDHRsbW1AAZmdnZ WAAAA To: David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Yannick Fertre , Philippe Cornu , Philipp Zabel CC: , , , , , Raphael Gallais-Pou X-Mailer: b4 0.12.4 X-Originating-IP: [10.129.178.155] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-06_04,2024-01-31_01,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240206_033354_230650_DB50999D X-CRM114-Status: GOOD ( 13.42 ) 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 This serie introduces a new DRM bridge driver for STM32MP257 platforms based on Arm Cortex-35. It also adds an instance in the device-tree and handle the inclusion of the driver within the DRM framework. First patch adds a new panel compatible in the panel-lvds driver, which is used by default on the STM32MP257. Changes in v4: - Align dt-bindings filename and compatible - Remove redundant word in [1/6] subject - Fix example on typo - Some minor fixes on YAML syntax - Explicitly include linux/platform_device.h - Drop device-tree related patch after internal discussions - Rebase on latest drm-misc-next Changes in v3: - Changed the compatible to show SoC specificity - Fixed includes in dt-binding example - Added "#clock-cells" description in dt-binding example - Some minor fixes on typo Changes in v2: - Dropped [1/8] because already merged - Dropped [4/8] since not mandatory for this serie - [1/6]: Switch compatible and clock-cells related areas - [1/6]: Remove faulty #include in the example. - [1/6]: Add missing entry in MAINTAINERS - [2/6]: Removed CamelCase macros - [2/6]: Removed hard to read debug log - [3/6]: Fixed my address - [3/6]: Fixed smatch warning - [5/6]: Move changes to stm32mp255.dtsi Signed-off-by: Raphael Gallais-Pou --- Raphael Gallais-Pou (3): dt-bindings: display: add STM32 LVDS device drm/stm: lvds: add new STM32 LVDS Display Interface Transmitter driver drm/stm: ltdc: add lvds pixel clock .../bindings/display/st,stm32mp25-lvds.yaml | 119 ++ MAINTAINERS | 1 + drivers/gpu/drm/stm/Kconfig | 11 + drivers/gpu/drm/stm/Makefile | 2 + drivers/gpu/drm/stm/ltdc.c | 19 + drivers/gpu/drm/stm/ltdc.h | 1 + drivers/gpu/drm/stm/lvds.c | 1226 ++++++++++++++++++++ 7 files changed, 1379 insertions(+) --- base-commit: bb3bc3eac316b7c388733e625cc2343131b69dee change-id: 20240205-lvds-e084ec50e878 Best regards,