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 4F46FC4332F for ; Fri, 9 Dec 2022 08:36:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229717AbiLIIgj (ORCPT ); Fri, 9 Dec 2022 03:36:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbiLIIgh (ORCPT ); Fri, 9 Dec 2022 03:36:37 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82A49303EA for ; Fri, 9 Dec 2022 00:36:36 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id s8so5935082lfc.8 for ; Fri, 09 Dec 2022 00:36:36 -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=1ATYGxO1sTs91TaW6maJCLm8Gd+RaeReYPdI6Fodf9A=; b=meqQp03LMgWNDbw+pdJT8X6utDkTAoQX3VUWHpaEWCZLzMA9tlO51nB4hpMjiyF9a0 mk0izmVu1XI2V7M7NX/khO7jJBA8k5Hec/liN9hhR6rD/5wALwI3tH5OBeHFEDI8AAHE UJeXWrDF7jqaEZSjBBHJ8MTIHswbX2i6oHcbwBvTmS3zgxFBzmIn41aN17jr3jgZaI37 ZCrWPw1k4G7A6BfdSsMvttNl4opRMDGtCvMGirt0PyXA6lojZ64rd9pux3koxuthZKoH SAlKMQhypVrPwrNxiixYQgkdsuGKq0mml3DxKRPGIiEeyhhZfJBtTOfn5S6j7/nhjhz1 17oQ== 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=1ATYGxO1sTs91TaW6maJCLm8Gd+RaeReYPdI6Fodf9A=; b=AQQ6+BTCqRVNfrFPOElvtebasIcMjGMPrtm8EcjTtDm+PYm0X+aCfoj3f7H1x5Oz5L tTt6ZWrCszAW9/Y8l8GLgZqbhVXoZDflBgcNexBAdR2iFO9wS0l4yYhk87f7B7ZirW6H jEMracT8oTpt2jJtdCSMZ+vnHqPQp/igmYbv1BjjpxLdy13X8EzRpKy6fsV1FdrBRlqe +1E0MhiKFQX51vCYdfVsd4+0VaI3I+tuP7RlD0f7wWSl5d/JsIa1/vVCUxfD/mM8/6FB BteJoYnu4IIRci2xvHXzePJ4TExz5s2jhL9XzZ8uHi33JdC0MteDedpW1JpVidQErTOz DL1A== X-Gm-Message-State: ANoB5pkUVj1N6GTFJyP8mpro45zTnagcCobGIDJAU1iZHFqXDkp/7J3h iNvO0BAo2jBuhj3/AKMbK2D1RQ== X-Google-Smtp-Source: AA0mqf4Wq5sWCL3W0p5uvCPmZ9iCdkhJiLBNbXL7CWZj6BZMyk2uRE0dU6cQIbi8tnWtpcvM5VQ6fQ== X-Received: by 2002:a05:6512:10ca:b0:4a4:68b7:e71a with SMTP id k10-20020a05651210ca00b004a468b7e71amr1733526lfg.4.1670574994825; Fri, 09 Dec 2022 00:36:34 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id b15-20020a056512070f00b004b40c2fccfdsm168627lfs.59.2022.12.09.00.36.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Dec 2022 00:36:34 -0800 (PST) Message-ID: <806ca75b-99a6-237d-a5d0-70e67348e183@linaro.org> Date: Fri, 9 Dec 2022 09:36:33 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v2 2/4] dt-bindings: display/msm: add SoC-specific compats to qcom,mdp5.yaml Content-Language: en-US To: Dmitry Baryshkov , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org References: <20221208005458.328196-1-dmitry.baryshkov@linaro.org> <20221208005458.328196-3-dmitry.baryshkov@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20221208005458.328196-3-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 08/12/2022 01:54, Dmitry Baryshkov wrote: > Add platform-specific compatible entries to the qcom,mdp5.yaml to allow > distinguishing between various platforms. > > Signed-off-by: Dmitry Baryshkov > --- > .../bindings/display/msm/qcom,mdp5.yaml | 19 ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml b/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml > index cbcbe8b47e9b..a7a97a4c46b4 100644 > --- a/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml > +++ b/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml > @@ -16,7 +16,24 @@ maintainers: > > properties: > compatible: > - const: qcom,mdp5 > + oneOf: > + - const: qcom,mdp5 > + deprecated: true > + - items: > + - enum: > + # msm8998 should either use old single-string compat or new There is no msm8998 in the list, so what is "new". I propose to use the new, bu tyou need to add it below. > + # qcom,msm8998-dpu > + - qcom,apq8084-mdp5 > + - qcom,msm8916-mdp5 > + - qcom,msm8917-mdp5 > + - qcom,msm8953-mdp5 > + - qcom,msm8974-mdp5 > + - qcom,msm8976-mdp5 > + - qcom,msm8994-mdp5 > + - qcom,msm8996-mdp5 > + - qcom,sdm630-mdp5 > + - qcom,sdm660-mdp5 > + - const: qcom,mdp5 > > reg: > maxItems: 1 Best regards, Krzysztof