From patchwork Fri Nov 7 06:12:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YoungJun Cho X-Patchwork-Id: 5250171 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CAAF5C11AD for ; Fri, 7 Nov 2014 06:12:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0602F2011E for ; Fri, 7 Nov 2014 06:12:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 204B1201B4 for ; Fri, 7 Nov 2014 06:12:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750996AbaKGGMf (ORCPT ); Fri, 7 Nov 2014 01:12:35 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:45485 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751059AbaKGGMd (ORCPT ); Fri, 7 Nov 2014 01:12:33 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEN00I4HNWVA0C0@mailout4.samsung.com>; Fri, 07 Nov 2014 15:12:32 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.46]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 5D.89.17016.FC26C545; Fri, 07 Nov 2014 15:12:31 +0900 (KST) X-AuditID: cbfee68d-f79296d000004278-e6-545c62cf773c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 8E.7D.20081.FC26C545; Fri, 07 Nov 2014 15:12:31 +0900 (KST) Received: from localhost.localdomain ([10.252.75.90]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NEN0008LNWSE930@mmp1.samsung.com>; Fri, 07 Nov 2014 15:12:31 +0900 (KST) From: YoungJun Cho To: dri-devel@lists.freedesktop.org Cc: linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, mark.rutland@arm.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, robh+dt@kernel.org, galak@codeaurora.org, kyungmin.park@samsung.com, inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, a.hajda@samsung.com, cw00.choi@samsung.com, kgene.kim@samsung.com Subject: [PATCH 1/4] drm/exynos: dsi: support Exynos4415 SoC Date: Fri, 07 Nov 2014 15:12:24 +0900 Message-id: <1415340747-27904-2-git-send-email-yj44.cho@samsung.com> X-Mailer: git-send-email 1.9.0 In-reply-to: <1415340747-27904-1-git-send-email-yj44.cho@samsung.com> References: <1415340747-27904-1-git-send-email-yj44.cho@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkeLIzCtJLcpLzFFi42I5/e+Znu75pJgQg02HzSxurTvHanH9y3NW i/lHgKwrX9+zWfS/Wchqce7VSkaLSfcnsFi8uHeRxaJ3wVU2i7NNb9gtZpzfx2Sx9PpFJosJ 09eyWLTuPQIUm/ySzYHfY828NYwel/t6mTxWLv/C5rFpVSebx/3u40wefVtWMXp83iQXwB7F ZZOSmpNZllqkb5fAldF06QNzQYtAxZvW/cwNjKd5uxg5OSQETCTmnXnHBmGLSVy4tx7I5uIQ EljGKLGjo50Npujy5busILaQwCKgxH1PiKJWJolJpxaCJdgENCWef9wBZosIKEv8nbiKEaSI WeAhk8TMhvVMIAlhARuJB5f/s4PYLAKqEnsm/AZr4BVwkdi9dgM7xDY5iSm/F4DZnAKuEhNm PWaD2OwisfXVBbDzJ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Ro CnTVRGYp0eR8YBrJK4k3NDYxM7I0MjM2MTc2VhLnPdBqHSgkkJ5YkpqdmlqQWgTTx8TBKdXA ePa17g3feS1lDta7j8XYv/VJfDVxquMx6xl7uBdJhx/XesA15ZJ2eTdv7VoLnfOhj78HtKrz /56pEHRyxZ2MSXP0NTyPzZ2mKuqb23it5n/DZ6OaLb0pPLeVrU947SjhPhb5cSZHTtwOhsxa Cf+/x4wLQnUSrLpPvvS9P2E//51bTisWLPKSU2Ipzkg01GIuKk4EAMiCd5LrAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 This patch supports Exynos4415 SoC. Signed-off-by: YoungJun Cho Acked-by: Kyungmin Park --- Documentation/devicetree/bindings/video/exynos_dsim.txt | 1 + drivers/gpu/drm/exynos/exynos_drm_dsi.c | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/video/exynos_dsim.txt b/Documentation/devicetree/bindings/video/exynos_dsim.txt index e74243b..ca2b4aa 100644 --- a/Documentation/devicetree/bindings/video/exynos_dsim.txt +++ b/Documentation/devicetree/bindings/video/exynos_dsim.txt @@ -4,6 +4,7 @@ Required properties: - compatible: value should be one of the following "samsung,exynos3250-mipi-dsi" /* for Exynos3250/3472 SoCs */ "samsung,exynos4210-mipi-dsi" /* for Exynos4 SoCs */ + "samsung,exynos4415-mipi-dsi" /* for Exynos4415 SoC */ "samsung,exynos5410-mipi-dsi" /* for Exynos5410/5420/5440 SoCs */ - reg: physical base address and length of the registers set for the device - interrupts: should contain DSI interrupt diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index acf7e9e..ff17c6e 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -316,6 +316,11 @@ static struct exynos_dsi_driver_data exynos4_dsi_driver_data = { .has_clklane_stop = 1, }; +static struct exynos_dsi_driver_data exynos4415_dsi_driver_data = { + .plltmr_reg = 0x58, + .has_clklane_stop = 1, +}; + static struct exynos_dsi_driver_data exynos5_dsi_driver_data = { .plltmr_reg = 0x58, }; @@ -325,6 +330,8 @@ static struct of_device_id exynos_dsi_of_match[] = { .data = &exynos3_dsi_driver_data }, { .compatible = "samsung,exynos4210-mipi-dsi", .data = &exynos4_dsi_driver_data }, + { .compatible = "samsung,exynos4415-mipi-dsi", + .data = &exynos4415_dsi_driver_data }, { .compatible = "samsung,exynos5410-mipi-dsi", .data = &exynos5_dsi_driver_data }, { }