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 75A18C4345F for ; Fri, 26 Apr 2024 11:42:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=KogxfpHtmyG0OkL5oBr0BVr8H+OUsD6WLaDY0IvIM+Y=; b=J+LA6eSnMSnqzS e1VCn68RB+TmEqrlmjdv3G0keXS+sCYG8upFPi62uzuMVFiHH6ZJL4YZkmOy19pt5J+7W6CsYk0Ku 7JfQUP8kB3BNLrZnkABkGXgmi0ok/Z6CTI3cIBfxWUtQtHuIJjOrkUgSArF0l4J9RIZ+1s1hjlFY1 84kO9nljFVcqMtIsIccTz/KRwkSP9l+EKdS/Tgx5I+OnMnO7dBDOWgpm+jWFM/5gLriOFIUfJRqqR lJTYAStuY52pT4yiMbYw5ev+FwiICmNXypNMj5QtL1yFI7Wgtfg6rW9+TYNgFniSqs862QS5n3EiM 42qVNQZKtWzlbv8EETIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Jy8-0000000CMuS-1mfT; Fri, 26 Apr 2024 11:42:20 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s0Jy2-0000000CMpc-0ZuK for linux-arm-kernel@lists.infradead.org; Fri, 26 Apr 2024 11:42:18 +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 43Q9YZbQ003998; Fri, 26 Apr 2024 13:42:01 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= selector1; bh=xlp/k6NhfJf0MqxY61zVVi1EscMRkgrov08pc3xWnOQ=; b=EF brcrlSp46O1V38x7aimygEW9OOem1rrJnfo1JuqJegCGR9OogPSz7VKupSeL3T3V pqW7mazob116524aoeNUmLKrH81SIFt/gMORjwOOnDBMPj45kg4fxwz7PSGEB6V0 FZs8g/JUmBmjNQ4e6HCH+OM8aGMeEehZIfM36OGF8c3hy4xxkyPdFbKnTBWQK7Eq KeyCgtmpqjif0ai204Bywn5alXego3R9uiCHICxdmCvwg0eBkq1+HbdCkD5zRSBp RdCeVJOEkbpwDRrXZeFRq7yfQ4kDfECoax2q7coLWPA8FrMM5TWYtlK8FW1inqBb frfX0FIJ7nKaVXbLAzCA== 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 3xm4ee9jx4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Apr 2024 13:42:01 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id F36D74002D; Fri, 26 Apr 2024 13:41:56 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id AF31E2194CC; Fri, 26 Apr 2024 13:41:14 +0200 (CEST) Received: from [10.48.86.112] (10.48.86.112) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 26 Apr 2024 13:41:13 +0200 Message-ID: <28aeb8b1-72f1-4dd9-b433-f5b693150475@foss.st.com> Date: Fri, 26 Apr 2024 13:41:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] ARM: st: use a correct pwr compatible for stm32mp15 To: Rob Herring CC: Alexandre TORGUE , Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Olivier Moysan , Arnaud Pouliquen , Pascal Paillet , , , , References: <20240425074835.760134-1-patrick.delaunay@foss.st.com> <20240425163035.GA2783061-robh@kernel.org> Content-Language: en-US From: Patrick DELAUNAY In-Reply-To: <20240425163035.GA2783061-robh@kernel.org> X-Originating-IP: [10.48.86.112] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-26_12,2024-04-26_02,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240426_044214_712623_329573CC X-CRM114-Status: GOOD ( 16.01 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, On 4/25/24 18:30, Rob Herring wrote: > On Thu, Apr 25, 2024 at 09:48:31AM +0200, Patrick Delaunay wrote: >> This patchset removes the unexpected comma in the PWR compatible >> "st,stm32mp1,pwr-reg" and uses a new compatible "st,stm32mp1-pwr-reg" >> in STM3MP15 device trees. > Why? I don't see any warnings from this. Yes, we wouldn't new cases > following this pattern, but I don't think it is worth maintaining > support for both strings. We're stuck with it. And the only way to > maintain forward compatibility is: Yes, no warning because the compatible string are not yet checked by tools. I propose this patch to avoid the usage of this compatible for other SoC in STM32MP1 family. I see the invalid compatible string when I reviewed the U-Boot patch to add the PWR node for STM32MP13 family: https://patchwork.ozlabs.org/project/uboot/patch/20240319024534.103299-1-marex@denx.de/ So I prefer change the PWR binding before to have the same patch applied on Linux device tree > compatible = "st,stm32mp1-pwr-reg", "st,stm32mp1,pwr-reg"; Yes, I will update the SoC patch with you proposal. it is the only way to have compatibility of OLD Linux kernel (with old driver) with NEW device tree. I miss this compatibility issue. > > Rob > > > Regards Patrick _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel