From patchwork Thu Jun 25 14:17:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 6675491 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 07798C05AC for ; Thu, 25 Jun 2015 14:20:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 33FCD206C0 for ; Thu, 25 Jun 2015 14:20:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 43266206C7 for ; Thu, 25 Jun 2015 14:20:12 +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 1Z87yS-00033p-7F; Thu, 25 Jun 2015 14:17:52 +0000 Received: from mail-bl2on0110.outbound.protection.outlook.com ([65.55.169.110] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z87yO-0002yy-01 for linux-arm-kernel@lists.infradead.org; Thu, 25 Jun 2015 14:17:48 +0000 Received: from BY2PR03CA009.namprd03.prod.outlook.com (10.255.93.26) by BY2PR03MB254.namprd03.prod.outlook.com (10.242.37.17) with Microsoft SMTP Server (TLS) id 15.1.195.6; Thu, 25 Jun 2015 14:17:23 +0000 Received: from BL2FFO11OLC013.protection.gbl (10.255.93.4) by BY2PR03CA009.outlook.office365.com (10.255.93.26) with Microsoft SMTP Server (TLS) id 15.1.195.15 via Frontend Transport; Thu, 25 Jun 2015 14:17:23 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11OLC013.mail.protection.outlook.com (10.173.160.161) with Microsoft SMTP Server (TLS) id 15.1.201.10 via Frontend Transport; Thu, 25 Jun 2015 14:17:23 +0000 Received: from fabio-Latitude-E6410.am.freescale.net ([10.29.244.59]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t5PEHHwD013227; Thu, 25 Jun 2015 07:17:18 -0700 From: Fabio Estevam To: Subject: [PATCH v2 1/2] ARM: dts: imx6qdl-sabresd: Allow HDMI and LVDS to work simultaneously Date: Thu, 25 Jun 2015 11:17:09 -0300 Message-ID: <1435241830-20187-1-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC013; 1:6uOniv6j5sVXmr+FdXRtvgOX4gYeBUvQWbd2HgwVitnldHpAqBZhaXjHcBzJE4XbSsf7tdEjuooAcxeJ5mMVRt8IcwbD5f+9emYiiuxyvFnxBv0VXH1u+xtfyEF0Y5wDB9l/XOY/fnSnxrp+c8BfbD6pRwjvwYZw97d1jwRSpwpt2c8uY9XN8kxa1nsLv5qq5921L5rzgMXbhkHQK8MCmFMYJB9wItwGeDX2/OWOLD4pJJx/bohGPOTWofRyGX3AzDOzZSlQWi6m8EP1LuVHL6QO5T7gRRmH0+3DobfqO/6ZQ59DW5FhDWq+yJeEJg1Hk8gD/PBRQXUpnbt9s1VCvQ== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(104016003)(86362001)(33646002)(62966003)(77156002)(36756003)(50466002)(19580405001)(50986999)(19580395003)(48376002)(106466001)(77096005)(85426001)(87936001)(92566002)(6806004)(5001920100001)(46102003)(110136002)(107886002)(5001960100002)(189998001)(47776003)(229853001)(105606002)(50226001)(2351001)(32563001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB254; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB254; 2:usxBIDHh8bF15xMnlfUpVB4GtAdrBeN/+7zvODwmKIIFgqYLkLYd2z6yKZ8sOYhX; 3:VRuwy895JRXuUbjfDrjiyJ8FNINae3KbyU+QXO29LG5Pnixknsyte36uRnKAiQ0vcpOPKrNMlOAE2mKrEVYnURPMouUoFyYSdEmkrMPANP8nS6sicmP0orwPHXXPcI16VMUUKEi22iI7Wu5A8+zD6iLCXgYH1yQj4MMDpFwVDJ4s0OSRmQIk0uxZaNN2FUJaU3HjuoV4TUh53360So4LvJDrfxM/OVIq+GUKFrWIu/g=; 20:ZAS9me6PjiyCAh/AX+4flBos9M0afyl+DqyrJ617idrmx7ac42aFOkKAS5lW0088f0fDLrqiRnhLlPf5L72GNOzWrrxzce65KFLj69HpL9/Qf+5ksQAYEOGNj/y7aMwAruNnIFp6DZjiGDt3VZ1wnIgp9jdJyXvZrTv28RiB5ey8d2utH0DQRUMn6k/tVZvgrAjCrS+KZB0moqEcA3RGeMtn031mzQzw407EB+DZiNmICiUMhE9GFPZI8UpeOHzp8q/879n7hf8XGmd9ph4hGyce5lA81alBQCC8WXfzw9KxSecGtSU0Zg5CG/v2mhIehrJEWwshNolZAIVE5t+P8rIkB7+m+i9LHVpEJWonFf8=; 4:8+viK/MXFkS2pP1htuPbGY9SgF3sQNWchz8LC+l3lRvkWwFJRGzR4c8mwhqplQq8wHzTLeltI+eHl8RQ6hyTmUxAeTcKhtLN6J258uqL6T+OJpHrdKRNGXZthS0elr+7Ea7aOzH9swyAN68/4+m43PCHADzutgo4UiC62kyjl7WKgumQaX3BHaRUVkBrtumX8laSbOGzQmVQPrnTtT7xcRIYjaoH1NQeXMtADOlrnWHT5ECHDPRdPIJO8ui+cuSVuWG2QGsK42d3hlQ60XwEYe3CGTAWFikIQAxkThZZszk= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB254; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BY2PR03MB254; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB254; X-Forefront-PRVS: 0618E4E7E1 X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB254; 23:YdYpMPukahymGokTKnP6qRORkUcQ6zx4zsyLJcULR7Jr55Kdyl1x2ncVxdUecWjduhGzC4s9cTOsJe2YRp0Dt8z1IP+zHLs5hXNOenAFlGrWaNYVp1eWdZLPbB5xTGBFp0fv3jOgKrSRiFReR1zNVSJWFOH+MNKrzxaElILDa07GRaP+WyPUYkXyYWN69gXJRpTGlnVgpt6IpMpyKzdydCNw6WVnokv4/8O0GIPMQVAJJjUcb2suM3/Ce4HM1Tf3HEd2bjmoOkvzTHrVVVK0O9aes4W5/9QO52RU4O5yRiXsmcQ2Lpq2cJRGgnT3ju7xmnIWgjxwzlHaRVEhyrwoLjtayjn/xsTFYpghvuBKYMCvBl2vdhUgy4NuMrqm2IlRXUIxKZ/ZR1eAy1BcOU9d+Q+BQpAjem+9RtYm+5Bruwz5BFzEk3+mLbDaBWNn+6kA9djk8WKjFzftL08dlKvhyho7hOZkvTE7itMo3TYpKrbF+7jmphX5S4bsHBeJsClnCxp4AWeiDFI/PL37FIJbrTQBwkEMLpaprZyZEJUmYMmxW+OwudRxPjHeLAkCyw3hUCTX1n9wphT7qKKb9BV0wrfg68P014bOUXn23jsJ1RgwI9TnagJ2sZPhH1yCnjLI8LL3WiLyCw0ifcVz8iPR7jHASOq8H/jsICrGgGFMHXtVYJDORwVoiORJOUK5//FMe1kIP76Akpy6k93w3YEPFydeSSR04OPLQ0dn58xcty93cjG6VOAaEXCgyH5cRW1q007pNAfUTIQjUwkvLsgDSER8liA4omcyfplDk466drkkhhF4YXgbs8kuWAJbXOVHfbbjdA8i7cBACT6RBbRjkt5/FOQVyu/DVPEDAolzupAmxVuWlGc/CIqsUXmlLQWh02mC9QalOnRuY9hxmrJXGJ47TcZI36Rovgt57TMftkAH6liR3m9HE1YZxR6AX620 X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB254; 5:gudh1YQ6pFKKGUqBUd6p0yF/HRFnjgNNePjbSvzZzp0mVCqNRvtS9qUM9hsvW64hR/NTu2RavCF+ckoP5TuzThJS5/CoE0OND3Y308FRxgsFngiTuB0evRVxThHneMH5B3RQepHsV4/oBAX8hL8VaA==; 24:E8hEtBP8LE2Z/qDYgGDUA0WhTFgE3vswf8OqlQdf2+GaQw93MHaAGT6d/76rYzeL9cFRXepcNAWefTFjQcA0hGCTAfwt8hj3CvCkQk4LeEQ=; 20:qyLThhJgCC0QNbpIw/18iHjinCOHPh+C8+RAAJ0JrCV6qKAT3iTIL96sIMI18xAaJaG8xceDwwdwQnXxwc+UDQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jun 2015 14:17:23.0507 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB254 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150625_071748_266103_5BC69BBA X-CRM114-Status: GOOD ( 18.25 ) X-Spam-Score: -1.9 (-) Cc: Fabio Estevam , linux@arm.linux.org.uk, mturquette@baylibre.com, eric.nelson@boundarydevices.com, kernel@pengutronix.de, Ying.liu@freescale.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Currently it is not possible to have HDMI and LVDS working simultaneously, because both ports try to use PLL5. Move the LVDS clock parent to PLL3_USB_OTG, so that HDMI and LVDS can be driven from independent sources. With this change the LDB pixel clock goes to 68.57 MHz, which is still within the valid range for the HSD100PXN1 LVDS panel. Signed-off-by: Fabio Estevam Acked-by: Philipp Zabel --- Changes since v1: - Move the clock assignment inside &clks as suggested by Philipp arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index a626e6d..cca847e 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -141,6 +141,13 @@ status = "okay"; }; +&clks { + 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>; +}; + &ecspi1 { fsl,spi-num-chipselects = <1>; cs-gpios = <&gpio4 9 0>;