Re: [PATCH v2 7/7] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

From: Bo Shen
Date: Thu Jun 19 2014 - 03:12:43 EST


Hi Boris,

On 06/10/2014 12:04 AM, Boris BREZILLON wrote:
diff --git a/arch/arm/boot/dts/sama5d33ek.dts b/arch/arm/boot/dts/sama5d33ek.dts
index cbd6a3f..f2ab41d 100644
--- a/arch/arm/boot/dts/sama5d33ek.dts
+++ b/arch/arm/boot/dts/sama5d33ek.dts
@@ -36,9 +36,33 @@
macb0: ethernet@f0028000 {
status = "okay";
};
+
+ hlcdc: hlcdc@f0030000 {
+ status = "okay";
+
+ hlcdc-display-controller {
+ atmel,panel = <&panel 3 0>;

One question here, in the driver code, it will configuration the frame buffer mode depends on this parameter.
So, my question is if the framebuffer bits per pixel is different with output bits per pixel, how to setting it?

For example, frame buffer use 16 bits/pixel, while output 24 bits/pixel.

+ };
+ };
};
};


Best Regards,
Bo Shen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/