-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for V-by-One SerDes toolkit
- Loading branch information
xumm
committed
Jul 31, 2023
1 parent
406434d
commit 791d90f
Showing
7 changed files
with
972 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
Device tree configuration for the V-by-ONE deserializer THCV242A and | ||
serializer THCV241A from Thine | ||
|
||
The deserializer THCV242A can have up to one serializers (THCV241A) connected. | ||
In the device tree, the serializer nodes are subnodes of the deserializer. | ||
|
||
/*------------------------------------------------------------------------------ | ||
* ------------------------------------------------------------------------------ | ||
* | ||
* Options for DESERIALIZER (THCV242A): | ||
* | ||
* ------------------------------------------------------------------------------ | ||
*-----------------------------------------------------------------------------*/ | ||
|
||
Integer values: | ||
- reg: I2C address of deserializer | ||
- csi-lane-count Number of CSI lanes(2,4) default value: 2 | ||
- csi-lane-speed CSI lane speed in Mbps (900, 1118 or 1500) | ||
default vaule: 1500 | ||
- coax-num Number of Coax cable | ||
- cam-i2c-pt-setting Pass through setting i2c | ||
|
||
String values: | ||
- pdb-gpio Power-down gpio(no use or polling) | ||
- trgin-gpio Trigger gpio(no use or polling) | ||
- out1-gpio out1 gpio(no use or polling) | ||
- out2-gpio out2 gpio(no use or polling) | ||
|
||
|
||
|
||
/*------------------------------------------------------------------------------ | ||
* ------------------------------------------------------------------------------ | ||
* | ||
* Options for SERIALIZER (THCV241A): | ||
* | ||
* ------------------------------------------------------------------------------ | ||
*-----------------------------------------------------------------------------*/ | ||
|
||
Integer values: | ||
- i2c-address I2C address of serializer(0x36) | ||
- csi-lane-count Number of CSI lanes default value: 2 | ||
- csi-lane-speed CSI lane speed in Mbps (900, 1118 or 1500) | ||
- camera-i2c-address I2C address of camera(0x3b) | ||
|
||
/*------------------------------------------------------------------------------ | ||
* ------------------------------------------------------------------------------ | ||
* | ||
* Device Tree Examples | ||
* | ||
* ------------------------------------------------------------------------------ | ||
*-----------------------------------------------------------------------------*/ | ||
|
||
/*------------------------------------------------------------------------------ | ||
* Example 1 (SIMPLE) | ||
*-----------------------------------------------------------------------------*/ | ||
|
||
veye_vbyone: vbyone@65 { | ||
compatible = "veye,vbyone"; | ||
priority = <(-1)>; | ||
reg = <0x65>; | ||
status = "okay"; | ||
csi-lane-count = <2>; | ||
csi-lane-speed = <1500>; | ||
coax-num = <1>; | ||
cam-i2c-pt-setting = <0x13>; | ||
|
||
pdb-gpio-mode = <0>; | ||
trgin-gpio-mode = <1>; | ||
out1-gpio-mode = <1>; | ||
out2-gpio-mode = <1>; | ||
|
||
serializer { | ||
i2c-address=<0x34>; | ||
csi-lane-count = <2>; | ||
csi-lane-speed = <1500>; | ||
camera-i2c-address=<0x3b>; | ||
}; | ||
}; |
Oops, something went wrong.