platform: dwc: Add of DesignWare MIPI CSI-2 Host
Subsystems (3)
PATCH 2/5 Documentation: dt-bindings: Document the Synopsys MIPI DPHY Rx bindings
In reply to Luis OliveiraAdd device-tree bindings documentation for SNPS DesignWare MIPI D-PHY in RX mode.
--- .../devicetree/bindings/phy/snps,dphy-rx.txt | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/snps,dphy-rx.txt
Documentation/devicetree/bindings/phy/snps,dphy-rx.txt new file +36 -0
@@ -0,0 +1,36 @@ +Synopsys DesignWare MIPI Rx D-PHY block details + +Description +----------- + +The Synopsys MIPI D-PHY controller supports MIPI-DPHY in receiver mode. +Please refer to phy-bindings.txt for more information. + +Required properties: +- compatible : Shall be "snps,dphy-rx". +- #phy-cells : Must be 1. +- snps,dphy-frequency : Output frequency of the D-PHY. +- snps,dphy-te-len : Size of the communication interface (8 bits->8 or 12bits->12). +- reg : Physical base address and size of the device memory mapped + registers; + +Optional properties: +- snps,compat-mode : Compatibility mode control + +The per-board settings: +- gpios : Synopsys testchip used as reference uses this to change setup + configurations. + +Example: + + mipi_dphy_rx1: dphy@3040 { + compatible = "snps,dphy-rx"; + #phy-cells = <1>; + snps,dphy-frequency = <300000>; + snps,dphy-te-len = <12>; + snps,compat-mode = <1>; + reg = < 0x03040 0x20 + 0x08000 0x100 + 0x09000 0x100>; + }; +
Signature · 1 line
2.9.3
PATCH 4/5 Documentation: dt-bindings: Document bindings for DW MIPI CSI-2 Host
In reply to Luis OliveiraAdd bindings for Synopsys DesignWare MIPI CSI-2 host.
--- .../devicetree/bindings/media/snps,dw-csi-plat.txt | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/snps,dw-csi-plat.txt
Documentation/devicetree/bindings/media/snps,dw-csi-plat.txt new file +74 -0
@@ -0,0 +1,74 @@ +Synopsys DesignWare CSI-2 Host controller + +Description +----------- + +This HW block is used to receive image coming from an MIPI CSI-2 compatible +camera. + +Required properties: +- compatible: shall be "snps,dw-csi-plat" +- reg : physical base address and size of the device memory mapped + registers; +- interrupts : CSI-2 Host interrupt +- snps,output-type : Core output to be used (IPI-> 0 or IDI->1 or BOTH->2) These + values choose which of the Core outputs will be used, it + can be Image Data Interface or Image Pixel Interface. +- phys : List of one PHY specifier (as defined in + Documentation/devicetree/bindings/phy/phy-bindings.txt). + This PHY is a MIPI DPHY working in RX mode. +- resets : Reference to a reset controller (optional) + +Optional properties(if in IPI mode): +- snps,ipi-mode : Mode to be used when in IPI(Camera -> 0 or Controller -> 1) + This property defines if the controller will use the video + timings available + in the video stream or if it will use pre-defined ones. +- snps,ipi-color-mode : Bus depth to be used in IPI (48 bits -> 0 or 16 bits -> 1) + This property defines the width of the IPI bus. +- snps,ipi-auto-flush : Data auto-flush (1 -> Yes or 0 -> No). This property defines + if the data is automatically flushed in each vsync or if + this process is done manually +- snps,virtual-channel : Virtual channel where data is present when in IPI mode. This + property chooses the virtual channel which IPI will use to + retrieve the video stream. + +The per-board settings: + - port sub-node describing a single endpoint connected to the camera as + described in video-interfaces.txt[1]. + +Example: + + csi2_1: csi2@3000 { + compatible = "snps,dw-csi-plat"; + #address-cells = <1>; + #size-cells = <0>; + reg = < 0x03000 0x7FF>; + interrupts = <2>; + output-type = <2>; + resets = <&dw_rst 1>; + phys = <&mipi_dphy_rx1 0>; + phy-names = "csi2-dphy"; + + /* IPI optional Configurations */ + snps,ipi-mode = <0>; + snps,ipi-color-mode = <0>; + snps,ipi-auto-flush = <1>; + snps,virtual-channel = <0>; + + /* CSI-2 per-board settings */ + port@1 { + reg = <1>; + csi1_ep1: endpoint { + remote-endpoint = <&camera_1>; + data-lanes = <1 2>; + }; + }; + port@2 { + csi1_ep2: endpoint { + remote-endpoint = <&vif1_ep>; + }; + }; + }; + +
Signature · 1 line
2.9.3
cover platform: dwc: Add of DesignWare MIPI CSI-2 Host
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
Signature · 1 line
2.9.3
PATCH 1/5 media: platform: Add DesignWare MIPI CSI2 Host placeholder
This patch has the intention of make the patchseries more clear by creating a dwc folder and a Kconfig variable that sets dependencies.
--- drivers/media/platform/Kconfig | 1 + drivers/media/platform/Makefile | 3 +++ drivers/media/platform/dwc/Kconfig | 19 +++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 drivers/media/platform/dwc/Kconfig
drivers/media/platform/Kconfig +1 -0
@@ -137,6 +137,7 @@ source "drivers/media/platform/am437x/Kconfig" source "drivers/media/platform/xilinx/Kconfig" source "drivers/media/platform/rcar-vin/Kconfig" source "drivers/media/platform/atmel/Kconfig" +source "drivers/media/platform/dwc/Kconfig" config VIDEO_TI_CAL tristate "TI CAL (Camera Adaptation Layer) driver"
drivers/media/platform/Makefile +3 -0
@@ -98,3 +98,6 @@ obj-$(CONFIG_VIDEO_QCOM_VENUS) += qcom/venus/ obj-y += meson/ obj-y += cros-ec-cec/ + +obj-y += dwc/ +
drivers/media/platform/dwc/Kconfig new file +19 -0
@@ -0,0 +1,19 @@ +# +# Synopsys DWC Platform drivers +# Most drivers here are currently for MIPI CSI-2 and MIPI DPHY support + +config DWC_MIPI_CSI2_HOST + bool "Synopsys Designware CSI-2 Host Controller and DPHY-RX support" + select VIDEO_DEV + select VIDEO_V4L2 + select VIDEO_V4L2_SUBDEV_API + select VIDEOBUF2_VMALLOC + select VIDEOBUF2_DMA_CONTIG + select GENERIC_PHY + select VIDEO_OV5647 + help + This selects the CSI-2 host controller support. + If you have a controller with this interface, say Y + + If unsure, say N. +
Signature · 1 line
2.9.3
PATCH 3/5 media: platform: dwc: Add DW MIPI DPHY core and platform
In reply to Luis OliveiraAdd of Synopsys MIPI D-PHY in RX mode support.
Separated in the implementation are platform dependent probing functions.
--- drivers/media/platform/dwc/Kconfig | 12 + drivers/media/platform/dwc/Makefile | 2 + 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 +++++++++ 5 files changed, 1147 insertions(+) create mode 100644 drivers/media/platform/dwc/Makefile 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
drivers/media/platform/dwc/Kconfig +12 -0
@@ -17,3 +17,15 @@ config DWC_MIPI_CSI2_HOST If unsure, say N. +if DWC_MIPI_CSI2_HOST + +config DWC_MIPI_TC_DPHY_G128 + tristate "DesignWare platform support using a G128 Test Chip" + depends on DWC_MIPI_CSI2_HOST + help + Synopsys Test Chip is a MIPI D-PHY for prototyping purposes. + + If unsure, say N. + +endif # DWC_MIPI_CSI2_HOST +
drivers/media/platform/dwc/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +obj-$(CONFIG_DWC_MIPI_TC_DPHY_G128) += dw-dphy-platfrm.o +dw-dphy-platfrm-objs := dw-dphy-plat.o dw-dphy-rx.o
drivers/media/platform/dwc/dw-dphy-plat.c new file +365 -0
365 lines not on this page · raw message
drivers/media/platform/dwc/dw-dphy-rx.c new file +592 -0
592 lines not on this page · raw message
drivers/media/platform/dwc/dw-dphy-rx.h new file +176 -0
176 lines not on this page · raw message
Signature · 1 line
2.9.3
PATCH 5/5 media: platform: dwc: Add MIPI CSI-2 controller driver
In reply to Luis OliveiraAdd the Synopsys MIPI CSI-2 controller driver. This controller driver is divided in platform dependent functions and core functions. It also includes a platform for future DesignWare drivers.
--- MAINTAINERS | 10 + drivers/media/platform/dwc/Kconfig | 11 + drivers/media/platform/dwc/Makefile | 2 + drivers/media/platform/dwc/dw-csi-plat.c | 508 +++++++++++++++++++++++++++++++ drivers/media/platform/dwc/dw-csi-plat.h | 76 +++++ 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 ++++++ 8 files changed, 1401 insertions(+) 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-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
MAINTAINERS +10 -0
@@ -14032,6 +14032,16 @@ S: Maintained F: drivers/dma/dwi-axi-dmac/ F: Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt +SYNOPSYS DESIGNWARE MIPI CSI-2 HOST VIDEO PLATFORM +M: Luis Oliveira <[email protected]> +L: [email protected] +T: git git://linuxtv.org/media_tree.git +S: Maintained +F: drivers/media/platform/dwc +F: include/media/dwc/dw-mipi-csi-pltfrm.h +F: Documentation/devicetree/bindings/media/snps,dw-csi-plat.txt +F: Documentation/devicetree/bindings/phy/snps,dphy-rx.txt + SYNOPSYS DESIGNWARE DMAC DRIVER M: Viresh Kumar <[email protected]> R: Andy Shevchenko <[email protected]>
drivers/media/platform/dwc/Kconfig +11 -0
@@ -19,6 +19,17 @@ config DWC_MIPI_CSI2_HOST if DWC_MIPI_CSI2_HOST +config DWC_MIPI_CSI2_HOST_PLATFORM + tristate "Platform bus based CSI-2 Host Controller support" + depends on HAS_DMA + help + This selects the CSI-2 host controller support. Select this if + you have an CSI-2 Host controller on Platform bus. + + If you have a controller with this interface, say Y or M here. + + If unsure, say N. + config DWC_MIPI_TC_DPHY_G128 tristate "DesignWare platform support using a G128 Test Chip" depends on DWC_MIPI_CSI2_HOST
drivers/media/platform/dwc/Makefile +2 -0
@@ -1,2 +1,4 @@ +obj-$(CONFIG_DWC_MIPI_CSI2_HOST_PLATFORM) += dw-csi-platfrm.o +dw-csi-platfrm-objs := dw-csi-plat.o dw-mipi-csi.o obj-$(CONFIG_DWC_MIPI_TC_DPHY_G128) += dw-dphy-platfrm.o dw-dphy-platfrm-objs := dw-dphy-plat.o dw-dphy-rx.o
drivers/media/platform/dwc/dw-csi-plat.c new file +508 -0
508 lines not on this page · raw message
drivers/media/platform/dwc/dw-csi-plat.h new file +76 -0
76 lines not on this page · raw message
drivers/media/platform/dwc/dw-mipi-csi.c new file +491 -0
491 lines not on this page · raw message
drivers/media/platform/dwc/dw-mipi-csi.h new file +202 -0
202 lines not on this page · raw message
include/media/dwc/dw-mipi-csi-pltfrm.h new file +101 -0
101 lines not on this page · raw message
Signature · 1 line
2.9.3
kbuild test robot
build botRe: [PATCH 3/5] media: platform: dwc: Add DW MIPI DPHY core and platform
In reply to Luis OliveiraI love your patch! Perhaps something to improve:
Hi Luis,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on v4.19-rc3 next-20180913]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Luis-Oliveira/media-platform-Add-DesignWare-MIPI-CSI2-Host-placeholder/20180915-163514 base: git://linuxtv.org/media_tree.git master config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=sh
Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings
All warnings (new ones prefixed by >>):
drivers/media/platform/dwc/dw-dphy-rx.c: In function 'dw_dphy_read':
>> drivers/media/platform/dwc/dw-dphy-rx.c:147:5: warning: 'dphy2' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (dphy1 != dphy2)
^vim +/dphy2 +147 drivers/media/platform/dwc/dw-dphy-rx.c
132
133 u32 dw_dphy_read(struct dw_dphy_rx *dphy, u64 address)
134 {
135 u32 dphy1, dphy2;
136
137 dphy1 = ioread32(dphy->base_address + address);
138
139 if (dphy->lanes_config == CTRL_4_LANES)
140 goto end;
141
142 if (address == R_CSI2_DPHY_TST_CTRL0)
143 dphy2 = ioread32(dphy->base_address + R_CSI2_DPHY2_TST_CTRL0);
144 else if (address == R_CSI2_DPHY_TST_CTRL1)
145 dphy2 = ioread32(dphy->base_address + R_CSI2_DPHY2_TST_CTRL1);
146
> 147 if (dphy1 != dphy2)
148 pr_err("Values read different for each dphy\n");
149
150 end:
151 return dphy1;
152 }
153
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
kbuild test robot
build botRe: [PATCH 1/5] media: platform: Add DesignWare MIPI CSI2 Host placeholder
In reply to Luis OliveiraI love your patch! Yet something to improve:
Hi Luis,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.19-rc3 next-20180913]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Luis-Oliveira/media-platform-Add-DesignWare-MIPI-CSI2-Host-placeholder/20180915-163514 base: git://linuxtv.org/media_tree.git master config: i386-randconfig-s2-201836-CONFIG_DEBUG_INFO_REDUCED (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree make ARCH=i386
Note: the linux-review/Luis-Oliveira/media-platform-Add-DesignWare-MIPI-CSI2-Host-placeholder/20180915-163514 HEAD 2381c016179252d3b126e055b21edaef9ae5e1e2 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
>> scripts/Makefile.build:45: drivers/media/platform/dwc/Makefile: No such file or directory >> make[5]: *** No rule to make target 'drivers/media/platform/dwc/Makefile'.
make[5]: Failed to remake makefile 'drivers/media/platform/dwc/Makefile'.
vim +45 scripts/Makefile.build
0c53c8e6 Sam Ravnborg 2007-10-14 41 2a691470 Sam Ravnborg 2005-07-25 42 # The filename Kbuild has precedence over Makefile db8c1a7b Sam Ravnborg 2005-07-27 43 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) 0c53c8e6 Sam Ravnborg 2007-10-14 44 kbuild-file := $(if $(wildcard $(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile) 0c53c8e6 Sam Ravnborg 2007-10-14 @45 include $(kbuild-file)
^1da177e Linus Torvalds 2005-04-16 46
:::::: The code at line 45 was first introduced by commit
:::::: 0c53c8e6eb456cde30f2305421c605713856abc8 kbuild: check for wrong use of CFLAGS
:::::: TO: Sam Ravnborg <sam@neptun.(none)>
:::::: CC: Sam Ravnborg <sam@neptun.(none)>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
kbuild test robot
build botRe: [PATCH 1/5] media: platform: Add DesignWare MIPI CSI2 Host placeholder
In reply to Luis OliveiraI love your patch! Yet something to improve:
Hi Luis,
I love your patch! Yet something to improve:
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.19-rc3 next-20180913]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Luis-Oliveira/media-platform-Add-DesignWare-MIPI-CSI2-Host-placeholder/20180915-163514 base: git://linuxtv.org/media_tree.git master config: i386-randconfig-s3-201836 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree make ARCH=i386
Note: the linux-review/Luis-Oliveira/media-platform-Add-DesignWare-MIPI-CSI2-Host-placeholder/20180915-163514 HEAD 2381c016179252d3b126e055b21edaef9ae5e1e2 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
>> scripts/Makefile.modbuiltin:26: drivers/media/platform/dwc/Makefile: No such file or directory
make[5]: *** No rule to make target 'drivers/media/platform/dwc/Makefile'. make[5]: Failed to remake makefile 'drivers/media/platform/dwc/Makefile'.
vim +26 scripts/Makefile.modbuiltin
607b30fc Michal Marek 2010-06-10 22 bc081dd6 Michal Marek 2009-12-07 23 # The filename Kbuild has precedence over Makefile bc081dd6 Michal Marek 2009-12-07 24 kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) bc081dd6 Michal Marek 2009-12-07 25 kbuild-file := $(if $(wildcard $(kbuild-dir)/Kbuild),$(kbuild-dir)/Kbuild,$(kbuild-dir)/Makefile)
bc081dd6 Michal Marek 2009-12-07 @26 include $(kbuild-file) bc081dd6 Michal Marek 2009-12-07 27
:::::: The code at line 26 was first introduced by commit
:::::: bc081dd6e9f622c73334dc465359168543ccaabf kbuild: generate modules.builtin
:::::: TO: Michal Marek <[email protected]>
:::::: CC: Michal Marek <[email protected]>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Re: [PATCH 5/5] media: platform: dwc: Add MIPI CSI-2 controller driver
In reply to Luis OliveiraHi Luis,
Review line 1
Quoted 3 lines · Luis Oliveira
+++
b/drivers/media/platform/dwc/dw-csi-plat.c(quoted diff) +1
-0@@ -0,0 +1,508 @@ +// SPDX-License-Identifier: GPL-2.0-or-later
According to Documentation/process/license-rules.rst this should be:
// SPDX-License-Identifier: GPL-2.0+
drivers/media/platform/dwc/dw-csi-plat.c line 172
Quoted 6 lines
drivers/media/platform/dwc/dw-csi-plat.c new file +6
-0+static int +dw_mipi_csi_parse_dt (struct platform_device *pdev,struct mipi_csi_dev *dev) +{ +struct device_node *node = pdev->dev.of_node; +struct v4l2_fwnode_endpoint endpoint; +int ret =0 ;
No need to assign ret to 0.
drivers/media/platform/dwc/dw-csi-plat.h line 1
Quoted 7 lines
(quoted diff) +2
-0+ + ret = of_property_read_u32(node, "snps,output-type", &dev->hw.output);drivers/media/platform/dwc/dw-csi-plat.h new file +1
-0@@ -0,0 +1,76 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */
Same as before.
drivers/media/platform/dwc/dw-mipi-csi.c line 1
Quoted 7 lines
drivers/media/platform/dwc/dw-mipi-csi.c new file +1
-0@@ -0,0 +1,491 @@ +// SPDX-License-Identifier: GPL-2.0-or-later
Ditto.
drivers/media/platform/dwc/dw-mipi-csi.c line 201
Quoted 4 lines
drivers/media/platform/dwc/dw-mipi-csi.c new file +4
-0+void dw_mipi_csi_fill_timings (struct mipi_csi_dev *dev, +const struct v4l2_bt_timings *bt) +{ +
No need for this empty line.
drivers/media/platform/dwc/dw-mipi-csi.h line 1
Quoted 9 lines
drivers/media/platform/dwc/dw-mipi-csi.c new file +1
-0+if (bt ==NULL )drivers/media/platform/dwc/dw-mipi-csi.h new file +1
-0@@ -0,0 +1,202 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */
Ditto.