From patchwork Mon Aug 14 13:28:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13352880 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 2238DC001DB for ; Mon, 14 Aug 2023 13:29: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=gZPzdR0VnLW9Us8gHMhQK6kHTmc8F/4PRmIQJQpSmd0=; b=YSkoNXQmqWK7/F NLecJHpQOsFGsC0DMcvUQnKvikrgzIRAzdQXPJ2evmqdSFk4hhlLynrDLPNh/ZQ2UbS2Ve9Je8hVV 2olIwXJnHRVn4/h7Y34aoJXMd6QOhJZYah22RquSZ8nx2rS8K58lpTQV9GRmJoo2zQmznX++r3kqo ncWLqyRRqadsRKqKeAAtJ4hmJwfBaiomUvccq5hSU18Yt/sngHpzOaDr4L/Nq0z0EzGuXKzjOTAsm g2PRrd5egwGZYNNJ0es9VoTiTvUB9ABPp0f5cOGDOW5Z3VpSt6KQ/mOOJBZ0GqWBlYu0djfQKthae IN7u5tTU+VkwqxcoRudg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVXcx-00H9kP-1o; Mon, 14 Aug 2023 13:28:59 +0000 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVXcr-00H9iV-1R for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 13:28:54 +0000 Received: by mail-lj1-x243.google.com with SMTP id 38308e7fff4ca-2b9338e4695so66731031fa.2 for ; Mon, 14 Aug 2023 06:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1692019732; x=1692624532; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1Cnwn24kWjSS9OZzuaLMB+FQOsa9xOiEu2l5Cypy8oM=; b=Ha0Lm/5JdJ+EloMPJUOSpXMRWOPusaImnP7V/U5+8tMTS1ERCl75AHL7jpF4TCk2AH eNHzuPSNiU6sD4pknfspH08DiANuJzxXyAqQwA7OidU/U1EO6dqy78zMXcZosmBWTtw3 tgc0SrYZDE6uKdIHejhn/Sp/PvAgQ2hgylhZ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692019732; x=1692624532; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1Cnwn24kWjSS9OZzuaLMB+FQOsa9xOiEu2l5Cypy8oM=; b=WSmp0DXllpJ2UDFLXCdD8fmcAcZZW487w/AmpkLgV3rd2qxBG/HM0mgScAdFSA6hFk 799E3oHM1so4TzA899KGo390Xx0ncdkO/LiRRSC/Rgr6CP+Q9i/kPXtWo7bXh1IrPekR kIWM3PGJa6BdkeLIZaYqDuWE90LWgvJxtDALuAsZkUNjBh+KWXDEXQy4gK42SPe1z43P DgHJshAYQG6FUMSZEItG37HxtTXi/TLnHLBNrpoaKqwzXn0sh20kJFaAeZMXFYobLY86 PCJeTv9RPvWN1jauKujAD501whes3wM3+l6guCN6peR0YS7ilVD7ONjHbiOT2MlneoOJ q8vg== X-Gm-Message-State: AOJu0Yy85qxs4Qa0JyRy6cWS7qPbJFIzc/9xSHU18OK1+eRJLH3OG+Qg ypQhtug0YRT9tnzYv+Q6YyQgSA== X-Google-Smtp-Source: AGHT+IHymIkz+nFWS5gxRgDUIjIaONVHvk3MTNBjHs9LM8OVGKYOcHxf76OnwMmZW5wRJc+vAG/nTA== X-Received: by 2002:a2e:b177:0:b0:2b6:e618:b5a0 with SMTP id a23-20020a2eb177000000b002b6e618b5a0mr6918864ljm.6.1692019731835; Mon, 14 Aug 2023 06:28:51 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-180-23-204.pool80180.interbusiness.it. [80.180.23.204]) by smtp.gmail.com with ESMTPSA id e3-20020a170906248300b0099d02ca4327sm5662066ejb.54.2023.08.14.06.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 06:28:51 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Philippe Cornu , michael@amarulasolutions.com, Amarula patchwork , Raphael Gallais-Pou , Dario Binacchi , Alexandre Torgue , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v8 2/4] ARM: dts: stm32: add pin map for LTDC on stm32f7 Date: Mon, 14 Aug 2023 15:28:42 +0200 Message-Id: <20230814132844.113312-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230814132844.113312-1-dario.binacchi@amarulasolutions.com> References: <20230814132844.113312-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230814_062853_488809_458EFB3C X-CRM114-Status: GOOD ( 11.18 ) 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 pin configurations for using LTDC (LCD-tft Display Controller) on stm32f746-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Raphaƫl Gallais-Pou --- (no changes since v7) Changes in v7: - Add 'Reviewed-by' tag I forgot in v6. https://lore.kernel.org/linux-arm-kernel/20230629083726.84910-1-dario.binacchi@amarulasolutions.com/T/ Changes in v3: - rename ltdc-pins-a-0 to ltdc-0. arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi index 9f65403295ca..36dad40dd0c7 100644 --- a/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi @@ -365,6 +365,41 @@ pins2 { bias-pull-up; }; }; + + + ltdc_pins_a: ltdc-0 { + pins { + pinmux = , /* LCD_B0 */ + , /* LCD_B4 */ + , /* LCD_VSYNC */ + , /* LCD_HSYNC */ + , /* LCD_CLK */ + , /* LCD_R0 */ + , /* LCD_R1 */ + , /* LCD_R2 */ + , /* LCD_R3 */ + , /* LCD_R4 */ + , /* LCD_R5 */ + , /* LCD_R6 */ + , /* LCD_R7 */ + , /* LCD_G0 */ + , /* LCD_G1 */ + , /* LCD_G2 */ + , /* LCD_G3 */ + , /* LCD_G4 */ + , /* LCD_B1 */ + , /* LCD_B2 */ + , /* LCD_B3 */ + , /* LCD_G5 */ + , /* LCD_G6 */ + , /* LCD_G7 */ + , /* LCD_B5 */ + , /* LCD_B6 */ + , /* LCD_B7 */ + ; /* LCD_DE */ + slew-rate = <2>; + }; + }; }; }; };