Re: [PATCH v5 01/22] media: camss: Fix vfe_isr_comp_done() documentation

2021-02-22 Thread Robert Foss
On Fri, 19 Feb 2021 at 22:05, Nicolas Dufresne wrote: > > Hi Robert, > > not really a review, but I noticed > > Le mercredi 17 février 2021 à 12:21 +0100, Robert Foss a écrit : > > Function name is comment is wrong, and was changed to be > > i

Re: [PATCH v3 2/2] drm/bridge: Introduce LT8912 DSI to HDMI bridge

2021-02-19 Thread Robert Foss
On Fri, 19 Feb 2021 at 16:01, Adrien Grassein wrote: > > Hey Robert, > > Le ven. 19 févr. 2021 à 14:27, Robert Foss a écrit : > > > > Hey Adrien, > > > > > > Thanks for the quick update. > No problem, I have some free time at the moment. > >

Re: [PATCH v3 2/2] drm/bridge: Introduce LT8912 DSI to HDMI bridge

2021-02-19 Thread Robert Foss
Hey Adrien, Thanks for the quick update. On Thu, 18 Feb 2021 at 22:05, Adrien Grassein wrote: > > Lontium Lt8912 is a DSI to HDMI bridge. > > Signed-off-by: Adrien Grassein > --- > MAINTAINERS | 1 + > drivers/gpu/drm/bridge/Kconfig | 14 + >

Re: [PATCH v2 2/2] drm/bridge: Introduce LT8912 DSI to HDMI bridge

2021-02-18 Thread Robert Foss
On Thu, 18 Feb 2021 at 21:36, Adrien Grassein wrote: > > Hey Robert, > > Thank you for your time and for your review. > > Le mer. 17 févr. 2021 à 18:32, Robert Foss a écrit : > > > > Hey Adrien, > > > > Thanks for submitting this! > > > > On

Re: [PATCH v2 2/2] drm/bridge: Introduce LT8912 DSI to HDMI bridge

2021-02-17 Thread Robert Foss
Hey Adrien, Thanks for submitting this! On Mon, 15 Feb 2021 at 00:31, Adrien Grassein wrote: > > Lontium Lt8912 is a DSI to HDMI bridge. > > Signed-off-by: Adrien Grassein > --- > MAINTAINERS | 1 + > drivers/gpu/drm/bridge/Kconfig | 14 + >

[PATCH v5 19/22] media: dt-bindings: media: Remove qcom,camss documentation

2021-02-17 Thread Robert Foss
This documentation has been incorporated in dtschema dt-bindings for the devices supported by CAMSS and is no longer helpful. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- .../devicetree/bindings/media/qcom,camss.txt | 236 -- 1 file changed, 236 deletions(-) delete

[PATCH v5 18/22] MAINTAINERS: Change CAMSS documentation to use dtschema bindings

2021-02-17 Thread Robert Foss
Due to the complexity of describing multiple hardware generations in one document, switch to using separate dt-bindings. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v5 22/22] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP

2021-02-17 Thread Robert Foss
Enable camss & ov8856 DT nodes. Signed-off-by: Robert Foss --- Changes since v1 - Laurent: Fix subject - Laurent: Remove redundant regulator labels - Laurent: Remove empty line Changes since v3 - Fixed ordering of IRQs - Add newlines for better readability arch/arm64/boot/dts/

[PATCH v5 21/22] arm64: dts: sdm845-db845c: Configure regulators for camss node

2021-02-17 Thread Robert Foss
Add regulator to camss device tree node. Signed-off-by: Robert Foss --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index a943b3f353ce..5842ab65789c

[PATCH v5 20/22] arm64: dts: sdm845: Add CAMSS ISP node

2021-02-17 Thread Robert Foss
Add the camss dt node for sdm845. Signed-off-by: Robert Foss --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 135 +++ 1 file changed, 135 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index bcf888381f14..4fe93c69908a

[PATCH v5 17/22] dt-bindings: media: camss: Add qcom,sdm845-camss binding

2021-02-17 Thread Robert Foss
Add bindings for qcom,sdm845-camss in order to support the camera subsystem for SDM845. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- Changes since v2 - Rob: Removed extra empty lines at end of file - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob

[PATCH v5 14/22] dt-bindings: media: camss: Add qcom,msm8916-camss binding

2021-02-17 Thread Robert Foss
Add bindings for qcom,msm8916-camss in order to support the camera subsystem on MSM8916. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- Changes since v2: - Remove redundant descriptions - Add power domain description - Make clock-lanes a constant - Add max & minItems to data-l

[PATCH v5 16/22] dt-bindings: media: camss: Add qcom,sdm660-camss binding

2021-02-17 Thread Robert Foss
Add bindings for qcom,sdm660-camss in order to support the camera subsystem on SDM630/660 and SDA variants. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- Changes since v2 - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob: Add power domain description

[PATCH v5 15/22] dt-bindings: media: camss: Add qcom,msm8996-camss binding

