From mboxrd@z Thu Jan 1 00:00:00 1970 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 3AA13CEACCA for ; Tue, 1 Oct 2024 14:12:58 +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:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lRm9BndgJAeYwiLTv7BG7JFQumN23uBI+Q3RjGILeYE=; b=FNYjt2WdSIA3VmGyoTqwmjK79l wuGKWjZldKjUyNDHTd4xh7tZh6DYZx8cBgXppiPqWZmO/se+BjLbKVKDO9QxhDFGCVx0FCc/d08yG d+vUycvX91a0h6PlMyLHv6O6abbv3Q3UM2twKPRwy38VCJZTWNTd5A9KOsZ4JaIDR50gEYpk0z0sx luo3lEP8k39QDVIY4xyxiBMYn/FfgsuIYh5Y7tkZ3INep1/RG8ePYJWMAlf4w9qgmp2xEb9EtFMW5 NXg3SKa5lAtPG5lALMszRXUuMQsghz87hayxFUX80jw8/hj+NRYe+x4C7PagRqhqjWWkN9PHRlS0x aAlOgh/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svdcP-000000035fa-0Zjz; Tue, 01 Oct 2024 14:12:49 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svdPl-000000032dl-0z9u for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2024 13:59:46 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 22894A43727; Tue, 1 Oct 2024 13:59:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FABBC4CEC6; Tue, 1 Oct 2024 13:59:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1727791184; bh=QT8/sIkqWH5UWAUvNNM3cYc5PhWtk3v9UxRxQKqjGbk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nKGc7oIXWZXtSDyhVT+Qew857D7Zw8KgqHWztUOcGuMsi7pCWlxpLPhhPR94chqWt qZzm3GtpL8s3yQBSttWkDuedY/jbm231sLsiRnvvOmwAcxEGiq2eM+ECDQ8QU1jhBl IsbWsFCGeEqFFy1v5xFXlmkB6TkcpwOLLcGKata+KBWNp+zId/r/h913r9PuE6K1nq 7rVDTns+Ck4+u3mjHFEt+sGX83kkqxr+T3h6sWzwUqBmjO8JS7j+LKU1K3EvKAp5Yq hREy2D/rfDM5dy3oJzbutn3/5SncBnE8PssoWJkI5eaeaZRGNp66+flpYkyIhDxqmG AAiYARSdJdSQw== Message-ID: <3d9de1b8-488b-4df5-b984-7581b1d02241@kernel.org> Date: Tue, 1 Oct 2024 15:59:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] arm64: dts: ti: k3-am62-verdin: Update tla2024 adc compatible To: Francesco Dolcini , Nishanth Menon Cc: =?UTF-8?Q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , =?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 References: <20241001111413.10390-1-jpaulo.silvagoncalves@gmail.com> <20241001130128.GA36341@francesco-nb> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTVXGSyDsuZjHvj+FRP+ g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set=UTF-8 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_065945_429435_328CF108 X-CRM114-Status: GOOD ( 34.79 ) 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 On 01/10/2024 15:01, Francesco Dolcini wrote: > Hello Krzysztof, > > On Tue, Oct 01, 2024 at 01:54:56PM +0200, Krzysztof Kozlowski wrote: >> On 01/10/2024 13:14, João Paulo Gonçalves wrote: >>> From: João Paulo Gonçalves >>> >>> With commit f1c9ce0ced2d ("iio: adc: ti-ads1015: Add TLA2024 support") a >>> new compatible was introduced for TLA2024 ADC. Update the device >>> tree to use the correct compatible for the Verdin-AM62 hardware. >>> >>> Signed-off-by: João Paulo Gonçalves >>> --- >>> 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"; >> >> So it is not always TI, who breaks their users. :) (as pointed out in >> LPC DT BoF). > > So, let's adjust what I said at that time, I think is important, and I > appreciate you giving me an excuse for doing that :-) > > Lately as Toradex we are working a lot with TI, and one of the reasons is > that they have a great software support, backed-up by a great strategy > on the way they contribute to the various upstream projects they build > their SDK on top (Linux, U-Boot, and more). > > With that is normal that while working so closely with them we find > issues, everybody have those, it's just that those are the one we > care the most at the moment :-). Not to mention that we started working > with TI a couple of years ago, so TI is still somehow "new" to us and we > are still "learning". > > On this regards I was recently working on updating our BSP to the > latest SDK from TI, that is based on a v6.6 stable kernel and looking at > the patches we had to apply on top, the total counts of the patches we > do not have in mainline to support the board subject of this patch is > just _zero_. This to me is a great achievement. > > Nishant: this is also for you, and feel free to "market" this > internally/externally :-) > > >> If you want to break users, sure, but at least explain in commit msg why. > > Now, on this specific topic, the actual device that is assembled on this > board is a TI TLA2024, and it's like that since ever, the board never > changed. The current compatible is not matching what is assembled on > board. It works because the device is close enough to TI ADS1015. > > With that said, I do not think this is breaking any actual compatibility > issue. > > - The old DTB will keep working with old and new kernel. New DTB stops working with old kernel and this is what we talked about during LPC. All out-of-tree users of this DTS, like other operating systems, will be affected as well probably. > - The commit adding support for TI TLA2024 is in v5.19, and this board > is supported only from kernel v6.5, so you cannot run an older kernel > with this board. In addition to that I do not think that is > reasonable to have someone using a "new" dtb with an "old" kernel. > - The firmware, U-Boot, the only one that currently supports this board, > is not making any use of this compatible nor of this ADC. Best regards, Krzysztof