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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 653DEC64EC4 for ; Fri, 17 Feb 2023 13:06:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229716AbjBQNGt (ORCPT ); Fri, 17 Feb 2023 08:06:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjBQNGq (ORCPT ); Fri, 17 Feb 2023 08:06:46 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7039E5B753 for ; Fri, 17 Feb 2023 05:06:45 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id z18so1765025lfd.0 for ; Fri, 17 Feb 2023 05:06:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vvEa0mJYtd+G6bvaOGxPbkna4LTkKOOJGlw7PwM4jDk=; b=OutRggqL6ChRrd7U4h7FjSaKRX8WvJF/ILzuPwurg/Db6xOW3nMZZYCNIJfBd8JIux 8zbjn89swfdF7wVtCdBXk9jnBBSKY+0gDx0/HaYI8LQ62I4G6Ousiqg5KBaOLkPRje/c xmL9hhjL9D9hEPMTml7RRabmctWihOc/iDi9/vi/yfbRFj7WBmwFZhEg5+UpDaYNrIp7 qXHnjYWt0lwDte8lMI5kYdP053zXRMe8BfuLqvzE1oh3jG70fSkcdL+6V4t6lClAZCCF qP+LPRs85W+uYpwc5mXsNiLGEgzxpr/GVtvJIFDjCCZQDHa+OMqYZ0SvNTQWy3uS7zy6 Hcuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vvEa0mJYtd+G6bvaOGxPbkna4LTkKOOJGlw7PwM4jDk=; b=YpsvZ6dUW7s6wRmKNWOINpdcF81NJ8Ps5BM3NgVJtIj4wpnz/C4EP+cNC3jpRSyd2a BEjpkfC421mYIsap7FPOKxtZIxcJoGlQqEoT8BRlP6BFrLJyswG689AIqjHd4Eihe+xb cdl5nGJFyVdaZejdMsCMv8wafCreI7rBT6QOQ/4Wy/bKtqto4znlkax5U5sj1M2PqLrw pIEtBbO/opZXYS9JkO9fc2l9TRpsIWcndR2woDRtSUKiBsHyiTlsG0IhdWdqD47RnYhW vXTy2YCOIxEWl9cCG1lU9Xyz+42M4uSJUiWKP/RFhyO+R8hA8MdBAhDg8WAI+f4Ntuj9 eE1Q== X-Gm-Message-State: AO0yUKUcRjdSXiQ3As/Y7ple8wjeXW4ICfHLptehH4ITIK78OxMbJ1e6 tXDOgHd3u9VlOzw9+fN+uILRow== X-Google-Smtp-Source: AK7set/lbeT9EHF1pBE4+EMSMKbkVmLPsQwro43XW0FTt2Afuh+Wj39B9+9Wd1kBfJ9Q0Dco/BJl4g== X-Received: by 2002:a19:ad42:0:b0:4da:e925:c95b with SMTP id s2-20020a19ad42000000b004dae925c95bmr152872lfd.62.1676639203626; Fri, 17 Feb 2023 05:06:43 -0800 (PST) Received: from [192.168.1.101] (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id t1-20020ac25481000000b004d16263b36bsm673878lfk.111.2023.02.17.05.06.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Feb 2023 05:06:43 -0800 (PST) Message-ID: <0d955930-df72-127a-7c53-3e3519affafa@linaro.org> Date: Fri, 17 Feb 2023 14:06:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH v2 1/2] dt-bindings: display/msm: dsi-controller-main: Fix deprecated QCM2290 compatible Content-Language: en-US To: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, andersson@kernel.org, Bryan O'Donoghue , agross@kernel.org Cc: marijn.suijten@somainline.org, Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Krishna Manikandan , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230217111316.306241-1-konrad.dybcio@linaro.org> <48cb00cd-961c-b72f-fba8-1842d658e289@linaro.org> From: Konrad Dybcio In-Reply-To: <48cb00cd-961c-b72f-fba8-1842d658e289@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17.02.2023 13:24, Krzysztof Kozlowski wrote: > On 17/02/2023 12:36, Konrad Dybcio wrote: >>>> >>>> compatible = "qcom,dsi-ctrl-6g-qcm2290"; >>>> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/arch/arm64/boot/dts/qcom/sm6115.dtsi?h=next-20230217#n1221 >>> >>> I meant, that original commit wanted to deprecate: >>> compatible="qcom,dsi-ctrl-6g-qcm2290"; >>> compatible="qcom,mdss-dsi-ctrl"; >>> >> Okay, so what would be the correct resolution? >> Drop this patch and keep 2/2? > > First, it would be nice to know what was the intention of Bryan's commit? AFAICT, it was necessary to add per-SoC compatibles to all DSI hosts to make documenting clocks possible (they differ per-platform). The qcm2290 deprecation came from the oddity of the compatible name (it did not match qcom,socname-hw), but he seems to have overlooked that (at least before my recent patchset [1]), it was necessary as it needed to circumvent part of the driver's logic. So it was first made up-to-speed with the rest by adding the fallback common compatible and then (wrongly) deprecated. Then, SM6115 DSI DTS part was added parallel to that, so he did not update it. With [1] its deprecation is correct and this series tries to complete it. Konrad [1] https://lore.kernel.org/linux-arm-msm/20230213121012.1768296-1-konrad.dybcio@linaro.org/ > > Second, if the intention was to deprecate both of these, then this > commit could stay with changes - make it enum for both compatibles (not > list). > > Best regards, > Krzysztof >