2021-02-17 Thread Robert Foss
Add bindings for qcom,msm8996-camss in order to support the camera subsystem on MSM8996. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- Changes since v2 - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob: Add power domain description - Rob: Make clock

[PATCH v5 12/22] media: camss: Remove per VFE power domain toggling

2021-02-17 Thread Robert Foss
For Titan ISPs clocks fail to re-enable during vfe_get() after any vfe has been halted and its corresponding power domain power has been detached. Since all of the clocks depend on all of the PDs, per VFE PD detaching is no option for this generation of HW. Signed-off-by: Robert Foss

[PATCH v5 13/22] media: camss: Enable SDM845

2021-02-17 Thread Robert Foss
Enable support for SDM845 based Titan 170 ISPs. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/camss.c | 17 + drivers/media/platform/qcom/camss/camss.h | 6 -- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/qcom

[PATCH v5 11/22] media: camss: Add support for CSIPHY hardware version Titan 170

2021-02-17 Thread Robert Foss
Add register definitions for version 170 of the Titan architecture and implement support for the CSIPHY subdevice. Signed-off-by: Robert Foss --- Changes since v3 - Sakari: Make variable const Changes since v4 - kernel test robot: Fix warning related to const .../qcom/camss/camss-csiphy

[PATCH v5 10/22] media: camss: Add support for CSID hardware version Titan 170

2021-02-17 Thread Robert Foss
Add register definitions for version 170 of the Titan architecture and implement support for the CSID subdevice. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/Makefile| 1 + .../platform/qcom/camss/camss-csid-170.c | 602 ++ .../media/platform/qcom

[PATCH v5 09/22] media: camss: Refactor CSID HW version support

2021-02-17 Thread Robert Foss
In order to support Qualcomm ISP hardware architectures that diverge from older architectures, the CSID subdevice drivers needs to be refactored to better abstract the different ISP hardware architectures. Signed-off-by: Robert Foss --- Changes since v1 - kernel test robot: Add missing include

[PATCH v5 07/22] media: camss: Add support for VFE hardware version Titan 170

2021-02-17 Thread Robert Foss
the CSI decoder receives from the sensor. For example will a sensor outputting YUV pixel format frames, only allow the VFE to dump those frames as they are received by the ISP to memory through the RDI interface. Signed-off-by: Robert Foss --- Changes since v1: - Andrey: Remove commented out chunk

[PATCH v5 05/22] media: camss: Make ISPIF subdevice optional

2021-02-17 Thread Robert Foss
to support the Titan generation, make the ISPIF an optional subdevice. Signed-off-by: Robert Foss --- Changes since v1: - Björn: Improved commit message - Björn: Use local 'dev' ptr instead of 'camss->dev' - Björn: Remove res/ispif NULL checks - Björn: Remove ispif NULL checks before call

[PATCH v5 04/22] media: camss: Add CAMSS_845 camss version

2021-02-17 Thread Robert Foss
Add enum representing the SDM845 SOC, which incorporates version 170 of the Titan architecture ISP. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/camss.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/platform

[PATCH v5 08/22] media: camss: Add missing format identifiers

2021-02-17 Thread Robert Foss
is the appropriate one to use. Signed-off-by: Robert Foss --- .../media/platform/qcom/camss/camss-csid.h| 50 +++ 1 file changed, 50 insertions(+) diff --git a/drivers/media/platform/qcom/camss/camss-csid.h b/drivers/media/platform/qcom/camss/camss-csid.h index 1824b3745e10..02fc34ee8a41

[PATCH v5 06/22] media: camss: Refactor VFE HW version support

2021-02-17 Thread Robert Foss
, will be referred to as Gen2. Signed-off-by: Robert Foss --- Changes since v1 - kernel test robot: Re-add chunk missing from vfe_output_update_pong_addr - Andrey: Fix file name error - Andrey: Change hardware version number in comment - Changed copyright year to 2021 for camss-vfe-4-8.c Changes

[PATCH v5 03/22] media: camss: Replace trace_printk() with dev_dbg()

2021-02-17 Thread Robert Foss
trace_printk() should not be used in production code, since extra memory is used for special buffers whenever trace_puts() is used. Replace it with dev_dbg() which provides all of the desired debugging functionality. Signed-off-by: Robert Foss Suggested-by: Nicolas Boichat Reviewed-by: Nicolas

[PATCH v5 02/22] media: camss: Fix vfe_isr comment typo

2021-02-17 Thread Robert Foss
Comment refers to ISPIF, but this is incorrect. Only the VFE interrupts are handled by this function. Signed-off-by: Robert Foss Reviewed-by: Bjorn Andersson --- Changes since v1 - Bjorn: Add r-b drivers/media/platform/qcom/camss/camss-vfe-4-1.c | 2 +- drivers/media/platform/qcom/camss

[PATCH v5 01/22] media: camss: Fix vfe_isr_comp_done() documentation

