Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15046053rwd; Sun, 25 Jun 2023 09:05:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6S85vaN0Z23fxK2JS5Jd4QMhsYy5SMKEdElg4yv8fNFNgdnBwkV02ud4GFWaT77HGAw1Zy X-Received: by 2002:a05:6830:3a0a:b0:6b4:5091:d408 with SMTP id di10-20020a0568303a0a00b006b45091d408mr23788538otb.16.1687709155404; Sun, 25 Jun 2023 09:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687709155; cv=none; d=google.com; s=arc-20160816; b=BvkOg3fS9CgLCd+V+prhzDOsyzzUjxDYXG5T34QzDYajzRrXCEs8GQFPFbjMNWRYjt cwQx9YxHFLsk/3ZIg3Uk4uoL97mr0AcGYFnbcE69YGZ3QYHS3qfp2ifwpy82OMW/6faI R0jnGyZsIQ/NJNaHjmWFn9tSmvt9QQRTkHzf1Z/61DZGN1K+C3YQ6n6vmo5ufkzbwOXY dDfnZ/LC2F/hbgYSpra7MjT/lkY5oQBtfa8VZaPTl59SLoZHspARhk2iOiykHEq4E9bQ RcG15FAm+Lf1RXQPNbOkeJ13Y4xRRN1BmTnCaT/hdmAqim9EHVYYVShSFA28rTCaeaYx gkHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=MTQp0n2oXhJA5Ac6MISqa3fJgp7uxeLkw3KpR5ufcr4=; fh=N4LZ6mYNd6f9EYU8z08w0hi2gc1RKr9Vagj1acmyEwQ=; b=YAmWRZk3p7X36qUygMNtDn+Ssgq0BgkMGhP3fDYAp5OZITcPyZLirtDxrgtuVuboUv sMW77cCtsRzXGfQuzErH+tQO6OOldUuNYghmQ+psRzOunOqnQolE5oNuc4nslawPSZtT IPiObekjUSW9krwFAHQ9p4ACOoYuAnhTgos92NRqMlDjLHU4WvOrRV+XHYzoDMatQxRj hWsY+tJ0WPLwzi9c7VDDANHQpeygi1Kgm1MU7eMrnzw2GZjKvdPQZeOpXOrtaQ4p+IXn Nnc0q6DIvNk/H2AtuXyelVOqYFuWeLtq5LSjiD65Z01QA+XJEuQlTx3V6G8ukAe2ltQ6 K9uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cd7SgRQi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 24-20020a631258000000b0054f93b261cfsi3459168pgs.88.2023.06.25.09.05.43; Sun, 25 Jun 2023 09:05:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cd7SgRQi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229636AbjFYPkj (ORCPT + 99 others); Sun, 25 Jun 2023 11:40:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjFYPkh (ORCPT ); Sun, 25 Jun 2023 11:40:37 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36510E47 for ; Sun, 25 Jun 2023 08:40:35 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-51d805cb33aso2043967a12.3 for ; Sun, 25 Jun 2023 08:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687707633; x=1690299633; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=MTQp0n2oXhJA5Ac6MISqa3fJgp7uxeLkw3KpR5ufcr4=; b=Cd7SgRQi+l52dqC1OE/wwuXDAiJ2UhbVd/Rk9e8oWDT/tQ2l5Y+RBse4O6Q+9/k1Vq GxgNDGaCbftz40WMfeIn3HFp5gmmsgbU55++OwSx7GF6WdTmg4FpE+x2+oWcfstFTDoJ yNg9+bbXiKdiki/1OxgFJ8agJJvlKuz1mpF1nAbYlQKbgcja6Dk/wjBhO6k8NSOfMf3W rgWPQDyHhJiCT/Hv0cjqDfAsWVGi5sZlXil1aw26LWyk3nyn/AioIvZ5ND3qX+/YGOil lFUQi0QJRvYrTLSyp91wOopkX05fZcMHphVkkObo9KaXaaTsCcQO/b1W5uJ4NSJFw0Dy yc/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687707633; x=1690299633; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MTQp0n2oXhJA5Ac6MISqa3fJgp7uxeLkw3KpR5ufcr4=; b=eaqQC2LNaQEkU4fMMsNUeHcfQGQX0uicw3dqFdbP9X1QZGDAIx/tQPyiH+9PVddFqL B98MPe3VWErL/Kb4Jgm6WtH43UwKxGUPHd7pQGx/7uCSyeSRQr+Kk+jzVoLjiZM/1F/+ LXcwcjZnLquOMepWum832iwdL2zonoE8wM4AuzP5zYHDm9FLqhnAEqP2vV15EwKvXkxo sMaAHZFfo35qV48JCun5i+T1LuDsp9XfpzrEw+NkcrYMmCVXuAWlyzeLiLfO1V1e99iZ mgstHOmQlhOdCOi0Nuxgz2eN66+0gxe0pVJOb1jnPn65+K0f89414OSi6C27RuIiwPOM 1TDQ== X-Gm-Message-State: AC+VfDx1EyoZvxmIrqTRF6bJXyuHPuGM6WACX6EBRrs8LLstylgDWmNR vuuBzU9F9keYRC7H9BepBya1Lw== X-Received: by 2002:a17:906:c359:b0:98d:63c5:d135 with SMTP id ci25-20020a170906c35900b0098d63c5d135mr6987800ejb.54.1687707633619; Sun, 25 Jun 2023 08:40:33 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id gr11-20020a170906e2cb00b009884035279bsm2209333ejb.33.2023.06.25.08.40.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Jun 2023 08:40:32 -0700 (PDT) Message-ID: <731db330-4a0f-2427-a0ab-318f2d8be73b@linaro.org> Date: Sun, 25 Jun 2023 17:40:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 4/4] dt-bindings: serial: fsl-lpuart: add imx8ulp compatible string To: Sherry Sun , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" , Shenwei Wang , "gregkh@linuxfoundation.org" Cc: "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "kernel@pengutronix.de" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx References: <20230625094857.29644-1-sherry.sun@nxp.com> <20230625094857.29644-5-sherry.sun@nxp.com> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/06/2023 15:12, Sherry Sun wrote: > > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: 2023年6月25日 18:18 >> To: Sherry Sun ; robh+dt@kernel.org; >> krzysztof.kozlowski+dt@linaro.org; conor+dt@kernel.org; >> shawnguo@kernel.org; s.hauer@pengutronix.de; festevam@gmail.com; >> Shenwei Wang ; gregkh@linuxfoundation.org >> Cc: devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; >> kernel@pengutronix.de; linux-serial@vger.kernel.org; linux- >> kernel@vger.kernel.org; dl-linux-imx >> Subject: Re: [PATCH 4/4] dt-bindings: serial: fsl-lpuart: add imx8ulp >> compatible string >> >> On 25/06/2023 11:48, Sherry Sun wrote: >>> LPUART driver adds a new compatible string for imx8ulp, and imx93 is >> >> What driver adds or not, is not really correct argument for compatibility. >> There are plenty of compatible devices which have both device ID entries in >> the driver. Why would you drop their compatibility between each other? It >> does not work like that... Provide clear rationale for this. > > Hi Krzysztof, > We take imx7ulp lpuart as the basic version IP, then imx8ulp adds some improved features based on the imx7ulp lpuart IP. > Actually imx8ulp can also work with the imx7ulp version, we can say it is compatible with imx7ulp, but we need to enable those new features by default on imx8ulp, so we added the imx8ulp-lpuart compatible in lpuart driver. So for this case, maybe compatible = "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart" is correct for imx8ulp platform, right? > > Then we have the imx93 family with the same lpuart version as imx8ulp, so how should we handle the compatible string for imx93 platform? Maybe compatible = "fsl,imx93-lpuart", "fsl,imx8ulp-lpuart", "fsl,imx7ulp-lpuart"? But three compatible strings looks too long for me, so I want to drop imx7ulp-lpuart and take imx8ulp-lpuart as the basic compatible string for imx93 and later others imx9 series, I am not sure if it is suitable, some suggestions here will be appreciate, thanks! > Wrap your responses. So write that the reason of this change is because looks too long for you and we will judge that rationale. Three compatibles is still fine. Best regards, Krzysztof