From patchwork Wed Dec 23 22:00:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akshay Bhat X-Patchwork-Id: 7914711 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 0EBA4BEEE5 for ; Wed, 23 Dec 2015 22:05:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 24DDF2039E for ; Wed, 23 Dec 2015 22:05:01 +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 36ABF2037C for ; Wed, 23 Dec 2015 22:05:00 +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 1aBrVT-00035G-Am; Wed, 23 Dec 2015 22:03:39 +0000 Received: from mail-qg0-x22a.google.com ([2607:f8b0:400d:c04::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aBrU2-0002MS-Gf for linux-arm-kernel@lists.infradead.org; Wed, 23 Dec 2015 22:02:13 +0000 Received: by mail-qg0-x22a.google.com with SMTP id k90so163150199qge.0 for ; Wed, 23 Dec 2015 14:01:50 -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=CcCIr3xbaG7vNl0hb7AWm2sasO/LgMJWjfDyzx4zR6I=; b=kcliq5TcnUOW8GIIY98aUTBXcgAwsK+IAz8w+ouM7ZHzVF5LQLm2nqNx5PY7Ba6XLG n2tKfqDU6uity/rzAuIBgCraeKyagGKVTOMUoBzvaCgvbd+Du//6FMnqNtjLgErz1/iB 0Sup1qaj5Mj5R59hVsk8oO0togVrGYAZPvxxLCIdUKTWeMD15OpSWivsvc5drRFt2Y5W WKWMkEphYUZA6vQg9A9UIPZkE+yOoEoi965psUICZlYBlCWgMLW7SR/NYZoxZNuufFPG E4Fdan7RDoEG1ing4ERKrbFv0vrvxNwk7vZd2jAn6tI/+MwhXFShM+vX3XtfZbZf4LlY a2LQ== 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=CcCIr3xbaG7vNl0hb7AWm2sasO/LgMJWjfDyzx4zR6I=; b=BhaL8YCxldm+rJQwLVcv0hdFwfmlLTGGmdAgvLrVEwo3bNJotfLIcehvRMrhZUksV6 sbEub9RpQKW954u+nA6a6ux3qRL/uNzu4w6VtJSdM4ucwTM44LqY5Sobse/88wrLHAOl 6mK0pzf8F7AXcPfOB254i5QE3h0ghuoUCIEwBrwSuWh9vrxPpS+7U//MJ+BDhvOFqoN/ MxRbIXt0P1AOLurzNIVp1ujFA/gc5hBZippOFXDcgnrbOFT0Cd0FSPN0fAuTt5zU9f3r ItmQ1moAuYOSVetqAIVz4Od2FOWSlZ11pfk2BSJuokpvClvXr9jmAhs0XC4RTStVVhkO N7GA== X-Gm-Message-State: ALoCoQl3K/He8leooWFrO4wW4SKlhmY6dLNdhP84YRMazuCA0VzQnCtuPIf4+4kDOO+xAw0wz03Omzuieubj+mVsojPTIG5yLA== X-Received: by 10.140.39.179 with SMTP id v48mr43431101qgv.98.1450908109707; Wed, 23 Dec 2015 14:01:49 -0800 (PST) Received: from timesysab.timesys.com ([96.94.100.129]) by smtp.gmail.com with ESMTPSA id 133sm11689636qhu.9.2015.12.23.14.01.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Dec 2015 14:01:49 -0800 (PST) From: Akshay Bhat To: devicetree@vger.kernel.org Subject: [PATCH v6 5/7] ARM: dts: imx: Add support for Advantech/GE B450v3 Date: Wed, 23 Dec 2015 17:00:14 -0500 Message-Id: <1450908016-17384-6-git-send-email-akshay.bhat@timesys.com> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1450908016-17384-1-git-send-email-akshay.bhat@timesys.com> References: <1450908016-17384-1-git-send-email-akshay.bhat@timesys.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151223_140210_769468_F20F1120 X-CRM114-Status: GOOD ( 18.04 ) 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,RP_MATCHES_RCVD,T_DKIM_INVALID,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 B450v3 board. Signed-off-by: Akshay Bhat --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6q-b450v3.dts | 114 +++++++++++++++++++++++++++++++++++++ 2 files changed, 115 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 44508dc..0e029fc 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -317,6 +317,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..fce23a2 --- /dev/null +++ b/arch/arm/boot/dts/imx6q-b450v3.dts @@ -0,0 +1,114 @@ +/* + * Copyright 2015 Timesys Corporation. + * Copyright 2015 General Electric Company + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software Foundation. + * + * This file is distributed in the hope that it will be useful + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/dts-v1/; + +#include "imx6q-bx50v3.dtsi" + +/ { + model = "General Electric B450v3"; + compatible = "ge,imx6q-b450v3", "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>; + }; + }; + }; +};