Skip to content

Commit

Permalink
arm64: dts: imx8mq: fix mipi_csi bidirectional port numbers
Browse files Browse the repository at this point in the history
[ Upstream commit 283d451 ]

The port numbers for the imx8mq mipi csi controller are wrong and
the mipi driver can't find any media devices as port@1 is connected
to the CSI bridge, not port@0. And port@0 is connected to the
source - the sensor. Fix this.

Fixes: bcadd5f ("arm64: dts: imx8mq: add mipi csi phy and csi bridge descriptions")
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
merge authored and gregkh committed Feb 16, 2022
1 parent af6a1d6 commit 0ed2f9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/arm64/boot/dts/freescale/imx8mq.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1123,8 +1123,8 @@
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
port@1 {
reg = <1>;

csi1_mipi_ep: endpoint {
remote-endpoint = <&csi1_ep>;
Expand Down Expand Up @@ -1175,8 +1175,8 @@
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
port@1 {
reg = <1>;

csi2_mipi_ep: endpoint {
remote-endpoint = <&csi2_ep>;
Expand Down

0 comments on commit 0ed2f9a

Please sign in to comment.