From patchwork Tue Jul 14 14:15:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 6787591 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 748F39F2F0 for ; Tue, 14 Jul 2015 14:19:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8ED7020709 for ; Tue, 14 Jul 2015 14:19:24 +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 A936E2058C for ; Tue, 14 Jul 2015 14:19:23 +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 1ZF10j-0000ZD-Gj; Tue, 14 Jul 2015 14:16:41 +0000 Received: from mail-bn1on0134.outbound.protection.outlook.com ([157.56.110.134] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZF10f-0000TK-Ju for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2015 14:16:38 +0000 Received: from BL2PR03MB241.namprd03.prod.outlook.com (10.255.231.15) by BL2PR03MB616.namprd03.prod.outlook.com (10.255.109.41) with Microsoft SMTP Server (TLS) id 15.1.213.14; Tue, 14 Jul 2015 14:16:15 +0000 Received: from CH1PR03CA010.namprd03.prod.outlook.com (10.255.156.155) by BL2PR03MB241.namprd03.prod.outlook.com (10.255.231.15) with Microsoft SMTP Server (TLS) id 15.1.213.10; Tue, 14 Jul 2015 14:16:14 +0000 Received: from BN1BFFO11FD005.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; Tue, 14 Jul 2015 14:16:14 +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 BN1BFFO11FD005.mail.protection.outlook.com (10.58.144.68) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Tue, 14 Jul 2015 14:16:12 +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 t6EEGADD021932; Tue, 14 Jul 2015 07:16:10 -0700 From: Fabio Estevam To: Subject: [PATCH] ARM: dts: sabresd: use simple-panel instead of display-timings for LVDS1 Date: Tue, 14 Jul 2015 11:15:55 -0300 Message-ID: <1436883355-11256-1-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD005; 1:D90124dJ/P6ykjmJhvIA7ImEZmDDMOhqWacZINAPTFBNDdx7CslFOclra3YZojyhiVdL1osctJnauOM1kWhN5sn61VbqS2vZTLfWeo3+iM3SIzCeMtJJMvxtuzp0IgxJlAIkQFZJiOl32lUKtkj6zrD1knhu3Tkb4I68v/w0Npgeqt9jlkORSwuZRJwVYI43k2jxpM46Y+QzODJG813LQHsGBj2BwYP4iyNwA6yeUbgBX/cvM3y82AcBXZqYqd2e8ib/UHGsuflV1whGidafd49wdAUWee1nHyyUXviZ9aSxHefDRKFus4MOrnYhfr0Hg85XpnXjZrpWzD961WzZupxC7WlzTM8dOl5wdG9x+9xD62UfL9PRaGf+Pmujm5WQWVppxAMNkrwN0oNzbY51njod/QQcx3gXxev7BvqQLjrVsePyrIifw6F+Hw0SDh/v X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(92566002)(47776003)(106466001)(86362001)(87936001)(105606002)(6806004)(19580395003)(50986999)(77096005)(104016003)(33646002)(19580405001)(229853001)(189998001)(107886002)(48376002)(5001960100002)(110136002)(50226001)(2351001)(62966003)(85426001)(77156002)(5003940100001)(50466002)(46102003)(36756003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB241; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB241; 2:3Yko00pY2uTbiZbZrnmzhy2SOp6ynLJXofAr/yDQ3mns9k0XFSB3JRSamV8/6c72; 3:4t0mclDbxp9qmSj9614qiOPkpKzJ/GYPUvBeguUdtNZ6MRyIwhyk0reqj9E3KVRc2PatytSKRapNQ0RdiMmZevJcLUsr8E0Ev/3MA/oseW850cI+dN0xL3gEVcFz2KS6mh/z6NwzpAGFQJVurE/zkO5an/OiJGFIP9CiCM54kdRmh7imMqNnc1SjgqsxSIi8Gk3yOvpiomx5FqaJ2gKTVmN1kPA2svvMomiP6BRv2AQ=; 25:7B/RRNtFTmWRm4ln6uHigBHHKzUxwVz9rwcXNwBmbjGplNPe3kGPF5JJhYbe8KKHMp88H46h48BpUw6teJahbG/wOSL07DpL812+Sy6R0z65FonNTqkIxyWq6hrsGnyT1l12SPWVcekdQKOghVthJvoy0Ocj7vKIHz56iy9W5c2D/ex/vdo4hu/eJWtHeiVF4cpQ20ehHQsKlh/MeIFtnontMI/QLm9e6COj7NzQUDZRP2bFpo8WLfzWwV4/A4Tg; 20:CCIxZ679x5xX+khNA9bTzVmb5Y7eijLJ8IKsLQp2rvLMgyToMXLRxFEzZ1+Ozeb0tj7VchDlXnvEqjcDzifRj77rzFD3RxxLcVXPCchxotfD/nu81GJq6sc/uKdCBM0XTsjvV2tXoOXuo3CjV5MXdKNn+0jghOAJHkNyEO5wiNCgl7mig9WAJniKRye6thC5Ept1jcFWK5iL4Vw1BdsvzaZbOc6fOUrgT0jOwkqMrUjj6dZ55E5bPr6gqImshXv+HpA4w6ygUkySKgIzbORQUIFzpMeBrpTu0M53wt5sdBpEsR/1k7bqdheIpZSzGQP9NjC/MEeOIfXUtyYt7JIXu/waUBL6hFTxS05Ot+n5lLY= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB241; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB616; BL2PR03MB241: X-MS-Exchange-Organization-RulesExecuted 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:BL2PR03MB241; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB241; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB241; 4:B7kbDkl9KDSTWrN1OwW4rords8uN5dsARatWCdRDumVP/v64nr2U4+aXbz+nUnK6qDUPYpOYVtgcJS8CTvDpr9d6lf13tLHBXmFkncJKGOAIYNbmF2Dp9pjTPTTVCrGl45vOI8fkmgY+kG4bwAUCKo03BCfitz1TB/sX8j+IHjaJ1Xz7Z7Ki/CegNZvbXAyN+oX4KnGLipp2FrDdvsG9r6+2lvjrgrhELVA8soNWfzcBXJYfj0cwL9UJAcigjzVMrDNaPPSEi/TohrepiE/exq4cGJuivVp4pU5cIYPiIuk= X-Forefront-PRVS: 0637FCE711 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB241; 23:XeCe+AxJMprigVH4YNRTcqShrYoRa4kMXJMx70rICD7ztno6qZw17nRMyHexYVLqDCNvfKArZVYlyMK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2rsndyzLnGB38GRYSbU/b6eQQWT7Ij7xo2AC6FEvFUtrLuLDInDb9nuNsyC6erBuoGrNGGliUkFRc6luLQ2Y=; 20:e9sZJx7IKquQUIigOE2BR30aSRmDLPdK4HIP2tdhen2IuJjJDlyLUCkUhn+wvr+U27P8khM7+WdEqxJZ+JdRmw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2015 14:16:12.9496 (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: BL2PR03MB241 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB616; 2:HRfEq7LQBft7hfk1FJc/3Wa0b1xf2F3CMrOQt26wyGGtq/spMG+WLdV8Pbqnor+m; 3:VZOWY58RSvwG32oHSxicSJ8957x96VfA/MIo7Y9Dd8mkRDw1wV5g0kBnMySp2fgyG4bHrdtgHWHVXfgfs/GXoiYcUloYohGzusvHHx4X7Vk8OdaCjs50Ch9MS2YBhKBk444hUr13/CTG/X1FkkpvP22FtrreshGihVrTxkGt6dOO+O1dJakYM3WaUo2JN5qN5Z0XLYFu12Bh7CB+8LT7/Rclefm8f/4rGMy29dD21xY=; 25:QWjQQk37OWy8B98KiW1wFlDw14vc1dJXtL01AzDRVxXqdQ/i6BsA+oulKnSNAOm/Sn1/ZhLOs9VXDgSEbAF8HPyWXjpTQ5O1Tdi2OlyiMeKnrfclylJ+DCEXfv3/lzJ/iABAyl1lZZiTaY2L1fHh9zkOxwztto0aAQ0m7mf8FA4rh9VvEthKV6iFXwr9Lw0bFCxbILpH7F1bkTs8q3mr7pV1zpD6eEnXY2CRUUXD1gBSbjUMcV5OAYAh3vuGnOwG; 23:QhWAbV7LA5s96+0HsAmfoC52GJZzx7MSb0vNYMDz641l7vbrZjcDpls1B8VOge1trlvIWXzIZTFxb5RWdyQRHf/Ecww2gTlEJePMQa0Hz/INW00UScCzQutb2LoOiqpuuc1atnB4zGcMs5x6VFwz1iuVYjxTqkhLn75tUnV7M9U6xewCo8stY9ZPyPWu5l1RHjMNoYAaQtLSA9wvpzOsqx4ey8c84RBeZCkg6su7IpDRAFzdEu/+1/HUWXzPARaB X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150714_071637_820925_A7FD8C28 X-CRM114-Status: GOOD ( 11.74 ) 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 , eric.nelson@boundarydevices.com, linux-arm-kernel@lists.infradead.org, p.zabel@pengutronix.de 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 We can use the compatible string "hannstar,hsd100pxn1" for representing the LCD panel that is connected to the LVDS1 port. Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index cca847e..5fecb3a 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -115,7 +115,7 @@ mux-ext-port = <3>; }; - backlight { + backlight_lvds: backlight_lvds { compatible = "pwm-backlight"; pwms = <&pwm1 0 5000000>; brightness-levels = <0 4 8 16 32 64 128 255>; @@ -123,6 +123,17 @@ status = "okay"; }; + panel { + compatible = "hannstar,hsd100pxn1"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds1_out>; + }; + }; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default"; @@ -508,18 +519,11 @@ fsl,data-width = <18>; status = "okay"; - display-timings { - native-mode = <&timing0>; - timing0: hsd100pxn1 { - clock-frequency = <65000000>; - hactive = <1024>; - vactive = <768>; - hback-porch = <220>; - hfront-porch = <40>; - vback-porch = <21>; - vfront-porch = <7>; - hsync-len = <60>; - vsync-len = <10>; + port@4 { + reg = <4>; + + lvds1_out: endpoint { + remote-endpoint = <&panel_in>; }; }; };