Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3138743imm; Fri, 19 Oct 2018 05:53:45 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ugqsByySDYYbdAA8Cya1FTPpCSY1Uct3JiPh8gPourDNf0h7UGfsTiQeZKRtKHL7955A8 X-Received: by 2002:a62:2542:: with SMTP id l63-v6mr35341918pfl.64.1539953625494; Fri, 19 Oct 2018 05:53:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539953625; cv=none; d=google.com; s=arc-20160816; b=hCDhrE2c4XRgjzNkCr1xrWYI2LQ72q97Yq8OVxAHOOinErzUx8v5oVx+0NenJ06JOj wp0yR0mgADxBzUyFhevfcyPgdEEkrM0eLhOoeTXoxxVp0NFeDwC0DGXHuMU6yS9h84oI a/1dnLAfDgXjqdlamgnidHZtTR8SP27hGludp077H5OvVQAajbcWw5BFYDn+bqd/ASau eGsi5/6GdW2BmhY6zuuLpCWmb+rxCk08lIB2smpq8NccqBx6lOskgqu3L6ZTtGM0qnma CYHNP3Ydix48nYbFkoUv4D3sIW5DNZcgiWuuybQp1PGpZywRax/4rJ5kxDhyh7VtowJF cE5A== 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=nisTwRH6KL8To9QiIRZkdTSGNiygNjQPVGOtrp5tl64=; b=PyBUoBvjYGz5cV52Pf3F/96yeGNpJ+QKpuaZUNw7x7gkT4rXz/pBlO+Cx9S5iTJrLU HADlF9RXncEF0VZ52kPsMKwRIxtCQScFkemcjbMLrA3Fgw6dJZzSw2wypl8M61iq6xt2 vmUNJXewEp3VvloltAWcjA4YBR55P1X4VaDGsQqF1jnCRGeRSXAUYb/mELeaPkCLNoYe mbnBh2kibybJiw4AdGrnF2mIFbDo23tET7/KqKIUOrT3NqtQhqzDxdczaiSshOpb+AoV +uh5alxFkvjakCJ5pNzGPFtJjsRE0wiZn4esohXuXJxwIGBKObdEnCgVZAr/vxsjj4ua fOeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=KkRtQsUP; 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 c3-v6si17983378pld.3.2018.10.19.05.53.30; Fri, 19 Oct 2018 05:53:45 -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=KkRtQsUP; 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 S1727492AbeJSU6r (ORCPT + 99 others); Fri, 19 Oct 2018 16:58:47 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:50568 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727011AbeJSU6r (ORCPT ); Fri, 19 Oct 2018 16:58:47 -0400 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 96DBA10C1320; Fri, 19 Oct 2018 05:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1539953567; bh=Y3hs2cq6I2lwuxSRrB2ikJFgoKsrdZaLTvvBFd5YpiA=; h=From:To:Cc:Subject:Date:From; b=KkRtQsUPa0Neuz62FrKxbvP4G7Dz4YbjlZddK6XJUujITIYdOaa278C7IwcA/lmxO TrwmlglQvk2bsZzxNLfXhrtKPpHaIr7kLNzsU0bJEz+BK2mjuZf3Wl/0Vpm8+BGd9Z IBPCqni2X9De1gGb9YTER2b+jEL4AkXtHJzk0m29UXKFnYPh1GNTAsVzONrjNCrb2r 7yF1nwMwhACpK8QZV5l1mpF+wv+TzZaiAXVViBAkNdaoXkDugm2KKxYVzEnxZKXpu2 cVV6W6aAy6IlmKvBVh9bPR1OaNKqSCY1GzihwoHm02VlSspQrLlJcZ4GWdA0rE/VUy xRaW/dd8hQTOQ== Received: from de02.synopsys.com (de02.internal.synopsys.com [10.225.17.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 2ED953C84; Fri, 19 Oct 2018 05:52:45 -0700 (PDT) Received: from de02dwemt290.internal.synopsys.com (de02dwemt290.internal.synopsys.com [10.225.18.64]) by de02.synopsys.com (Postfix) with ESMTP id 2FFC67E53; Fri, 19 Oct 2018 14:52:44 +0200 (CEST) Received: from de02dwemt290.internal.synopsys.com (localhost [127.0.0.1]) by de02dwemt290.internal.synopsys.com (8.14.4/8.12.3) with ESMTP id w9JCqhcR035844; Fri, 19 Oct 2018 14:52:43 +0200 Received: (from lolivei@localhost) by de02dwemt290.internal.synopsys.com (8.14.4/8.14.4/Submit) id w9JCqaen035841; Fri, 19 Oct 2018 14:52:36 +0200 From: Luis Oliveira To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: joao.pinto@synopsys.com, festevam@gmail.com, Luis Oliveira , Mauro Carvalho Chehab , Luis Oliveira , Hans Verkuil , Laurent Pinchart , Arnd Bergmann , Geert Uytterhoeven , Neil Armstrong , Philipp Zabel , Keiichi Watanabe , Kate Stewart , Todor Tomov Subject: [V3, 0/4] platform: dwc: Add of DesignWare MIPI CSI-2 Host Date: Fri, 19 Oct 2018 14:52:22 +0200 Message-Id: <1539953556-35762-1-git-send-email-lolivei@synopsys.com> X-Mailer: git-send-email 1.7.1 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 way the future PCI integration will be clean. 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 (4): Documentation: dt-bindings: phy: Document the Synopsys MIPI DPHY Rx bindings media: platform: dwc: Add DW MIPI DPHY Rx platform Documentation: dt-bindings: media: 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 | 52 ++ .../devicetree/bindings/phy/snps,dphy-rx.txt | 28 + MAINTAINERS | 11 + drivers/media/platform/Kconfig | 1 + drivers/media/platform/Makefile | 3 + drivers/media/platform/dwc/Kconfig | 52 ++ drivers/media/platform/dwc/Makefile | 4 + drivers/media/platform/dwc/dw-csi-plat.c | 699 +++++++++++++++++++++ drivers/media/platform/dwc/dw-csi-plat.h | 77 +++ drivers/media/platform/dwc/dw-dphy-plat.c | 347 ++++++++++ drivers/media/platform/dwc/dw-dphy-rx.c | 596 ++++++++++++++++++ drivers/media/platform/dwc/dw-dphy-rx.h | 181 ++++++ drivers/media/platform/dwc/dw-mipi-csi.c | 494 +++++++++++++++ drivers/media/platform/dwc/dw-mipi-csi.h | 202 ++++++ include/media/dwc/dw-mipi-csi-pltfrm.h | 102 +++ 15 files changed, 2849 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.7.4