From patchwork Wed Jul 25 15:46:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10544193 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 54BF51822 for ; Wed, 25 Jul 2018 15:47:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 432582A50F for ; Wed, 25 Jul 2018 15:47:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 375A82A510; Wed, 25 Jul 2018 15:47:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5EE092A54D for ; Wed, 25 Jul 2018 15:47:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728586AbeGYQ7Q (ORCPT ); Wed, 25 Jul 2018 12:59:16 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50553 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728528AbeGYQ7Q (ORCPT ); Wed, 25 Jul 2018 12:59:16 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180725154700euoutp0232be0034e2fdf380d8fb7703c9b10895~EpzVLisct0353903539euoutp02f; Wed, 25 Jul 2018 15:47:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180725154700euoutp0232be0034e2fdf380d8fb7703c9b10895~EpzVLisct0353903539euoutp02f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1532533620; bh=yl2s+2QqO8nARLk2VZ7uskD5jXkD4sYZiMN3Dlq3vkc=; h=From:To:Cc:Subject:Date:References:From; b=gMsREa0uYQLWJ4FOzi1GcECWE7BmHg/V+Dcb/3F0QCmkeHKxTVqmkiyzRY7sbUyfr hb3iB3dBm39lUiwvYXUxZQ+MjlU3X+IQICWNjJMfCiLkOjrW1X14JEZq5YujSu8EZw CPs4yujb8kZka9Kw3Qn1gA3UR47USyoXE7htxFoI= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180725154659eucas1p29c2a4154933f394f52bd99458b97e81f~EpzUYRaIG1897918979eucas1p2g; Wed, 25 Jul 2018 15:46:59 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id F1.A6.61560.37B985B5; Wed, 25 Jul 2018 16:46:59 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180725154658eucas1p14acd753797d90debffca5b6ff6576b33~EpzTkxXl82317223172eucas1p1D; Wed, 25 Jul 2018 15:46:58 +0000 (GMT) X-AuditID: cbfec7f5-207ff7000002f078-9d-5b589b738184 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id B7.B1.04183.27B985B5; Wed, 25 Jul 2018 16:46:58 +0100 (BST) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PCF00M07IIAVC60@eusync4.samsung.com>; Wed, 25 Jul 2018 16:46:58 +0100 (BST) From: Andrzej Hajda To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, Inki Dae Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Maciej Purski , Rob Herring , Thierry Reding , Krzysztof Kozlowski , Archit Taneja , Laurent Pinchart Subject: [PATCH v5 0/9] Add TOSHIBA TC358764 DSI/LVDS bridge driver Date: Wed, 25 Jul 2018 17:46:35 +0200 Message-id: <20180725154644.25412-1-a.hajda@samsung.com> X-Mailer: git-send-email 2.18.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrAIsWRmVeSWpSXmKPExsWy7djP87rFsyOiDU52ilvcWneO1aKp4y2r xcYZ61ktrnx9z2Yx6f4EFovz5zewW3ROXMJuMeP8PiaLBS9vsVisPXKX3aJ17xF2i5+75rE4 8Hhc7utl8tg56y67x+yOmawem1Z1snnc7z7O5NG3ZRWjx+dNcgHsUVw2Kak5mWWpRfp2CVwZ M7sWMRa84Kk4v6+LqYGxlauLkYNDQsBEYsGKmi5GLg4hgRWMEidWNrJBOJ8ZJd68vcfUxcgJ VvT+426oxDJGiSN/VrFAOP8ZJeYtu8wKUsUmoCnxd/NNNhBbRCBTYsPBhewgRcwCPcwSq5Yv BUsICzhL/N34jh3EZhFQlfj4cjtYM6+AhcSjH7fYINbJSzw83s4I0iwhsIRNYn97CyNEwkVi RedDFghbWOLV8S3sELaMxOXJ3VDxeommmVeYIZo7gD5avBxqqrXE4eMXwbYxC/BJTNo2nRkS ArwSHW1CECUeEod3LwKbKSQQKzG7q5F5AqPEAkaGVYziqaXFuempxcZ5qeV6xYm5xaV56XrJ +bmbGIHxevrf8a87GPf9STrEKMDBqMTDe2FmRLQQa2JZcWXuIUYJDmYlEV6Xw+HRQrwpiZVV qUX58UWlOanFhxilOViUxHmlfYCqBdITS1KzU1MLUotgskwcnFINjG4nqs8IWG9XfPq8MLcn 42v91+T1r+1v7uR466HKt8hxa3x3vvSLkGuJvpFHp56X2+x6oteCu+u//jOejH18aj66Dq5r BPN7Cpiv3RPgK4xT2+SvOn8Xz8F1O9p9btyeEDv735+8997XrLmSDjNnKqVlv65pY36csP7J Y+WverUrNkdaVe0SU2Ipzkg01GIuKk4EAJAEIw3TAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprELMWRmVeSWpSXmKPExsVy+t/xa7pFsyOiDXo+6VjcWneO1aKp4y2r xcYZ61ktrnx9z2Yx6f4EFovz5zewW3ROXMJuMeP8PiaLBS9vsVisPXKX3aJ17xF2i5+75rE4 8Hhc7utl8tg56y67x+yOmawem1Z1snnc7z7O5NG3ZRWjx+dNcgHsUVw2Kak5mWWpRfp2CVwZ M7sWMRa84Kk4v6+LqYGxlauLkZNDQsBE4v3H3WxdjFwcQgJLGCV6P61hhXAamSSuf7/DAlLF JqAp8XfzTTYQW0QgU+LS2lZmEJtZoI9ZYsVBNRBbWMBZ4u/Gd+wgNouAqsTHl9tZQWxeAQuJ Rz9usUFsk5d4eLydcQIj1wJGhlWMIqmlxbnpucVGesWJucWleel6yfm5mxiBIbXt2M8tOxi7 3gUfYhTgYFTi4b0wMyJaiDWxrLgy9xCjBAezkgivy+HwaCHelMTKqtSi/Pii0pzU4kOM0hws SuK85w0qo4QE0hNLUrNTUwtSi2CyTBycUg2MWoeDI+z5rvq8/iE+/ZR0Atejpvn+U1tWyfRm n2e6zL39P/cNuWWb5SpPGWh03tjxNWHpGt3DE9Nvv9w6ufEc75bS52/2HlBRe3Ds8afbf2d5 beNaMvlQGd/7p9XlZse3c56SDrHeZOWU7+tybfMipRuTRN4WrzxWYV4lO3dh8p6P0+6Zxt3b o6PEUpyRaKjFXFScCAD3gRIEJQIAAA== X-CMS-MailID: 20180725154658eucas1p14acd753797d90debffca5b6ff6576b33 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180725154658eucas1p14acd753797d90debffca5b6ff6576b33 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, This is continuation of Maciej patchset. I took it over since he can't work on it in near future. I have removed panel patches as they are already merged (thanks Thierry), but I have added fix for timings to allow refresh rate 60Hz. I have addressed all comments from reviewers - thanks Inki, thanks me :) All changes are described in the patches. Regards Andrzej Andrzej Hajda (6): dt-bindings: tc358754: add DT bindings drm/bridge: tc358764: Add DSI to LVDS bridge driver ARM: dts: exynos5250: add DSI node ARM: dts: exynos5250-arndale: add DSI and panel nodes drm/panel: simple: fix BOE/HV070WSA-100 timings dt-bindings: exynos_dsim: update of graph bindings Maciej Purski (3): drm/exynos: rename bridge_node to in_bridge_node drm/exynos: move connector creation to attach callback drm/exynos: enable out_bridge in exynos_dsi_enable .../display/bridge/toshiba,tc358764.txt | 35 ++ .../bindings/display/exynos/exynos_dsim.txt | 25 +- arch/arm/boot/dts/exynos5250-arndale.dts | 61 +++ arch/arm/boot/dts/exynos5250.dtsi | 21 + drivers/gpu/drm/bridge/Kconfig | 8 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/tc358764.c | 499 ++++++++++++++++++ drivers/gpu/drm/exynos/exynos_drm_dsi.c | 104 ++-- drivers/gpu/drm/panel/panel-simple.c | 14 +- 9 files changed, 701 insertions(+), 67 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/toshiba,tc358764.txt create mode 100644 drivers/gpu/drm/bridge/tc358764.c