forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/media/i2c/nokia,smia.txt
....@@ -7,6 +7,9 @@
77 More detailed documentation can be found in
88 Documentation/devicetree/bindings/media/video-interfaces.txt .
99
10
+The device node should contain a "port" node which may contain one or more
11
+endpoint nodes, in accordance with video interface bindings defined in
12
+Documentation/devicetree/bindings/media/video-interfaces.txt .
1013
1114 Mandatory properties
1215 --------------------
....@@ -24,8 +27,6 @@
2427 Optional properties
2528 -------------------
2629
27
-- nokia,nvm-size: The size of the NVM, in bytes. If the size is not given,
28
- the NVM contents will not be read.
2930 - reset-gpios: XSHUTDOWN GPIO
3031 - flash-leds: See ../video-interfaces.txt
3132 - lens-focus: See ../video-interfaces.txt
....@@ -37,9 +38,7 @@
3738 Endpoint node mandatory properties
3839 ----------------------------------
3940
40
-- clock-lanes: <0>
4141 - data-lanes: <1..n>
42
-- remote-endpoint: A phandle to the bus receiver's endpoint node.
4342
4443
4544 Example
....@@ -48,7 +47,7 @@
4847 &i2c2 {
4948 clock-frequency = <400000>;
5049
51
- smiapp_1: camera@10 {
50
+ camera-sensor@10 {
5251 compatible = "nokia,smia";
5352 reg = <0x10>;
5453 reset-gpios = <&gpio3 20 0>;
....@@ -58,8 +57,7 @@
5857 nokia,nvm-size = <512>; /* 8 * 64 */
5958 link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
6059 port {
61
- smiapp_1_1: endpoint {
62
- clock-lanes = <0>;
60
+ smiapp_ep: endpoint {
6361 data-lanes = <1 2>;
6462 remote-endpoint = <&csi2a_ep>;
6563 };