From patchwork Wed Aug 16 12:24:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Nyekjaer X-Patchwork-Id: 13355143 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 4D3B0C001B0 for ; Wed, 16 Aug 2023 12:26:27 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=318ez/6MZL6WVx0448Ylb3ncgHBzz2MqyeG5T9nm3FM=; b=RuEbzdgBpCiVm6 ltz4h2saY2zgmsiAKFodXPw21Ri7tH4VvABF9bm3/LC3aRzvNCx5/wjUNeyUW4lD4EOvivB5hTHNk diow+nSvd4U5KNqYXDOeIdSxNoypzpSsdDHESuD+0q8ibuVKZhuM3d/y8Eangd9jMI8uVqHRvqDEa KZy2Ix8XkLJ69ItkgfBnxqfhBJU8H+aG3TVzRLTabb4CGUffLZFZzs6G7f4vITIWX6PVQHQ4XMfm1 BzfZuEaoRpA+ayN3tqgcI506/6mXtro24wyJCKMNysrj+kIppxwHdjJOBPbOKzOMUTqeyKf0K4KCC KExUHLiUyepY+5ukhXMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWFb7-0048X3-31; Wed, 16 Aug 2023 12:26:01 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWFaq-0048P3-1f for linux-arm-kernel@bombadil.infradead.org; Wed, 16 Aug 2023 12:25:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=HLDMsghpnw66dVGozGoVM7O7yXEfpJtkxJJsW2ConuQ=; b=jSr9KXEBaX2XkycOvotX2a7L1E FU//ntnlk1b85bXA0mXKXLMSAGNDd3KiDJsvvnMCNI2inaXk9dOI0WXKCprXOl2BLDj1yv2lE1kUU 0X8j4ojavXTj/LDq1rbvyLIWg5XnaUDDbxg+AbITtBRFQ9yDDzTUiEQf02W5kzCAYflAEBJLUOldz oxyQGQa3sA40mFzhpmJPAV3y1ACScL3D1jnFmUq7aVjNhIgo9fLQpiQm4cnUthr50DwgCQR0gFwnm V/JIx4CFh4AP65gRDu0KyYahhxSt47kZZ2NrIAoplTSer6QdLCn0a6P8zaQCUYiFWpLVlYY5F9t7p cHfxWYcg==; Received: from www530.your-server.de ([188.40.30.78]) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1qWFal-00Edqm-Ih for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 12:25:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=HLDMsghpnw66dVGozGoVM7O7yXEfpJtkxJJsW2ConuQ=; b=SE5ILUjE5BWyEpZgseEuUzLLFu v84lmpwj5VIqp+oAkeyIHbKU94ToWXNp/YJh14Mj69gVlXpVNt9tKvVrXmVzaXWenmFOHibyQqTf+ HvKwU0IkPHS5lfkyu+9fKK4xMdBbbvVAexufZnVun7VHQyKOJVA8yVkp+UYiI2YXylJ+4u7mbohqO oNSddsBfu+mBZTgxqE8QBCJvo5DkYLB3ztmMR2IaCf/RFWsTt+QsRkOKqf8zOSpq76fBprbUfU1fB oSS0Njo5zidM1OWyk1aZ8IJh49XYHRutWpPDdbzW/WoE5XuoC/B63tRIJQo2kpNVaOkllB9z6Mwsq CEgrMuDA==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qWFaG-000NAw-HO; Wed, 16 Aug 2023 14:25:08 +0200 Received: from [185.17.218.86] (helo=zen..) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWFaF-000HIl-L1; Wed, 16 Aug 2023 14:25:07 +0200 From: Sean Nyekjaer To: l.goehrs@pengutronix.de, a.fatoum@pengutronix.de, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: Sean Nyekjaer , dantuguf14105@gmail.com, Olivier Moysan , devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 2/9] ARM: dts: stm32: Add alternate pinmux for ldtc pins Date: Wed, 16 Aug 2023 14:24:22 +0200 Message-ID: <20230816122435.3153513-2-sean@geanix.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816122435.3153513-1-sean@geanix.com> References: <20230816122435.3153513-1-sean@geanix.com> MIME-Version: 1.0 X-Authenticated-Sender: sean@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.8/27002/Wed Aug 16 09:38:26 2023) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230816_132539_733217_8CC278ED X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. 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 Add another mux option for ltdc pins, this is used on Octavo OSD32MP1-RED board. Signed-off-by: Sean Nyekjaer Reviewed-by: Olivier Moysan --- arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi | 75 +++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi index 92726ad7285f..5de4ec547411 100644 --- a/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi @@ -1080,6 +1080,81 @@ pins { }; }; + ltdc_pins_e: ltdc-4 { + pins1 { + pinmux = , /* LTDC_R0 */ + , /* LTDC_R1 */ + , /* LTDC_R2 */ + , /* LTDC_R3 */ + , /* LTDC_R4 */ + , /* LTDC_R5 */ + , /* LTDC_R6 */ + , /* LTDC_R7 */ + , /* LTDC_G0 */ + , /* LTDC_G1 */ + , /* LTDC_G2 */ + , /* LTDC_G3 */ + , /* LTDC_G4 */ + , /* LTDC_G5 */ + , /* LTDC_G6 */ + , /* LTDC_G7 */ + , /* LTDC_B0 */ + , /* LTDC_B1 */ + , /* LTDC_B2 */ + , /* LTDC_B3 */ + , /* LTDC_B4 */ + , /* LTDC_B5 */ + , /* LTDC_B6 */ + , /* LTDC_B7 */ + , /* LTDC_DE */ + , /* LTDC_VSYNC */ + ; /* LTDC_HSYNC */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + + pins2 { + pinmux = ; /* LTDC_CLK */ + bias-disable; + drive-push-pull; + slew-rate = <1>; + }; + }; + + ltdc_sleep_pins_e: ltdc-sleep-4 { + pins { + pinmux = , /* LTDC_R0 */ + , /* LTDC_R1 */ + , /* LTDC_R2 */ + , /* LTDC_R3 */ + , /* LTDC_R4 */ + , /* LTDC_R5 */ + , /* LTDC_R6 */ + , /* LTDC_R7 */ + , /* LTDC_B0 */ + , /* LTDC_B1 */ + , /* LTDC_B2 */ + , /* LTDC_B3 */ + , /* LTDC_B4 */ + , /* LTDC_B5 */ + , /* LTDC_B6 */ + , /* LTDC_B7 */ + , /* LTDC_G0 */ + , /* LTDC_G1 */ + , /* LTDC_G2 */ + , /* LTDC_G3 */ + , /* LTDC_G4 */ + , /* LTDC_G5 */ + , /* LTDC_G6 */ + , /* LTDC_G7 */ + , /* LTDC_DE */ + , /* LTDC_VSYNC */ + , /* LTDC_HSYNC */ + ; /* LTDC_CLK */ + }; + }; + mco1_pins_a: mco1-0 { pins { pinmux = ; /* MCO1 */