-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dtoverlays: Add VCM option to Arducam64MP
VCM is enabled by default, but you can use 'vcm=off' to disable VCM support. Signed-off-by: Lee Jackson <[email protected]>
- Loading branch information
Showing
3 changed files
with
65 additions
and
32 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
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
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,34 @@ | ||
// Fragment that configures a Arducam64MP | ||
|
||
cam_node: arducam_64mp@1a { | ||
compatible = "arducam,64mp"; | ||
reg = <0x1a>; | ||
status = "disabled"; | ||
|
||
clocks = <&cam1_clk>; | ||
clock-names = "xclk"; | ||
|
||
VANA-supply = <&cam1_reg>; /* 2.8v */ | ||
VDIG-supply = <&cam_dummy_reg>; /* 1.8v */ | ||
VDDL-supply = <&cam_dummy_reg>; /* 1.2v */ | ||
|
||
rotation = <0>; | ||
orientation = <2>; | ||
|
||
port { | ||
cam_endpoint: endpoint { | ||
clock-lanes = <0>; | ||
data-lanes = <1 2>; | ||
clock-noncontinuous; | ||
link-frequencies = | ||
/bits/ 64 <456000000>; | ||
}; | ||
}; | ||
}; | ||
|
||
vcm_node: dw9817_arducam64mp@c { | ||
compatible = "dongwoon,dw9817-vcm"; | ||
reg = <0x0c>; | ||
status = "disabled"; | ||
VDD-supply = <&cam1_reg>; | ||
}; |