-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: chensq <chensq@rock-chips.com>
- Loading branch information
Showing
734 changed files
with
71,021 additions
and
8,960 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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,40 @@ | ||
* Aptina AR0144 MIPI sensor | ||
|
||
Required Properties: | ||
- compatible: should be "aptina,ar0144" | ||
- clocks: reference to the 24M xvclk input clock. | ||
- clock-names: should be "xvclk". | ||
- dovdd-supply: Digital I/O voltage supply, 1.8/2.8 volts | ||
- avdd-supply: Analog voltage supply, 2.8 volts | ||
- dvdd-supply: Digital core voltage supply, 1.2 volts | ||
- reset-gpios: Low active reset gpio | ||
|
||
The device node must contain one 'port' child node for its digital output | ||
video port, in accordance with the video interface bindings defined in | ||
Documentation/devicetree/bindings/media/video-interfaces.txt. | ||
|
||
Example: | ||
ar0144: ar0144@10 { | ||
compatible = "aptina,ar0144"; | ||
status = "okay"; | ||
reg = <0x10>; | ||
clocks = <&cru SCLK_CIF_OUT>; | ||
clock-names = "xvclk"; | ||
|
||
//conflict with csi-ctl-gpios | ||
reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>; | ||
pwdn-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>; | ||
pinctrl-names = "rockchip,camera_default"; | ||
pinctrl-0 = <&cif_clkout>; | ||
rockchip,camera-module-index = <0>; | ||
rockchip,camera-module-facing = "back"; | ||
rockchip,camera-module-name = "default"; | ||
rockchip,camera-module-lens-name = "default"; | ||
port { | ||
ucam_out3: endpoint { | ||
remote-endpoint = <&mipi_in_ucam3>; | ||
data-lanes = <1>; | ||
}; | ||
}; | ||
}; | ||
|
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,47 @@ | ||
* BF20A2 1/10-Inch 0.3Mp SOC Camera | ||
|
||
The BYD BF20A2 is a 1/10-inch SOC camera, with an active array size of | ||
640H x 480V. It is programmable through a SCCB. The BF20A2 sensor supports | ||
SVGA. It also can support YUV422 or raw RGB output formats. | ||
|
||
Required Properties: | ||
- compatible: Must be "byd,bf20a2" | ||
- reg: I2C slave address | ||
- clocks: reference to the xvclk input clock. | ||
- clock-names: should be "xvclk". | ||
- dovdd-supply: Digital I/O voltage supply, 1.7~3.1 volts | ||
- avdd-supply: Analog voltage supply, 2.8 volts | ||
- powerdown-gpios: High active powerdown gpio | ||
|
||
The device node must contain one 'port' child node for its digital output | ||
video port, in accordance with the video interface bindings defined in | ||
Documentation/devicetree/bindings/media/video-interfaces.txt. | ||
|
||
Example: | ||
&i2c2 { | ||
status = "okay"; | ||
|
||
bf20a2: bf20a2@6e { | ||
status = "okay"; | ||
compatible = "byd,bf20a2"; | ||
reg = <0x6e>; | ||
clocks = <&cru SCLK_CIF_OUT>; | ||
clock-names = "xvclk"; | ||
|
||
avdd-supply = <&vcc2v8_dvp>; | ||
dovdd-supply = <&vcc2v8_dvp>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&cif_clkout_m0>; | ||
pwdn-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; | ||
rockchip,camera-module-index = <0>; | ||
rockchip,camera-module-facing = "back"; | ||
rockchip,camera-module-name = "default"; | ||
rockchip,camera-module-lens-name = "default"; | ||
|
||
port { | ||
bf20a2_out: endpoint { | ||
remote-endpoint = <&dvp_in_bcam>; | ||
}; | ||
}; | ||
}; | ||
}; |
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,45 @@ | ||
* GalaxyCore GC2053 MIPI sensor | ||
|
||
Required Properties: | ||
- compatible: should be "galaxycore,gc2053" | ||
- clocks: reference to the 24M xvclk input clock. | ||
- clock-names: should be "xvclk". | ||
- dovdd-supply: Digital I/O voltage supply, 1.8 volts | ||
- avdd-supply: Analog voltage supply, 2.8 volts | ||
- dvdd-supply: Digital core voltage supply, 1.2 volts | ||
- reset-gpios: Low active reset gpio | ||
- pwdn-gpios: Low active power down gpio | ||
|
||
The device node must contain one 'port' child node for its digital output | ||
video port, in accordance with the video interface bindings defined in | ||
Documentation/devicetree/bindings/media/video-interfaces.txt. | ||
|
||
Example: | ||
//rk3399pro evb board | ||
&i2c1 { | ||
status = "okay"; | ||
gc2053: gc2053@37 { | ||
compatible = "galaxycore,gc2053"; | ||
status = "okay"; | ||
reg = <0x37>; | ||
clocks = <&cru SCLK_CIF_OUT>; | ||
clock-names = "xvclk"; | ||
|
||
//conflict with csi-ctl-gpios | ||
reset-gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; | ||
pwdn-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>; | ||
pinctrl-names = "rockchip,camera_default"; | ||
pinctrl-0 = <&cif_clkout>; | ||
rockchip,camera-module-index = <0>; | ||
rockchip,camera-module-facing = "back"; | ||
rockchip,camera-module-name = "default"; | ||
rockchip,camera-module-lens-name = "default"; | ||
port { | ||
ucam_out0: endpoint { | ||
remote-endpoint = <&mipi_in_ucam0>; | ||
data-lanes = <1>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
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,50 @@ | ||
* Sony IMX214 MIPI sensor | ||
|
||
Required Properties: | ||
- compatible: should be "sony,imx214" | ||
- clocks: reference to the 24M xvclk input clock. | ||
- clock-names: should be "xvclk". | ||
- dovdd-supply: Digital I/O voltage supply, 1.8 volts | ||
- avdd-supply: Analog voltage supply, 2.8 volts | ||
- dvdd-supply: Digital core voltage supply, 1.0 volts | ||
- reset-gpios: Low active reset gpio | ||
|
||
The device node must contain one 'port' child node for its digital output | ||
video port, in accordance with the video interface bindings defined in | ||
Documentation/devicetree/bindings/media/video-interfaces.txt. | ||
|
||
Example: | ||
//rk3399 evb board | ||
&i2c1 { | ||
status = "okay"; | ||
imx214_eeprom: imx214_eeprom@0x50 { | ||
compatible = "sony,imx214_eeprom"; | ||
status = "okay"; | ||
reg = <0x50>; | ||
}; | ||
imx214: imx214@10 { | ||
eeprom-ctrl = <&imx214_eeprom>; | ||
compatible = "sony,imx214"; | ||
status = "okay"; | ||
reg = <0x10>; | ||
clocks = <&cru SCLK_CIF_OUT>; | ||
clock-names = "xvclk"; | ||
/* avdd-supply = <>; */ | ||
/* dvdd-supply = <>; */ | ||
/* dovdd-supply = <>; */ | ||
/* pwdn-gpios = <>; */ | ||
reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>; | ||
pinctrl-names = "rockchip,camera_default"; | ||
pinctrl-0 = <&cif_clkout>; | ||
rockchip,camera-module-index = <0>; | ||
rockchip,camera-module-facing = "back"; | ||
rockchip,camera-module-name = "YG9626-S600Y7-C"; | ||
rockchip,camera-module-lens-name = "LG-50013A7"; | ||
port { | ||
ucam_out1: endpoint { | ||
remote-endpoint = <&mipi_in_ucam0>; | ||
data-lanes = <1 2>; | ||
}; | ||
}; | ||
}; | ||
}; |
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,39 @@ | ||
* Sony IMX291 MIPI sensor | ||
|
||
Required Properties: | ||
- compatible: should be "sony,imx291" | ||
- clocks: reference to the 37.125M xvclk input clock. | ||
- clock-names: should be "xvclk". | ||
- dovdd-supply: Digital I/O voltage supply, 1.8 volts | ||
- avdd-supply: Analog voltage supply, 2.8 volts | ||
- dvdd-supply: Digital core voltage supply, 1.2 volts | ||
- reset-gpios: Low active reset gpio | ||
|
||
The device node must contain one 'port' child node for its digital output | ||
video port, in accordance with the video interface bindings defined in | ||
Documentation/devicetree/bindings/media/video-interfaces.txt. | ||
|
||
Example: | ||
imx291: imx291@1a { | ||
compatible = "sony,imx291"; | ||
status = "okay"; | ||
reg = <0x1a>; | ||
clocks = <&cru SCLK_CIF_OUT>; | ||
clock-names = "xvclk"; | ||
//conflict with csi-ctl-gpios | ||
reset-gpios = <&gpio4 26 GPIO_ACTIVE_HIGH>; | ||
pwdn-gpios = <&gpio4 25 GPIO_ACTIVE_HIGH>; | ||
pinctrl-names = "rockchip,camera_default"; | ||
pinctrl-0 = <&cif_clkout>; | ||
rockchip,camera-module-index = <0>; | ||
rockchip,camera-module-facing = "back"; | ||
rockchip,camera-module-name = "default"; | ||
rockchip,camera-module-lens-name = "default"; | ||
port { | ||
ucam_out0: endpoint { | ||
remote-endpoint = <&mipi_in_ucam0>; | ||
data-lanes = <1 2>; | ||
}; | ||
}; | ||
}; | ||
|
Oops, something went wrong.