Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17603020rwd; Tue, 27 Jun 2023 05:28:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6TN6WVJne19VpSzaFgYB6/dkNm3exfIOiQfLD6i+OUwWMbuWF5AE/Dvu8NxXhnpEBKjcAo X-Received: by 2002:a05:6a21:7899:b0:12a:f4d2:3e25 with SMTP id bf25-20020a056a21789900b0012af4d23e25mr2540797pzc.29.1687868895027; Tue, 27 Jun 2023 05:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687868895; cv=none; d=google.com; s=arc-20160816; b=K+KYSsMK3by9u2W+6yqvssu/e+o6kMPDdErq94qhY3+OOSOuOF05l2k2lv/xO7HH5m Rn3DRx3UEF9gEQUhhqMEZcNirCbrw2F7AHEmPUbFp1AlmqOviP4QEIERjhyLWyLgq2O2 fj/sf68A9qqrNOa/uSszZJDHx1SRCRrjiao7/ZLTzENMRLeQLzsKFTsnyF56EIyeBsqr 2hViDlDbR2tcA61e0IrXAvxMAdghJxl/odEHgAtWhFnrxIKAjewHFliLV4cQZ54AoHbx VdokGP2xhmtskQgWfLWvvvDytxqX6XGSwogGZoylCWo0t1AT6ewPow3W2d59Ag30kRGd CyBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:ui-outboundreport :references:in-reply-to:sensitivity:importance:date:subject:cc:to :from:message-id:mime-version:dkim-signature; bh=0MkyOMOo4JTa2VWVPuWKgislUrUoNu+umQGgkiKM+Qo=; fh=jQB+ZmhJQ5SN7ujJzU35ZiddxmLD6wNAVMeguQzm3i0=; b=frHf8C+GcwLm9Wv3Mu4kc6fPxAy5QRYhs3/jkmgzL6iGLm1+9Rfq0eX9HyWFMnNBKQ oGH06qKG+jqa0UqCYRL6iVi4GHcP2QfZNuIwWak2/iwCvvpBFRdwS/T3VOCKXgG+IM3N zDN374J+UaPQ6coDP+I2bPrsnnoF40r8faRnwfGtroULCkYhvYoWcUlvTzxFA0YMaQOn FMbb2MAiOumqRf1IUjuzcjSJXSMWCgXPkWfW4CPieclC3R3XFTfPVoelcfTzGjq9nGhX wwA23Qa0Wk1LLIwQJP9RHnXfzTjvWPIVgMzQyCYBI1q5aFLP5BlWy9gwdGV1BZmZTmgz ItIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@public-files.de header.s=s31663417 header.b="JmKeWK/e"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y188-20020a6364c5000000b00502ee712648si7526591pgb.578.2023.06.27.05.28.02; Tue, 27 Jun 2023 05:28:15 -0700 (PDT) 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=@public-files.de header.s=s31663417 header.b="JmKeWK/e"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231129AbjF0MKX (ORCPT + 99 others); Tue, 27 Jun 2023 08:10:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231948AbjF0MKO (ORCPT ); Tue, 27 Jun 2023 08:10:14 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A36F8297D; Tue, 27 Jun 2023 05:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=public-files.de; s=s31663417; t=1687867773; x=1688472573; i=frank-w@public-files.de; bh=xdHcE/whBthd94x/WQ7c8IRXdm3DaEqEahfNDdPrpiU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=JmKeWK/e5/gzkD/IRpkToKxv1UBRL7tsoQHCofzr3RalwasG16QZvtK7pAypP5iRlk6CuvX N9eofKYrfIePUidNMaeJIvHRHU5VuBmkXx6ECrc6/gLtf6gnid8+BoGaVt6vDmElB9hrmMd2H 0e3n5PPcARzaIKPbXMjLMROE6vhCPGglKAi4EkQ8GA5GJkG4vjli2FTDIjPBe6vvmnh9yHmpY qL6rzGcciTo+/BmHb1HmOWsBtiz8rP6gJIv7b/A3Jf6OK+6n0BQgo2Ov+TuzJxE5IbQbcnkaF 3WjnV/0La8xhS3T6kuILNuwQr5nruV80bzvogqzuSl8g8UXwm7tA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [217.61.148.1] ([217.61.148.1]) by web-mail.gmx.net (3c-app-gmx-bs07.server.lan [172.19.170.56]) (via HTTP); Tue, 27 Jun 2023 14:09:33 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Krzysztof Kozlowski Cc: Frank Wunderlich , linux-mediatek@lists.infradead.org, Chaotian Jing , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Wenbin Mei , Sam Shih , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Aw: Re: [PATCH v1 1/2] dt-bindings: mmc: mtk-sd: update assigned-clocks/clock-parents for mt7986 Content-Type: text/plain; charset=UTF-8 Date: Tue, 27 Jun 2023 14:09:33 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <91411797-18b4-f515-d6c0-ca0f8ff39696@linaro.org> References: <20230625191151.7808-1-linux@fw-web.de> <20230625191151.7808-2-linux@fw-web.de> <91411797-18b4-f515-d6c0-ca0f8ff39696@linaro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7N8c TDRFEBND0/nlkOMx5tY/tZ0iV0+SFDp00IZnRMPlslvWVpy8VkF1/HclqnDjfw6jQmROuAakk QvFYP4JHDjO8iq8XJXgvNqZRjSIwKjP4OBEfJqN83tP52IlR+LScMFKaLklJAXqmxlJUSnO6w /s8tCekdcyvxO5kJv89YeZBg== Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 > Gesendet: Dienstag, 27. Juni 2023 um 12:44 Uhr > Von: "Krzysztof Kozlowski" > Betreff: Re: [PATCH v1 1/2] dt-bindings: mmc: mtk-sd: update assigned-cl= ocks/clock-parents for mt7986 > > On 25/06/2023 21:11, Frank Wunderlich wrote: > > From: Frank Wunderlich > > > > MT7986 has 2 clock-parents so update the binding for it. > > You didn't test it, I think. If you do, then you will see errors from > other trees. Hi, i tested it of course...which errors do you see? this is basicly how i tested it (in case anything has changed): logfile=3Ddtbs_arm64.log exec 3> >(tee $logfile) ARCH=3Darm64 CROSS_COMPILE=3Daarch64-linux-gnu- make DT_CHECKER_FL= AGS=3D-m dt_binding_check 2>&3 if [[ $? -ne 0 ]];then echo "arm64 binding check failed!";cat $log= file;exit 1;fi ARCH=3Darm64 CROSS_COMPILE=3Daarch64-linux-gnu- make defconfig #dt= bs_check need kernel-config ARCH=3Darm64 CROSS_COMPILE=3Daarch64-linux-gnu- make -j8 DT_CHECKE= R_FLAGS=3D-m dtbs_check 2>&3 if [[ $? -ne 0 ]];then echo "arm64 dtbs_check failed!";cat $logfil= e;exit 1;fi and looked into the resulting logfile for keywords like mmc like mtk-sd i tried running dtbs_check with passing the yaml-file, but of course all c= ompatibles not matching this file were reported. ARCH=3Darm64 CROSS_COMPILE=3Daarch64-linux-gnu- make -j6 DT_CHECKER_FLAGS= =3D-m dtbs_check DT_SCHEMA_FILES=3DDocumentation/devicetree/bindings/mmc/m= tk-sd.yaml but this spits out many errors "failed to match any schema with compatible= " because i defined only the changed one... maybe there is another way to check only one yaml file against all dtbs wi= thout these unrelated errors. pipeline in dt-bindings-patchwork is clean too https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230625191= 151.7808-2-linux@fw-web.de/ > Anyway, I don't understand why defining it in the first place. Just drop > the assigned-clock* from the binding. as it was defined (not looked where it was used) i only used the soc-speci= fic branch to update the MaxItems...just to not break anything. After that= the message i got before was fixed arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: mmc@11230000: as= signed-clocks: [[4, 35], [4, 34]] is too long arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: mmc@11230000: as= signed-clock-parents: [[5, 6], [4, 18]] is too long but if the right way is to drop the MaxItems from generic (or the property= itself - where is it taken from then?). The only include i see is Documentation/devicetree/bindings/mmc/mmc-controller.yaml= and there the assigned-clock* is not defined. And the unevaluatedProperties: false tells me that removing the generic one will result in unevaluated propety = error. regards Frank > Best regards, > Krzysztof > >