From patchwork Tue Jun 23 16:03:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 6662271 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F29209F39B for ; Tue, 23 Jun 2015 16:06:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2EA642063F for ; Tue, 23 Jun 2015 16:06:33 +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 01F67203B8 for ; Tue, 23 Jun 2015 16:06:32 +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 1Z7QgQ-0002Fs-DP; Tue, 23 Jun 2015 16:04:22 +0000 Received: from mail-bl2on0102.outbound.protection.outlook.com ([65.55.169.102] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z7QgM-0002E0-2a for linux-arm-kernel@lists.infradead.org; Tue, 23 Jun 2015 16:04:18 +0000 Received: from BY2PR03CA041.namprd03.prod.outlook.com (10.141.249.14) by BN1PR03MB252.namprd03.prod.outlook.com (10.255.200.24) with Microsoft SMTP Server (TLS) id 15.1.201.11; Tue, 23 Jun 2015 16:03:53 +0000 Received: from BY2FFO11OLC002.protection.gbl (2a01:111:f400:7c0c::111) by BY2PR03CA041.outlook.office365.com (2a01:111:e400:2c5d::14) with Microsoft SMTP Server (TLS) id 15.1.195.15 via Frontend Transport; Tue, 23 Jun 2015 16:03:53 +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 BY2FFO11OLC002.mail.protection.outlook.com (10.1.15.178) with Microsoft SMTP Server (TLS) id 15.1.201.10 via Frontend Transport; Tue, 23 Jun 2015 16:03:53 +0000 Received: from fabio-Latitude-E6410.am.freescale.net ([10.29.244.54]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t5NG3mqH009963; Tue, 23 Jun 2015 09:03:49 -0700 From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH] ARM: dts: imx6qdl-sabresd: Allow HDMI and LVDS to work simultaneously Date: Tue, 23 Jun 2015 13:03:37 -0300 Message-ID: <1435075417-28708-1-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC002; 1:oPiLuHSrJhE2DgSuRRjcSmZbbPMwPOc+DMETv48HXDccwCWsHhkNJvFNfg2LG2TGe57Btxsu5T+aJKPs2diZN+VAgo4q2kt3nNaUsnEimYuJA6eAXF3upfbd0tuGYn7aFyaYMyfGiQhQSWrbYp6wyGGkVkNJ4ek/St1AGU9AAv06XzFifJHgEJRa8EI1Oonlvf/GuDK8dqBsJoVTveXW3IuxkvOabpN0Min21+Ccpalo8swQbATdwt+gZgLgmqg2/+3f5Lw7/KRUwIDoHh3w7fZvC1usNJO2wAFd76kJrUr/WvxpadP0L1MaFJbuIo9QxT3UUfqH8qnxQTFw8dr9QQ== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(110136002)(48376002)(50466002)(36756003)(77096005)(189998001)(107886002)(5001960100002)(104016003)(105606002)(47776003)(229853001)(106466001)(2351001)(86362001)(2361001)(6806004)(19580395003)(19580405001)(33646002)(46102003)(87936001)(92566002)(50226001)(50986999)(77156002)(62966003)(32563001)(4001430100001)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR03MB252; 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; BN1PR03MB252; 2:+YrKHZ1iG1j3T+fqllWmTpxyktvgB1ozMfQI5a2nmYABwWWJL/lWokVXWjsnZRUV; 3:6QovsE38Obl6ff1XbcSpQlb2Tcm0CszrSzvF5qg9S2Z7EXfxO8bnKPQc439EH6/Ytk/l+pFjQaHsmkCi6FgX4Q5TriZBilLrBS7YT9mLw0RFEv9lPprgQfjn1y0YZMbQPxMF9ElKWiimQukfEdw+pAkyl5fNA3GDtmZjMq+aYPXHHEB+O5Eh6VOMvUT4IeCdcf2GeSZ4AWVlvIvcFbK7YWFTPguTUUWk0FGHYUX8kdE=; 20:/pL91x5eJHU787rWwpPFQ6N5ReZ0v8HMjObLTd37Dq8pYw5LG8erDrYz828FyYdyGZpap0WH7ehJciGj48oKwT2R4+qWNiPFwleuzxH6JV+MVAGrKmo4QW/CU9GUIXgc37ePQqchO3WUQ67ERJQZUDgglSLMnuzRBdFp5MbqxAWbTDNBMivYkRylLudHFXFTn2J9LA7yQjHmXim6LCGxIrXC9blNSaWgAyBo4lOMYl4WZDgmuu95QEjup+TFdtxVLYsgut9kdaMnnzyEMWMeANFUmZIwffRPmd45vJPQiY2wdcoV/0sFvyoNrig3zAiAKzSuMg8LFPuAQz1bo7dp7d5UMqV0bXvQYuZFomo86i8=; 4:DBVRx2X/k/eoTACXO8OnJQF+AjE9tenjoTdP3pbUTGvII71V6Bt2ZmFaqMO6Fn5gmRXCs0/lsoL2wIBoTEWy6roUF1eTIEkQi4rwpYjvmk7T+DGNPNUXQSgcQ2biTn1Tg8lvFLgFB3ZO8+NBvlVuLGqwRIfSc4A1zfk8OrV3MCd3l8+Nho95irJd/H9h7KIjOqJyLHM2S8MJY+AbWpBUMn6IK+OJPVYwI7LNTySWlizDTQyqufzFKOYTKPam9ES5l276LwB+nod4iacVplaS3NbZTCmhxg8Q6NCusDngc+4= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB252; 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:BN1PR03MB252; BCL:0; PCL:0; RULEID:; SRVR:BN1PR03MB252; X-Forefront-PRVS: 06167FAD59 X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB252; 23:uykzFYaOjyPqgSifewJNTxZb6agb4pUwo1l0E9NJ6G9VPiNFYBvkUxDoETezliiMkVIpX8d/ZZ65kAXEVLD9iyhT7sZ6f5ThKKdVZgDGyzXFZ0iW5zn2RP6iOtJJ0iHFGYWsBy1CDdK5HJd5fFRviGO5+Ca0qWGDpfE4dY3rj1rRkb2lvdVE5zIpxwkwlA1pfqrMwBQyQypdx11R2brcn/GQcraRF2HCWPea/As36UhggslFEOGJuMP42NSSrF+S2Cp+fBCOn4Y8MswfQNfcTg8st5mAHXuCY7O7hKQ4yamoxMiHtmcEH7WBnGMpe/1D3S2wNsR/j+KnIDGrXWZGglFyQrgoUSGfSqL2ba2s9KhICZ034AdsjrjWxMr9Wek+zpCF+yvgDF9IUwabAsNcxHEfWeh2dZS8q8/B5EAhlZrsbAVsClxt9V+33xesm38WrF8mkKEcWF7rTL5AByywwlqqMF9M0j6B78BXJc3b2diNIPL0gGZZ61wLfzuLEN0FGU4Udjkhio0CtVlg2XNu+bNlGS7IZ4CJiMKyR2Y1ye44fMLdVhqilvnWWWk5oHFVGuoXT8O9SumoeobU5PNLpKzWU/hwTfPkgySzmkVZBBW+qurh6KVpkiZEmwVijiA3zw/EVUPWeqnKa8pW6T1hhz1awM4HTFT0YPOUyFjI8h7+VcpRHonxUCXdCZWvYATc/odtiFUrMg63oLlYDwAyyQW66rCSDpbMTeSO1ko7lbAzw/1N2IIGFdSs6RcA9BX/0IpMIxsd4ufZZxQHMNUcRY0zIh86mfvyMfyDld8FE6lDuPgbiXFaxH/HrWBIy+/6Mj9amqPtISFlotBbg6avTAqC7Zb39fl4c1IbIrL6IRiCdKY4VHTEzZhEOJDvMpoHmi73omA1hhjivjmE6Gs6K6GawPZNFkjoe1VeKZWA7xM= X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB252; 5:ms8SRctb8Wb3obTwGVu92XTMMgKUHC7o8uiym9DVnlH5rwLa6Hpc9/yxjBDnVeiTN+2ZsGEry6uqwsGeiezt6oBYfgCj2pQny7g+zew95Yt6zTPiRTXd2qibcxSvygAZ8YmmLDUtQlExsLD8ZMvDRA==; 24:gRMdwU/8uke3YZ1GqV8Y+HcSzk2BG8DeZ0Ex5SUKaG4/+mXVHFDFXSVU6lHtdnblGO0u9nfbU7Fj1nhPK9CSGkULDeiayXAidkg4nhYEyQs=; 20:siR6deaiKZ9pmENYXpnEkudrQ611POtk+kzpPzTRgXkzpCm9fO7th0wOyHatUcT7hkw4pjxa11J5BPPVjm+PaQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2015 16:03:53.2618 (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: BN1PR03MB252 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150623_090418_275570_31205DFE X-CRM114-Status: GOOD ( 16.52 ) X-Spam-Score: -1.9 (-) Cc: Fabio Estevam , linux@arm.linux.org.uk, eric.nelson@boundarydevices.com, kernel@pengutronix.de, Ying.liu@freescale.com, 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 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 --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index a626e6d..dd1bedb 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -494,6 +494,10 @@ }; &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"; lvds-channel@1 {