[v3,08/10] dt-bindings: display/msm: dsi-controller-main: Fix deprecated compatible
Message ID | 20230307-topic-dsi_qcm-v3-8-8bd7e1add38a@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2422314wrd; Tue, 7 Mar 2023 05:16:05 -0800 (PST) X-Google-Smtp-Source: AK7set8zmEdzlUDXAkHU8kadUg7AqpTxl2Y2Pl0j8wt3MnkKnorbzHeVZh5AxbyMI+ulJwBnWwMT X-Received: by 2002:aa7:d714:0:b0:4a2:5f73:d3d2 with SMTP id t20-20020aa7d714000000b004a25f73d3d2mr11422506edq.41.1678194965605; Tue, 07 Mar 2023 05:16:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678194965; cv=none; d=google.com; s=arc-20160816; b=JlDxhUqYNcF2c2piQ4BXWL+ZSz/3RJ/8HdCdF9RDg1FklVQjFkko8coRL/u7rvkIW0 JUpXVGfRsFNFHPzkSg3ayjraNoAtvz9bws/rB93GELyiduiqKMy1wFTVyj84eVfpyEo3 AAjtKWeFKaCCivDsOdhC7MQrr7iFEay2cZCW5TdSCGfebywbBTrwmHpIw4hwpRjTK+55 DmMMYwBz89b3pofC6r0v7TBoVA5n+4qeNWGTsOwEXMon14SMyD0aru3WlPhX000LUAQW bSt5JFTfHGkGJ3bSa8K6UWMLfxz6v84AL/sLTeOwbmAQhPLKwmCbL5MHG0DQaKE60kr7 vN7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=CzTyTjVeEOwx0n8Fcur27AsP/7zLfRdjtQMUW7H4GE8=; b=tPCpO+TuUlbz5ZVIi0fi9Igfb8/zYKz2RIG7VkPRbHT6rKhDv8UJT7Wjh78Cr+6al+ Ml7t/UkyL1lQcf0Ft+GavOJDU80yuzsMimRA5BWxKiB+T3i4ON1QZrSzO7GFMwj4TU3I 5ouDoAB9DDroXqaxKJm7KneGtIpxcWgk6BT2FjpDyLwEzsqdkuxGX4zhBsF7zskCL1oI lymO+gP3yUKtlBo1uqYqXHlREsUW8RCnNLs1M8fRoodZshugz4k6FY0cC6sxA1zGcis5 r593fPhLJM9OMTtFti8lRorYU4rE+bipmaQ6LhUYoA8nWZOOm/s0eYhNzWAjMyyFB0yX jGQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y1f+YlSj; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa35-20020a17090786a300b008d28622c8d9si2767826ejc.728.2023.03.07.05.15.41; Tue, 07 Mar 2023 05:16:05 -0800 (PST) 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=Y1f+YlSj; 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 S230078AbjCGNCX (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 7 Mar 2023 08:02:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230007AbjCGNB4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Mar 2023 08:01:56 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9512E3B0E8 for <linux-kernel@vger.kernel.org>; Tue, 7 Mar 2023 05:01:54 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id s22so16930124lfi.9 for <linux-kernel@vger.kernel.org>; Tue, 07 Mar 2023 05:01:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678194114; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=CzTyTjVeEOwx0n8Fcur27AsP/7zLfRdjtQMUW7H4GE8=; b=Y1f+YlSj6leQtVLh4lCNFkqAnnKyFkvUu4KNMasglEwHsnWS1CWIDaXG7NV3c9WUpX NRiQgWMEX6piVxBRmiPzOJLCj9wq7Mndy58OUirCUh71Ng+EWAJp2N88aliHOiJBAM8E 7b+5iVUIMPTBh5XMzrbrJsAwhdEJ+pXbt4J/gOLoQl58q0//eingsEpM5Atz0mHjkfIL MVds9sbVXLf6OJi3DteMUbxILXRjYwf9FtQPM9Fh9Wbrp/DCvlxsZx8ZUbFrPa7tcRYE VAD1V182jVcf+x6kIIfb/LVWMkOiQ9MgZcBCAdKXMyruYXQzmOHE0jasp4f3/h/ddBQe mstA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678194114; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CzTyTjVeEOwx0n8Fcur27AsP/7zLfRdjtQMUW7H4GE8=; b=qsi+5ONP9YA8eeM4LkTX0ck6d0nhY9SOKkDzvZoQm3zj13/IU9B440ky9HOOSpMqaT MwuS5uKxxsWXDYHIDdSATuPk550WSmTwjfM7PkvRJtcnskqOqjHtm6jGNV+qGoXzJoe2 1K4SGm59WrcgAKSK/77EV67sOSS+XrYrXl3YOZxAkFDBG2W6dxqopaYfGgI1ttkuUdqi 3XmFacllVzCPG5h4viqCaHORG4l810i49NUAXuWiI05am/PrpTbPLu41KOzTLQgKa5ia Yjgrjjiq1jDFd8+ugYa1OpoYP3HekedS8KjQS5Qc4+4Bwg6U6Z45Zw6pDOubAffhd1jw DFkQ== X-Gm-Message-State: AO0yUKVPaDg/wy/v8f1YnqvCUdp5n8GYluqNFs85Q/Ep2VFkMlavNH70 PF4KZqpqRVDb9mlCRx1QFE9uLw== X-Received: by 2002:ac2:5922:0:b0:4d6:ef7f:fc53 with SMTP id v2-20020ac25922000000b004d6ef7ffc53mr3535050lfi.34.1678194113951; Tue, 07 Mar 2023 05:01:53 -0800 (PST) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id u2-20020ac248a2000000b004cc5e97d356sm2048265lfg.148.2023.03.07.05.01.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 05:01:53 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Tue, 07 Mar 2023 14:01:46 +0100 Subject: [PATCH v3 08/10] dt-bindings: display/msm: dsi-controller-main: Fix deprecated compatible MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230307-topic-dsi_qcm-v3-8-8bd7e1add38a@linaro.org> References: <20230307-topic-dsi_qcm-v3-0-8bd7e1add38a@linaro.org> In-Reply-To: <20230307-topic-dsi_qcm-v3-0-8bd7e1add38a@linaro.org> To: Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Krishna Manikandan <quic_mkrishn@quicinc.com>, Bryan O'Donoghue <bryan.odonoghue@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org> Cc: Rob Herring <robh@kernel.org>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678194100; l=1144; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=dS1N11h2C4bKZ0sJcpp7JilD8JmZ3GC3KRjbGbtwF6E=; b=j/CpsyJ5hcGj4Xtxf52pKDseNdb0oMAW4eomJS4lqedzemS1xNJgvbpmqQMJyYoFFERldyqiFvqY oNpwyFyeCer8XmHhcOK5oX/9ZOJQHICK1L5Zr8bg/kwTGDpgKXU2 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759714964366174773?= X-GMAIL-MSGID: =?utf-8?q?1759714964366174773?= |
Series |
Fix DSI host idx detection on HW revision clash
|
|
Commit Message
Konrad Dybcio
March 7, 2023, 1:01 p.m. UTC
The point of the previous cleanup was to disallow "qcom,mdss-dsi-ctrl"
alone. This however didn't quite work out and the property became
undocumented instead of deprecated. Fix that.
Fixes: 0c0f65c6dd44 ("dt-bindings: msm: dsi-controller-main: Add compatible strings for every current SoC")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 2023-03-07 14:01:46, Konrad Dybcio wrote: > The point of the previous cleanup was to disallow "qcom,mdss-dsi-ctrl" > alone. This however didn't quite work out and the property became > undocumented instead of deprecated. Fix that. > > Fixes: 0c0f65c6dd44 ("dt-bindings: msm: dsi-controller-main: Add compatible strings for every current SoC") > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Yes. From the previous binding (prior to that patch) either qcom,mdss-dsi-ctrl _or_ qcom,dsi-ctrl-6g-qcm2290 was allowed, not a pair of both. Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> > --- > Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > index 2494817c1bd6..94f4cdf88c95 100644 > --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > @@ -34,7 +34,7 @@ properties: > - items: > - enum: > - qcom,dsi-ctrl-6g-qcm2290 No comment that it was simply renamed? > - - const: qcom,mdss-dsi-ctrl > + - qcom,mdss-dsi-ctrl # This should always come with an SoC-specific compatible > deprecated: true > > reg: > > -- > 2.39.2 >
On 14.03.2023 01:15, Marijn Suijten wrote: > On 2023-03-07 14:01:46, Konrad Dybcio wrote: >> The point of the previous cleanup was to disallow "qcom,mdss-dsi-ctrl" >> alone. This however didn't quite work out and the property became >> undocumented instead of deprecated. Fix that. >> >> Fixes: 0c0f65c6dd44 ("dt-bindings: msm: dsi-controller-main: Add compatible strings for every current SoC") >> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > Yes. From the previous binding (prior to that patch) either > qcom,mdss-dsi-ctrl _or_ qcom,dsi-ctrl-6g-qcm2290 was allowed, not a pair > of both. > > Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org> > >> --- >> Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml >> index 2494817c1bd6..94f4cdf88c95 100644 >> --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml >> +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml >> @@ -34,7 +34,7 @@ properties: >> - items: >> - enum: >> - qcom,dsi-ctrl-6g-qcm2290 > > No comment that it was simply renamed? That was mostly handled by Bryan's series. Konrad > >> - - const: qcom,mdss-dsi-ctrl >> + - qcom,mdss-dsi-ctrl # This should always come with an SoC-specific compatible >> deprecated: true >> >> reg: >> >> -- >> 2.39.2 >>
diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml index 2494817c1bd6..94f4cdf88c95 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -34,7 +34,7 @@ properties: - items: - enum: - qcom,dsi-ctrl-6g-qcm2290 - - const: qcom,mdss-dsi-ctrl + - qcom,mdss-dsi-ctrl # This should always come with an SoC-specific compatible deprecated: true reg: