Skip to content

Commit

Permalink
media: staging: phy-rockchip-dphy-rx0: add Rockchip MIPI Synopsys DPH…
Browse files Browse the repository at this point in the history
…Y RX0 driver

Add driver for Rockchip MIPI Synopsys DPHY driver

Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Helen Koike <helen.koike@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
  • Loading branch information
Ezequiel Garcia authored and Mauro Carvalho Chehab committed Jan 9, 2020
1 parent b18f7f9 commit 32abcc4
Show file tree
Hide file tree
Showing 6 changed files with 412 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/media/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ source "drivers/staging/media/ipu3/Kconfig"

source "drivers/staging/media/soc_camera/Kconfig"

source "drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig"

endif
1 change: 1 addition & 0 deletions drivers/staging/media/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ obj-$(CONFIG_TEGRA_VDE) += tegra-vde/
obj-$(CONFIG_VIDEO_HANTRO) += hantro/
obj-$(CONFIG_VIDEO_IPU3_IMGU) += ipu3/
obj-$(CONFIG_SOC_CAMERA) += soc_camera/
obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0) += phy-rockchip-dphy-rx0/
13 changes: 13 additions & 0 deletions drivers/staging/media/phy-rockchip-dphy-rx0/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-only

config PHY_ROCKCHIP_DPHY_RX0
tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
select GENERIC_PHY_MIPI_DPHY
select GENERIC_PHY
help
Enable this to support the Rockchip MIPI Synopsys DPHY RX0
associated to the Rockchip ISP module present in RK3399 SoCs.

To compile this driver as a module, choose M here: the module
will be called phy-rockchip-dphy-rx0.
2 changes: 2 additions & 0 deletions drivers/staging/media/phy-rockchip-dphy-rx0/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0) += phy-rockchip-dphy-rx0.o
6 changes: 6 additions & 0 deletions drivers/staging/media/phy-rockchip-dphy-rx0/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The main reason for keeping this in staging is because the only driver
that uses this is rkisp1, which is also in staging. It should be moved together
with rkisp1.

Please CC patches to Linux Media <linux-media@vger.kernel.org> and
Helen Koike <helen.koike@collabora.com>.
Loading

0 comments on commit 32abcc4

Please sign in to comment.