* [PATCH v1 0/2] enable display on stm32mp157c-dk1 board
@ 2019-03-29 12:43 Yannick Fertré
2019-03-29 12:43 ` [PATCH v1 1/2] ARM: dts: stm32: Add I2C 1 and 4 config for stm32mp157a-dk1 Yannick Fertré
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Yannick Fertré @ 2019-03-29 12:43 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland,
linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
Benjamin Gaignard, Yannick Fertre, Philippe Cornu,
Fabrice Gasnier
Enable display on stm32mp157c-dk1 board. I2c node must be created first.
Yannick Fertré (2):
ARM: dts: stm32: Add I2C 1 and 4 config for stm32mp157a-dk1
ARM: dts: stm32: enable display on stm32mp157c-dk1 board
arch/arm/boot/dts/stm32mp157a-dk1.dts | 78 +++++++++++++++++++++++++++++++++++
1 file changed, 78 insertions(+)
--
2.7.4
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v1 1/2] ARM: dts: stm32: Add I2C 1 and 4 config for stm32mp157a-dk1
2019-03-29 12:43 [PATCH v1 0/2] enable display on stm32mp157c-dk1 board Yannick Fertré
@ 2019-03-29 12:43 ` Yannick Fertré
2019-03-29 12:43 ` [PATCH v1 2/2] ARM: dts: stm32: enable display on stm32mp157c-dk1 board Yannick Fertré
2019-05-21 10:22 ` [PATCH v1 0/2] " Alexandre Torgue
2 siblings, 0 replies; 4+ messages in thread
From: Yannick Fertré @ 2019-03-29 12:43 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland,
linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
Benjamin Gaignard, Yannick Fertre, Philippe Cornu,
Fabrice Gasnier
Append I2C 1 and 4 instances for stm32mp157c-dk1
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
---
arch/arm/boot/dts/stm32mp157a-dk1.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts
index 1b1886d..696a533 100644
--- a/arch/arm/boot/dts/stm32mp157a-dk1.dts
+++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts
@@ -65,6 +65,28 @@
};
};
+&i2c1 {
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&i2c1_pins_a>;
+ pinctrl-1 = <&i2c1_pins_sleep_a>;
+ i2c-scl-rising-time-ns = <100>;
+ i2c-scl-falling-time-ns = <7>;
+ status = "okay";
+ /delete-property/dmas;
+ /delete-property/dma-names;
+};
+
+&i2c4 {
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&i2c4_pins_a>;
+ pinctrl-1 = <&i2c4_pins_sleep_a>;
+ i2c-scl-rising-time-ns = <185>;
+ i2c-scl-falling-time-ns = <20>;
+ status = "okay";
+ /delete-property/dmas;
+ /delete-property/dma-names;
+};
+
&ipcc {
status = "okay";
};
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v1 2/2] ARM: dts: stm32: enable display on stm32mp157c-dk1 board
2019-03-29 12:43 [PATCH v1 0/2] enable display on stm32mp157c-dk1 board Yannick Fertré
2019-03-29 12:43 ` [PATCH v1 1/2] ARM: dts: stm32: Add I2C 1 and 4 config for stm32mp157a-dk1 Yannick Fertré
@ 2019-03-29 12:43 ` Yannick Fertré
2019-05-21 10:22 ` [PATCH v1 0/2] " Alexandre Torgue
2 siblings, 0 replies; 4+ messages in thread
From: Yannick Fertré @ 2019-03-29 12:43 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue, Rob Herring, Mark Rutland,
linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
Benjamin Gaignard, Yannick Fertre, Philippe Cornu,
Fabrice Gasnier
Enable hdmi bridge sii9022 & display controller.
Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
---
arch/arm/boot/dts/stm32mp157a-dk1.dts | 56 +++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts
index 696a533..f483600 100644
--- a/arch/arm/boot/dts/stm32mp157a-dk1.dts
+++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts
@@ -37,6 +37,14 @@
};
};
+ v1v2_hdmi: regulator-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "v3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
v3v3: regulator-3v3 {
compatible = "regulator-fixed";
regulator-name = "v3v3";
@@ -44,6 +52,14 @@
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
+
+ v3v3_hdmi: regulator-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "v3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
};
ðernet0 {
@@ -74,6 +90,32 @@
status = "okay";
/delete-property/dmas;
/delete-property/dma-names;
+
+ hdmi-transmitter@39 {
+ compatible = "sil,sii9022";
+ reg = <0x39>;
+ iovcc-supply = <&v3v3_hdmi>;
+ cvcc12-supply = <&v1v2_hdmi>;
+ reset-gpios = <&gpioa 10 GPIO_ACTIVE_LOW>;
+ interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
+ interrupt-parent = <&gpiog>;
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <<dc_pins_a>;
+ pinctrl-1 = <<dc_pins_sleep_a>;
+ status = "okay";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ sii9022_in: endpoint {
+ remote-endpoint = <<dc_ep0_out>;
+ };
+ };
+ };
+ };
};
&i2c4 {
@@ -96,6 +138,20 @@
status = "okay";
};
+<dc {
+ status = "okay";
+
+ port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ltdc_ep0_out: endpoint@0 {
+ reg = <0>;
+ remote-endpoint = <&sii9022_in>;
+ };
+ };
+};
+
&rng1 {
status = "okay";
};
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v1 0/2] enable display on stm32mp157c-dk1 board
2019-03-29 12:43 [PATCH v1 0/2] enable display on stm32mp157c-dk1 board Yannick Fertré
2019-03-29 12:43 ` [PATCH v1 1/2] ARM: dts: stm32: Add I2C 1 and 4 config for stm32mp157a-dk1 Yannick Fertré
2019-03-29 12:43 ` [PATCH v1 2/2] ARM: dts: stm32: enable display on stm32mp157c-dk1 board Yannick Fertré
@ 2019-05-21 10:22 ` Alexandre Torgue
2 siblings, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2019-05-21 10:22 UTC (permalink / raw)
To: Yannick Fertré,
Maxime Coquelin, Rob Herring, Mark Rutland, linux-stm32,
linux-arm-kernel, devicetree, linux-kernel, Benjamin Gaignard,
Philippe Cornu, Fabrice Gasnier
Hi Yannick
On 3/29/19 1:43 PM, Yannick Fertré wrote:
> Enable display on stm32mp157c-dk1 board. I2c node must be created first.
>
> Yannick Fertré (2):
> ARM: dts: stm32: Add I2C 1 and 4 config for stm32mp157a-dk1
> ARM: dts: stm32: enable display on stm32mp157c-dk1 board
>
> arch/arm/boot/dts/stm32mp157a-dk1.dts | 78 +++++++++++++++++++++++++++++++++++
> 1 file changed, 78 insertions(+)
>
> --
> 2.7.4
>
Series applied on stm32-next.
Regards
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-05-21 10:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-29 12:43 [PATCH v1 0/2] enable display on stm32mp157c-dk1 board Yannick Fertré
2019-03-29 12:43 ` [PATCH v1 1/2] ARM: dts: stm32: Add I2C 1 and 4 config for stm32mp157a-dk1 Yannick Fertré
2019-03-29 12:43 ` [PATCH v1 2/2] ARM: dts: stm32: enable display on stm32mp157c-dk1 board Yannick Fertré
2019-05-21 10:22 ` [PATCH v1 0/2] " Alexandre Torgue
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).