[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141210140751.GF23558@ulmo.nvidia.com>
Date: Wed, 10 Dec 2014 15:07:53 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Liu Ying <Ying.Liu@...escale.com>
Cc: dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
p.zabel@...gutronix.de, shawn.guo@...aro.org,
kernel@...gutronix.de, linux@....linux.org.uk,
mturquette@...aro.org, airlied@...ux.ie
Subject: Re: [PATCH RFC 12/15] ARM: dts: imx6qdl-sabresd: Add support for
TRULY TFT480800-16-E MIPI DSI panel
On Wed, Dec 10, 2014 at 04:37:25PM +0800, Liu Ying wrote:
[...]
> diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
[...]
> +&mipi_dsi {
> + status = "okay";
> +
> + panel@0 {
> + compatible = "himax,hx8369a-dsi";
> + reg = <0>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_mipi_panel>;
> + reset-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
> + reset-delay = <120>;
> + bs2-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
> + data-lanes = <2>;
> + panel-width-mm = <45>;
> + panel-height-mm = <76>;
> + bs = <10>;
> + status = "okay";
> +
> + display-timings {
> + native-mode = <&timing1>;
> + timing1: truly-tft480800-16-e {
This is the only place where Truly is mentioned. The panel vendor is
either Truly or it is Himax, it can't be a mix. From this example and
your patch description it seems like Truly is the manufacturer of the
panel, hence the panel compatible should really be:
compatible = "truly,tft480800-16-e";
That it uses an HX8369A chip internally is really secondary, at least
regarding the binding. If we ever get need to support multiple panels
with the same driver IC the proper solution would be to abstract that
code out into a helper library that is used from the various panel
drivers.
Thierry
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists