Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7462930rwb; Mon, 12 Dec 2022 15:12:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf6AfXodEMmyqVQ2W2gt38b0JiYtBo2UKkPLEgI1cjNEIqBlVDuxX5rie2tsyLlZ1Y7X0uz0 X-Received: by 2002:a05:6a20:699b:b0:a4:2a7d:59a5 with SMTP id t27-20020a056a20699b00b000a42a7d59a5mr25515681pzk.59.1670886729874; Mon, 12 Dec 2022 15:12:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670886729; cv=none; d=google.com; s=arc-20160816; b=q/UHiJgtWNd99CzCpOfFPqnAPxPSkLoAVtFljKEV+eSk604XMpJs/5nBCXIp3fx4sp na44vCwHQv5WkWIWkd8w7QSlAIBAJFYvulkWBdYAVk0MAyTbqIdo/mHZ0HeLwQIz8GgQ tYn9vJimZahGvUAZ/2TSShMKiDW3GmeAuzJl2jjfg5mA1NBU+DVl5dn/IFf6XmKCo5Aa peKxJFcnwJt8o5yIEYcWtqMU0wUyA00nskJibgdQFgaYlFwjLryuWEbsehwT2fw2niCO Z97w/Lash6rgQR/433zNmGtVyAMwolwWZOvpuY8OJIhLbyxFFx6KBRA8Uq7cOIFPxfLa p5Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IpAeK55ZtLsOItOVOsZUW0VX0dmUGZuhAd/spodi2Go=; b=HlkBrNDOPo6+UN0O2aDzOYktvxfL0pA3iZbFS/Gf1Oykjle7XZlljjmS7JtNgh/RLU I7T5RSpr4Y0IdSDjysIp7Xzy/NeB33uHSAc+YL4VJ0f/4Bl7UlOEsG5RLed/6CPMqOjR JO1RX2Q5JKtkymspHACQS33zRrtgfHnv3gc1GvT6f/H8bnBWtbwmFjzU/Gmw++e+kTdm CujqXCChNgbxqJpHk1kbhS4gYSuXi2OCfvtQSyDFiOZy5YyxMn5/XvwcuyoTE56d27EP 76yOeAB97qDjCi5GPmfb4qC1J+WA7dR0F68PsnIPfvqX2cIDuFT5Usbq69eh9+WqGbA6 cH4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t14B1twG; 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 q196-20020a632acd000000b0046154b597cfsi10247682pgq.565.2022.12.12.15.12.00; Mon, 12 Dec 2022 15:12:09 -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=t14B1twG; 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 S233823AbiLLWf3 (ORCPT + 74 others); Mon, 12 Dec 2022 17:35:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233787AbiLLWf1 (ORCPT ); Mon, 12 Dec 2022 17:35:27 -0500 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C465113F5E for ; Mon, 12 Dec 2022 14:35:26 -0800 (PST) Received: by mail-yb1-xb36.google.com with SMTP id f139so15278114yba.8 for ; Mon, 12 Dec 2022 14:35:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=IpAeK55ZtLsOItOVOsZUW0VX0dmUGZuhAd/spodi2Go=; b=t14B1twGGRg6SASEJ+ZLGhHuryfaHLhvHJZJifSYAGZy7SktUGgGzYTV4SMEtrr2F+ NtAzSMIt9OgezFwIGrt5tvSLxJ664bJKgh7QHEpd9DSKH+TibYunqdwkeoNB70HdtaC+ u3wF5OQ3i1B71t8u/ghJ1uxJc4G7oo6GVUpDcKo2KBURmuyEDvvMkQgZyhzxbVvXxlX0 r1n0D258M0NkEx9Si+rocmFToLwfkEAIVegzKll09XNS7xODgko0a+pvEqvWtJf0CYYM y2LR/qumoXQUQ4BY9gQ1KC1OlXq5qTTWEufUmBCTjL+Ijj8z3uWKmDPLG14ABDPisIxZ rCvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IpAeK55ZtLsOItOVOsZUW0VX0dmUGZuhAd/spodi2Go=; b=znplgTqsKpfBOYhh7d+c2f+yt5qEQtkyzO8F6Hd8O19GtwhknosI/7/JXu4J+0wPnM 7EA4NARjEBGdhbkVqHgM7Vicaf86Ar1H2EYT43NhH20BJjn350ZPENGvbODdJtmjJI1H lD1URJrjrtQqvyR7xgSnip2s1JwT2bVo6ZyEQPGoRBtJEdH/7pK8ITh5yQuJqwht+JpO YfKPxRX5VTM/v1lrcpF8wF+VvPODMWQI2lbYkfO4fMWajkoP2PvZ7NGa9s5NQBm8cFtd b+tDZkaDPMTB5+KWP46pq5MjrGMLitmT2n1BorNojW0WILcJsMldRWZ+plMCvvwlfWUt UecQ== X-Gm-Message-State: ANoB5pkjv+1c2yf3MHx9BeX/iFvlSpr2LiFKUBp33Xrjqp0E8RzHqwnW tJBlV5/TPsX1+ZoBDyPkGzPhWZ5fg9Gypp/LFrGknQ== X-Received: by 2002:a25:384a:0:b0:710:a8a6:d45 with SMTP id f71-20020a25384a000000b00710a8a60d45mr3558285yba.152.1670884525944; Mon, 12 Dec 2022 14:35:25 -0800 (PST) MIME-Version: 1.0 References: <1670539015-11808-1-git-send-email-quic_khsieh@quicinc.com> <1670539015-11808-3-git-send-email-quic_khsieh@quicinc.com> <5a3865ed-8847-db04-3d60-f35438250bef@linaro.org> <5aa16223-dbf6-996c-1985-794302dcce91@quicinc.com> <8b306c8f-3089-4aaf-7fc1-038a8330c89a@quicinc.com> In-Reply-To: <8b306c8f-3089-4aaf-7fc1-038a8330c89a@quicinc.com> From: Dmitry Baryshkov Date: Tue, 13 Dec 2022 00:35:14 +0200 Message-ID: Subject: Re: [PATCH v11 2/5] dt-bindings: msm/dp: add data-lanes and link-frequencies property To: Kuogee Hsieh Cc: dri-devel@lists.freedesktop.org, robdclark@gmail.com, sean@poorly.run, swboyd@chromium.org, dianders@chromium.org, vkoul@kernel.org, daniel@ffwll.ch, agross@kernel.org, andersson@kernel.org, konrad.dybcio@somainline.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, airlied@gmail.com, quic_abhinavk@quicinc.com, quic_sbillaka@quicinc.com, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Mon, 12 Dec 2022 at 19:51, Kuogee Hsieh wrote: > > > On 12/8/2022 4:35 PM, Dmitry Baryshkov wrote: > > On 09/12/2022 02:22, Kuogee Hsieh wrote: > >> > >> On 12/8/2022 4:11 PM, Dmitry Baryshkov wrote: > >>> On 09/12/2022 01:38, Kuogee Hsieh wrote: > >>>> > >>>> On 12/8/2022 3:33 PM, Dmitry Baryshkov wrote: > >>>>> On 09/12/2022 00:36, Kuogee Hsieh wrote: > >>>>>> Add both data-lanes and link-frequencies property into endpoint > >>>>>> > >>>>>> Changes in v7: > >>>>>> -- split yaml out of dtsi patch > >>>>>> -- link-frequencies from link rate to symbol rate > >>>>>> -- deprecation of old data-lanes property > >>>>>> > >>>>>> Changes in v8: > >>>>>> -- correct Bjorn mail address to kernel.org > >>>>>> > >>>>>> Changes in v10: > >>>>>> -- add menu item to data-lanes and link-frequecnis > >>>>>> > >>>>>> Changes in v11: > >>>>>> -- add endpoint property at port@1 > >>>>>> > >>>>>> Signed-off-by: Kuogee Hsieh ` > >>>>> > >>>>> Applying: dt-bindings: msm/dp: add data-lanes and link-frequencies > >>>>> property > >>>>> .git/rebase-apply/patch:47: trailing whitespace. > >>>>> > >>>>> .git/rebase-apply/patch:51: trailing whitespace. > >>>>> > >>>>> > >>>>> Also the dt_binding_check fails with an error for this schema. And > >>>>> after fixing the error in the schema I faced an example validation > >>>>> error. Did you check that the schema is correct and that the > >>>>> example validates against the schema? > >>>> > >>>> yes, but i run "make dt_binding_check > >>>> DT_SCHEMA_FILES=Documentation/devicetree/bindings/display/msm/dp-controller.yaml" > >>>> at mu v5.15 branch since > >>> > >>> I wouldn't ask you to post the log here. But I don't think that > >>> either of the errors that I see here is related to 5.15 vs 6.1-rc. > >>> > >>> In fact after applying this patch against 5.15 I saw the expected > >>> failure: > >>> > >>> Documentation/devicetree/bindings/display/msm/dp-controller.yaml: > >>> properties:required: ['port@0', 'port@1'] is not of type 'object', > >>> 'boolean' > >>> Documentation/devicetree/bindings/display/msm/dp-controller.yaml: > >>> properties: 'required' should not be valid under {'$ref': > >>> '#/definitions/json-schema-prop-names'} > >>> Documentation/devicetree/bindings/display/msm/dp-controller.yaml: > >>> ignoring, error in schema: properties: required > >>> > >>>> > >>>> "make dt_binding_check" does not work at msm-next branch. > >>> > >>> I went ahead and just checked. > >>> > >>> `make dt_binding_check DT_SCHEMA_FILES=display/msm` works cleanly > >>> in msm-next and reports a single example-related warning in > >>> msm-next-lumag. I pushed a patch to fix that warning (wich can > >>> hopefully be picked up by Abhinav into msm-fixes). So you can assume > >>> that both these branches have consistent error-free display/msm > >>> schemas. > >>> > >> I have clean msm-next branch (without my data-lines yaml patch > >> applied) and run "make dt_binding_check > >> DT_SCHEMA_FILES=Documentation/devicetree/bindings/display/msm/dp-controller.yaml", > >> then I saw below error messages. > >> > >> Have you run into this problem? > > > > No. > > Did you do anything to fix "older dtschema instance"? I did not since I hadn't had such a problem. I can refer again to the steps I provided you beforehand. The email was sent 6 days ago. No answer from your side since that time. > I had run "pip3 install dtschema --upgrade" and still not work. Can you please post a full log of this command? > > D you know how to fix this problem? > > Thanks, > > kuogee > > sort: -:2: disorder: 2022.1 > ERROR: dtschema minimum version is v2022.3 > make[2]: *** [check_dtschema_version] Error 1 > make[1]: *** [dt_binding_check] Error 2 > make: *** [__sub-make] Error 2 Please add the output of: which dt-validate dt-validate -V And also a full log of your failing kernel build. > I had run "pip3 install dtschema --upgrade" according Rob Herring response. > but it still shows same problem. > Please let know how can I fix this problem. > > > > >> > >> HOSTCC scripts/basic/fixdep > >> HOSTCC scripts/dtc/dtc.o > >> HOSTCC scripts/dtc/flattree.o > >> HOSTCC scripts/dtc/fstree.o > >> HOSTCC scripts/dtc/data.o > >> HOSTCC scripts/dtc/livetree.o > >> HOSTCC scripts/dtc/treesource.o > >> HOSTCC scripts/dtc/srcpos.o > >> HOSTCC scripts/dtc/checks.o > >> HOSTCC scripts/dtc/util.o > >> LEX scripts/dtc/dtc-lexer.lex.c > >> HOSTCC scripts/dtc/dtc-lexer.lex.o > >> HOSTCC scripts/dtc/dtc-parser.tab.o > >> HOSTLD scripts/dtc/dtc > >> sort: -:2: disorder: 2022.1 > >> ERROR: dtschema minimum version is v2022.3 > >> make[2]: *** [check_dtschema_version] Error 1 > >> make[1]: *** [dt_binding_check] Error 2 > >> make: *** [__sub-make] Error 2 > > > > This means that somewhere in your path you have an older dtschema > > instance. > > > > When you sent me a question regarding this error, I asked for the > > additional info. You provided none. Instead you went on sending the > > untested patch that doesn't work. > > since i can not test it on msm-next so that I did test it at my v5-15 > branch. Wrong. > > besides, i think i have to sent the whole series patches include this > one to address your new comments on other patch. > > is this correct? No. Please fix your system first, validate your patches and send them afterwards. You can not expect others to do your job. -- With best wishes Dmitry