Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp5066391ybb; Tue, 24 Mar 2020 10:19:48 -0700 (PDT) X-Google-Smtp-Source: ADFU+vux9vaejm0s6J1ufknTi/6/O7LgKiac6Jw5mAhR1fkv/kKJFcq2r/k9WBM4c0VCIHGZOoo+ X-Received: by 2002:a9d:18f:: with SMTP id e15mr21581903ote.42.1585070388060; Tue, 24 Mar 2020 10:19:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585070388; cv=none; d=google.com; s=arc-20160816; b=UA08cosLComEUtIUCF03K6h7KKWDx6BJ/PJ/oF4Ovmdm/iJP0ng61qQjfNnK6JeQuq G2j/ig7U/+DVs+VTUp78iAOaz44gn9X/vMHJPzqaZwj7kHjYxpC1ccTWf36aGqlMGV5j no9KNTWXbSRgQtNq6/0x3iR/aYPl9bUibiQAkztrc/39DlSkHyErCX7fhkrD1yYyUDxf asgL0kMu0iMY69J8qlKtgzCzlA86o5buWSYBoS9B7p74sIkMwO1aS5myd/bRN031LaZo +mQiK2R9W5f+59aFSHOhfdjBPY3ZI6TK4zy9wn4skCZ0chf79qadOAAhUpGDZz1Ezt4g 07ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=7lBrI8piWpOkN/CIrwnTP6mfzII+Wwa5BdMimr+jC/w=; b=BClS2wcAzWMe/C1D2OGqAIsf+FYuMaRWrruiA0WQvYROe8nkU6ij3rJ9vtRNn7yvUP UJUYV3HHML1MuSnpA57J0VaRsOwPllzCTw8tsIKtkrAe7McIOr+UkpWS/tGosZ+mOeH+ r7hhp7GwMSqbbAAfhDqAIOlcan2Q7KlISqPW1X5mwn9syHa4DgBhz9FgQ6MAHxyGfEL7 zZZEX5qy5zlc2SKZRitQcPwXWX/+D74F3wMqD6O6tI7xl3H1zEY3Pje/crn4+PVGTgmq dN/vremr51em4y2GwCMXg01Jp5gobmIeiN3BYWK+ts7ov2VYPHk6YMV/X1bgPQNukV1D uISg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=Z6mHaE2E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x202si8187080oix.199.2020.03.24.10.19.36; Tue, 24 Mar 2020 10:19:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=Z6mHaE2E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727448AbgCXRTS (ORCPT + 99 others); Tue, 24 Mar 2020 13:19:18 -0400 Received: from smtprelay-out1.synopsys.com ([149.117.73.133]:55988 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727231AbgCXRTR (ORCPT ); Tue, 24 Mar 2020 13:19:17 -0400 Received: from mailhost.synopsys.com (mdc-mailhost1.synopsys.com [10.225.0.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id E3BD74050A; Tue, 24 Mar 2020 17:19:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1585070357; bh=5jpnq54XJHVyKdtK2ilj2VKnRPLNG0vB+S9snG16b+o=; h=From:To:Cc:Subject:Date:From; b=Z6mHaE2EPkseUJzW3ecM6rDhihFKYmeEXlQFWTNaPW/mi23fOlrG3Kpfp627zcdua 1uYxvN3odnDj3BvxDCOf53kQeur9CXvGSQgClV0MTpE8pQ61OJQCWuxo7wytHm2wwH AznVO7gFKzaP69emDCLoTMGz64YUAd3gLoLFX8s3Xsj6xuBsZHLDx68bZKvUXPdBx0 SRID1z1Z5YOnC5YC9brN1yjAC0DM7/BXX5mOn4TDjWzmUgXKzg5UojvNepcoBCXMuq fDbILVxcPlaxCFeVA1wauKngEH7EEr2qtx1jtpSN1so1T0DgTo8eshuZTrVrDrMYep ZzCz492Rf91zw== Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by mailhost.synopsys.com (Postfix) with ESMTP id 66A45A005B; Tue, 24 Mar 2020 17:19:14 +0000 (UTC) From: Angelo Ribeiro To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Angelo Ribeiro Subject: [PATCH 0/4] drm: Add support for IPK DSI Host Driver Date: Tue, 24 Mar 2020 18:18:18 +0100 Message-Id: X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds support for the display subsystem in the Synopsys DesignWare IPK devices. The display pipeline is limited and does not have access to memory, the validation is done using a VPG (Video Pattern Generator), as DPI stimulus for the DW MIPI DSI Host. A Synopsys DesignWare MIPI DSI Host v1.40 is used in the IPK device, that so far, is fully compatible with the driver dw-mipi-dsi. To activate the VPG use the sysfs pattern variable, assigning values from 0 (shutdown) to 4. The usage of the VPG and the Synopsys DesignWare MIPI DSI Host internal video generator is mutually exclusive. The submission of this driver aims to be used as a work base for the submission of enhancements over the Synopsys DesignWare MIPI DSI Host. Angelo Ribeiro (4): dt-bindings: display: Add IPK DSI subsystem bindings drm: ipk: Add DRM driver for DesignWare IPK DSI drm: ipk: Add extensions for DW MIPI DSI Host driver MAINTAINERS: Add IPK MIPI DSI Host driver entry .../bindings/display/snps,dw-ipk-dsi.yaml | 163 ++++++ .../bindings/display/snps,dw-ipk-vpg.yaml | 77 +++ MAINTAINERS | 8 + drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/ipk/Kconfig | 22 + drivers/gpu/drm/ipk/Makefile | 8 + drivers/gpu/drm/ipk/dw-drv.c | 189 +++++++ drivers/gpu/drm/ipk/dw-ipk.h | 30 ++ drivers/gpu/drm/ipk/dw-mipi-dsi-ipk.c | 556 ++++++++++++++++++++ drivers/gpu/drm/ipk/dw-vpg.c | 559 +++++++++++++++++++++ drivers/gpu/drm/ipk/dw-vpg.h | 55 ++ 12 files changed, 1670 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/snps,dw-ipk-dsi.yaml create mode 100644 Documentation/devicetree/bindings/display/snps,dw-ipk-vpg.yaml create mode 100644 drivers/gpu/drm/ipk/Kconfig create mode 100644 drivers/gpu/drm/ipk/Makefile create mode 100644 drivers/gpu/drm/ipk/dw-drv.c create mode 100644 drivers/gpu/drm/ipk/dw-ipk.h create mode 100644 drivers/gpu/drm/ipk/dw-mipi-dsi-ipk.c create mode 100644 drivers/gpu/drm/ipk/dw-vpg.c create mode 100644 drivers/gpu/drm/ipk/dw-vpg.h -- 2.7.4