2018-04-24 07:57:23

by Yannick FERTRE

[permalink] [raw]
Subject: [PATCH v1 0/2] Add ltdc & dsi support on stm32mp157c

This patch-set adds display controller & DSI controller support to
stm32mp157c SOC.

Version 1:
- Initial commit

yannick fertre (2):
ARM: dts: stm32: add ltdc support on stm32mp157c
ARM: dts: stm32: add dsi support on stm32mp157c

arch/arm/boot/dts/stm32mp157c.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

--
1.9.1



2018-04-24 07:57:28

by Yannick FERTRE

[permalink] [raw]
Subject: [PATCH v1 2/2] ARM: dts: stm32: add dsi support on stm32mp157c

Add dsi support on stm32mp157c

Signed-off-by: yannick fertre <[email protected]>
---
arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index af6cc48..c61cb6d 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -168,6 +168,16 @@
#reset-cells = <1>;
};

+ dsi: dsi@5a000000 {
+ compatible = "st,stm32-dsi";
+ reg = <0x5a000000 0x800>;
+ clocks = <&rcc DSI_K>, <&clk_hse>, <&rcc DSI_PX>;
+ clock-names = "pclk", "ref", "px_clk";
+ resets = <&rcc DSI_R>;
+ reset-names = "apb";
+ status = "disabled";
+ };
+
ltdc: display-controller@5a001000 {
compatible = "st,stm32-ltdc";
reg = <0x5a001000 0x400>;
--
1.9.1


2018-04-24 07:57:34

by Yannick FERTRE

[permalink] [raw]
Subject: [PATCH v1 1/2] ARM: dts: stm32: add ltdc support on stm32mp157c

Add support for the display controller ltdc.

Signed-off-by: yannick fertre <[email protected]>
---
arch/arm/boot/dts/stm32mp157c.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index bc3eddc..af6cc48 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -5,6 +5,7 @@
*/
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
+#include <dt-bindings/reset/stm32mp1-resets.h>

/ {
#address-cells = <1>;
@@ -167,6 +168,17 @@
#reset-cells = <1>;
};

+ ltdc: display-controller@5a001000 {
+ compatible = "st,stm32-ltdc";
+ reg = <0x5a001000 0x400>;
+ interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&rcc LTDC_PX>;
+ clock-names = "lcd";
+ resets = <&rcc LTDC_R>;
+ status = "disabled";
+ };
+
usart1: serial@5c000000 {
compatible = "st,stm32h7-uart";
reg = <0x5c000000 0x400>;
--
1.9.1


2018-05-02 16:24:59

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH v1 0/2] Add ltdc & dsi support on stm32mp157c

hi

On 04/24/2018 09:54 AM, yannick fertre wrote:
> This patch-set adds display controller & DSI controller support to
> stm32mp157c SOC.
>
> Version 1:
> - Initial commit
>
> yannick fertre (2):
> ARM: dts: stm32: add ltdc support on stm32mp157c
> ARM: dts: stm32: add dsi support on stm32mp157c
>
> arch/arm/boot/dts/stm32mp157c.dtsi | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
Series applied on stm32-next.

Regards
Alex