ARM: dts: s5pv210: Correct FIMC definitions
authorJonathan Bakker <xc-racer2@live.ca>
Fri, 1 May 2020 23:50:17 +0000 (16:50 -0700)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 4 May 2020 15:13:04 +0000 (17:13 +0200)
The extended mainscaler is only available on FIMC1 and there
are minimum pixel alignments that differ from the default.
Additionally, the cam-if interface is available on all three
while FIMC2 has no rotators.  The lcd-wb interface is supported
on FIMC1.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/s5pv210.dtsi

index 30a0c39..1b0ee88 100644 (file)
                                clock-names = "fimc",
                                                "sclk_fimc";
                                samsung,pix-limits = <4224 8192 1920 4224>;
-                               samsung,mainscaler-ext;
+                               samsung,min-pix-alignment = <16 8>;
                                samsung,cam-if;
                        };
 
                                clock-names = "fimc",
                                                "sclk_fimc";
                                samsung,pix-limits = <4224 8192 1920 4224>;
+                               samsung,min-pix-alignment = <1 1>;
                                samsung,mainscaler-ext;
                                samsung,cam-if;
+                               samsung,lcd-wb;
                        };
 
                        fimc2: fimc@fb400000 {
                                                <&clocks SCLK_FIMC2>;
                                clock-names = "fimc",
                                                "sclk_fimc";
-                               samsung,pix-limits = <4224 8192 1920 4224>;
-                               samsung,mainscaler-ext;
-                               samsung,lcd-wb;
+                               samsung,pix-limits = <1920 8192 1280 1920>;
+                               samsung,min-pix-alignment = <16 8>;
+                               samsung,rotators = <0>;
+                               samsung,cam-if;
                        };
                };