linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: l.stach@pengutronix.de (Lucas Stach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 5/7] ARM: dts: imx: Add support for Advantech/GE B450v3
Date: Mon, 16 Nov 2015 12:19:52 +0100	[thread overview]
Message-ID: <1447672792.3144.11.camel@pengutronix.de> (raw)
In-Reply-To: <1447178408-26982-6-git-send-email-akshay.bhat@timesys.com>

Am Dienstag, den 10.11.2015, 13:00 -0500 schrieb Akshay Bhat:
> Add support for Advantech/GE B450v3 board.
> 
> Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
> ---
>  arch/arm/boot/dts/Makefile         |  1 +
>  arch/arm/boot/dts/imx6q-b450v3.dts | 75 ++++++++++++++++++++++++++++++++++++++
>  2 files changed, 76 insertions(+)
>  create mode 100644 arch/arm/boot/dts/imx6q-b450v3.dts
> 
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 30bbc37..b3330fe 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -310,6 +310,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
>  	imx6dl-wandboard-revb1.dtb \
>  	imx6q-apf6dev.dtb \
>  	imx6q-arm2.dtb \
> +	imx6q-b450v3.dtb \
>  	imx6q-cm-fx6.dtb \
>  	imx6q-cubox-i.dtb \
>  	imx6q-dfi-fs700-m60.dtb \
> diff --git a/arch/arm/boot/dts/imx6q-b450v3.dts b/arch/arm/boot/dts/imx6q-b450v3.dts
> new file mode 100644
> index 0000000..919e4a4
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx6q-b450v3.dts
> @@ -0,0 +1,75 @@
> +/*
> + * Copyright 2015 Timesys Corporation.
> + * Copyright 2015 General Electric Company
> + *
> + * The code contained herein is licensed under the GNU General Public
> + * License. You may obtain a copy of the GNU General Public License
> + * Version 2 or later at the following locations:
> + *
> + * http://www.opensource.org/licenses/gpl-license.html
> + * http://www.gnu.org/copyleft/gpl.html
> + */
> +
> +/dts-v1/;
> +
> +#include "imx6q-bx50v3.dtsi"
> +
> +/ {
> +	model = "Advantech MX6Q B450V3 QSeven Board";
> +	compatible = "ge,imx6q-b450v3", "advantech,imx6q-ba16", "fsl,imx6q";
> +
> +	chosen {
> +		stdout-path = &uart3;
> +	};
> +};
> +
> +&ldb {
> +	assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
> +			  <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
> +	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
> +				 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
> +	status = "okay";
> +
> +	lvds0: lvds-channel at 0 {
> +		fsl,data-mapping = "spwg";
> +		fsl,data-width = <24>;
> +		status = "okay";
> +
> +		display-timings {
> +			native-mode = <&timing0>;
> +			timing0: G121X1-L03 {
> +				clock-frequency = <65000000>;
> +				hactive = <1024>;
> +				vactive = <768>;
> +				hback-porch = <320>;
> +				hfront-porch = <0>;
> +				vback-porch = <0>;
> +				vfront-porch = <38>;
> +				hsync-len = <1>;
> +				vsync-len = <1>;
> +			};
> +		};

Display timings in DT are deprecated and new boards should add the
display with a specific compatible to the simple-panel driver and then
link a panel node to the LVDS channels. Take a look at the i.MX6
Nitrogen DTs for an example on how to do this.

Same comment applies to the next patches as well.

> +	};
> +
> +	lvds1: lvds-channel at 1 {
> +		fsl,data-mapping = "spwg";
> +		fsl,data-width = <24>;
> +		status = "okay";
> +
> +		display-timings {
> +			native-mode = <&timing1>;
> +			timing1: G121X1-L03 {
> +				clock-frequency = <65000000>;
> +				hactive = <1024>;
> +				vactive = <768>;
> +				hback-porch = <320>;
> +				hfront-porch = <0>;
> +				vback-porch = <0>;
> +				vfront-porch = <38>;
> +				hsync-len = <1>;
> +				vsync-len = <1>;
> +			};
> +		};
> +	};
> +
> +};

-- 
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |

  reply	other threads:[~2015-11-16 11:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-10 18:00 [PATCH v3 0/7] ARM: dts: Add Advantech board support Akshay Bhat
2015-11-10 18:00 ` [PATCH v3 1/7] of: Add vendor prefix for Advantech Corporation Akshay Bhat
2015-11-10 20:09   ` Rob Herring
2015-11-10 18:00 ` [PATCH v3 2/7] of: Add vendor prefix for General Electric Company Akshay Bhat
2015-11-10 18:00 ` [PATCH v3 3/7] ARM: dts: imx: Add Advantech BA-16 Qseven module Akshay Bhat
2015-11-16 11:16   ` Lucas Stach
2015-12-02 18:40     ` Akshay Bhat
2015-11-10 18:00 ` [PATCH v3 4/7] ARM: dts: imx: Add support for Advantech/GE Bx50v3 Akshay Bhat
2015-11-10 18:00 ` [PATCH v3 5/7] ARM: dts: imx: Add support for Advantech/GE B450v3 Akshay Bhat
2015-11-16 11:19   ` Lucas Stach [this message]
2015-12-02 18:34     ` Akshay Bhat
2015-11-10 18:00 ` [PATCH v3 6/7] ARM: dts: imx: Add support for Advantech/GE B650v3 Akshay Bhat
2015-11-10 18:00 ` [PATCH v3 7/7] ARM: dts: imx: Add support for Advantech/GE B850v3 Akshay Bhat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1447672792.3144.11.camel@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).