2021-02-17 Thread Robert Foss
Function name is comment is wrong, and was changed to be the same as the actual function name. The comment was changed to kerneldoc format. Signed-off-by: Robert Foss --- Changes since v1 - Bjorn: Fix function doc name & use kerneldoc format drivers/media/platform/qcom/camss/camss-v

[PATCH v5 00/22] Add support for the SDM845 Camera Subsystem

2021-02-17 Thread Robert Foss
ontrollers https://patchwork.kernel.org/project/linux-arm-msm/list/?series=366077 Robert Foss (22): media: camss: Fix vfe_isr_comp_done() documentation media: camss: Fix vfe_isr comment typo media: camss: Replace trace_printk() with dev_dbg() media: camss: Add CAMSS_845 camss version media: camss: Make

Re: [PATCH v4 00/22] Add support for the SDM845 Camera Subsystem

2021-02-17 Thread Robert Foss
On Wed, 10 Feb 2021 at 21:14, Andrey Konovalov wrote: > > Hi Robert, > > On 05.02.2021 13:43, Robert Foss wrote: > > This series implements support for the camera subsystem found in > > the SDM845 SOCs and the Titan 170 ISP. The support is partial > > in t

Re: [PATCH v4 07/22] media: camss: Add support for VFE hardware version Titan 170

