From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4F0C18DB2C; Tue, 25 Feb 2025 16:23:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.132.182.106 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740500620; cv=none; b=k7ykf04GdYHAUlIuLkQ6NXMhrV49m6dqjsCboRcl38vydwBbgaNJrjyR4tATVQDF31/R1xVpLvkcjADg7IwU6VmCFpvwxC9sPW7UkKP7fCX6KpPnRK2IhKGGaIeOMiuzDOyOjituTeEjtSpsQTP1tldCXQWbpVOIm34NeQc7ISY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740500620; c=relaxed/simple; bh=5araWQ0s2WBnyVth0FZ5AloNSO2WyifLLBTHMeBvnYw=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=SbcEtviJdCgzca2m+y7crtq3Zm05B+bM1SF3BoK4TwvX+OL+jahy81WDgeynzH2WRmijtz/Y9JbToN/+PWxNMgJWH7R86ADZbHYNpZK6iF/x5YMF7vkZDyyT2JAVrVoE6fby9PbM5tiS3F14mTv5TFltgnfgouroPfpJOb3jFw8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=VAucme6b; arc=none smtp.client-ip=185.132.182.106 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="VAucme6b" Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51PF69IC022886; Tue, 25 Feb 2025 17:23:27 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= PXz/daQoPl9vRa9N4mM+seFELokRLIOzCneeJp1maXM=; b=VAucme6bAbNWdggq b0PvGfNYPnsbc2ydRLnri3S16Bo1Fx9tWERsEoZ49Fd+yVHacE22cDmcv8tUCtRd AxXho4yG7VSaMv84JB5yspb3Pf+ErNOL7hMkA20VnqEwGtHf5Xq6Wz5oFM/UhO8Z iCCNX27M6wR83ph58WaV54kbx5cFN4aIC7EG350RuuGX9ksPpAoRISe2R4CBbOlx GJzs66XcVVsuvOn9pnlKrKms4FLsy3r7tIWhYh0UloJqermZbkGZ2ExwJyEH3jCy jPOf5nOPUjlYZMEtKTFziwd/BDXkyMhbpfK8H7TI7U/BIzfbzK2HAHU4Imgz6j4F NucuTg== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 4512sp4kbf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Feb 2025 17:23:27 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 0290540074; Tue, 25 Feb 2025 17:22:19 +0100 (CET) Received: from Webmail-eu.st.com (eqndag1node4.st.com [10.75.129.133]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id EBEE141878C; Tue, 25 Feb 2025 15:58:48 +0100 (CET) Received: from SAFDAG1NODE1.st.com (10.75.90.17) by EQNDAG1NODE4.st.com (10.75.129.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 25 Feb 2025 15:58:48 +0100 Received: from [10.48.86.222] (10.48.86.222) by SAFDAG1NODE1.st.com (10.75.90.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 25 Feb 2025 15:58:47 +0100 Message-ID: <4ffc3fe3-78ab-43b2-b0d5-8f9cb545f9c5@foss.st.com> Date: Tue, 25 Feb 2025 15:58:47 +0100 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 6/8] counter: stm32-lptimer-cnt: add support for stm32mp25 To: Krzysztof Kozlowski CC: , , , , , , , , , , , , , , , , , , References: <20250224180150.3689638-1-fabrice.gasnier@foss.st.com> <20250224180150.3689638-7-fabrice.gasnier@foss.st.com> <20250225-pelican-of-pleasurable-might-e9a7e8@krzk-bin> Content-Language: en-US From: Fabrice Gasnier In-Reply-To: <20250225-pelican-of-pleasurable-might-e9a7e8@krzk-bin> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SAFDAG1NODE1.st.com (10.75.90.17) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-25_05,2025-02-25_03,2024-11-22_01 On 2/25/25 13:02, Krzysztof Kozlowski wrote: > On Mon, Feb 24, 2025 at 07:01:48PM +0100, Fabrice Gasnier wrote: >> Add support for STM32MP25 SoC. Use newly introduced compatible to handle >> this new HW variant, even if no major change is expected on the counter >> driver. >> >> Signed-off-by: Fabrice Gasnier >> --- >> drivers/counter/stm32-lptimer-cnt.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/counter/stm32-lptimer-cnt.c b/drivers/counter/stm32-lptimer-cnt.c >> index b249c8647639..a5dce017c37b 100644 >> --- a/drivers/counter/stm32-lptimer-cnt.c >> +++ b/drivers/counter/stm32-lptimer-cnt.c >> @@ -508,6 +508,7 @@ static SIMPLE_DEV_PM_OPS(stm32_lptim_cnt_pm_ops, stm32_lptim_cnt_suspend, >> >> static const struct of_device_id stm32_lptim_cnt_of_match[] = { >> { .compatible = "st,stm32-lptimer-counter", }, >> + { .compatible = "st,stm32mp25-lptimer-counter", }, > > So fully compatible? Why this change then? Hi Krzysztof, I should have mentioned it in the commit message: Currently, same feature list as on STM32MP1x is supported. New capture input stage is now available in the hardware. It's not added yet to the driver. The Low Power Timer (LPTIM) hardware isn't fully backward compatible, hence add a new compatible to properly support it. Best regards, Fabrice > > Best regards, > Krzysztof >