From patchwork Mon Jun 29 16:16:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 6689991 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 BC3E59F1C1 for ; Mon, 29 Jun 2015 16:20:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E586D205DB for ; Mon, 29 Jun 2015 16:20:30 +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 15AF2205D8 for ; Mon, 29 Jun 2015 16:20:30 +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 1Z9blF-0000sH-Qx; Mon, 29 Jun 2015 16:18:21 +0000 Received: from mail-bl2on0105.outbound.protection.outlook.com ([65.55.169.105] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z9bkn-0000Z0-5z for linux-arm-kernel@lists.infradead.org; Mon, 29 Jun 2015 16:17:54 +0000 Received: from CH1PR03CA010.namprd03.prod.outlook.com (10.255.156.155) by BL2PR03MB244.namprd03.prod.outlook.com (10.255.231.26) with Microsoft SMTP Server (TLS) id 15.1.207.12; Mon, 29 Jun 2015 16:17:29 +0000 Received: from BN1BFFO11FD031.protection.gbl (10.255.156.132) by CH1PR03CA010.outlook.office365.com (10.255.156.155) with Microsoft SMTP Server (TLS) id 15.1.201.16 via Frontend Transport; Mon, 29 Jun 2015 16:17:28 +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 BN1BFFO11FD031.mail.protection.outlook.com (10.58.144.94) with Microsoft SMTP Server (TLS) id 15.1.201.10 via Frontend Transport; Mon, 29 Jun 2015 16:17:27 +0000 Received: from fabio-Latitude-E6410.am.freescale.net ([10.29.244.45]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t5TGHNcn017369; Mon, 29 Jun 2015 09:17:25 -0700 From: Fabio Estevam To: shawnguo@kernel.org Subject: [PATCH 2/3] ARM: dts: imx6qdl-nitrogen6x: Allow HDMI and LVDS to work simultaneously Date: Mon, 29 Jun 2015 13:16:54 -0300 Message-ID: <1435594615-9570-2-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435594615-9570-1-git-send-email-fabio.estevam@freescale.com> References: <1435594615-9570-1-git-send-email-fabio.estevam@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD031; 1:FM9/ixmn0N7RVjefyoBOhSGpNsKAh/Tdoh3LO5uPeDASqTNSQVHq+qB/k78gKR3zN/3goIS2138NkG9Vz6UXDegkDzlNNoVAlikAl0PbioclDZHmFA7J9As/2mG5IUF9RvGqP/eolAJDK1HEj3CX/I0cGlUB0azXiEex8EUQLv6Uib2oST1rADRGUBcA/YJLVfbaEL1dmzHvkYoB6CxTkEJo8B7gqvYc48CGZv+WHZzM9zZxmFmT/XQ81LUjrvbt4xFdh/eq6rhRaZGjhMD9kPrHpPEu9vuVsfusaFdoKa9aO+jnKj21ZkhU4TT52unwBWLz/xm8lFVGYSjxSYSv7A== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(36756003)(189998001)(77096005)(6806004)(50226001)(107886002)(2361001)(2351001)(105606002)(229853001)(5001960100002)(110136002)(33646002)(104016003)(106466001)(46102003)(2950100001)(85426001)(76176999)(50466002)(48376002)(19580405001)(92566002)(50986999)(86362001)(87936001)(47776003)(62966003)(19580395003)(77156002)(32563001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB244; 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; BL2PR03MB244; 2:dZqk2aiMcsejHqLbTU+2ZyYDPdNkdXt3fDMU661N2rM2xz2Pb82EwWQwn7UXvJtB; 3:IJrgZNMeyn87FEL+XHNMGlZCvvxbaztb+uhnObcHBpRzIINtDcN5eBymST9z2z01JGJBfwB5eTsSvDu5vZcLWmkpJQYDIyzrHngQgNXEcwmthW5aXnfbt7uYGfXCu4ELjQrO9/uT6uFPv0QAUvjDsP0fimeyu95TAeOcvj02EFfITfmzxeGpzNiXRmBNV5mD3p7giaMKr6DVnj4Oy4R2v1LeF/v0MbnkrLn+zpLkwiQ=; 25:0gBhBZRLMR4KdZxfwRAg6pKdpdcJR2GDAZ/PsIid9I2jYIlDSFe8CWiy56JNBxjwxa5nGRcAVSbmbb8EalFUBOMVBP8eRE/iAk81jSCcEyYSepoIdGqKbPifqrt9BLQ/HjZNioHXpF0YyRno0mE1V6DWtoYxaAROT5HrySYh0dkbqCq5QYoUPYVSEHrGaUvy19HVosUqq+HTUKaeGrCboDcoIKXidbNQmwkJEMUZMSVz91o1mi5zCH+23xhsRLiSQNqWwjBpVBLvfaKD8GWbMvGACf2XCoTa2OpfwfzujBU=; 20:L0nGh4RsX59ajd7fWOh1dcl3qsMXmyVhuoxEFYuW4Smuu4ieXsXFsyvZoSdg02FElqlOQEyk/UQwW3tnqcRlf24VG0QA9TrZrSf905OSo/2WiQDjL3Vnr/DzIu0RyPtPeq71NK//qljVh3/GmFrby0LTVIeqzD+J3g2GIWReSSvpfCuvXBQV5pa07py1LkDuppBr02lDgwrUw6bvLhPm+RNPIno2FkjKxURnUTzRiE+I32nZ2vgM3dG9rFguipybq/85NC7uej4PpbUo7wLf75eke0twa+VYEmdJw30bdohmZenA65HsIgAxw6rqlexiKZ/9on+QqeYpmaWn21vu1A+mUtroq+ceLpi0cqVJfeU= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB244; 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:BL2PR03MB244; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB244; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB244; 4:UN+FF6UxYpFggdmiX5PQ8ViPtv7aFSbyh2k9iDXSrPRswO1rEVflrMkBcNKCOMVyyJiEI2vySsTjMnzJqKQH6FLD8vCEcAWueeCtQFhQfKfCW065QRsCIAqmj2pzF7FWx8fqHUuTJonu2MsuW5E/ItmQC796URguHrGmgAkFcRjgLpb838QmXh+UgevbJLr/Q5fh6orB3qhhFdd7tEZIspXzODqDB1svrIgogYMSdV39IGcTSZFDJ3IgBIgR4iQEJ8GtWkZOlx8BPv39+tPq3HmGWEDVjTPm3NOaD+wDJPU= X-Forefront-PRVS: 0622A98CD5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB244; 23:ZcnV8nRKSQpZQ8CpwjGqudCQnC526w/8X1WcQbdBP2?= =?us-ascii?Q?v3bCd6qEC9Gf3dp8LSOoMrMWhCmvIzSSi1ulhWIsVmAVT2azvF/eHlCDqJ8O?= =?us-ascii?Q?6Ro6X9OJ39wlAx7oTOqjTPYheziz7Aaz7wK6Pu29ROjV6vMGgIfa4dy6/i44?= =?us-ascii?Q?UMetaXdfWZ64KIOMao5m252MxX9Dn7UV/pnIpH5hV0ZnKxDuDmGh4cn7YMS7?= =?us-ascii?Q?ofPmIp2bgOcfZoGIZYm4f1dunmPLaLYFOyl5AXK+UqTm17o952Cf88POGve6?= =?us-ascii?Q?A0oLmusz9mC1JL4mjKXxr86zceey5mc00l6QrvQpzj4UKRYHUsTKHy7PgkV2?= =?us-ascii?Q?XMMmo4a3LBhRiQQF6IUv4D+tBEaU54lfMjXyrN/WjPPEzKXK16D+B124Lq7f?= =?us-ascii?Q?syVuqUwAM80Mz1ooEKaBakgztDtTs+/2vVLWSG3QHZ224YUEvcUkU6f/v7N3?= =?us-ascii?Q?c3FNCRrvFdygHTTFiCKd40haSIHZTyHN+r3yEXMHUlFExBGJec9CD96tsKqT?= =?us-ascii?Q?Om6zQGk/NzdH+SlzDY0L0C89m69wT72elrCVijo039Vyv0HM06NEF14F6nL+?= =?us-ascii?Q?odLn70agZu4wIgxTdaVQfhe/JuJWFT7QlI4RMlSfDoy06Z1y/gQlRV2BFgwf?= =?us-ascii?Q?Qiw0h12hq5xR4hDXp2wwv/efoxHVtU4dK0Iw6cUXv3Q9ywCYn+00e6GurCEQ?= =?us-ascii?Q?5gPN45SH6Oc0ST2ISrB4FyNK+gz7m2Kd8C1vJBh65dxrFV9hxYwcdtiUiIQU?= =?us-ascii?Q?+J71seYBaBxUodFiXQwbSmHMImTYyWf7auNMZK5m/P2bECNjXEfijW8/oNkw?= =?us-ascii?Q?j+7GveL2fk9st8sa/rXtBTHcmbK0Pu6+KZuiD4GQkRK21cc7dZgtouBygXPt?= =?us-ascii?Q?aKCOzjF4lK6Ds1f+QHCl4Pi1V5vdZ9AAuvhJsZ3ib5YeByPA2q319YsY3XB2?= =?us-ascii?Q?HSHGzSyX3g3066fPRWTNtdqXgMp3AKhRTwTcd+yA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB244; 5:Rw0iPzp83L162NZXVv/pmiz16clTaO+zjusdCRJ+nJl1VI1XR1Rc3r9Nav1CKAboBwMjiJs790at7ZLsyNP8cEfMoqFelHMjk4eXmp0LX7N3gT8ey7r7TCxy6zK8Z9DF3bjZ82n7GAn9ZxKW+Utuiw==; 24:T3KzeQMVqzw0qcx9qzWcmzJUGenHciIH4i4myAAaMFMbApBF0yHl4yZy4vgMOHpSdpcGuGermp9ALxpJiWzaFakyj89b4aiCJDEeCOcgV6o=; 20:Xl3N9oR5HMhrXj6plDp+S7sg2iQzJp7hTtswolV2MSxoE5i54j/LIOlbxyrjSa9YxGo5iroQNTkvtPZseuNOYg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2015 16:17:27.0147 (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: BL2PR03MB244 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150629_091753_405622_52FB05B1 X-CRM114-Status: GOOD ( 17.35 ) X-Spam-Score: -1.9 (-) Cc: gary.bisson@boundarydevices.com, Fabio Estevam , eric.nelson@boundarydevices.com, p.zabel@pengutronix.de, 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=-4.8 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 Tested-by: Gary Bisson Tested-by: Philipp Zabel --- arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi index 3af16df..1cba390 100644 --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi @@ -149,6 +149,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 = <&gpio3 19 0>;