[PATCH v2] arm64: dts: ti: k3-am62-verdin: Fix SoM ADC compatible

João Paulo Gonçalves posted 1 patch 1 month, 1 week ago
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] arm64: dts: ti: k3-am62-verdin: Fix SoM ADC compatible
Posted by João Paulo Gonçalves 1 month, 1 week ago
From: João Paulo Gonçalves <joao.goncalves@toradex.com>

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>
---
v2: Update commit message to make clearer these are breaking changes.

v1: https://lore.kernel.org/lkml/20241001111413.10390-1-jpaulo.silvagoncalves@gmail.com/

 arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
index 5bef31b8577b..f201722d81b3 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
@@ -1220,7 +1220,7 @@ sensor@48 {
 	};
 
 	adc@49 {
-		compatible = "ti,ads1015";
+		compatible = "ti,tla2024";
 		reg = <0x49>;
 		#address-cells = <1>;
 		#size-cells = <0>;
-- 
2.34.1

Re: [PATCH v2] arm64: dts: ti: k3-am62-verdin: Fix SoM ADC compatible
Posted by Vignesh Raghavendra 3 weeks, 6 days ago
Hi João Paulo Gonçalves,

On Tue, 15 Oct 2024 08:33:34 -0300, João Paulo Gonçalves wrote:
> 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.
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: k3-am62-verdin: Fix SoM ADC compatible
      commit: ab53b8c0ac975d8c4d61927d2be14afce14f6902

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh