Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1328537imm; Fri, 14 Sep 2018 15:50:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ1Eovn7WClDfUNZXPBvuMbQ/ABRFJWSkaHTWS10lGn1PRlGBZjS2lxjc/cD9Z7c7iJYhcH X-Received: by 2002:a63:5ec1:: with SMTP id s184-v6mr13836681pgb.26.1536965435759; Fri, 14 Sep 2018 15:50:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536965435; cv=none; d=google.com; s=arc-20160816; b=gLhA80UUys8vwnupRv+XtEkKr0XarVur0hSSgG0Wo4U8fo8jcpXuZ4Z7D/TOz9ArZt 3SMM2AezIUBC1wHFTY6sZUKeVXwuaFOXkBH8l0BuXBEfHHT3fJByQ7/qI/ZhxvDaEilZ 0tY6GRakGMpTxO/CgXqOYfjEjX8AyyW5Q+X46AJu0kTm/g/YMYuxd7rqy1OPX7f/agJr 1mx9orsy7nqRukTRGcbYK0s2aZLnGgd89Fia/hpSRAP+jj6L85u8s22q/3e7oBh39By7 tRPCyf6SiVBDcuubNWDoBnaAe8AZ9lP5ATWyl6CWqFHAzXELa/TB4zjkuP1BIwlYTjeA n7ug== 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=83JfwUbT9HoWhj/NTg5MHTLBfvk7eI1dLuhVMQoLNOU=; b=n+pvYQr/bi0hm4sNLp5iApDx9fvMJ/sJGfNXqkritcgsETFxWjdM8FHPRvz4OZVHEg OvXwJ7lq7hQgverKlg4Le467jfvLUv+YPl22Yk2rp5wQJHOl5bu3aYxox9vDQ/VNKjR+ iipSQsmrdPFzYy8ir1NTCPZsWeal+K+SJeRtwKq7DwSsuSiV3sjRZZm9G8+SsdzqBuXm 2wcuFQmAQjZeC58KDoNcvL5elmcmJuYMzJdc3NhVFY5Hh9RLiOymmILiIeLSy8xPtuPM 60gbDJmC8wL+Ps4mnc9tVdmporw+YcXXuzdut4DNG1EV6ISmZnsQ7ponnnx/6cAmEopz DEiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=WH9XkcFo; 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 a6-v6si8029027pgc.659.2018.09.14.15.50.20; Fri, 14 Sep 2018 15:50:35 -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=WH9XkcFo; 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 S1726439AbeIOEGk (ORCPT + 99 others); Sat, 15 Sep 2018 00:06:40 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:45602 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725198AbeIOEGk (ORCPT ); Sat, 15 Sep 2018 00:06:40 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 1CEBE24E0786; Fri, 14 Sep 2018 15:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1536965410; bh=6z+oyHXkhMkgVRa+9haAjdRh0KtpC/5lDfUUwGqNw+U=; h=From:To:Cc:Subject:Date:From; b=WH9XkcFoEgVlYYITVFZCtQ/6gCnOV2ddMyvCMWI29Xx0hkPV9HO5EG13lpnF98x5d pabfl6U6jrArc9xcnAMyMK0qAf5lIx8gFPCzr6JVORQQIB3EKvhB+WrMgoN7DWGJqv 02IUS8idXNO44A4NWTJplnfBA7t/xCKKNyT83n8ovPY3fiGLAHtRaZdHOtyJ7TO3im yCvrCAHbLf9Out56r19RlZQVGtYKJjULHgniX5VV1+UGuM4czdSCLh7JuMKOiMG04U +eWwJOlcXcbWqBjmvBo6tT5sIsCZSWI6OrV/LAaOKvyp8YrZPaDt8UDTF6QObQ8snW MDxgb5/cAM2Ew== Received: from de02.synopsys.com (de02.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id A370B3C75; Fri, 14 Sep 2018 15:50:07 -0700 (PDT) Received: from de02dwemt291.internal.synopsys.com (de02dwemt291.internal.synopsys.com [10.225.18.65]) by de02.synopsys.com (Postfix) with ESMTP id A9F123EF48; Sat, 15 Sep 2018 00:50:06 +0200 (CEST) Received: from de02dwemt291.internal.synopsys.com (localhost [127.0.0.1]) by de02dwemt291.internal.synopsys.com (8.14.4/8.12.3) with ESMTP id w8EMo6sn027294; Sat, 15 Sep 2018 00:50:06 +0200 Received: (from lolivei@localhost) by de02dwemt291.internal.synopsys.com (8.14.4/8.14.4/Submit) id w8EMnvwj027292; Sat, 15 Sep 2018 00:49:57 +0200 From: Luis Oliveira To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: all-jpinto-org-pt02@synopsys.com, Luis Oliveira , Mauro Carvalho Chehab , Luis Oliveira , Hans Verkuil , Geert Uytterhoeven , Laurent Pinchart , Arnd Bergmann , Jacob Chen , Neil Armstrong , Keiichi Watanabe , Kate Stewart , Philipp Zabel , Todor Tomov Subject: [PATCH 0/5] platform: dwc: Add of DesignWare MIPI CSI-2 Host Date: Sat, 15 Sep 2018 00:48:36 +0200 Message-Id: <20180914224849.27173-1-lolivei@synopsys.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds support for Synopsys MIPI CSI-2 Host and MIPI D-PHY. The patch series include support for initialization/configuration of the DW MIPI CSI-2 controller and DW MIPI D-PHY and both include a reference platform driver. This will enable future SoCs to use this standard approach and possibly create a more clean environment. This series also documents the dt-bindings needed for the platform drivers. This was applied in: https://git.linuxtv.org/media_tree.git Luis Oliveira (5): media: platform: Add DesignWare MIPI CSI2 Host placeholder Documentation: dt-bindings: Document the Synopsys MIPI DPHY Rx bindings media: platform: dwc: Add DW MIPI DPHY core and platform Documentation: dt-bindings: Document bindings for DW MIPI CSI-2 Host media: platform: dwc: Add MIPI CSI-2 controller driver .../devicetree/bindings/media/snps,dw-csi-plat.txt | 74 +++ .../devicetree/bindings/phy/snps,dphy-rx.txt | 36 ++ MAINTAINERS | 10 + drivers/media/platform/Kconfig | 1 + drivers/media/platform/Makefile | 3 + drivers/media/platform/dwc/Kconfig | 42 ++ drivers/media/platform/dwc/Makefile | 4 + drivers/media/platform/dwc/dw-csi-plat.c | 508 ++++++++++++++++++ drivers/media/platform/dwc/dw-csi-plat.h | 76 +++ drivers/media/platform/dwc/dw-dphy-plat.c | 365 +++++++++++++ drivers/media/platform/dwc/dw-dphy-rx.c | 592 +++++++++++++++++++++ drivers/media/platform/dwc/dw-dphy-rx.h | 176 ++++++ drivers/media/platform/dwc/dw-mipi-csi.c | 491 +++++++++++++++++ drivers/media/platform/dwc/dw-mipi-csi.h | 202 +++++++ include/media/dwc/dw-mipi-csi-pltfrm.h | 101 ++++ 15 files changed, 2681 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/snps,dw-csi-plat.txt create mode 100644 Documentation/devicetree/bindings/phy/snps,dphy-rx.txt create mode 100644 drivers/media/platform/dwc/Kconfig create mode 100644 drivers/media/platform/dwc/Makefile create mode 100644 drivers/media/platform/dwc/dw-csi-plat.c create mode 100644 drivers/media/platform/dwc/dw-csi-plat.h create mode 100644 drivers/media/platform/dwc/dw-dphy-plat.c create mode 100644 drivers/media/platform/dwc/dw-dphy-rx.c create mode 100644 drivers/media/platform/dwc/dw-dphy-rx.h create mode 100644 drivers/media/platform/dwc/dw-mipi-csi.c create mode 100644 drivers/media/platform/dwc/dw-mipi-csi.h create mode 100644 include/media/dwc/dw-mipi-csi-pltfrm.h -- 2.9.3