Skip to contentSkip to conversation

media: dt-bindings: Revert changes to video-interfaces.yaml

PATCH In review Sakari Ailus 2 participants 4 messages Feb 4, 2024 – Feb 5, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 media: dt-bindings: Revert changes to video-interfaces.yaml

Commit feb8831be9d4 ("media: ov08x40: Reduce start streaming time") introduced an unintentional change to Documentation/devicetree/bindings/media/video-interfaces.yaml. Revert this change now.

Fixes feb8831be9d4 ("media: ov08x40: Reduce start streaming time")
---
 Documentation/devicetree/bindings/media/video-interfaces.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/media/video-interfaces.yaml +1 -1
index ea511f2fed98..26e3e7d7c67b 100644
@@ -190,7 +190,7 @@ properties:
       Allow MIPI CSI-2 non-continuous clock mode.
 
   link-frequencies:
-    $ref: /schemas/types.yaml#/definitions/uint32-array
+    $ref: /schemas/types.yaml#/definitions/uint64-array
     description:
       Allowed data bus frequencies. For MIPI CSI-2, for instance, this is the
       actual frequency of the bus, not bits per clock per lane value. An array
Signature · 1 line
2.39.2
#1 lore raw

PATCH 2/2 ARM: dts: Revert changes to omap3-n9.dts

Commit feb8831be9d4 ("media: ov08x40: Reduce start streaming time") introduced an unintentional change to arch/arm/boot/dts/ti/omap/omap3-n9.dts. Revert this change now.

Fixes feb8831be9d4 ("media: ov08x40: Reduce start streaming time")
---
 arch/arm/boot/dts/ti/omap/omap3-n9.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/ti/omap/omap3-n9.dts +1 -1
index 728a8fcf25b3..a3cf3f443785 100644
@@ -26,7 +26,7 @@ smia_1: camera@10 {
 		flash-leds = <&as3645a_flash &as3645a_indicator>;
 		port {
 			smia_1_1: endpoint {
-				link-frequencies = /bits/ 32 <199200000 210000000 499200000>;
+				link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
 				clock-lanes = <0>;
 				data-lanes = <1 2>;
 				remote-endpoint = <&csi2a_ep>;
Signature · 1 line
2.39.2
#2 lore raw
In reply to Sakari Ailus
Quoted 8 lines · Sakari Ailus

Commit feb8831be9d4 ("media: ov08x40: Reduce start streaming time") introduced an unintentional change to Documentation/devicetree/bindings/media/video-interfaces.yaml. Revert this change now.

Fixes feb8831be9d4 ("media: ov08x40: Reduce start streaming time")

Even if it is simple, it still should be tested...

Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel.

Tools like b4 or scripts/get_maintainer.pl provide you proper list of people, so fix your workflow. Tools might also fail if you work on some ancient tree (don't, instead use mainline), work on fork of kernel (don't, instead use mainline) or you ignore some maintainers (really don't). Just use b4 and everything should be fine, although remember about b4 prep --auto-to-cc if you added new patches to the patchset.

You missed at least devicetree list (maybe more), so this won't be tested by automated tooling. Performing review on untested code might be a waste of time, thus I will skip this patch entirely till you follow the process allowing the patch to be tested.

Best regards,
Krzysztof

#3 lore raw

Hi Krzysztof,

Quoted 24 lines · Krzysztof Kozlowski
Quoted 8 lines · Sakari Ailus

Commit feb8831be9d4 ("media: ov08x40: Reduce start streaming time") introduced an unintentional change to Documentation/devicetree/bindings/media/video-interfaces.yaml. Revert this change now.

Fixes feb8831be9d4 ("media: ov08x40: Reduce start streaming time")

Even if it is simple, it still should be tested...

Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel.

Tools like b4 or scripts/get_maintainer.pl provide you proper list of people, so fix your workflow. Tools might also fail if you work on some ancient tree (don't, instead use mainline), work on fork of kernel (don't, instead use mainline) or you ignore some maintainers (really don't). Just use b4 and everything should be fine, although remember about b4 prep --auto-to-cc if you added new patches to the patchset.

Quoted 4 lines

You missed at least devicetree list (maybe more), so this won't be tested by automated tooling. Performing review on untested code might be a waste of time, thus I will skip this patch entirely till you follow the process allowing the patch to be tested.

We decided to revert the original patch in its entirety. Note that merging this (or the full revert of the original patch) reverts the changes that were previously merged unintentionally. Not doing so will break video-interfaces.yaml and omap3-n9.dts.

I didn't cc the devicetree list or DT maintainers as I viewed addressing this problem internal to the media tree.

Signature · 3 lines
Kind regards,

Sakari Ailus