# Lane\_polarity property for CPHY

**URL:** <https://forums.developer.nvidia.com/t/lane-polarity-property-for-cphy/297397>\
**Category:** Jetson AGX Orin\
**Tags:** camera\
**Created:** [June 24, 2024, 2:45am UTC](https://forums.developer.nvidia.com/t/lane-polarity-property-for-cphy/297397 "2024-06-24T02:45:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janet\_CHU](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/janet_chu/32/286618_2.png) [@Janet\_CHU](https://forums.developer.nvidia.com/u/Janet_CHU)\
**Post date:** [June 24, 2024, 2:45am UTC](https://forums.developer.nvidia.com/t/lane-polarity-property-for-cphy/297397/1 "2024-06-24T02:45:04Z")

</div>

[https://forums.developer.nvidia.com/t/cphy-does-not-work-using-gst-launch-but-works-with-v4l2/246189?u=janet\_chu](https://forums.developer.nvidia.com/t/cphy-does-not-work-using-gst-launch-but-works-with-v4l2/246189)

Hi，  
I modified csi5\_fops.c to support CPHY：  
memset(&brick\_config, 0, sizeof(brick\_config));  
brick\_config.phy\_mode = (!is\_cphy) ?  
NVCSI\_PHY\_TYPE\_DPHY : NVCSI\_PHY\_TYPE\_CPHY;

/\* Lane polarity YUV\*/  
if(is\_cphy) {  
brick\_config.lane\_polarity[0] = NVCSI\_CPHY\_POLARITY\_ABC;  
brick\_config.lane\_polarity[1] = NVCSI\_CPHY\_POLARITY\_CAB;  
brick\_config.lane\_polarity[2] = NVCSI\_CPHY\_POLARITY\_ABC;  
brick\_config.lane\_polarity[3] = NVCSI\_CPHY\_POLARITY\_CAB;  
printk(“%s: trio1&3 swap ABC-\>CAB\n”, **func** );  
}  
It works in v4l2, but in nvarguscamerasrc, the function call is not entered.  
Is there support for this issue now?  
version:  
JETSON AGX ORIN  
R35 (release), REVISION: 4.1

---

<div class="post-metadata">

**Author:** ![ShaneCCC](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/shaneccc/32/14043_2.png) [@ShaneCCC](https://forums.developer.nvidia.com/u/ShaneCCC)\
**Post date:** [June 24, 2024, 3:47am UTC](https://forums.developer.nvidia.com/t/lane-polarity-property-for-cphy/297397/4 "2024-06-24T03:47:08Z")

</div>

Argus don’t support Lane\_polarity.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [July 17, 2024, 2:57am UTC](https://forums.developer.nvidia.com/t/lane-polarity-property-for-cphy/297397/6 "2024-07-17T02:57:22Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
