From: Alexandre Torgue <alexandre.torgue@st.com>
To: "Yannick Fertré" <yannick.fertre@st.com>,
"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
"Rob Herring" <robh+dt@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Benjamin Gaignard <benjamin.gaignard@st.com>,
Patrice Chotard <patrice.chotard@st.com>,
Philippe Cornu <philippe.cornu@st.com>
Subject: Re: [PATCH] ARM: dts: stm32: enable display on stm32mp157c-ev1 board
Date: Mon, 3 Sep 2018 12:03:43 +0200 [thread overview]
Message-ID: <2369d88e-b5d4-dfb2-ef1a-7d8d194b8e45@st.com> (raw)
In-Reply-To: <1534856316-30346-1-git-send-email-yannick.fertre@st.com>
Hi Yannick,
On 08/21/2018 02:58 PM, Yannick Fertré wrote:
> Enable panel raydium RM68200, DSI bridge & display controller.
>
> Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
> ---
> arch/arm/boot/dts/stm32mp157c-ev1.dts | 60 +++++++++++++++++++++++++++++++++++
> 1 file changed, 60 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> index 372bc2e..cd9062a 100644
> --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> @@ -6,6 +6,7 @@
> /dts-v1/;
>
> #include "stm32mp157c-ed1.dts"
> +#include <dt-bindings/gpio/gpio.h>
>
> / {
> model = "STMicroelectronics STM32MP157C eval daughter on eval mother";
> @@ -19,6 +20,12 @@
> serial0 = &uart4;
> ethernet0 = ðernet0;
> };
> + panel_backlight: panel-backlight {
> + compatible = "gpio-backlight";
> + gpios = <&gpiod 13 GPIO_ACTIVE_LOW>;
> + default-on;
> + status = "okay";
> + };
> };
>
> ðernet0 {
> @@ -46,6 +53,45 @@
> status = "okay";
> };
>
> +&dsi {
Can you check ordering please ?
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "okay";
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> + dsi_in: endpoint {
> + remote-endpoint = <<dc_ep0_out>;
> + };
> + };
> +
> + port@1 {
> + reg = <1>;
> + dsi_out: endpoint {
> + remote-endpoint = <&dsi_panel_in>;
> + };
> + };
> + };
> +
> + panel-dsi@0 {
> + compatible = "raydium,rm68200";
> + reg = <0>;
> + reset-gpios = <&gpiof 15 GPIO_ACTIVE_LOW>;
> + backlight = <&panel_backlight>;
> + status = "okay";
> +
> + port {
> + dsi_panel_in: endpoint {
> + remote-endpoint = <&dsi_out>;
> + };
> + };
> + };
> +};
> +
> &i2c2 {
> pinctrl-names = "default";
> pinctrl-0 = <&i2c2_pins_a>;
> @@ -62,6 +108,20 @@
> status = "okay";
> };
>
> +<dc {
> + status = "okay";
> +
> + port {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + ltdc_ep0_out: endpoint@0 {
> + reg = <0>;
> + remote-endpoint = <&dsi_in>;
> + };
> + };
> +};
> +
> &m_can1 {
> pinctrl-names = "default";
> pinctrl-0 = <&m_can1_pins_a>;
>
next prev parent reply other threads:[~2018-09-03 10:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-21 12:58 [PATCH] ARM: dts: stm32: enable display on stm32mp157c-ev1 board Yannick Fertré
2018-09-03 10:03 ` Alexandre Torgue [this message]
2018-09-20 15:30 ` Alexandre Torgue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2369d88e-b5d4-dfb2-ef1a-7d8d194b8e45@st.com \
--to=alexandre.torgue@st.com \
--cc=benjamin.gaignard@st.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=patrice.chotard@st.com \
--cc=philippe.cornu@st.com \
--cc=robh+dt@kernel.org \
--cc=yannick.fertre@st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).