| Message ID | 20230629083726.84910-4-dario.binacchi@amarulasolutions.com |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBWEF6WSAMGQECEHFD7I@amarulasolutions.com> 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 9D01840F42 for <linux-amarula@patchwork.amarulasolutions.com>; Thu, 29 Jun 2023 10:37:45 +0200 (CEST) Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2b6a64d1fb2sf3796081fa.2 for <linux-amarula@patchwork.amarulasolutions.com>; Thu, 29 Jun 2023 01:37:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688027865; cv=pass; d=google.com; s=arc-20160816; b=G8COZQF/JppI44Ad1zTUfjsEMg3CMqXoOgZu/E3S4dclyt7ZfNYSIEOVkTUVA94swS r9zVjRsVbZo1QIIOSznjWZYBI+yeoymloisjpn4LsMD//QPOLmoh+4n//lXC7xq5jR+x MvSCPa1tHiE85rqzhhMHYui7+XJAEu0/U6Rln9QVZ31uj8e+3oTbJkkTu6Wka4fvMR8e L850rOvhrLJvvYAV08axgfcpX7SfYBcFqL6AtuCpZMmu97ktEq/sV1GONL9yYUrVZGB0 zTRYBD/ls4JdgWUUiPWUJ9Xl95csiiBg9bQBlnOkgrT2z+LUglQzJMAs219mzhLfT7Xs O1XQ== 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:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=7mE8WY8Yi7bOGzu4Z80wovp5HjD1vNRCsGnuvuKgtN8=; b=Q8DzVxleTbprS++RE44OMzIMANaZ/M3/ZLjJ0N0PRfRL1h8VztSBTjNfSvslqZMUy5 Sqk9DL6jex9kKGHnbhpH8bJujYJW5eh9nDVu2s2OallRqkYPmCPaM5qZjqxs1LrCRl2n fP2c/SiMFjCDM/URF+fXV6/LT2srai6ze99nC+SArDUvM7UHTZoFDNbVuqhM5cTdW/EC L0IvnGdEpQDe6i92xdEkT9u73gnL1OpEOgExKPVOxrfNralXubT1/odnI8fE0wPPF6tM EqIWmn/3tmSkuqsMa+MDbOcSXzu4qEG5Y82+EmyW16oTeRh9MH3j65QdAqGwnAKRQIL2 /dTg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CNQGj3hB; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 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=1688027865; x=1690619865; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=7mE8WY8Yi7bOGzu4Z80wovp5HjD1vNRCsGnuvuKgtN8=; b=bOjGfYOKdkVyMcL78EI/MK4ZZT+qbMotUIgm+6WpwI7dZU+rc72+Pl4XRE5BxEgdQU 1QuR3GfYBXmHTW9gCX8Im46IoR5wbFxBYqSdEOXSKlu7MEGqTEtYv4f1M6VjkR3iDzsD rLQZXEHYOH2UpbUMIMCbYna5dXBxlBYe/qhXU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688027865; x=1690619865; 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: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=7mE8WY8Yi7bOGzu4Z80wovp5HjD1vNRCsGnuvuKgtN8=; b=DyETfoZKwAfUUN3ClGKZR47AgC/HGno54A9Z+vsHw5K0eEk1/tTHCWXyGMQVvdnJrh Idk5IJdQoU7aExQAJGTc7EXoQoRjXKwKB+q426VCBRcvxSLN49TxVmx1OcMYHQ8WQ7GY oiereAbiZ7PN1Iaf/BzXXyKWLbNUrmK39eGLjdp5mqm2VRP5qO4ikFStxOp1vLXkxYtp oVMzFOTCKb/J6HQtjZuxTir7rVQt3o7r9P+jon80j6MX+zKG/VmcWSCijL3RzTKP5/MU 03eY9hBslXyzIEaux4OZ4riVu6ujAhZmrE4HV/ue5dvlCeCGwWLyL0BUTIK7ITcYsb4y gSng== X-Gm-Message-State: AC+VfDxXs0c/nLXtwtuuIBZbr1+b3JGBao7fxmYdeBaBsJcFIlUiqxjV 7dDHpL/ABPaBEyItjbno2TplRvoYk9DSOWtj X-Google-Smtp-Source: ACHHUZ7+/yonZgWl5bL4DqyEyk6f14UVgeMZKukHNH1peku+zgHqfkpQdV+0DzUJCxGJGHfT+r1xow== X-Received: by 2002:a19:5e48:0:b0:4f8:49a8:a0e2 with SMTP id z8-20020a195e48000000b004f849a8a0e2mr19247327lfi.16.1688027864916; Thu, 29 Jun 2023 01:37:44 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:ac2:4649:0:b0:4f8:5959:1ea6 with SMTP id s9-20020ac24649000000b004f859591ea6ls73408lfo.0.-pod-prod-05-eu; Thu, 29 Jun 2023 01:37:43 -0700 (PDT) X-Received: by 2002:a05:6512:32cc:b0:4fb:7642:88dd with SMTP id f12-20020a05651232cc00b004fb764288ddmr8080084lfg.67.1688027863154; Thu, 29 Jun 2023 01:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688027863; cv=none; d=google.com; s=arc-20160816; b=HtWm+XOkXc4GyResmeoYluWGY62RIQKQ8ejvIlmvxDrlAy7eOKxSHECmbhAFYpVwnH JT075tSOOsImdHSwu/c9Hjey49iT1puvf2/U6kMauC8OWdRPz/pFaYzOX1rtsjDaOMMY MvdFTep4sWcXOCqQ4bcXrlbAknWlcKodN+pb5kQuxrZqQIDdp6zx3ItPzl8ZdKu5EKFe ioq7ldG1Bc75ejsYUIvZYWIYALT3twv0qcbn7MUo90OVL+hFCFU7dqYavqaPu/FE2dKP zx9humhz6jsQ/TssvhiIBFnyrDUkSDl4ILNmDVIVb3excqlLdTEDxcq0gMlLKjpvKdTx rWhw== 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=vRivB2eYzBBWqVP0G0XxZsVcBa1nGVGm8hEC37qyLwQ=; fh=Hiy7Q8qPwQ3beEOigEtYc3oHRWyraRWB+Nlyxp+mVig=; b=TCMscmbMKMR1LJoCW5K5gFdgcDOW1JyrNpx1eKDiWRiKowEerldByJSd9cxOO/GLks YExtAh2Fds/5pu23b4u861FwLgjX01pCPWC9xqwlkQ6HkwLpROZkDsNy9x/bZsJq0+un qls5UTpNHGVVOQbNtzqseRKH5EqdWSOYIeKZX2StwIlOjsagHIc9tl9mOnpPlenNUYv8 iaNCs3NOTvpn/vdz0TMhF5dmbylem8R3H5IxhG0hzV9wCgeRoLGU5f8kLSoTGa7zNLuu E9nzt41KtguOc4Cl9ZGXtxCIrnkXVa7GNycQy+GOD43424/CQqoN4e16d1A6MOlW9Cwr ekug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CNQGj3hB; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 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-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id r3-20020ac25f83000000b004f9fdb0bc0fsor4155579lfe.20.2023.06.29.01.37.43 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Thu, 29 Jun 2023 01:37:43 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a19:5f5e:0:b0:4f8:554f:36aa with SMTP id a30-20020a195f5e000000b004f8554f36aamr21722850lfj.29.1688027862797; Thu, 29 Jun 2023 01:37:42 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.praguecc.cz (90-182-211-1.rcp.o2.cz. [90.182.211.1]) by smtp.gmail.com with ESMTPSA id cw13-20020a056000090d00b003112f836d4esm15266322wrb.85.2023.06.29.01.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 01:37:42 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork <linux-amarula@amarulasolutions.com>, Philippe Cornu <philippe.cornu@foss.st.com>, Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>, Dario Binacchi <dario.binacchi@amarulasolutions.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Conor Dooley <conor+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Rob Herring <robh+dt@kernel.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v5 3/3] ARM: dts: stm32: support display on stm32f746-disco board Date: Thu, 29 Jun 2023 10:37:26 +0200 Message-Id: <20230629083726.84910-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20230629083726.84910-1-dario.binacchi@amarulasolutions.com> References: <20230629083726.84910-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 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=CNQGj3hB; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
| Series |
Add display support on the stm32f746-disco board
|
|
Commit Message
Dario Binacchi
June 29, 2023, 8:37 a.m. UTC
Add support to Rocktech RK043FN48H display on stm32f746-disco board.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
Changes in v5:
I am confident that framebuffer sizing is a real requirement for STM32 boards,
but I need some time to understand if and how to introduce this functionality.
Therefore, I drop the following patches to allow the series to be fully merged:
- [4/6] dt-bindings: display: stm32-ltdc: add optional st,fb-bpp property
- [5/6] ARM: dts: stm32: set framebuffer bit depth on stm32f746-disco
- [6/6] drm/stm: set framebuffer bit depth through DTS property
Changes in v4:
- Use DTS property instead of module parameter to set the framebuffer bit depth.
Changes in v3:
- drop [4/6] dt-bindings: display: simple: add Rocktech RK043FN48H
Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next):
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=c42a37a27c777d63961dd634a30f7c887949491a
- drop [5/6] drm/panel: simple: add support for Rocktech RK043FN48H panel
Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next)
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=13cdd12a9f934158f4ec817cf048fcb4384aa9dc
arch/arm/boot/dts/stm32f746-disco.dts | 51 +++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Comments
Hi, On 6/29/23 10:37, Dario Binacchi wrote: > Add support to Rocktech RK043FN48H display on stm32f746-disco board. > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > --- > > Changes in v5: > I am confident that framebuffer sizing is a real requirement for STM32 boards, > but I need some time to understand if and how to introduce this functionality. > Therefore, I drop the following patches to allow the series to be fully merged: > - [4/6] dt-bindings: display: stm32-ltdc: add optional st,fb-bpp property > - [5/6] ARM: dts: stm32: set framebuffer bit depth on stm32f746-disco > - [6/6] drm/stm: set framebuffer bit depth through DTS property > > Changes in v4: > - Use DTS property instead of module parameter to set the framebuffer bit depth. > > Changes in v3: > - drop [4/6] dt-bindings: display: simple: add Rocktech RK043FN48H > Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next): > https://cgit.freedesktop.org/drm/drm-misc/commit/?id=c42a37a27c777d63961dd634a30f7c887949491a > - drop [5/6] drm/panel: simple: add support for Rocktech RK043FN48H panel > Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) > https://cgit.freedesktop.org/drm/drm-misc/commit/?id=13cdd12a9f934158f4ec817cf048fcb4384aa9dc > > arch/arm/boot/dts/stm32f746-disco.dts | 51 +++++++++++++++++++++++++++ > 1 file changed, 51 insertions(+) Reviewed-by: Raphaël Gallais-Pou <raphael.gallais-pou@foss.st.com> Thanks, Raphaël G.-P.
Hi Dario On 6/29/23 10:37, Dario Binacchi wrote: > Add support to Rocktech RK043FN48H display on stm32f746-disco board. > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > --- > > Changes in v5: > I am confident that framebuffer sizing is a real requirement for STM32 boards, > but I need some time to understand if and how to introduce this functionality. > Therefore, I drop the following patches to allow the series to be fully merged: > - [4/6] dt-bindings: display: stm32-ltdc: add optional st,fb-bpp property > - [5/6] ARM: dts: stm32: set framebuffer bit depth on stm32f746-disco > - [6/6] drm/stm: set framebuffer bit depth through DTS property > > Changes in v4: > - Use DTS property instead of module parameter to set the framebuffer bit depth. > > Changes in v3: > - drop [4/6] dt-bindings: display: simple: add Rocktech RK043FN48H > Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next): > https://cgit.freedesktop.org/drm/drm-misc/commit/?id=c42a37a27c777d63961dd634a30f7c887949491a > - drop [5/6] drm/panel: simple: add support for Rocktech RK043FN48H panel > Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) > https://cgit.freedesktop.org/drm/drm-misc/commit/?id=13cdd12a9f934158f4ec817cf048fcb4384aa9dc > > arch/arm/boot/dts/stm32f746-disco.dts | 51 +++++++++++++++++++++++++++ > 1 file changed, 51 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746-disco.dts > index c11616ed5fc6..cda423b6a874 100644 > --- a/arch/arm/boot/dts/stm32f746-disco.dts > +++ b/arch/arm/boot/dts/stm32f746-disco.dts > @@ -60,10 +60,41 @@ memory@c0000000 { > reg = <0xC0000000 0x800000>; > }; > > + reserved-memory { > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + linux,cma { > + compatible = "shared-dma-pool"; > + no-map; > + size = <0x80000>; > + linux,dma-default; > + }; > + }; > + > aliases { > serial0 = &usart1; > }; > > + backlight: backlight { > + compatible = "gpio-backlight"; > + gpios = <&gpiok 3 GPIO_ACTIVE_HIGH>; > + status = "okay"; > + }; > + > + panel_rgb: panel-rgb { > + compatible = "rocktech,rk043fn48h"; > + backlight = <&backlight>; > + enable-gpios = <&gpioi 12 GPIO_ACTIVE_HIGH>; > + status = "okay"; > + port { > + panel_in_rgb: endpoint { > + remote-endpoint = <<dc_out_rgb>; > + }; > + }; > + }; > + > usbotg_hs_phy: usb-phy { > #phy-cells = <0>; > compatible = "usb-nop-xceiv"; > @@ -99,6 +130,26 @@ &i2c1 { > status = "okay"; > }; > > +&dma1 { > + status = "okay"; > +}; > + > +&dma2 { > + status = "okay"; > Why do you enable DMAs ? It seems not used by LTDC. > +<dc { > + pinctrl-0 = <<dc_pins_a>; > + pinctrl-names = "default"; > + status = "okay"; > + > + port { > + ltdc_out_rgb: endpoint { > + remote-endpoint = <&panel_in_rgb>; > + }; > + }; > +}; > + > &sdio1 { > status = "okay"; > vmmc-supply = <&mmc_vcard>;
Hi Alexandre, On Tue, Jul 11, 2023 at 2:13 PM Alexandre TORGUE <alexandre.torgue@foss.st.com> wrote: > > Hi Dario > > On 6/29/23 10:37, Dario Binacchi wrote: > > Add support to Rocktech RK043FN48H display on stm32f746-disco board. > > > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > > > --- > > > > Changes in v5: > > I am confident that framebuffer sizing is a real requirement for STM32 boards, > > but I need some time to understand if and how to introduce this functionality. > > Therefore, I drop the following patches to allow the series to be fully merged: > > - [4/6] dt-bindings: display: stm32-ltdc: add optional st,fb-bpp property > > - [5/6] ARM: dts: stm32: set framebuffer bit depth on stm32f746-disco > > - [6/6] drm/stm: set framebuffer bit depth through DTS property > > > > Changes in v4: > > - Use DTS property instead of module parameter to set the framebuffer bit depth. > > > > Changes in v3: > > - drop [4/6] dt-bindings: display: simple: add Rocktech RK043FN48H > > Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next): > > https://cgit.freedesktop.org/drm/drm-misc/commit/?id=c42a37a27c777d63961dd634a30f7c887949491a > > - drop [5/6] drm/panel: simple: add support for Rocktech RK043FN48H panel > > Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) > > https://cgit.freedesktop.org/drm/drm-misc/commit/?id=13cdd12a9f934158f4ec817cf048fcb4384aa9dc > > > > arch/arm/boot/dts/stm32f746-disco.dts | 51 +++++++++++++++++++++++++++ > > 1 file changed, 51 insertions(+) > > > > diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746-disco.dts > > index c11616ed5fc6..cda423b6a874 100644 > > --- a/arch/arm/boot/dts/stm32f746-disco.dts > > +++ b/arch/arm/boot/dts/stm32f746-disco.dts > > @@ -60,10 +60,41 @@ memory@c0000000 { > > reg = <0xC0000000 0x800000>; > > }; > > > > + reserved-memory { > > + #address-cells = <1>; > > + #size-cells = <1>; > > + ranges; > > + > > + linux,cma { > > + compatible = "shared-dma-pool"; > > + no-map; > > + size = <0x80000>; > > + linux,dma-default; > > + }; > > + }; > > + > > aliases { > > serial0 = &usart1; > > }; > > > > + backlight: backlight { > > + compatible = "gpio-backlight"; > > + gpios = <&gpiok 3 GPIO_ACTIVE_HIGH>; > > + status = "okay"; > > + }; > > + > > + panel_rgb: panel-rgb { > > + compatible = "rocktech,rk043fn48h"; > > + backlight = <&backlight>; > > + enable-gpios = <&gpioi 12 GPIO_ACTIVE_HIGH>; > > + status = "okay"; > > + port { > > + panel_in_rgb: endpoint { > > + remote-endpoint = <<dc_out_rgb>; > > + }; > > + }; > > + }; > > + > > usbotg_hs_phy: usb-phy { > > #phy-cells = <0>; > > compatible = "usb-nop-xceiv"; > > @@ -99,6 +130,26 @@ &i2c1 { > > status = "okay"; > > }; > > > > +&dma1 { > > + status = "okay"; > > +}; > > + > > +&dma2 { > > + status = "okay"; > > > Why do you enable DMAs ? It seems not used by LTDC. You're right, I'll send version 6 shortly with the removal of DMA. Thanks and regards, Dario > > > +<dc { > > + pinctrl-0 = <<dc_pins_a>; > > + pinctrl-names = "default"; > > + status = "okay"; > > + > > + port { > > + ltdc_out_rgb: endpoint { > > + remote-endpoint = <&panel_in_rgb>; > > + }; > > + }; > > +}; > > + > > &sdio1 { > > status = "okay"; > > vmmc-supply = <&mmc_vcard>; >
diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746-disco.dts index c11616ed5fc6..cda423b6a874 100644 --- a/arch/arm/boot/dts/stm32f746-disco.dts +++ b/arch/arm/boot/dts/stm32f746-disco.dts @@ -60,10 +60,41 @@ memory@c0000000 { reg = <0xC0000000 0x800000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + linux,cma { + compatible = "shared-dma-pool"; + no-map; + size = <0x80000>; + linux,dma-default; + }; + }; + aliases { serial0 = &usart1; }; + backlight: backlight { + compatible = "gpio-backlight"; + gpios = <&gpiok 3 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; + + panel_rgb: panel-rgb { + compatible = "rocktech,rk043fn48h"; + backlight = <&backlight>; + enable-gpios = <&gpioi 12 GPIO_ACTIVE_HIGH>; + status = "okay"; + port { + panel_in_rgb: endpoint { + remote-endpoint = <<dc_out_rgb>; + }; + }; + }; + usbotg_hs_phy: usb-phy { #phy-cells = <0>; compatible = "usb-nop-xceiv"; @@ -99,6 +130,26 @@ &i2c1 { status = "okay"; }; +&dma1 { + status = "okay"; +}; + +&dma2 { + status = "okay"; +}; + +<dc { + pinctrl-0 = <<dc_pins_a>; + pinctrl-names = "default"; + status = "okay"; + + port { + ltdc_out_rgb: endpoint { + remote-endpoint = <&panel_in_rgb>; + }; + }; +}; + &sdio1 { status = "okay"; vmmc-supply = <&mmc_vcard>;