From patchwork Tue Sep 25 09:13:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damian Kos X-Patchwork-Id: 10615349 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 894EB15E8 for ; Wed, 26 Sep 2018 07:28:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D22A283CF for ; Wed, 26 Sep 2018 07:28:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E96B29EEC; Wed, 26 Sep 2018 07:28: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=-5.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 43B4C283CF for ; Wed, 26 Sep 2018 07:28:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E3BD6E3A3; Wed, 26 Sep 2018 07:28:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mx0a-0014ca01.pphosted.com (mx0a-0014ca01.pphosted.com [208.84.65.235]) by gabe.freedesktop.org (Postfix) with ESMTPS id 64B036E190 for ; Tue, 25 Sep 2018 09:15:06 +0000 (UTC) Received: from pps.filterd (m0042385.ppops.net [127.0.0.1]) by mx0a-0014ca01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8P9BhJE019845; Tue, 25 Sep 2018 02:14:48 -0700 Received: from nam03-by2-obe.outbound.protection.outlook.com (mail-by2nam03lp0048.outbound.protection.outlook.com [216.32.180.48]) by mx0a-0014ca01.pphosted.com with ESMTP id 2mnj9vkfg4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 25 Sep 2018 02:14:47 -0700 Received: from DM6PR07CA0031.namprd07.prod.outlook.com (2603:10b6:5:94::44) by BN7PR07MB4403.namprd07.prod.outlook.com (2603:10b6:406:b6::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Tue, 25 Sep 2018 09:14:43 +0000 Received: from DM3NAM05FT064.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::207) by DM6PR07CA0031.outlook.office365.com (2603:10b6:5:94::44) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1164.20 via Frontend Transport; Tue, 25 Sep 2018 09:14:42 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning cadence.com discourages use of 158.140.1.28 as permitted sender) Received: from sjmaillnx1.cadence.com (158.140.1.28) by DM3NAM05FT064.mail.protection.outlook.com (10.152.98.188) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.1185.5 via Frontend Transport; Tue, 25 Sep 2018 09:14:41 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by sjmaillnx1.cadence.com (8.14.4/8.14.4) with ESMTP id w8P9EcTg028551 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 25 Sep 2018 02:14:39 -0700 X-CrossPremisesHeadersFilteredBySendConnector: maileu3.global.cadence.com Received: from maileu3.global.cadence.com (10.160.88.99) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 25 Sep 2018 11:14:45 +0200 Received: from lvloginb.cadence.com (10.165.177.11) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 25 Sep 2018 11:14:45 +0200 Received: from lvloginb.cadence.com (localhost [127.0.0.1]) by lvloginb.cadence.com (8.14.4/8.14.4) with ESMTP id w8P9Eawi006785; Tue, 25 Sep 2018 10:14:37 +0100 Received: (from dkos@localhost) by lvloginb.cadence.com (8.14.4/8.14.4/Submit) id w8P9ESg7006589; Tue, 25 Sep 2018 10:14:28 +0100 From: Damian Kos To: David Airlie , Rob Herring , "Mark Rutland" , Archit Taneja , Andrzej Hajda , Laurent Pinchart , Gustavo Padovan , Maarten Lankhorst , Sean Paul , Sandy Huang , =?utf-8?q?He?= =?utf-8?q?iko_St=C3=BCbner?= , Quentin Schulz , Damian Kos , , , , , Subject: [PATCH v5 0/5] drm: add support for Cadence MHDP DPI/DP bridge. Date: Tue, 25 Sep 2018 10:13:30 +0100 Message-ID: <1537866837-4408-1-git-send-email-dkos@cadence.com> X-Mailer: git-send-email 1.9.0 MIME-Version: 1.0 X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:158.140.1.28; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(376002)(39860400002)(136003)(396003)(2980300002)(36092001)(189003)(199004)(5660300001)(426003)(14444005)(48376002)(486006)(50466002)(126002)(2616005)(476003)(186003)(6666003)(26005)(8936002)(86362001)(42186006)(54906003)(16586007)(316002)(47776003)(110136005)(50226002)(2906002)(51416003)(336012)(2201001)(8676002)(36756003)(356003)(246002)(7416002)(105596002)(305945005)(7636002)(4326008)(106466001)(478600001)(87636003)(26826003)(21314002)(921003)(2101003)(83996005)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR07MB4403; H:sjmaillnx1.cadence.com; FPR:; SPF:SoftFail; LANG:en; PTR:corp.cadence.com; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; DM3NAM05FT064; 1:Pmrem4+Th2kOccEwMvM0oCagyUvcF4WNJctCzjkHB+DOYTe59W5udY5dnwqnQfSy7kkygU0cR62oOGIi+w2rMdbbKEkHFOPp5/ouVALOKwwLrol9P/wOZ/f/Nw0OWbUU X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 89310055-f08a-4e53-2924-08d622c7543d X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060); SRVR:BN7PR07MB4403; X-Microsoft-Exchange-Diagnostics: 1; BN7PR07MB4403; 3:g4geS8mC6dFqD5qThgpBIzjbWgCgcRdjM6frOuR+duEtiI/3O51gSoeuOeMQPvfapywHttt5iXpGXmqA2Au41b0/udJmjRGJn0uqNpiUz/crvzvcJCF3shnfMn+JBcHirXUHBxR/sbi0zE1BJWUdSFaGUwBxjJM6D6K4tMNeWTj9OrRizz2YjClfcoq9atyYTRi1VTIeIIvvK/WygM5NUbaDTBFIkHy55EJOR6gjJYwxnnnpnPJax/DgiwhLvKQOKk319VBwBld73MsaCmalOO1rtoMUMpcsL4+9AMCsFyBqn0T58IvHxZpqjvGPXxMtstbNwyKa5vjkpYwYVknmY2uw/jnBcgqIbkdIbog2kzw=; 25:eH930ywEEZxO/C3po+Ewc5JpdTRHqzHNRJG6Gm+Q49alT7h/G9UPe7gOBx5MXZLSuQHziLOZrEMtCVm7h4AaQaE4QHUBNyA+TqwMIrowYAdjXXm5HsWAZy1BnVnKwWH2Gb+EDK4skMmcwYJik1IWeIn74L2FVoqcgGP8MMVr/E2AvVrhdYpgupUFOr4bUIFqOa4oEbexKruFzFJFOaSxs1X9awVDIMDrh4i5cUavqjr4QL3J2n2uPwFxzCHwPEFUWexOkYUX3hkV2gtq36moqgNVqFznMrA/nnSqxNkpI+1ewmlF0xbY5SBBIGJUwRH6CpFn5IQn7wng69fH9BcSNw== X-MS-TrafficTypeDiagnostic: BN7PR07MB4403: X-Microsoft-Exchange-Diagnostics: 1; BN7PR07MB4403; 31:kmMylaHtw01uBscyrgW60bclPLUbWkEVauarmX2KQHyeCZ5+ZbyHncjp6c7VAgTzK8qcya37yH5LUzNYGVghESiQ+IeztiaiGsgM6pw6RCMbBXIWl2ArzzcXUqmbWZnTCIyKrje2Tj1EvmLpwlkVPS/ySKF0AbqVBFAlNaG5z6hgahLIEg0BIzdzjXSPE3BKkvnAuSG/nBBl9ZA+KwPTfml7DsY7pAAOejtpCk22zJE=; 20:8qaQ47RzoGP5G4eDYTMJ8BnYXqVrN59REf1Y5RT/Q3EL3148TUDDMIGzbv/0zAupOJixCIsgVp1jIZH831NQ0aaUHANVMM5lT9fRBDBdM7zyLtGtzmGJLIZ7F9rHpazZZHdQby9GL5hkXL7t8n7bwtmz+ujY2uwZ1cnDuIx0UTnrkHt85/iQyzeZ85EJoNeglCgf9u/HFxJLtIlnJJnGqmVqpX42N9ZfcJESHUwEtoe8LgeSIdIlvmJSxFsZagPVDrc2pA4mAhhLLR15O8KxUJ2KVHEC2wykdaXRoUwFm3q2TyOswZj4n1WtRrdepWBUDz/E7FMYlKaQpg7K6JgwSp2lPgHAJNGu/nc6annawZx/+/d2lN7OE/OwPRAhxNsfAcfw9E0cRzmmQ0qdV4wB1T5o4EkH7esraBjcckkYJO35OJTfMNGpOoaZ+3/NH3ITMup1CIxmEaEtvy7k2766I5B3NvA3HablbtjAXU90YCaclMkQ+pUmp/XhDRST7aVj X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93003095)(149066)(150027)(6041310)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051); SRVR:BN7PR07MB4403; BCL:0; PCL:0; RULEID:; SRVR:BN7PR07MB4403; X-Microsoft-Exchange-Diagnostics: 1; BN7PR07MB4403; 4:ScQXCysAiWMx5IY72w4TfbwGG6TSibeFagk9GJ1YJj1lqbA8f7pCaPC3Hhzk8klSqKcNxbx2QhxAMweAzln23YDF1KkC/YGlOSQMbjLBDNhwdTORK4zWYYvvPRm5MAzU06NkB0O5ditjOic5lqonIufh71AAJ6wgoAl2SAZDsGUunRFb7DyWhHzYksAAZncYjP/MefwYUGOCmXoenDNyMT59M83EmnHkfMNgPnP1SeFf9WOgUxs+Zf0I+YW8bvOqHF7NKYn+H7iMnt9/uQVB5Q== X-Forefront-PRVS: 08062C429B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN7PR07MB4403; 23:qj1J63tScR3tF91ApWLwkfw6fsLSAEM3yUrvrr/4e?= SGG7RLs7GcCuyYKu+jew1D5+MTQfp4Qva5/fnjqb53gnhRDChi24O9HhcYhfqYD/wtEa91XovORtMJvzJI2Mkzn44mVgzF5CBNGNkv3xbBgfLr0/bNh7/am2pDiHEn0f2kVFpDmObOsHZmgJ+rN68SdR8LSJ1mdh7nuLOCANiTEWaTbt3uXN8N5RX7Ih9k5BEzEGcqBCbBwYb4Rmp4Ws1KwODbuMnJWPsZvGD0lyEQgz5FGEJlfdUUzw74wXXqtY9FiGc7usQGkJBIzUb/vWF8TDtVpPmuwauMxkWUh264B4t4XJv8pc6CX2HxwgLXb7O8u/r43W5LpqNIq2Vk5UIgt91veeRbcWmoZhes+eek4gUk/abpoPwlYnEwODjPVeYHCnmWjXoeJ3XrdS52Wc1/2QG+hfIPSQq81/C5NKkN9qD5kgPmK+Q9pisFwAWmB9Y6nAijrI6GS5P/LqtyaJCMYLBEpBEKOfCY+fAdgjQc8nX3EUZI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SGpRoa4GarBVaFtKYOHvnGEs/rpLS0vEFa0JEnMX3Q/RLeWcbX3JdZUcsKUYLzPB1uEbIf/usdMems85flFfVgbqJzks/mp3CoDpaw//7/nqYcNiAXpQNwOtsTlGMTbuDfVjTgZLDg39yvmxXotdqxV3Vkt/jDNPN64MUPtJ X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2018 09:14:41.8040 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 89310055-f08a-4e53-2924-08d622c7543d X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9; Ip=[158.140.1.28]; Helo=[sjmaillnx1.cadence.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR07MB4403 X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 a:mx-sanjose2.Cadence.COM a:mx-sanjose4.Cadence.COM a:mx-sanjose5.Cadence.COM include:mktomail.com include:spf-0014ca01.pphosted.com include:spf.protection.outlook.com include:auth.msgapp.com include:spf.mandrillapp.com ~all X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-09-25_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809250096 X-Mailman-Approved-At: Wed, 26 Sep 2018 07:27:58 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: quentin.schulz@bootlin.com, jartur@cadence.com, jbergsagel@ti.com, ltyrala@cadence.com, pgaj@cadence.com, piotrs@cadence.com, rafalc@cadence.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hello! This is the series of patches that will add support for the Cadence's DPI/DP bridge. Please note that this is a preliminary version of the driver and there will be more patches in the future with updates, fixes and improvements. Please keep that in mind when looking at FIXME/TODO/XXX comments. Initially, MHDP driver was developed as a DRM bridge driver and was planed to be placed in drivers/gpu/drm/bridge/mhdp.c. However, there was already a driver for Cadence's DP controller developed by RockChip, but that driver uses the different DRM framework and looks like a part of a bigger system. Both controllers (including firmware) are quite different internally (MST/FEC/DSC support, link training done by driver, additional commands, IRQ's etc.) but they have similar register map, except for Framer/Streamer (which is noticeably different), so they appear similar. The following patches contain: - Moving common code to drivers/gpu/drm/bridge/cdns-mhdp-common.* and modifying it a bit (mostly new prefixes for functions and data types) so it can be used by two, higher level, drivers. - Modifying existing RockChip's DP driver to use the common code after changes made to it (use the new cdns_mhdp_device structure and new function names). - Modifying DRM helpers a bit. Some are required for new driver, some are updates from DP 1.2 to 1.3 or 1.4. - Adding documentation for device tree bindings. - Adding preliminary Cadence DPI/DP bridge driver. Some of the things that will be added later on include (but are not limited to): - Support for Cadence SD0801 PHY (PHY's driver should be on the way by now) - MST support - DSC support - FEC support - HDCP support Changes in v2: - Added actual description of what the patch contains, what is it for and what's going on here in general. - New structure. Now we have one common low level driver + two high level drivers - one for RockChip with minimum changes and one, more general, for Cadence. - Dropped some changes made to DRM helpers. - Updated the device tree bindings document. Changes in v3: - Corrected dt-bindings document - Enabled some clocks at startup (since FW doesn't do that anymore). - Changed Firmware file name to match the file on Linux Firmware repo. - Added SST audio support - Made common functions (in cdns-mhdp-common.*) public. Changes in v4: - Fixed Kconfig in drm/rockchip - Fixed Signed-offs - dp_link_status() is no longer public since it's used only in drm_dp_helper.c - Replaced EXTRA_CFLAGS with ccflags-y in drm/rockchip Makefile Changes in v5: - Fixed Kconfig in drm/rockchip again - Moved cdn-dp-reg.h (cdns-mhdp-common.h) to include/drm/bridge instead of drivers/gpu/drm/bridge/ - Updated the mhdp_validate_cr function Damian Kos (1): drm/rockchip: prepare common code for cdns and rk dpi/dp driver Quentin Schulz (4): drm/dp: fix link probing for devices supporting DP 1.4+ drm/dp: make dp_get_lane_status usable from outside of the core dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings drm: bridge: add support for Cadence MHDP DPI/DP bridge .../bindings/display/bridge/cdns,mhdp.txt | 43 + drivers/gpu/drm/bridge/Kconfig | 9 + drivers/gpu/drm/bridge/Makefile | 3 + drivers/gpu/drm/bridge/cdns-mhdp-common.c | 1107 ++++++++++++++ drivers/gpu/drm/bridge/cdns-mhdp.c | 1304 +++++++++++++++++ drivers/gpu/drm/drm_dp_helper.c | 39 +- drivers/gpu/drm/rockchip/Kconfig | 4 +- drivers/gpu/drm/rockchip/Makefile | 2 +- drivers/gpu/drm/rockchip/cdn-dp-core.c | 234 +-- drivers/gpu/drm/rockchip/cdn-dp-core.h | 43 +- drivers/gpu/drm/rockchip/cdn-dp-reg.c | 969 ------------ .../drm/bridge/cdns-mhdp-common.h | 135 +- include/drm/drm_dp_helper.h | 2 + 13 files changed, 2744 insertions(+), 1150 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp.txt create mode 100644 drivers/gpu/drm/bridge/cdns-mhdp-common.c create mode 100644 drivers/gpu/drm/bridge/cdns-mhdp.c delete mode 100644 drivers/gpu/drm/rockchip/cdn-dp-reg.c rename drivers/gpu/drm/rockchip/cdn-dp-reg.h => include/drm/bridge/cdns-mhdp-common.h (81%)