mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: fix wrong display-timings native-mode binding
@ 2022-12-21 10:26 Ahmad Fatoum
  2022-12-21 11:35 ` Sam Ravnborg
  2023-01-04 10:51 ` Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2022-12-21 10:26 UTC (permalink / raw)
  To: barebox; +Cc: Sam Ravnborg, Ahmad Fatoum

The value of the native-mode property is supposed to be a phandle to
the entry in question, but instead the full node path was used because
the <angle brackets> were missing. Fix this. This should not involve any
functional change as the default mode would've been the first element,
which is the same element the malformed native-mode was meant to point
at anyway.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 arch/arm/dts/imx6q-var-custom.dts   | 2 +-
 arch/arm/dts/imx6qdl-skov-imx6.dtsi | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/dts/imx6q-var-custom.dts b/arch/arm/dts/imx6q-var-custom.dts
index ddb220fb0ad4..cbfe4da7e1b4 100644
--- a/arch/arm/dts/imx6q-var-custom.dts
+++ b/arch/arm/dts/imx6q-var-custom.dts
@@ -83,7 +83,7 @@
 		fsl,data-width = <24>;
 		status = "okay";
 		display-timings {
-			native-mode = &claawvga;
+			native-mode = <&claawvga>;
 			claawvga: claawvga {
 				native-mode;
 				clock-frequency = <35714000>;
diff --git a/arch/arm/dts/imx6qdl-skov-imx6.dtsi b/arch/arm/dts/imx6qdl-skov-imx6.dtsi
index f4610ee1e7ba..cb4224f1b441 100644
--- a/arch/arm/dts/imx6qdl-skov-imx6.dtsi
+++ b/arch/arm/dts/imx6qdl-skov-imx6.dtsi
@@ -146,7 +146,7 @@
 		};
 
 		display-timings {
-			native-mode = &l2rt;
+			native-mode = <&l2rt>;
 
 			l2rt: l2rt {
 				native-mode;
@@ -190,7 +190,7 @@
 		/* power-supply = <&reg_3p3v>; */
 
 		display-timings {
-			native-mode = &mi1010ait_1cp1;
+			native-mode = <&mi1010ait_1cp1>;
 
 			mi1010ait_1cp1: mi1010ait-1cp1 {
 				native-mode;
-- 
2.30.2




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] ARM: dts: fix wrong display-timings native-mode binding
  2022-12-21 10:26 [PATCH v2] ARM: dts: fix wrong display-timings native-mode binding Ahmad Fatoum
@ 2022-12-21 11:35 ` Sam Ravnborg
  2023-01-04 10:51 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2022-12-21 11:35 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Wed, Dec 21, 2022 at 11:26:27AM +0100, Ahmad Fatoum wrote:
> The value of the native-mode property is supposed to be a phandle to
> the entry in question, but instead the full node path was used because
> the <angle brackets> were missing. Fix this. This should not involve any
> functional change as the default mode would've been the first element,
> which is the same element the malformed native-mode was meant to point
> at anyway.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>

	Sam



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] ARM: dts: fix wrong display-timings native-mode binding
  2022-12-21 10:26 [PATCH v2] ARM: dts: fix wrong display-timings native-mode binding Ahmad Fatoum
  2022-12-21 11:35 ` Sam Ravnborg
@ 2023-01-04 10:51 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2023-01-04 10:51 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox, Sam Ravnborg

On Wed, Dec 21, 2022 at 11:26:27AM +0100, Ahmad Fatoum wrote:
> The value of the native-mode property is supposed to be a phandle to
> the entry in question, but instead the full node path was used because
> the <angle brackets> were missing. Fix this. This should not involve any
> functional change as the default mode would've been the first element,
> which is the same element the malformed native-mode was meant to point
> at anyway.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  arch/arm/dts/imx6q-var-custom.dts   | 2 +-
>  arch/arm/dts/imx6qdl-skov-imx6.dtsi | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/dts/imx6q-var-custom.dts b/arch/arm/dts/imx6q-var-custom.dts
> index ddb220fb0ad4..cbfe4da7e1b4 100644
> --- a/arch/arm/dts/imx6q-var-custom.dts
> +++ b/arch/arm/dts/imx6q-var-custom.dts
> @@ -83,7 +83,7 @@
>  		fsl,data-width = <24>;
>  		status = "okay";
>  		display-timings {
> -			native-mode = &claawvga;
> +			native-mode = <&claawvga>;
>  			claawvga: claawvga {
>  				native-mode;
>  				clock-frequency = <35714000>;
> diff --git a/arch/arm/dts/imx6qdl-skov-imx6.dtsi b/arch/arm/dts/imx6qdl-skov-imx6.dtsi
> index f4610ee1e7ba..cb4224f1b441 100644
> --- a/arch/arm/dts/imx6qdl-skov-imx6.dtsi
> +++ b/arch/arm/dts/imx6qdl-skov-imx6.dtsi
> @@ -146,7 +146,7 @@
>  		};
>  
>  		display-timings {
> -			native-mode = &l2rt;
> +			native-mode = <&l2rt>;
>  
>  			l2rt: l2rt {
>  				native-mode;
> @@ -190,7 +190,7 @@
>  		/* power-supply = <&reg_3p3v>; */
>  
>  		display-timings {
> -			native-mode = &mi1010ait_1cp1;
> +			native-mode = <&mi1010ait_1cp1>;
>  
>  			mi1010ait_1cp1: mi1010ait-1cp1 {
>  				native-mode;
> -- 
> 2.30.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-04 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21 10:26 [PATCH v2] ARM: dts: fix wrong display-timings native-mode binding Ahmad Fatoum
2022-12-21 11:35 ` Sam Ravnborg
2023-01-04 10:51 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox