]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-am62-verdin: Fix SoM ADC compatible
authorJoão Paulo Gonçalves <joao.goncalves@toradex.com>
Tue, 15 Oct 2024 11:33:34 +0000 (08:33 -0300)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 28 Oct 2024 16:29:58 +0000 (21:59 +0530)
Fix Verdin AM62 on-SOM ADC compatible. Currently the hardware is not
correctly described in the DT, use the correct TI TLA2024 compatible that
matches what is assembled on the board.

The "ti,tla2024" compatible was introduced in Linux v5.19 and Verdin AM62
support was introduced in Linux v6.5.

The new DTB will not work on kernel older than v5.19, but this seems
unlikely to happen. U-Boot does not use the ADC node and a known Android 14
out-of-tree port uses a Linux Kernel 6.1.

With that said, despite this being a breaking change, it seems fair to
to not expect any regression because of it.

Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com>
Link: https://lore.kernel.org/r/20241015113334.246110-1-jpaulo.silvagoncalves@gmail.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi

index b679625646702ab0ff1193bf2a658ebd6c54b2cf..d0f80b23b4a0b9ac0739809ccb89bf6dfe7cb4ea 100644 (file)
        };
 
        adc@49 {
-               compatible = "ti,ads1015";
+               compatible = "ti,tla2024";
                reg = <0x49>;
                #address-cells = <1>;
                #size-cells = <0>;