From patchwork Tue Oct 15 11:33:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= X-Patchwork-Id: 13836234 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D1E0CFC28F for ; Tue, 15 Oct 2024 11:35:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Zk20xddrCI+1UTpfhGcnbi1rryEpUOFeAY/WaVP0xkM=; b=wtGmGaGPPPaHnVvSIxuap2pkW3 FrZ5tiTt7/4QW/ilq/n6ZhKaFHh0UO2wNVNXkSybTllPNdMBPotncgJ0lz140tuwzBHWw1vHRK1Vc ON+BvCIZVg6BwG1I+DWF64ppcOSV7EYFoKz47M3SPlhhvoEGspHHCs16aBeGER41GycvaC60VER+N oD4Zf2J2VJtcJl313dBGowhvNOM5Gmk5sT+t9+PZkaaxSvbZO9oUDvRhAlGVzoFg2mvcW+QQX6PoS lpfkl/7GwNWUcWE3kqv5XcGngK/+duwKk8xUiTD/57t0Ht4XLATiQhV3NlgvQM4GlFaf5jVVuxYqK nYOWZdQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0fpc-000000082dQ-01rR; Tue, 15 Oct 2024 11:35:16 +0000 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0foA-000000082Ji-3bVe for linux-arm-kernel@lists.infradead.org; Tue, 15 Oct 2024 11:33:48 +0000 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-7ea0ff74b15so3108508a12.3 for ; Tue, 15 Oct 2024 04:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728992025; x=1729596825; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Zk20xddrCI+1UTpfhGcnbi1rryEpUOFeAY/WaVP0xkM=; b=KfqrnEMsG5kfbbuvCbB4y5OS1E7d8UdHGJdjTLq2eXBqp6XXlR/n5tbJpcZqjK1vOr RlY6mVs+C77ieW380slCgWmN1+v+1V6iMMbjz/iPiPsdCEv4eq2mJM68Ak4snWI3C/6q 7xkcY+ZiDRg9o3hyodOO8uqwDXWPv0A44vfwiRrKUk8KWETF3QkFtlOF4vhcl8oo7cOY xdzq3I0mrOW5XdoCN4xer/1dlMSEapJ6LV3mTmACAlJULXdPZvjiBFGeD47lgkpkcKsi CyBDl4wNBoDsB0VXsJ/vGmz0EIEvzMuUAIwB6I9YA2+owWQG62UYNDq2Wh64Si60fa0n WgYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728992025; x=1729596825; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Zk20xddrCI+1UTpfhGcnbi1rryEpUOFeAY/WaVP0xkM=; b=RgpaYqTaY+o112twYc17hBgSuYEMeCrmyfjtIiDu5cACIlrIzzwwJ9dwRALAQkRTO/ z0Jy+hv2YnR8sFMD+lqUOjCEOmFtOYLckTuqNf3F9bD3My8Smfdo640WXs8stakU6Vat XqLEJN3KeAQr3bBFu0vh5Wm1v1HdQJB7aLnyp6Iv7FAaGDe2Fcwp/zuzCSvwBeqe2Uic u1u2pwT4Mm9pw45Efc5OK0CLVCxUSwnSHcjtAS043KDgzPqKrEI7qT8t+JSOcEH3W9V5 C44uEipsyNhidbmiZzOZZqVuWTDN+pQ1qVemduWUOPVhUkBmTtBPxuk6pWDpI72rxcJr rrZA== X-Forwarded-Encrypted: i=1; AJvYcCXTIufUgMBU3lGKC/u7I2CRQ9EDV6QXf6PTYfyUiqcoSvNC/oKUUgWk1M3eG7+LrPWyTtFCEoUWD5v+PV4f8Fqx@lists.infradead.org X-Gm-Message-State: AOJu0YxuQcyPLtwslw4VZ7JeS7Sf/Plg56u931JVNivsWnfVilVGc4i6 TGdLMo6j8RhtYNNpYmN2gjxhNed3dNHx4EU3/LJnBVfhJWE/vW2N X-Google-Smtp-Source: AGHT+IGwP1I8w68XCMtbhgXs5MLUMnBT1yYS8XxOgQuQZyarTMsouVs5FP6o5vACqFbWGTmJC9mjCQ== X-Received: by 2002:a05:6a21:2d84:b0:1d8:adea:6598 with SMTP id adf61e73a8af0-1d8bcfaf61emr23924962637.38.1728992025447; Tue, 15 Oct 2024 04:33:45 -0700 (PDT) Received: from joaog-nb.corp.toradex.com ([67.159.246.222]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20d1805b056sm10017455ad.248.2024.10.15.04.33.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 04:33:44 -0700 (PDT) From: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: ti: k3-am62-verdin: Fix SoM ADC compatible Date: Tue, 15 Oct 2024 08:33:34 -0300 Message-Id: <20241015113334.246110-1-jpaulo.silvagoncalves@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241015_043346_924483_22C67B28 X-CRM114-Status: GOOD ( 14.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: João Paulo Gonçalves 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 --- 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>;