Commit b99c35a4 authored by Benoit Parrot's avatar Benoit Parrot Committed by Mauro Carvalho Chehab

media: dt-bindings: media: cal: update binding example

Update binding example to show proper endpoint properties and linkage.
Signed-off-by: default avatarBenoit Parrot <bparrot@ti.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 8f2b841a
...@@ -27,7 +27,6 @@ Documentation/devicetree/bindings/media/video-interfaces.txt. ...@@ -27,7 +27,6 @@ Documentation/devicetree/bindings/media/video-interfaces.txt.
Example: Example:
cal: cal@4845b000 { cal: cal@4845b000 {
compatible = "ti,dra72-cal"; compatible = "ti,dra72-cal";
ti,hwmods = "cal";
reg = <0x4845B000 0x400>, reg = <0x4845B000 0x400>,
<0x4845B800 0x40>, <0x4845B800 0x40>,
<0x4845B900 0x40>; <0x4845B900 0x40>;
...@@ -45,9 +44,10 @@ Example: ...@@ -45,9 +44,10 @@ Example:
csi2_0: port@0 { csi2_0: port@0 {
reg = <0>; reg = <0>;
endpoint { csi2_phy0: endpoint {
slave-mode; remote-endpoint = <&csi2_cam0>;
remote-endpoint = <&ar0330_1>; clock-lanes = <0>;
data-lanes = <1 2>;
}; };
}; };
csi2_1: port@1 { csi2_1: port@1 {
...@@ -57,19 +57,20 @@ Example: ...@@ -57,19 +57,20 @@ Example:
}; };
i2c5: i2c@4807c000 { i2c5: i2c@4807c000 {
ar0330@10 { clock-frequency = <400000>;
compatible = "ti,ar0330";
reg = <0x10>;
port { camera-sensor@3c {
#address-cells = <1>; compatible = "ovti,ov5640";
#size-cells = <0>; reg = <0x3c>;
clocks = <&clk_fixed>;
clock-names = "xclk";
ar0330_1: endpoint { port {
reg = <0>; csi2_cam0: endpoint {
clock-lanes = <1>; remote-endpoint = <&csi2_phy0>;
data-lanes = <0 2 3 4>; clock-lanes = <0>;
remote-endpoint = <&csi2_0>; data-lanes = <1 2>;
}; };
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment