From patchwork Mon Jul 13 14:11:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 6779641 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 4C45AC05AC for ; Mon, 13 Jul 2015 14:14:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7ADBE205B5 for ; Mon, 13 Jul 2015 14:14:22 +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 4E292205B3 for ; Mon, 13 Jul 2015 14:14:21 +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 1ZEeSk-0006hQ-CG; Mon, 13 Jul 2015 14:12:06 +0000 Received: from mail-by2on0122.outbound.protection.outlook.com ([207.46.100.122] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZEeSh-0006YE-JE for linux-arm-kernel@lists.infradead.org; Mon, 13 Jul 2015 14:12:04 +0000 Received: from BY2PR03MB256.namprd03.prod.outlook.com (10.242.37.23) by BY2PR03MB524.namprd03.prod.outlook.com (10.141.143.154) with Microsoft SMTP Server (TLS) id 15.1.213.14; Mon, 13 Jul 2015 14:11:42 +0000 Received: from CH1PR03CA001.namprd03.prod.outlook.com (10.255.156.146) by BY2PR03MB256.namprd03.prod.outlook.com (10.242.37.23) with Microsoft SMTP Server (TLS) id 15.1.207.12; Mon, 13 Jul 2015 14:11:41 +0000 Received: from BL2FFO11FD024.protection.gbl (10.255.156.132) by CH1PR03CA001.outlook.office365.com (10.255.156.146) with Microsoft SMTP Server (TLS) id 15.1.207.19 via Frontend Transport; Mon, 13 Jul 2015 14:11:40 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) 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.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD024.mail.protection.outlook.com (10.173.161.103) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Mon, 13 Jul 2015 14:11:40 +0000 Received: from fabio-Latitude-E6410.am.freescale.net ([10.29.244.5]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t6DEBcWc018046; Mon, 13 Jul 2015 07:11:39 -0700 From: Fabio Estevam To: Subject: [PATCH v2] ARM: dts: imx6qdl-sabreauto: Allow HDMI and LVDS to work simultaneously Date: Mon, 13 Jul 2015 11:11:32 -0300 Message-ID: <1436796692-8875-1-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD024; 1:f2nmXyXAGPHJC6N6PbQNGWMREgZcF4drUg0xWIJvyuA1MAebdcD6B+maxwtolEc3+WMN1ue5tQrwVfYHbN/dH4BfAfGdFX+foxy6H0QKENbZcGkzw6fzE9u+Lzf1PDP/qgsOiROMUU1lVJ7A4Q4ID0FU5B3jgghUtU4OQ0U47roAkthk+v1gJJX42FT6iawj0kN0olRLSNATLcQhxoqXNLNwWRE4WwzOYEf0xzYzFKylI3V3qe2sRCmhpE7gQ/eWebLjHMPYzwcDy2+Omghdr8eCqtrM+qSz4jSqzZ+26Q6zQgLx3YY00GZ4KYR5v/CHJNptFVxY6BD2hfPOKpXhc//irLzTJVI8nI3Pb8ZlGBODAe9k9X+8V/KsZ29HR3pcn56OdfxdWkX5C7bURLJTOWx7saKikK/TrGi/VsV4aXCmI4Z5Oc1z5NKPg+eT+yhu X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(5001960100002)(107886002)(189998001)(110136002)(85426001)(19580395003)(19580405001)(87936001)(81156007)(86362001)(97736004)(5001860100001)(5001830100001)(4001540100001)(50226001)(6806004)(50986999)(69596002)(92566002)(47776003)(5003940100001)(64706001)(50466002)(77156002)(62966003)(104016003)(33646002)(68736005)(229853001)(2351001)(77096005)(36756003)(105606002)(46102003)(106466001)(48376002)(32563001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB256; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB256; 2:yhKMKUv6c5j0+eW+kRlTejV2nPjUoho9DqdAHy7JSSWkCChw6D4d5WROk01wopUk; 3:mSU1vDIbJzs0vX6eS+gXoySrow4nN0ak0SURGLxmsE+txqVLvIgpPCCLDr2ZLgbqOFTdo69jNg2J1SDqVmULNcQ0H1VfDIDL4966dkL9NPRZ7ssoPkjmGJAeF9BViU59uMAvS2aiYGh8P68dMlzOI8IFj3h9OthNDM4Arwi79TVQPrLMEJ0ewAUbNUujCUDH8mwu+WD/KJ4MrZp3Mjx33hYxd+9an3ya1gdljNNQytw=; 25:0CvU5549AiwpvzryGlnTpabiMNUa5oWfq6TrAE8lfpXGSQvOy38h9Wxbxob6D49j9U8f40e5nLoT73CZNSDBAoqLiB37nil/2nzvZLXjuqCua85qdThPkZKOVJlMsfWWtnsR8I5PBn7reg82wHnQ0gc7fS9rAyAD65BltODyhoQiYcuvyJwayXWTmuJA45BgW9gfwikEzUobmY5nmi2iCCFgDQ3u4lNf4s7t4C73B87Ox47bfucUpGU1K8veFfR+ZZD3JdsWHxLlF5SYkiPhQA==; 20:4rpvwzcsRFzZsIqW5kpQ9ulTUmbqAfInt8DziMALzcflL6Ya5KsKeXLiV5cMdsQcudSatK76yn7Zq6QXX2ZgU0V5g4qbBWs2DMh20a+hC+f9V0Mh5+92++sYeixiDGSicW48QaCMO6NgkbuhLicnQuWHKJc591awn0sFEQdCSp+I9ACa9KDpUmaEnJ7+ShmP/ENhHzibHYdt7jt4v17zmSbK6OsphmBeDMa9Xcmm6u1w5brFDMl29pNLuxs/2wYJ0oylkVg5HB7wIB+ISvMmNbzdF/aqS+7of9UQUbbLPVxWvyzHNXecTj80R7dIVq7xpB8SdsPy55/y2m6653x6u6zfwiqOgfFCGF+NNzKWWc8= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB256; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB524; 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:BY2PR03MB256; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB256; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB256; 4:lOTAXcBcvoVH7Q6AL+2qxM0C8BhA3nxxUn3BZVNsidBes+VdQxIAHcZNWwlBTYgwu8IaK/hzXsxvVGXJgSXIMwLDPM2cj4eri4DAcRYMWkkHXZ+Wxry4SVh+QlUt6kIlmKuACwrdtlEr0AW/EmcRd2nisUirShkvBMGQBUArbY4y8lHaGPOoZvYfoGkpwfKTN23t8oztGgG1cdmrMYfd1CDLJMixqzxr/6cgKlB7PRAYOVRjqS2QvJ0d+Rn8fTKcRd5NfxPY9gcMRcd7iw9wSuvFE31hwlf6P5yZlO6mFts= X-Forefront-PRVS: 0636271852 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1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Phrw7S?= =?us-ascii?Q?MnwawYVF/G2dtJg5IN3rt4KI6m0nubzOTQSzaieqXgWYJXxh8T62zjk5lwHW?= =?us-ascii?Q?fggqHBc/PLskupsMxtfHL91OYGG+cKVQH657Pe2VU+mXEqthqcqDj2pFsTRZ?= =?us-ascii?Q?G1S1HMsnnkHxLbiZVJTz2d6Q40IKu/tWJgpYMvpWfAStyTvdXX8nAWVtnDwI?= =?us-ascii?Q?c/6GjiYkA/w8KDlP2+NJ6Ke1W0E7JqO/ELSgD2Gz7XaP6oNSbK4fk8yIfuO9?= =?us-ascii?Q?3Yq9RJkXgwvYj4zxp1OiNBUIScYWQN?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB256; 5:JNRdzZxH+drXTh90kgR13eVg9f+vytwKj8ooymIP4r+hQh6tvX5+5Yoz+H26AFDYS73NXk7X0zdu0jfXs4z91hS4vTnPeFUCp4cZnN+f95bcZf15w1gzm/StiBHovg/4i+94PNvGnfuI4umFvr3A1Q==; 24:lMTYuL1YrIFGOv5FN3YK43q+VVjpAYVEr2c+zNVtWofti/KGzq2ndTSrshEZ2VWb45BNY4UULSctxagj1ZENji6jeIZaeCnpK1X4cK34EmU=; 20:VVdU/MCYn9SVkuSDTBZaewm0+idnDhTOY1b6jXbAzn9jhNRlaZbxVtYQ+o88TQ3kytwYVMw+NpgNv+jJBER0Jw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2015 14:11:40.4802 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB256 X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB524; 2:qPtuG4p6axr8cv1WRywSVMrQ7vs2tB+hmP0STZsqOPCwP5pj6U2VMmMrEAfmTIUW; 3:6K7/qvkfqqS+V4JZrgDcEU/K7Xw/Ys+svJEGALNMqTqmUWjzyEDKKmDguhvV2gD3jo6jvwqfbNiZ2AzReeB6IPnGgcK+LPLJJ5LWVAYVRrg3yHEAHmRagTHPJJlpwgSK98WCZldr3/aKA3m3r8dzx7vfph13ABLlenak1bw1IHQjfTHib0gVt63hI6TsvE+32pVX4LS9DXlo+m+XOx9ui7PBusxqgMfnyYVTJiMHCjM=; 25:CnaUiccvT9NbPstTilUBcKHpQc4MJDObPTQugzUqGCD0tVvCDaNdQvsw/5TUgSy9pOH26orlHyEWoGN+0YoeZDlAYwXIniTvP25li/GJRl5nmJadShEAk42xsWUurux0BHww7alQjDXTSkqfJvUHNHzyB41DXfkOu4cv53bJbMC5tXNQ9SF1NFvtbTb95lPsnrx/Pt8XDbEbpz6ePvcB/mR1owVbGwsCvmoPWKLhcE2pYiazv99AkpHSmEU6H2x7H5nzXRwCBF62vcyhpoWQyQ==; 23:5VxISI3GdcPaH3VC4jBZ/bqnIcTo0lDsCqg2oebT8x51U5Zkxewa33haTomHcp9K9Tel1TSw5GNM3qgGexGLrhWxCcVTclUNIWm+QPTscRVJj6aXzgZsx61MEE16DWpe8hGNOTvUp841P0jz8D0dtVwN6a6+lLgNP6xykpf9IRFdNJkz7r7ubUtQtV751lsOR6E/SwRPNAtkDpe/28JSS9M84gLEqOZ4EF+IT/mWluiO/RpT8aSZDEFSbPVf0rL5 X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150713_071203_986775_59BB7746 X-CRM114-Status: GOOD ( 12.07 ) X-Spam-Score: -1.9 (-) 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: Fabio Estevam , linux-arm-kernel@lists.infradead.org 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=BAD_ENC_HEADER,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 --- Changes since v1: - Rebased against latest imx/dt branch arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 6b17b85..2030de8 100644 --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi @@ -99,6 +99,13 @@ assigned-clock-rates = <0>, <0>, <24576000>; }; +&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 = <&gpio3 19 0>;