From patchwork Wed Dec 2 18:16:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akshay Bhat X-Patchwork-Id: 7750971 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3CA98BEEE1 for ; Wed, 2 Dec 2015 18:20:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4DCD6204EC for ; Wed, 2 Dec 2015 18:20:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7A5A120503 for ; Wed, 2 Dec 2015 18:20:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a4BzL-0005GY-So; Wed, 02 Dec 2015 18:18:47 +0000 Received: from mail-qk0-x22a.google.com ([2607:f8b0:400d:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a4ByI-0004gj-B2 for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2015 18:17:47 +0000 Received: by qkda6 with SMTP id a6so19745573qkd.3 for ; Wed, 02 Dec 2015 10:17:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timesys-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OZVSvpz5tcgGWU7EN9rLn/YQ9Gb32o1f5LB0SLHuaR4=; b=dOQSv+7ga9dg/Dt8kfN28qNtH5owQFAxq8XBfDTj/+EldkbnD9dMrcanrKG7DRRZIn aF9CrIBjXZLdk4fgk6HyUrT9ZpB/xbuxsULURVzZWDqOJPoT8c7qWih+Iu++6llAWXH5 XpobyAIzl5VKJf5pcFP4Q0S2ghy1J3GckADZPODbnv6e4u1I9h4b99n6OYYYgbcfzxkj 2IrjG3BqBYD56HsNEMY1kPywjCL89Zl227mFVKwHk7+kULXCGLfbT1Km+Glb3ZI5Nt+N Lq31dU9+hK2B6vR4ABQ9nvbT5gxQ2IYwVKLQrmn0uKEUr/kh4nbCUN9C8khs4zwZpNPu R2Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OZVSvpz5tcgGWU7EN9rLn/YQ9Gb32o1f5LB0SLHuaR4=; b=BIVfUmC+0R3Tj6dwf0kFs36L3t9pw6rg3wKavLqmmjVslzp4ddfUo1ylUT0636EEgL /AyQ7hnekKXWZKE9Qq/IAD1iGBRKfJ/mKWyaW5XYcvp5PI8qtv13H9ZRIVXBGw3SsejX D4CFMl95mxzfbBdY7gLKL4gtCq0CIM4pTzr0QP50YGih94up2jxVVPf64B1iPvS57env 5uv/Yhj3gVK+LU2bCsYfT15uUUWfvyjS39edqZOK2uH9ZHApH4WNf7jucb3JHdhTpVZY YqQP60GJD/DHk66wY28ynfEze9YkooOnsJ2RMA4rj40W+5i6Wea3KVnoTeZtLPt1W2GB 9TYg== X-Gm-Message-State: ALoCoQmGX9+YA4O0/8ZkXAtdxTn4oEcJf30JMmbDu3y4zKWInwl+PZmVesLXj9T/wJy2RTi8MXdW X-Received: by 10.55.81.11 with SMTP id f11mr5580305qkb.10.1449080241215; Wed, 02 Dec 2015 10:17:21 -0800 (PST) Received: from localhost.localdomain ([96.94.100.129]) by smtp.gmail.com with ESMTPSA id o68sm1690950qgd.8.2015.12.02.10.17.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Dec 2015 10:17:20 -0800 (PST) From: Akshay Bhat To: devicetree@vger.kernel.org Subject: [PATCH v4 6/7] ARM: dts: imx: Add support for Advantech/GE B650v3 Date: Wed, 2 Dec 2015 13:16:19 -0500 Message-Id: <1449080180-31945-7-git-send-email-akshay.bhat@timesys.com> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1449080180-31945-1-git-send-email-akshay.bhat@timesys.com> References: <1449080180-31945-1-git-send-email-akshay.bhat@timesys.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151202_101742_675175_C5194802 X-CRM114-Status: GOOD ( 15.47 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, justin.waters@timesys.com, linux@arm.linux.org.uk, ijc+devicetree@hellion.org.uk, robh+dt@kernel.org, Akshay Bhat , kernel@pengutronix.de, galak@codeaurora.org, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org, l.stach@pengutronix.de MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for Advantech/GE B650v3 board. Signed-off-by: Akshay Bhat --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6q-b650v3.dts | 84 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 arch/arm/boot/dts/imx6q-b650v3.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 219830f..9cdff66 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -311,6 +311,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6q-apf6dev.dtb \ imx6q-arm2.dtb \ imx6q-b450v3.dtb \ + imx6q-b650v3.dtb \ imx6q-cm-fx6.dtb \ imx6q-cubox-i.dtb \ imx6q-dfi-fs700-m60.dtb \ diff --git a/arch/arm/boot/dts/imx6q-b650v3.dts b/arch/arm/boot/dts/imx6q-b650v3.dts new file mode 100644 index 0000000..cbe99fd --- /dev/null +++ b/arch/arm/boot/dts/imx6q-b650v3.dts @@ -0,0 +1,84 @@ +/* + * 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 B650V3 QSeven Board"; + compatible = "ge,imx6q-b650v3", "advantech,imx6q-ba16", "fsl,imx6q"; + + chosen { + stdout-path = &uart3; + }; + + panel_lvds0 { + compatible = "innolux,g121x1-l03"; + backlight = <&backlight_lvds>; + power-supply = <®_lvds>; + + port { + panel_in_lvds0: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; + + panel_lvds1 { + compatible = "innolux,g121x1-l03"; + backlight = <&backlight_lvds>; + power-supply = <®_lvds>; + + port { + panel_in_lvds1: endpoint { + remote-endpoint = <&lvds1_out>; + }; + }; + }; +}; + +&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@0 { + fsl,data-mapping = "spwg"; + fsl,data-width = <24>; + status = "okay"; + + port@4 { + reg = <4>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in_lvds0>; + }; + }; + }; + + lvds1: lvds-channel@1 { + fsl,data-mapping = "spwg"; + fsl,data-width = <24>; + status = "okay"; + + port@4 { + reg = <4>; + + lvds1_out: endpoint { + remote-endpoint = <&panel_in_lvds1>; + }; + }; + }; +};