[v4,3/4] ARM: dts: stm32: fix dsi warnings on stm32mp15 boards
Commit Message
Fixes DSI related warnings:
* "#size-cells" and "#address-cells" wrongly used
* Changed 'panel-dsi@0' to 'panel@0' according to dsi-controller.yaml
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
---
arch/arm/boot/dts/stm32mp157.dtsi | 7 -------
.../boot/dts/stm32mp157a-icore-stm32mp1-ctouch2-of10.dts | 3 +++
arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts | 3 +++
arch/arm/boot/dts/stm32mp157c-dk2.dts | 5 +++++
arch/arm/boot/dts/stm32mp157c-ev1.dts | 7 ++++++-
5 files changed, 17 insertions(+), 8 deletions(-)
Comments
On 5/29/23 11:13, Raphael Gallais-Pou wrote:
> Fixes DSI related warnings:
>
> * "#size-cells" and "#address-cells" wrongly used
> * Changed 'panel-dsi@0' to 'panel@0' according to dsi-controller.yaml
>
> Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
@@ -24,14 +24,7 @@ dsi: dsi@5a000000 {
clock-names = "pclk", "ref", "px_clk";
resets = <&rcc DSI_R>;
reset-names = "apb";
- #address-cells = <1>;
- #size-cells = <0>;
status = "disabled";
-
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- };
};
};
};
@@ -49,6 +49,9 @@ &dsi {
phy-dsi-supply = <®18>;
ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
port@0 {
reg = <0>;
dsi_in: endpoint {
@@ -49,6 +49,9 @@ &dsi {
phy-dsi-supply = <®18>;
ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
port@0 {
reg = <0>;
dsi_in_ltdc: endpoint {
@@ -31,10 +31,15 @@ &cryp1 {
};
&dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
phy-dsi-supply = <®18>;
ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
port@0 {
reg = <0>;
dsi_in: endpoint {
@@ -101,9 +101,14 @@ dcmi_0: endpoint {
&dsi {
phy-dsi-supply = <®18>;
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
port@0 {
reg = <0>;
dsi_in: endpoint {
@@ -119,7 +124,7 @@ dsi_out: endpoint {
};
};
- panel-dsi@0 {
+ panel@0 {
compatible = "raydium,rm68200";
reg = <0>;
reset-gpios = <&gpiof 15 GPIO_ACTIVE_LOW>;