Commit 5e53dbf4 authored by Jacopo Mondi's avatar Jacopo Mondi Committed by Simon Horman

arm64: dts: renesas: r8a77990: Fix VIN endpoint numbering

The VIN driver bindings dictates fixed numbering for VIN endpoints connected
to CSI-2 endpoints, even when a single endpoint exists.

Without proper endpoint numbering the VIN driver fails to probe.

Based on a patch in BSP from Koji Matsuoka <koji.matsuoka.xm@renesas.com>

Fixes: ec70407a ("arm64: dts: renesas: r8a77990: Add VIN and CSI-2 device nodes")
Signed-off-by: default avatarKoji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: default avatarTakeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: default avatarJacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 9aa3558a
...@@ -1011,9 +1011,13 @@ ports { ...@@ -1011,9 +1011,13 @@ ports {
#size-cells = <0>; #size-cells = <0>;
port@1 { port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>; reg = <1>;
vin4csi40: endpoint { vin4csi40: endpoint@2 {
reg = <2>;
remote-endpoint= <&csi40vin4>; remote-endpoint= <&csi40vin4>;
}; };
}; };
...@@ -1035,9 +1039,13 @@ ports { ...@@ -1035,9 +1039,13 @@ ports {
#size-cells = <0>; #size-cells = <0>;
port@1 { port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>; reg = <1>;
vin5csi40: endpoint { vin5csi40: endpoint@2 {
reg = <2>;
remote-endpoint= <&csi40vin5>; remote-endpoint= <&csi40vin5>;
}; };
}; };
......
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