2021-02-17 Thread Robert Foss
X related interrupt status bits is correct (provided that > the driver doesn't try to really process them, and just clears these bits if > they happen to be set for some reason). But the rest should be removed. > > One more comment inline below. > > On 05.02.2021 13:43, Robert Foss

Re: [PATCH v3 2/2] drm: bridge: Add Chipone ICN6211 MIPI-DSI to RGB bridge

2021-02-15 Thread Robert Foss
r-b. Reviewed-by: Robert Foss On Sun, 14 Feb 2021 at 18:55, Jagan Teki wrote: > > ICN6211 is MIPI-DSI to RGB Convertor bridge from Chipone. WARNING: 'Convertor' may be misspelled - perhaps 'Converter'? #6: ICN6211 is MIPI-DSI to RGB Convertor bridge fro

Re: [PATCH v3 1/2] dt-bindings: display: bridge: Add bindings for Chipone ICN6211

2021-02-15 Thread Robert Foss
Hey Jagan, Thanks for submitting this. checkpatch.pl threw some typ-o warnings, and I listed them below. I think either spelling is correct, but 'spelling.txt' does list this as a typ-o explicitly, so I would suggest conforming to that just to silence the checkpatch warning. This patch also

Re: [PATCH 1/2] media: camss: use v4l2_get_link_freq() to calculate the relevant clocks

2021-02-15 Thread Robert Foss
On Mon, 15 Feb 2021 at 12:27, Robert Foss wrote: > > Hey Andrey, > > Thanks for sending out this series and picking up Vladimirs patch. > > With the below issues fixed feel free to add my r-b. > Reviewed-by: Robert Foss Actually, make that an Acked-by. Acked-by: Robert Foss

Re: [PATCH 1/2] media: camss: use v4l2_get_link_freq() to calculate the relevant clocks

2021-02-15 Thread Robert Foss
Hey Andrey, Thanks for sending out this series and picking up Vladimirs patch. With the below issues fixed feel free to add my r-b. Reviewed-by: Robert Foss On Sun, 14 Feb 2021 at 22:34, Andrey Konovalov wrote: > > There are places in the camss driver where camss_get_pixel_clock() is &g

Re: [PATCH v4 09/22] media: camss: Refactor CSID HW version support

2021-02-15 Thread Robert Foss
Thanks Andrey! On Thu, 11 Feb 2021 at 09:59, Andrey Konovalov wrote: > > Hi Robert, > > Thank you for your patch! > > On 05.02.2021 13:44, Robert Foss wrote: > > In order to support Qualcomm ISP hardware architectures that diverge > > from older architectures, th

Re: [PATCH] drm/dsi: Add _NO_ to MIPI_DSI_* flags disabling features

2021-02-12 Thread Robert Foss
Hey Nicolas, Thanks for submitting this, making these flags more intuitive is really nice. This looks good to me, feel free to add my r-b. Reviewed-by: Robert Foss On Thu, 11 Feb 2021 at 04:34, Nicolas Boichat wrote: > > Many of the DSI flags have names opposite to their actual effects,

Re: [PATCH] media: qcom: camss: Fix overflows in clock rate calculations

2021-02-10 Thread Robert Foss
Hey Vladimir, This patch looks good to me, thanks for the submission. Acked-by: Robert Foss On Wed, 10 Feb 2021 at 13:51, Vladimir Lypak wrote: > > Because of u32 type being used to store pixel clock rate, expression used > to calculate pipeline clocks (pixel_clock * bpp) produces wr

Re: [PATCH v4 05/22] media: camss: Make ISPIF subdevice optional

2021-02-10 Thread Robert Foss
Hey Andrey, Thanks for starting this review! On Tue, 9 Feb 2021 at 21:59, Andrey Konovalov wrote: > > Hi Robert, > > Thank you for your patch! > > On 05.02.2021 13:43, Robert Foss wrote: > > This driver supports multiple architecture versions of the Qualcomm ISP. > &g

Re: [PATCH v4 11/22] media: camss: Add support for CSIPHY hardware version Titan 170

2021-02-08 Thread Robert Foss
Hey Andrey, On Mon, 8 Feb 2021 at 19:02, Andrey Konovalov wrote: > > Hi Robert, > > Thank you for your patchset! > > On 05.02.2021 13:44, Robert Foss wrote: > > Add register definitions for version 170 of the Titan architecture > > and implement support for the CS

Re: [PATCH] drm: bridge: convert sysfs sprintf/snprintf family to sysfs_emit

2021-02-08 Thread Robert Foss
Hey Jiapeng, Thanks for the patch. Feel free to add my r-b. Reviewed-by: Robert Foss On Sun, 7 Feb 2021 at 10:12, Jiapeng Chong wrote: > > Fix the following coccicheck warning: > > drivers/gpu/drm/bridge/lontium-lt9611uxc.c:858:8-16: WARNING: use > scnprintf or sprintf. > &g

[PATCH v4 03/22] media: camss: Replace trace_printk() with dev_dbg()

2021-02-05 Thread Robert Foss
trace_printk() should not be used in production code, since extra memory is used for special buffers whenever trace_puts() is used. Replace it with dev_dbg() which provides all of the desired debugging functionality. Signed-off-by: Robert Foss Suggested-by: Nicolas Boichat --- Changes since

[PATCH v4 01/22] media: camss: Fix vfe_isr_comp_done() documentation

2021-02-05 Thread Robert Foss
Function name is comment is wrong, and was changed to be the same as the actual function name. The comment was changed to kerneldoc format. Signed-off-by: Robert Foss --- Changes since v1 - Bjorn: Fix function doc name & use kerneldoc format drivers/media/platform/qcom/camss/camss-v

[PATCH v4 05/22] media: camss: Make ISPIF subdevice optional

2021-02-05 Thread Robert Foss
to support the Titan generation, make the ISPIF an optional subdevice. Signed-off-by: Robert Foss --- Changes since v1: - Björn: Improved commit message - Björn: Use local 'dev' ptr instead of 'camss->dev' - Björn: Remove res/ispif NULL checks - Björn: Remove ispif NULL checks before call

[PATCH v4 00/22] Add support for the SDM845 Camera Subsystem

2021-02-05 Thread Robert Foss
s series depends the sdm660 clock driver being upstreamed. I've linked this series below. SDM630/660 Multimedia and GPU clock controllers https://lkml.org/lkml/2020/9/26/166 Robert Foss (22): media: camss: Fix vfe_isr_comp_done() documentation media: camss: Fix vfe_isr comment typo media

[PATCH v4 10/22] media: camss: Add support for CSID hardware version Titan 170

2021-02-05 Thread Robert Foss
Add register definitions for version 170 of the Titan architecture and implement support for the CSID subdevice. Signed-off-by: Robert Foss --- Changes since v3 - Sakari: Make variable const drivers/media/platform/qcom/camss/Makefile| 1 + .../platform/qcom/camss/camss-csid-170.c

[PATCH v4 11/22] media: camss: Add support for CSIPHY hardware version Titan 170

2021-02-05 Thread Robert Foss
Add register definitions for version 170 of the Titan architecture and implement support for the CSIPHY subdevice. Signed-off-by: Robert Foss --- .../qcom/camss/camss-csiphy-3ph-1-0.c | 182 -- .../media/platform/qcom/camss/camss-csiphy.c | 66 +-- drivers/media

[PATCH v4 16/22] dt-bindings: media: camss: Add qcom,sdm660-camss binding

2021-02-05 Thread Robert Foss
Add bindings for qcom,sdm660-camss in order to support the camera subsystem on SDM630/660 and SDA variants. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- Changes since v2 - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob: Add power domain description

[PATCH v4 02/22] media: camss: Fix vfe_isr comment typo

2021-02-05 Thread Robert Foss
Comment refers to ISPIF, but this is incorrect. Only the VFE interrupts are handled by this function. Signed-off-by: Robert Foss Reviewed-by: Bjorn Andersson --- Changes since v1 - Bjorn: Add r-b drivers/media/platform/qcom/camss/camss-vfe-4-1.c | 2 +- drivers/media/platform/qcom/camss

[PATCH v4 07/22] media: camss: Add support for VFE hardware version Titan 170

2021-02-05 Thread Robert Foss
the CSI decoder receives from the sensor. For example will a sensor outputting YUV pixel format frames, only allow the VFE to dump those frames as they are received by the ISP to memory through the RDI interface. Signed-off-by: Robert Foss --- Changes since v1: - Andrey: Removed commented out chunk

Re: [PATCH v4 3/3] drm/bridge: anx7625: add MIPI DPI input feature support

2021-02-05 Thread Robert Foss
Hey Xin, On Thu, 28 Jan 2021 at 04:12, Xin Ji wrote: > > Add MIPI rx DPI input support > > Reported-by: kernel test robot > Signed-off-by: Xin Ji > --- > drivers/gpu/drm/bridge/analogix/anx7625.c | 326 > -- > drivers/gpu/drm/bridge/analogix/anx7625.h | 20 +- >

[PATCH v4 20/22] arm64: dts: sdm845: Add CAMSS ISP node

2021-02-05 Thread Robert Foss
Add the camss dt node for sdm845. Signed-off-by: Robert Foss --- Changes since v1 - Laurent: Fix subject - Laurent: Remove redundant regulator labels - Laurent: Remove empty line Changes since v3 - Fixed ordering of IRQs - Add newlines for better readability arch/arm64/boot/dts/qcom

[PATCH v4 21/22] arm64: dts: sdm845-db845c: Configure regulators for camss node

2021-02-05 Thread Robert Foss
Add regulator to camss device tree node. Signed-off-by: Robert Foss --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index a943b3f353ce..5842ab65789c

[PATCH v4 19/22] media: dt-bindings: media: Remove qcom,camss documentation

2021-02-05 Thread Robert Foss
This documentation has been incorporated in dtschema dt-bindings for the devices supported by CAMSS and is no longer helpful. Signed-off-by: Robert Foss --- .../devicetree/bindings/media/qcom,camss.txt | 236 -- 1 file changed, 236 deletions(-) delete mode 100644 Documentation

[PATCH v4 22/22] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP

2021-02-05 Thread Robert Foss
Enable camss & ov8856 DT nodes. Signed-off-by: Robert Foss --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts i

[PATCH v4 17/22] dt-bindings: media: camss: Add qcom,sdm845-camss binding

2021-02-05 Thread Robert Foss
Add bindings for qcom,sdm845-camss in order to support the camera subsystem for SDM845. Signed-off-by: Robert Foss --- Changes since v2 - Rob: Removed extra empty lines at end of file - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob: Add power domain description

[PATCH v4 18/22] MAINTAINERS: Change CAMSS documentation to use dtschema bindings

2021-02-05 Thread Robert Foss
Due to the complexity of describing multiple hardware generations in one document, switch to using separate dt-bindings. Signed-off-by: Robert Foss --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index cdf1556c6007..7c5a494d9113

[PATCH v4 12/22] media: camss: Remove per VFE power domain toggling

2021-02-05 Thread Robert Foss
For Titan ISPs clocks fail to re-enable during vfe_get() after any vfe has been halted and its corresponding power domain power has been detached. Since all of the clocks depend on all of the PDs, per VFE PD detaching is no option for this generation of HW. Signed-off-by: Robert Foss

[PATCH v4 15/22] dt-bindings: media: camss: Add qcom,msm8996-camss binding

2021-02-05 Thread Robert Foss
Add bindings for qcom,msm8996-camss in order to support the camera subsystem on MSM8996. Signed-off-by: Robert Foss --- Changes since v2 - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob: Add power domain description - Rob: Make clock-lanes a constant - Rob

[PATCH v4 14/22] dt-bindings: media: camss: Add qcom,msm8916-camss binding

2021-02-05 Thread Robert Foss
Add bindings for qcom,msm8916-camss in order to support the camera subsystem on MSM8916. Signed-off-by: Robert Foss --- Changes since v2: - Remove redundant descriptions - Add power domain description - Make clock-lanes a constant - Add max & minItems to data-lanes - Remove p

[PATCH v4 13/22] media: camss: Enable SDM845

2021-02-05 Thread Robert Foss
Enable support for SDM845 based Titan 170 ISPs. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/camss.c | 17 + drivers/media/platform/qcom/camss/camss.h | 6 -- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/qcom

[PATCH v4 09/22] media: camss: Refactor CSID HW version support

2021-02-05 Thread Robert Foss
In order to support Qualcomm ISP hardware architectures that diverge from older architectures, the CSID subdevice drivers needs to be refactored to better abstract the different ISP hardware architectures. Signed-off-by: Robert Foss --- Changes since v1 - kernel test robot: Add missing include

[PATCH v4 06/22] media: camss: Refactor VFE HW version support

2021-02-05 Thread Robert Foss
, will be referred to as Gen2. Signed-off-by: Robert Foss --- Changes since v1 - kernel test robot: Re-add chunk missing from vfe_output_update_pong_addr - Andrey: Fix file name error - Andrey: Change hardware version number in comment - Changed copyright year to 2021 for camss-vfe-4-8.c Changes

[PATCH v4 04/22] media: camss: Add CAMSS_845 camss version

2021-02-05 Thread Robert Foss
Add enum representing the SDM845 SOC, which incorporates version 170 of the Titan architecture ISP. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/camss.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/platform

[PATCH v4 08/22] media: camss: Add missing format identifiers

2021-02-05 Thread Robert Foss
is the appropriate one to use. Signed-off-by: Robert Foss --- .../media/platform/qcom/camss/camss-csid.h| 50 +++ 1 file changed, 50 insertions(+) diff --git a/drivers/media/platform/qcom/camss/camss-csid.h b/drivers/media/platform/qcom/camss/camss-csid.h index 1824b3745e10..02fc34ee8a41

Re: [PATCH] drm/bridge: anx7625: enable DSI EOTP

2021-02-05 Thread Robert Foss
On Thu, 4 Feb 2021 at 23:25, Nicolas Boichat wrote: > > On Thu, Feb 4, 2021 at 8:59 PM Andrzej Hajda wrote: > > > > > > W dniu 04.02.2021 o 13:34, Nicolas Boichat pisze: > > > On Thu, Feb 4, 2021 at 8:07 PM Robert Foss wrote: > > >&g

Re: [PATCH v4 1/3] dt-bindings:drm/bridge:anx7625:add vendor define flags

2021-02-04 Thread Robert Foss
Hey Xin, On Thu, 28 Jan 2021 at 04:10, Xin Ji wrote: > > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support > flag and DP tx lane0 and lane1 swing register array define. > > Signed-off-by: Xin Ji > --- > .../bindings/display/bridge/analogix,anx7625.yaml | 54 >

Re: [PATCH v4 2/3] drm/bridge: anx7625: fix not correct return value

2021-02-04 Thread Robert Foss
Hi Xin, On Thu, 28 Jan 2021 at 04:12, Xin Ji wrote: > > At some time, the original code may return non zero value, force return 0 > if operation finished Missing "." at end of line. Other than that, this patch looks fine. Feel free to add my r-b. Reviewed-by: Robert Fo

Re: [PATCH] drm/bridge/analogix: remove redundant when devm_kzalloc failed

2021-02-04 Thread Robert Foss
Hey Bernard, Thanks for the patch. With the below fixed, feel free to add my r-b. Reviewed-by: Robert Foss On Tue, 2 Feb 2021 at 13:09, Bernard Zhao wrote: > > Line 1590 DRM_ERROR is redundant because devm_kzalloc() already > prints an error. The line number will not be s

Re: [PATCH] drm/bridge: anx7625: enable DSI EOTP

2021-02-04 Thread Robert Foss
Hi Xin, Thanks for the patch. On Thu, 28 Jan 2021 at 12:17, Xin Ji wrote: > > Enable DSI EOTP feature for fixing some panel screen constance > shift issue. > Removing MIPI flag MIPI_DSI_MODE_EOT_PACKET to enable DSI EOTP. I don't think I quite understand how removing the

Re: [PATCH v3 15/22] dt-bindings: media: camss: Add qcom, sdm660-camss binding

2021-02-03 Thread Robert Foss
On Sat, 30 Jan 2021 at 18:23, Rob Herring wrote: > > On Wed, 27 Jan 2021 15:49:23 +0100, Robert Foss wrote: > > Add bindings for qcom,sdm660-camss in order to support the camera > > subsystem on SDM630/660 and SDA variants. > > > > Signed-off-by: Robert Foss &g

Re: [PATCH v3 10/22] media: camss: Add support for CSIPHY hardware version Titan 170

2021-02-03 Thread Robert Foss
Hey Sakari, On Mon, 1 Feb 2021 at 14:40, Sakari Ailus wrote: > > Hi Robert, > > On Wed, Jan 27, 2021 at 03:49:18PM +0100, Robert Foss wrote: > > Add register definitions for version 170 of the Titan architecture > > and implement support for the CSIPHY subdevice. >

Re: [PATCH v3 19/22] arm64: defconfig: Build Qcom CAMSS as module

2021-02-03 Thread Robert Foss
Hey Bjorn, On Tue, 2 Feb 2021 at 23:44, Bjorn Andersson wrote: > > On Wed 27 Jan 08:49 CST 2021, Robert Foss wrote: > > > Build camera ISP driver as a module. > > > > Isn't this enabled since b47c5fc15d88 ("arm64: defconfig: Enable > Qualcomm CAMCC, CAMS

Re: [PATCH v5] media: ov8856: Configure sensor for GRBG Bayer for all modes

2021-01-28 Thread Robert Foss
Ping. I think this patch is ready to be merged. On Wed, 20 Jan 2021 at 13:09, Robert Foss wrote: > > The previously added modes 3264x2448 & 1632x1224 are actually > configuring the sensor for BGGR mode, this is an issue since > the mode that is exposed through V4L incorrectl

Re: [PATCH v3 05/22] media: camss: Refactor VFE HW version support

2021-01-28 Thread Robert Foss
Hey Nicolas, Thanks for the review! On Thu, 28 Jan 2021 at 01:19, Nicolas Boichat wrote: > > On Wed, Jan 27, 2021 at 10:56 PM Robert Foss wrote: > > > > In order to support Qualcomm ISP hardware architectures that diverge > > from older architectures, the VF

[PATCH v3 08/22] media: camss: Refactor CSID HW version support

2021-01-27 Thread Robert Foss
In order to support Qualcomm ISP hardware architectures that diverge from older architectures, the CSID subdevice drivers needs to be refactored to better abstract the different ISP hardware architectures. Signed-off-by: Robert Foss --- Changes since v1 - kernel test robot: Add missing include

[PATCH v3 14/22] dt-bindings: media: camss: Add qcom,msm8996-camss binding

2021-01-27 Thread Robert Foss
Add bindings for qcom,msm8996-camss in order to support the camera subsystem on MSM8996. Signed-off-by: Robert Foss --- Changes since v2 - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob: Add power domain description - Rob: Make clock-lanes a constant - Rob

[PATCH v3 15/22] dt-bindings: media: camss: Add qcom,sdm660-camss binding

2021-01-27 Thread Robert Foss
Add bindings for qcom,sdm660-camss in order to support the camera subsystem on SDM630/660 and SDA variants. Signed-off-by: Robert Foss --- Changes since v2 - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob: Add power domain description - Rob: Make clock-lanes

[PATCH v3 13/22] dt-bindings: media: camss: Add qcom,msm8916-camss binding

2021-01-27 Thread Robert Foss
Add bindings for qcom,msm8916-camss in order to support the camera subsystem on MSM8916. Signed-off-by: Robert Foss --- Changes since v2: - Remove redundant descriptions - Add power domain description - Make clock-lanes a constant - Add max & minItems to data-lanes - Remove p

[PATCH v3 16/22] dt-bindings: media: camss: Add qcom,sdm845-camss binding

2021-01-27 Thread Robert Foss
Add bindings for qcom,sdm845-camss in order to support the camera subsystem for SDM845. Signed-off-by: Robert Foss --- Changes since v2 - Rob: Removed extra empty lines at end of file - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob: Add power domain description

[PATCH v3 22/22] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP

2021-01-27 Thread Robert Foss
Enable camss & ov8856 DT nodes. Signed-off-by: Robert Foss --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts i

[PATCH v3 21/22] arm64: dts: sdm845-db845c: Configure regulators for camss node

2021-01-27 Thread Robert Foss
Add regulator to camss device tree node. Signed-off-by: Robert Foss --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index a943b3f353ce..5842ab65789c

[PATCH v3 19/22] arm64: defconfig: Build Qcom CAMSS as module

2021-01-27 Thread Robert Foss
Build camera ISP driver as a module. Signed-off-by: Robert Foss --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 838301650a79..cb224d2af6a0 100644 --- a/arch/arm64/configs/defconfig +++ b/arch

[PATCH v3 20/22] arm64: dts: sdm845: Add CAMSS ISP node

2021-01-27 Thread Robert Foss
Add the camss dt node for sdm845. Signed-off-by: Robert Foss --- Changes since v1 - Laurent: Fix subject - Laurent: Remove redundant regulator labels - Laurent: Remove empty line arch/arm64/boot/dts/qcom/sdm845.dtsi | 130 +++ 1 file changed, 130 insertions

[PATCH v3 18/22] media: dt-bindings: media: Remove qcom,camss documentation

2021-01-27 Thread Robert Foss
This documentation has been incorporated in dtschema dt-bindings for the devices supported by CAMSS and is no longer helpful. Signed-off-by: Robert Foss --- .../devicetree/bindings/media/qcom,camss.txt | 236 -- 1 file changed, 236 deletions(-) delete mode 100644 Documentation

[PATCH v3 09/22] media: camss: Add support for CSID hardware version Titan 170

2021-01-27 Thread Robert Foss
Add register definitions for version 170 of the Titan architecture and implement support for the CSID subdevice. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/Makefile| 1 + .../platform/qcom/camss/camss-csid-170.c | 602 ++ .../media/platform/qcom

[PATCH v3 17/22] MAINTAINERS: Change CAMSS documentation to use dtschema bindings

2021-01-27 Thread Robert Foss
Due to the complexity of describing multiple hardware generations in one document, switch to using separate dt-bindings. Signed-off-by: Robert Foss --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index cdf1556c6007..7c5a494d9113

[PATCH v3 12/22] media: camss: Enable SDM845

2021-01-27 Thread Robert Foss
Enable support for SDM845 based Titan 170 ISPs. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/camss.c | 17 + drivers/media/platform/qcom/camss/camss.h | 6 -- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/qcom

[PATCH v3 10/22] media: camss: Add support for CSIPHY hardware version Titan 170

2021-01-27 Thread Robert Foss
Add register definitions for version 170 of the Titan architecture and implement support for the CSIPHY subdevice. Signed-off-by: Robert Foss --- .../qcom/camss/camss-csiphy-3ph-1-0.c | 182 -- .../media/platform/qcom/camss/camss-csiphy.c | 66 +-- drivers/media

[PATCH v3 11/22] media: camss: Remove per VFE power domain toggling

2021-01-27 Thread Robert Foss
For Titan ISPs clocks fail to re-enable during vfe_get() after any vfe has been halted and its corresponding power domain power has been detached. Since all of the clocks depend on all of the PDs, per VFE PD detaching is no option for this generation of HW. Signed-off-by: Robert Foss

[PATCH v3 06/22] media: camss: Add support for VFE hardware version Titan 170

2021-01-27 Thread Robert Foss
the CSI decoder receives from the sensor. For example will a sensor outputting YUV pixel format frames, only allow the VFE to dump those frames as they are received by the ISP to memory through the RDI interface. Signed-off-by: Robert Foss --- Changes since v1: - Andrey: Removed commented out chunk

[PATCH v3 07/22] media: camss: Add missing format identifiers

2021-01-27 Thread Robert Foss
is the appropriate one to use. Signed-off-by: Robert Foss --- .../media/platform/qcom/camss/camss-csid.h| 50 +++ 1 file changed, 50 insertions(+) diff --git a/drivers/media/platform/qcom/camss/camss-csid.h b/drivers/media/platform/qcom/camss/camss-csid.h index 1824b3745e10..02fc34ee8a41

[PATCH v3 05/22] media: camss: Refactor VFE HW version support

2021-01-27 Thread Robert Foss
, will be referred to as Gen2. Signed-off-by: Robert Foss --- Changes since v1 - kernel test robot: Re-add chunk missing from vfe_output_update_pong_addr - Andrey: Fix file name error - Andrey: Change hardware version number in comment - Changed copyright year to 2021 for camss-vfe-4-8.c drivers

[PATCH v3 04/22] media: camss: Make ISPIF subdevice optional

2021-01-27 Thread Robert Foss
to support the Titan generation, make the ISPIF an optional subdevice. Signed-off-by: Robert Foss --- Changes since v1: - Björn: Improved commit message - Björn: Use local 'dev' ptr instead of 'camss->dev' - Björn: Remove res/ispif NULL checks - Björn: Remove ispif NULL checks before call

[PATCH v3 03/22] media: camss: Add CAMSS_845 camss version

2021-01-27 Thread Robert Foss
Add enum representing the SDM845 SOC, which incorporates version 170 of the Titan architecture ISP. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/camss.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/platform

[PATCH v3 02/22] media: camss: Fix vfe_isr comment typo

2021-01-27 Thread Robert Foss
Comment refers to ISPIF, but this is incorrect. Only the VFE interrupts are handled by this function. Signed-off-by: Robert Foss Reviewed-by: Bjorn Andersson --- Changes since v1 - Bjorn: Add r-b drivers/media/platform/qcom/camss/camss-vfe-4-1.c | 2 +- drivers/media/platform/qcom/camss

[PATCH v3 01/22] media: camss: Fix vfe_isr_comp_done() documentation

2021-01-27 Thread Robert Foss
Function name is comment is wrong, and was changed to be the same as the actual function name. The comment was changed to kerneldoc format. Signed-off-by: Robert Foss --- Changes since v1 - Bjorn: Fix function doc name & use kerneldoc format drivers/media/platform/qcom/camss/camss-vfe.c

[PATCH v3 00/22] Add support for the SDM845 Camera Subsystem

2021-01-27 Thread Robert Foss
s series depends the sdm660 clock driver being upstreamed. I've linked this series below. SDM630/660 Multimedia and GPU clock controllers https://lkml.org/lkml/2020/9/26/166 Robert Foss (22): media: camss: Fix vfe_isr_comp_done() documentation media: camss: Fix vfe_isr comment typo m

Re: [PATCH v2 15/22] dt-bindings: media: camss: Add qcom,sdm660-camss binding

2021-01-26 Thread Robert Foss
Thanks Rob! On Fri, 22 Jan 2021 at 17:34, Rob Herring wrote: > > On Wed, Jan 20, 2021 at 02:43:50PM +0100, Robert Foss wrote: > > Add bindings for qcom,sdm660-camss in order to support the camera > > subsystem on SDM630/660 and SDA variants. > > > &

[PATCH v1 1/2] dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix dt_binding_check warning

2021-01-26 Thread Robert Foss
Silence indentation level warning reported by dt_binding_check in order to reduce noise during routine checks. $ make dt_binding_check mt8192-mt6359-rt1015-rt5682.yaml:10:4: [warning] wrong indentation: expected 2 but found 3 (indentation) Signed-off-by: Robert Foss --- .../devicetree/bindings

[PATCH v1 2/2] dt-bindings: mediatek: mt8192: Fix dt_binding_check warning

2021-01-26 Thread Robert Foss
Silence indentation level warning reported by dt_binding_check in order to reduce noise during routine checks. $ make dt_binding_check mt8192-mt6359-rt1015-rt5682.yaml:10:4: [warning] wrong indentation: expected 2 but found 3 (indentation) Signed-off-by: Robert Foss --- .../bindings/sound

<    1   2   3   4   5   6   7   8   >