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: 2957 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C50E23F07F for ; Mon, 14 Aug 2023 15:28:54 +0200 (CEST) Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2b9e014111fsf42468391fa.0 for ; Mon, 14 Aug 2023 06:28:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1692019734; cv=pass; d=google.com; s=arc-20160816; b=0blhKsY6hj3HZKUmyfW45BWz3l2u2kEs9iGYwg76CqniMIofPqf25NAAgyhKKeL4IV 0OgpNOJjLchSiDE1EDIDIYJot6l4cfxymCRQgSrebGe/oJXmmqrjznYfJ9P7U512kh+I zRcjN3tBZXkvjr82Vy5YQgDsTMlgs3XOa/TJ8XC0nTgHt9RtvyFKf+nAeuzsbtRxBIXT 572xYYZ9MVn6GpJV6tLbQM875M8Q8Rqimy9XJGwFay5rQuJuiV9/IC9pTwzp2fCCvrih oLRNX3e15S5cQBAyHDb5tu5trbH9bLRkH8jsZvgNRQAxHRMmL5UkUBAk9/ytUdLmWAqv vFvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wONZ2axN1lUv0pq8zzT3IoT5p0+kt/fDNkI3GOXVEY0=; fh=lGztaoOcELqxypiQJUcB4dBxA49nHK4HJFAaABZC21k=; b=pZv3N4ndhNLv2WnPn/M1rItXAc/VPHJeTBhJt6b7eFG0XIOoScftROVjg7uKxuJxlu 20+mpXM6HNkg/0WlFRRiLl3k/pHvKvfEOWlXBAqDxR1tunW7cdy98timfAMe6l5wrDKD iCGcW1ZvYrg0v3FHP8Vfhc0Ab98cWY3px95ZBeI+IGwlhDA36eOIAQAryxApA6vqDCMt OpWpok2h8ewRafPcaojquaYHa4ffLGSooJUzKYQwcR2IfTCFPNE21HExzYgkHrFDV7AY GHAISJy+IPCC5A6obdgtE2I+0bH4UipYLvEG6iFh+t4Zv00DPfkteZhUDnSfqfGRoUy+ j+NQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Ha0Lm/5J"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1692019734; x=1692624534; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender: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=wONZ2axN1lUv0pq8zzT3IoT5p0+kt/fDNkI3GOXVEY0=; b=MUAU0toPxMVVJrUFcb2d55Rb9tQB/9XkXnjMKD/UrUVkF9Uid2fmJ8fn9tKCfm2lu8 uincW21K+xkG8nJ3gu9XPXOzX1E0VR15cl/EQTq2LqG6FVYHs4vIkuGLtpvi7ojb8XTt vdFZuMDoSzoQgYV6oSZbGSuP3+MxwWmBGKAvs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692019734; x=1692624534; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=wONZ2axN1lUv0pq8zzT3IoT5p0+kt/fDNkI3GOXVEY0=; b=LGmFIOpJqHdbv8envXfK/+JpMJNWFyMr4nvHehYBEQ0IlmRyQxmmCO7a/hWnssyvQF HXNX/erLuHRxJvUsyjkFaG3Y0XEe1ssvMj9SHvYKiiYBHYXzE8GfeS/+dlc0LiNFLuUy yMoVzny/b4b9XmzmwzL1DpxrjIDez4EX6VhKsTTr2lZIvx/bKZCH4+rT7EDwm0CvylIB iPlTD2b2Z65jzqb37RGgUwdUGs2eH1w4s3kwPZQUu37obzEUp75XdNA2hELNxTgShhch dsxCZb2+M87df3Ru83twvz5V+qvAF2IZ0hK2ThJI0cfUX6SsJ99yzfUsQK29Ui8pQW1p v2gQ== X-Gm-Message-State: AOJu0Yz/YHXXvplGaPRkzqjeioHAaQm78ZQKddEsVC47yIoI2HOmamKE nvAH4PaXC56rOLZgOabaiC7RT2rY X-Google-Smtp-Source: AGHT+IGRRGaDItPjzvpzRWs0VOAAUCRU7G539J0l8POdU5mJXpNjG4tLnd2O9ho98AxMCMHTfrgwhQ== X-Received: by 2002:a2e:88d6:0:b0:2ba:18e5:106d with SMTP id a22-20020a2e88d6000000b002ba18e5106dmr7249954ljk.1.1692019733924; Mon, 14 Aug 2023 06:28:53 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a2e:bc21:0:b0:2b9:47f5:1aba with SMTP id b33-20020a2ebc21000000b002b947f51abals1484484ljf.1.-pod-prod-06-eu; Mon, 14 Aug 2023 06:28:52 -0700 (PDT) X-Received: by 2002:a19:6714:0:b0:4fb:772a:af12 with SMTP id b20-20020a196714000000b004fb772aaf12mr5555006lfc.21.1692019732135; Mon, 14 Aug 2023 06:28:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692019732; cv=none; d=google.com; s=arc-20160816; b=VR6sN9foDWbWJqDCW5+adzADouOPA3QguK3V/1Hp/iNO2OBlNXnaRTPojb5JFSPt0L eMsmIHGdiLWxjwYILkDCO3OlNS+tAotAjx4ZpQwD5+qr9Y89LYJvqBw9yt94/7J47Cwy jSquUe92hfzK2QDQz6ylKfxKH7Pwc0+yCUCeNVFLlWZCWhf/tlYmTY/IXgdEOM6pObAn 8sv6N0ZnBa1jO3wZ5Zel23nOg0cYxR3ucOG+fbKYA8dOCzROtEQJlLuVYUut1PUxWdjf 5QahZw4k9J5Xq+mH8hVsoBuilPnG7DRmRAkOdY6gdZay6zfiC4RwJj1ikmd2qB7RQUho o1Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=1Cnwn24kWjSS9OZzuaLMB+FQOsa9xOiEu2l5Cypy8oM=; fh=lGztaoOcELqxypiQJUcB4dBxA49nHK4HJFAaABZC21k=; b=LiHopvrAdWaiaNPmQXmZ6msciQymChvyhqB0taFFGpeg/Sb0DX43gMoEZI4QBcaZgY dFqoxGAiAaaicgDrPHn5RYf+YAoCLnWM4QRddYQn1ZXtFp4WhbynjOTnA7LORIRnz4bd 09BSIq0imCDoZlYpkvgNp1coyr1BfmBcewrz8F5bztdFdgnpEZxX4gX3RkyDBtoUS08u o6Vv7ah+YPUD1aACqpB4qhdUyv3Goc+m8+M+f48UITe7ZdWIb/yYkJfP8qervbfcnEtd MPbzrXOqtl/Pwoyg80G8IAa6LgOrnDwr07B8fasSqfuXlRmuYL8yjY3m43UBkw7d8obW AoFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Ha0Lm/5J"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id d3-20020a193843000000b004fe258a9500sor477106lfj.6.2023.08.14.06.28.52 for (Google Transport Security); Mon, 14 Aug 2023 06:28:52 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; 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 Content-Type: text/plain; charset="UTF-8" X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Ha0Lm/5J"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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>; + }; + }; }; }; };