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 2E9C4C678D4 for ; Mon, 6 Mar 2023 10:06:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230242AbjCFKGH (ORCPT ); Mon, 6 Mar 2023 05:06:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230225AbjCFKGC (ORCPT ); Mon, 6 Mar 2023 05:06:02 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9EFB23D8E for ; Mon, 6 Mar 2023 02:05:53 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id f16so8981291ljq.10 for ; Mon, 06 Mar 2023 02:05:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678097152; 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=unOds7GIYyIZeIXCeSmLecqXXZzGvwJd0Rd/RRt4GOY=; b=b6rOn43tg0gOXWQqa0AIS3IHPoJ7L4w6kUyqmeHcbu3ij2H2rn4c18sidaRTCJ2Ri5 TDmN6Pwl42m3EzZGgWmgGCr2gWrTttx+XFkBI7RAKXtpwGzj29bWlPq/ppQ1gjapwnre ApK+FwnMnk53R6jnWWLXIe/ec2QMnXoeIHUJZbONBhAnTyXsKH7XIrBEoirum5D5HO5S 6WMOZtJ/cKWPmLc+bcwRbweTdw8qw/+0+7QN9AyriJ/DB/oxe/2H2v2tQsg6/6hWpe+D ADLqye33ELEp/3cSmmZSJYjRlqdkld3TWUil8I5NURSao74s5LI7pxJ4EGRpVlK5gfTx nwhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678097152; 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=unOds7GIYyIZeIXCeSmLecqXXZzGvwJd0Rd/RRt4GOY=; b=z93/TsCYA5aiJJHhQuSZHhVNCOCrrPDpGTLDvUHdl+Vx6rw10SpjMdRRrNI2JxvNkv D76IiuU2ujogAM+INsDAmiFH921jpEhzTrk98DYmidclK5Pm2wtAODqA5M83AlNa9IAx zdiklZbGREWz9VxqFbZnq7ZCwWzAanzCQfapf0zPeWPvTbUSCzgrATRgoWziR+wFv0jb IzMSCB3HhqYlC7F3WXMiPSePZJEK7ZOo8v6p+rXxlh6rkPJKrlgc4OSSh6yBFDKZsUv4 Jn779dWLF8iAaIvHaBT15+hj4gH0pH9YBBA17lGdIMP07dKpUm4sQtSdcXGn9iH+Afnn QVhQ== X-Gm-Message-State: AO0yUKUG7xQEzhmD0hcWToUDYHr92f+8JSjFzqV6xA9dXh8zGSAtyrqJ 0HOnCxNVDqVmezuCazMsx9yRRA== X-Google-Smtp-Source: AK7set+aZ5TWHcLe9FNsPz4hbcFTUvTYKf/VqiA+AH/AiSSMe2Eqq+EPUWJm/yhcjWI+rHs4fUTQPg== X-Received: by 2002:a05:651c:10a4:b0:294:6e44:b6e0 with SMTP id k4-20020a05651c10a400b002946e44b6e0mr2836268ljn.5.1678097152016; Mon, 06 Mar 2023 02:05:52 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id r19-20020a2e9953000000b00293534d9760sm1628381ljj.127.2023.03.06.02.05.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Mar 2023 02:05:51 -0800 (PST) Message-ID: <7f1b29f3-35fa-4459-4832-f109d2979382@linaro.org> Date: Mon, 6 Mar 2023 11:05:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v3 1/2] dt-bindings: display/msm: dsi-controller-main: Fix deprecated compatible Content-Language: en-US To: Bryan O'Donoghue , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Krishna Manikandan Cc: Rob Herring , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230304-topic-dsi_fixup-v3-0-b8565944d0e6@linaro.org> <20230304-topic-dsi_fixup-v3-1-b8565944d0e6@linaro.org> <30798bd2-5805-45e6-92d2-a9df6fb52600@linaro.org> <28561c8b-e9a3-b58e-429a-6dc331ad94e4@linaro.org> <35e19031-877c-329f-3bdd-4f04bc8ccc6f@linaro.org> From: Konrad Dybcio In-Reply-To: <35e19031-877c-329f-3bdd-4f04bc8ccc6f@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4.03.2023 18:53, Bryan O'Donoghue wrote: > On 04/03/2023 17:45, Bryan O'Donoghue wrote: >> On 04/03/2023 17:35, Konrad Dybcio wrote: >>>> you'll see no error. However if you just do this >>>> >>>> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi >>>> index 0733c2f4f3798..829fbe05b5713 100644 >>>> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi >>>> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi >>>> @@ -1094,8 +1094,7 @@ mdp5_intf1_out: endpoint { >>>>                          }; >>>> >>>>                          dsi0: dsi@1a98000 { >>>> -                               compatible = "qcom,msm8916-dsi-ctrl", >>>> -                                            "qcom,mdss-dsi-ctrl"; >>>> +                               compatible = "qcom,mdss-dsi-ctrl"; >>>>                                  reg = <0x01a98000 0x25c>; >>>>                                  reg-names = "dsi_ctrl"; >>>> >>>> >>>> and run the same test you get >>> Yes, correct. It's valid but it's deprecated, so the bindings are >>> sane. Keep in mind there's an ABI-like aspect to this. >>> >>> Konrad >> >> The _driver_ will still accept "qcom,mdss-dsi-ctrl" which is ABI compliant but, I don't see why the yaml should. >> >> If you declare a new .dts with only "qcom,mdss-dsi-ctrl", that should throw a yaml check error. >> >> --- >> bod > > Actually. I agree with you, I just dislike it. If I understand correctly, you are dissatisfied with dt_binding_check not even throwing a warning when a deprecated binding is present.. I agree, that could be improved.. Konrad > > - "qcom,mdss-dsi-ctrl" <- the driver will accept this > - "qcom,dsi-ctrl-6g-qcm2290" <- the driver will not accept this > > bah > > Reviewed-by: Bryan O'Donoghue