]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Fix imx258 variant on pinephone pro
authorLuis Garcia <git@luigi311.com>
Mon, 19 Jan 2026 01:06:33 +0000 (18:06 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 20 Jan 2026 09:08:19 +0000 (10:08 +0100)
imx258 had the driver updated a while back and it introduced
two variants, the imx258 and imx258-pdaf. The pinephone pro
is using the pdaf variant so this switches it to the correct
variant and eliminates the pdaf pixels from the sensor output
resulting in a much cleaner image.

Signed-off-by: Luis Garcia <git@luigi311.com>
Link: https://patch.msgid.link/20260119010633.3447863-1-git@luigi311.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts

index 141ab98502905fe5e3a7ac84ec9d02e79ea4796c..cee9e35d770e0e3f7a2a125e4462224b01c4c9c4 100644 (file)
        status = "okay";
 
        wcam: camera@1a {
-               compatible = "sony,imx258";
+               compatible = "sony,imx258-pdaf";
                reg = <0x1a>;
                clocks = <&cru SCLK_CIF_OUT>; /* MIPI_MCLK0, derived from CIF_CLKO */
                lens-focus = <&wcam_lens>;