media: dt-bindings: video-interfaces: add video-interfaces.h information
Subsystems (3)
Frank Li
maintainerPATCH v2 1/1 media: dt-bindings: video-interfaces: add video-interfaces.h information
Mention include/dt-bindings/media/video-interfaces.h in descriptions to help avoid use hardcode in dts.
---
changes in v2
- update commit message "mention ..."
- use full path include/dt-bindings/media/video-interfaces.h
--- Documentation/devicetree/bindings/media/video-interfaces.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/media/video-interfaces.yaml +2 -2
@@ -95,7 +95,7 @@ properties: - 6 # BT.656 - 7 # DPI description: - Data bus type. + Data bus type. See include/dt-bindings/media/video-interfaces.h. bus-width: $ref: /schemas/types.yaml#/definitions/uint32
@@ -229,7 +229,7 @@ properties: Imaging. The length of the array must be the same length as the data-lanes property. If the line-orders property is omitted, the value shall be interpreted as 0 (ABC). This property is valid for CSI-2 C-PHY - busses only. + busses only. See include/dt-bindings/media/video-interfaces.h. strobe: $ref: /schemas/types.yaml#/definitions/uint32
Signature · 1 line
2.34.1
Quoted 4 lines · Frank Li
Mention
include/dt-bindings/media/video-interfaces.hin descriptions to help avoid use hardcode in dts.Signed-off-by Frank Li <[email protected]>
Best regards,
Krzysztof
Hi Frank,
Thank you for the patch.
Quoted 17 lines · Frank Li
Mention
include/dt-bindings/media/video-interfaces.hin descriptions to help avoid use hardcode in dts.Signed-off-by Frank Li <[email protected]>---
changes in v2
- update commit message "mention ..."
- use full pathinclude/dt-bindings/media/video-interfaces.h--- Documentation/devicetree/bindings/media/video-interfaces.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/media/video-interfaces.yaml +0
-0
Documentation/devicetree/bindings/media/video-interfaces.yaml properties: · line 96
Quoted 2 lines
Documentation/devicetree/bindings/media/video-interfaces.yaml +0
-0@@ -95,7 +95,7 @@ properties: - 6 # BT.656 - 7 # DPI
I wondered if we should reference the macros here as well:
enum:
- 1 # MEDIA_BUS_TYPE_CSI2_CPHY
- 2 # MEDIA_BUS_TYPE_CSI1
- 3 # MEDIA_BUS_TYPE_CCP2
- 4 # MEDIA_BUS_TYPE_CSI2_DPHY
- 5 # MEDIA_BUS_TYPE_PARALLEL
- 6 # MEDIA_BUS_TYPE_BT656
- 7 # DPI
(Annoyingly we don't have a macro for DPI.)
This can be done separately if desired, so
Quoted 15 lines
Documentation/devicetree/bindings/media/video-interfaces.yaml +2
-2description: - Data bus type. + Data bus type. See include/dt-bindings/media/video-interfaces.h. bus-width: $ref: /schemas/types.yaml#/definitions/uint32@@ -229,7 +229,7 @@ properties: Imaging. The length of the array must be the same length as the data-lanes property. If the line-orders property is omitted, the value shall be interpreted as 0 (ABC). This property is valid for CSI-2 C-PHY - busses only. + busses only. See include/dt-bindings/media/video-interfaces.h. strobe: $ref: /schemas/types.yaml#/definitions/uint32
Signature · 3 lines
Regards, Laurent Pinchart
Hi Laurent,
Quoted 36 lines · Laurent Pinchart
Hi Frank,
Thank you for the patch.
Quoted 17 lines · Frank Li
Mention
include/dt-bindings/media/video-interfaces.hin descriptions to help avoid use hardcode in dts.Signed-off-by Frank Li <[email protected]>---
changes in v2
- update commit message "mention ..."
- use full pathinclude/dt-bindings/media/video-interfaces.h--- Documentation/devicetree/bindings/media/video-interfaces.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/media/video-interfaces.yaml +0
-0Documentation/devicetree/bindings/media/video-interfaces.yaml properties: · line 96
Quoted 2 lines
Documentation/devicetree/bindings/media/video-interfaces.yaml +0
-0@@ -95,7 +95,7 @@ properties: - 6 # BT.656 - 7 # DPII wondered if we should reference the macros here as well:
enum:
- 1 #MEDIA_BUS_TYPE_CSI2_CPHY
- 2 #MEDIA_BUS_TYPE_CSI1
- 3 #MEDIA_BUS_TYPE_CCP2
- 4 #MEDIA_BUS_TYPE_CSI2_DPHY
- 5 #MEDIA_BUS_TYPE_PARALLEL
- 6 #MEDIA_BUS_TYPE_BT656
- 7 # DPI
Quoted 1 line
(Annoyingly we don't have a macro for DPI.)
I'd actually add one: there's certainly no harm from doing so even though it's for display, not for cameras (or receivers alike).
This patch is already in my tree so the macro name comments should go to a new one.
Quoted 4 lines
This can be done separately if desired, so
Reviewed-by Laurent Pinchart <[email protected]>
Thanks!
Signature · 1 line
Sakari Ailus