From patchwork Tue Jul 28 07:06:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 6879831 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@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 5A2239F380 for ; Tue, 28 Jul 2015 07:06:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7A2D9206F1 for ; Tue, 28 Jul 2015 07:06:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5061E206DB for ; Tue, 28 Jul 2015 07:06:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753901AbbG1HGu (ORCPT ); Tue, 28 Jul 2015 03:06:50 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:36840 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753168AbbG1HGt (ORCPT ); Tue, 28 Jul 2015 03:06:49 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie1.idc.renesas.com with ESMTP; 28 Jul 2015 16:06:47 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 0D4125065F; Tue, 28 Jul 2015 16:06:47 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 0EEA9480A4; Tue, 28 Jul 2015 16:06:47 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 07DC3480A3; Tue, 28 Jul 2015 16:06:47 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id SAU23759; Tue, 28 Jul 2015 16:06:47 +0900 X-IronPort-AV: E=Sophos;i="5.15,561,1432566000"; d="scan'";a="192445668" Received: from mail-hk2apc01lp0207.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.207]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 28 Jul 2015 16:06:46 +0900 Authentication-Results: verge.net.au; dkim=none (message not signed) header.d=none; Received: from morimoto-PC.renesas.com (211.11.155.144) by HK2PR06MB0595.apcprd06.prod.outlook.com (10.161.187.146) with Microsoft SMTP Server (TLS) id 15.1.225.19; Tue, 28 Jul 2015 07:06:45 +0000 Message-ID: <87vbd4227u.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Simon , Laurent CC: Magnus , Linux-SH Subject: [PATCH v2] ARM: shmobile: dts: Add common file for AA121TD01 panel User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Tue, 28 Jul 2015 07:06:45 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0024.jpnprd01.prod.outlook.com (25.161.131.162) To HK2PR06MB0595.apcprd06.prod.outlook.com (25.161.187.146) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0595; 2:9+jk4+Y7t+1Gg/5Yia41P1Ybj60tgi4e/+QMk4L8ZDQHn4fneLV5BoRRNiy1i/g9HDYH64NIt0urOq8QD9/joYNXFe0DS5APgvHzG0CWadE6abI+rrIVoEOcQ6nAUPZnPpVkpOpV8JJogXIalg5hg0fnazHCndu74Fea1O3B3gI=; 3:LmmXn2EZphJwHTw1V0wavJftW/yl+1szTXsmxk0cpcX2SkLggFFmjqCEF+v60k/t002EAH4N6oVgQ8lN+oBkQ6DEQmLzhHL8ao076V6OviaOGVXW6IJXSK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P0xlf77tq3Aw1XUYs2CTE//nzBLdLLeItD8CNeamAdtLrzlM0+3+MlnJIQ04uMRx/bBdxfV6A4upyiWp8CKo1XbNc1yCUbH8UUTvjQUXu/tKbsIVWQ/7wDvvQPaJNANYK+s0yb/+wwjg= HK2PR06MB0595: 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:HK2PR06MB0595; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB0595; X-Forefront-PRVS: 06515DA04B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(229853001)(53416004)(19580395003)(40100003)(19580405001)(66066001)(62966003)(36756003)(33646002)(47776003)(77156002)(122386002)(86362001)(4001350100001)(77096005)(42186005)(46102003)(5001960100002)(23726002)(83506001)(50466002)(54356999)(50986999)(92566002)(189998001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB0595; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0595; 23:gF766F5ILYyq8HoQPlGYxDXUZeO6JGVJKgEmvZD5bFK+hRloHyXjEOcSdweficpjDwoWoCK2Kn4A8rx22bFgNTWZKwRt1yEB6ua2xYCboOSNM20m6iUMN/SjHYTAIRqqUX6k4+nS+qpit5Da7CK43XCUAxrxhEmCdLJqmyoMbTJrHKKepGjxP0UwRnZhE8IARZ0cHrSJyhV17u4gUCSLZlBsDbKTniZAOPhFy1DSfMDhZT/A76bD86nLIwMTjyTWcOGT4JMwB6ryB/YjTZUUjdEaTj+9AAtlt0ztfYhqAvHTYB12mJuvdIV9siPBkYS/5JLMHBFLghvzVQjM/p8o8LwEGlyYIx9nObW/xoluOOVyI/OUKDm6trEkznmjtxA4j0zhqIKde7ZSywRp9Bx9qd96NDBUk8ncQcMSV70PQwj3McDHiUSOOpskHowD9yqgyIYR0xK4CqKiM+XbeEyaRTV52jBn/tvAnDDbey3ggdOSimkwWmnnZyCznV+Ad45Sk7st2jkFV0JnLdwnWzY6MZuTijpSnh0vJ+2U1IFsYfcF0/dxEmQKpEUFHRc1nADWenHym+MIuIQVhNu17lxgeCfUZGKQWSzapDdy3yxipDgpgTfvckas265drqjF8O8d/8YSQu4Gj8W33Rlv4ymb/zupOS0xpt3IF7azJFhhhWFxKhZehJtDDyYwGmOtgG3dPWuYYLJPxmz+kmbW/+qtk3zRAkXbir64IAzoRTyxNrnmPAo9cSh/dZR0dU3g1jvN; 5:6trpkctpT5IOtUmmhsL+6pEX4b8sIMidabtAYqnRG441nJffAhs8P6iAtEquKc4KHh6XI50TfSs9WhXpD08sy0RxjM2W4N0+15iEC3iEQKVEYcxrglmlBmjTYUh/7K3lJF1qz0e9YV2L6WfmsbIdrw== X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0595; 24:YeZuO7plynVP8kZGSe+4HWi/cLdJZVzHS8U8nMTI4+xM1p4+aiEeT2Y2OjP1qOk10MqRw4SPV42CuOSMfadjPoo/XwfRZkbjoFvDdHrzCpU=; 20:jL9JL7+6mUVs7VsiO/WkfP+btTouCaygPI565aFO9kFP8i+qZADxb0C7NWaIqOlXT945AXpb9c81H8PBP1EdQ+l5nqsaXXxObjcnHhwAvVL4BDNNH1vmFpz0P8P3m/AvKXG76AgF/ah0QKakGdkAXPQFwbhit8Lr48DVy94vqCE= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2015 07:06:45.0213 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB0595 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Kuninori Morimoto The Mitsubishi AA121TD01 panel is commonly used with the Marzen, Lager and Koelsch boards. Create a .dtsi file that describe the panel and its connection to the board. Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- v1 -> v2 - tidyup panel-timing / width / height settings arch/arm/boot/dts/r8a77xx-aa121td01-panel.dtsi | 41 ++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 arch/arm/boot/dts/r8a77xx-aa121td01-panel.dtsi diff --git a/arch/arm/boot/dts/r8a77xx-aa121td01-panel.dtsi b/arch/arm/boot/dts/r8a77xx-aa121td01-panel.dtsi new file mode 100644 index 0000000..a07ebf8 --- /dev/null +++ b/arch/arm/boot/dts/r8a77xx-aa121td01-panel.dtsi @@ -0,0 +1,41 @@ +/* + * Common file for the AA121TD01 panel connected to Renesas R-Car boards + * + * Copyright (C) 2015 Renesas Electronics Corp. + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +/ { + panel { + compatible = "mitsubishi,aa121td01", "panel-dpi"; + + width-mm = <261>; + height-mm = <163>; + + panel-timing { + /* 1280x800 @60Hz */ + clock-frequency = <71000000>; + hactive = <1280>; + vactive = <800>; + hsync-len = <70>; + hfront-porch = <20>; + hback-porch = <70>; + vsync-len = <5>; + vfront-porch = <3>; + vback-porch = <15>; + }; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds_connector>; + }; + }; + }; +}; + +&lvds_connector { + remote-endpoint = <&panel_in>; +};