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 BB7E5C021B2 for ; Tue, 25 Feb 2025 17:52:59 +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=Xhh3gcbiFK/6Ez/lxF9CuTHjea+5VkiT+cvC5t9kB1c=; b=gzaJE1orv3t/RzuLEREB7WMZdE 2BoT1ZT9rVFfURtDS78db3lZjeOHBPpc+IFHBhEIvYGhHLofce0Abfo/0FaPZhOyThDVCoplN7dWP gHhzQ7/vRCZp3rnUKZQJxLztNLXiUAvS55xSql8cWx7dNeIcHnmlbh/fIdnOLizFZJj6kreuJ55KK jim16SfUubK496BrFxi3glrsMzWn2solOd412C3PgZL/d5WT+0Dzrv3d8sBKUQ9MQzkfwo6PXN4PX 1i1EyXKqllyu5R92shzVEMbyIVxuy7WbL3H0GF+ajxdZUc0ue7SHxqml/YFv84pie7JsaD/8BEmWK PlhbmhxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tmz74-00000000lKX-3dCM; Tue, 25 Feb 2025 17:52:58 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tmxhm-00000000CPx-1cYj for linux-arm-kernel@lists.infradead.org; Tue, 25 Feb 2025 16:22:47 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51PF4maO002601; Tue, 25 Feb 2025 17:22:30 +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= Xhh3gcbiFK/6Ez/lxF9CuTHjea+5VkiT+cvC5t9kB1c=; b=t076cPPWkl37c0C9 0Sf4NkVTYac4WOW0OzH5SB/N9VcaPdVH06HEtXlDggksW8DgtAexmUqShnUXuSjH 2i0Wt9AcuBY0vU+thJKq5Kpe9laqG2GfAjpKTNoUdXfbmpSfUh2QrcWeAmslaE0Z TfDOXE2vQQzVSAew0yRWO9WZsrKH20AlSyeeGy/jEKixUNn1LtGujjMC3xLUaKPO d8puCY+ckneEhuWWdeovePidHjiMJMEViaM254XZ2mhfQCOjt3BFahXO0EJFDd4r 3yU2QvhnR83nRbxGDufnMs6JhcvefOepMo2QpyK7CPAaYz+cSPwdizVcZeACqTMS WVhbuA== 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 4512spmfjf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Feb 2025 17:22:30 +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 F2403400A0; Tue, 25 Feb 2025 17:21:09 +0100 (CET) Received: from Webmail-eu.st.com (eqndag1node4.st.com [10.75.129.133]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D10F54DD22B; Tue, 25 Feb 2025 15:57:05 +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:57:05 +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:57:04 +0100 Message-ID: Date: Tue, 25 Feb 2025 15:57:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/8] dt-bindings: mfd: stm32-lptimer: add support for stm32mp25 To: Krzysztof Kozlowski CC: , , , , , , , , , , , , , , , , , , References: <20250224180150.3689638-1-fabrice.gasnier@foss.st.com> <20250224180150.3689638-2-fabrice.gasnier@foss.st.com> <20250225-outgoing-scorpion-of-music-be0bea@krzk-bin> Content-Language: en-US From: Fabrice Gasnier In-Reply-To: <20250225-outgoing-scorpion-of-music-be0bea@krzk-bin> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.48.86.222] 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250225_082246_883166_02D7AB87 X-CRM114-Status: GOOD ( 11.07 ) 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 2/25/25 13:02, Krzysztof Kozlowski wrote: > On Mon, Feb 24, 2025 at 07:01:43PM +0100, Fabrice Gasnier wrote: >> pwm: >> type: object >> additionalProperties: false >> >> properties: >> compatible: >> - const: st,stm32-pwm-lp >> + enum: >> + - st,stm32-pwm-lp >> + - st,stm32mp25-pwm-lp >> >> "#pwm-cells": >> const: 3 >> @@ -69,7 +76,9 @@ properties: >> >> properties: >> compatible: >> - const: st,stm32-lptimer-counter >> + enum: >> + - st,stm32-lptimer-counter >> + - st,stm32mp25-lptimer-counter > > Driver changes suggest many of these are compatible. Why isn't this expressed? Hi Krzysztof, The Low Power Timer (LPTIM) hardware isn't fully backward compatible. At driver level, as indicated in the cover-letter, same feature list as on STM32MP1x is supported currently. This is probably what makes it look like it's compatible, but it's not fully compatible. The hardware controller is a bit different. Some registers/bits has been revisited among other things. This is the purpose for these new compatibles. Please find driver-related answers each driver part. Best regards, Fabrice > > Best regards, > Krzysztof >