[PATCH] ARM: dts: imx28-evk: Fix display duplicate name warning

Shawn Guo shawn.guo at freescale.com
Sun Aug 24 19:27:52 PDT 2014


On Thu, Aug 21, 2014 at 10:59:32PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> Provide the display unit address in order to fix the following warning:
> 
> [    0.114765] regulator-dummy: no parameters
> [    0.152091] device-tree: Duplicate name in lcdif at 80030000, renamed to "display#1"
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  arch/arm/boot/dts/imx28-evk.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts
> index e4cc44c..c258b2c 100644
> --- a/arch/arm/boot/dts/imx28-evk.dts
> +++ b/arch/arm/boot/dts/imx28-evk.dts
> @@ -127,7 +127,7 @@
>  				display = <&display>;
>  				status = "okay";
>  
> -				display: display {
> +				display: display at 0 {

Unit address only makes sense where parent has #address-cells and
#size-cells and the node itself has 'reg' property.

I guess it's more appropriate to name the node in particular display
device model that the node is defining?

Shawn

>  					bits-per-pixel = <32>;
>  					bus-width = <24>;
>  
> -- 
> 1.9.1
> 



More information about the linux-arm-kernel mailing list