Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3314919iob; Mon, 16 May 2022 19:07:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmowTaIWUjsyH1RCcVQ+tVciwmDhpMICFhSOw/B6mrKhmenPi2w3Ig7/S5kuiq7sNK8fpm X-Received: by 2002:aa7:cb99:0:b0:42a:ba14:fb6c with SMTP id r25-20020aa7cb99000000b0042aba14fb6cmr5630243edt.78.1652753226244; Mon, 16 May 2022 19:07:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652753226; cv=none; d=google.com; s=arc-20160816; b=E5qNCHp7rIOkOrAWj16w/V1E+Vyuxj0iJu7/pX/7aVTpKU9kaunr1b8DFpaJ3rVDeu ca2SKRT4QWwJ341BVh6Fyw0P8Y08Nv6OmK3V1VCQbR3wN4ald8lEb8RP8Hio8quEBskT 08KlEF4WszKI1GdYwbEmmUrrjMwEe9XlyeVy+UGEeUDhk+V8LSe0Lfc/Lz9W5SSvr9Ju SDh6UB3yTxB91NFpcRFL0uwdzXfpKlZut9zUBHEKjNf1fWY4MAEoFuGn2bQ+32RRrexL BdX7CIW8AsF0ajQgUuv/9T47ekB7iS2I9KB3RNBe6GaI3rLIHhzI/kyEuN7NYLqA9sVv U1RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:from:cc:to:reply-to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=/DrAHnXAc6Z5rHCrVzSN+Wmzk2EmT7PI6pxFy/3fRew=; b=HuqpgmsJ0j87HlXfbaU+jmcs0jv230IUFer1dJTaAVjlCkJHl+7yv3dycU/FwX6PBv xOd0vFZCMCR02Fm+W8T5ZWX2wNaz8iN69Mq/YbVF+m5qeT1/6GWmnl7VoSQiKX1QaehF Isxs5rqzIeWzxQ5olG9ZgFJCgzlHTRFyp6/H04qpz6bDMCmhAjjdVhkl5TbHLK/vkMMq A3DGAt2WtL+FhDOPkL0g0sN5BORVcKN1C+/y8+jaDy0Xp8Kq/cwnu1hiuv7nfDrdOnoN ayd/oIti4IDSQNTuy4vnc8yVZqJEtOszWo5/EtQQT942Gjbm0y0VJLpWe+fVfPSVwFK/ W0XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmx.net header.s=badeba3b8450 header.b="iAqc3i/y"; 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 k14-20020aa7c04e000000b00423ef1a45casi11590182edo.583.2022.05.16.19.06.40; Mon, 16 May 2022 19:07:06 -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=fail header.i=@gmx.net header.s=badeba3b8450 header.b="iAqc3i/y"; 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 S1345389AbiEPTWQ (ORCPT + 99 others); Mon, 16 May 2022 15:22:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345387AbiEPTWK (ORCPT ); Mon, 16 May 2022 15:22:10 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9653E1AF19; Mon, 16 May 2022 12:22:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1652728896; bh=n3B1tFZFIsJ89uIoiL7dX/rVRMmDUZ1088RdBsJpfxE=; h=X-UI-Sender-Class:Date:In-Reply-To:References:Subject:Reply-to:To: CC:From; b=iAqc3i/yie0yQ2RO4KjEodO6JlsmEeoCluKIjQQeD5VvGXK2FMakTvhlaCwZTxZSO +AzMBHyTlzQIQMaEQ316PydcD87/HFx5pXYq2+cMNj7A9Gvv91zdDVmJwriY3yGh6i 6WBPQ5hsPF1ev6OmpV54UGGyP8a06ZCPvBlzup2c= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from frank-s9 ([80.245.74.14]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MGyxX-1o3ajL2Lzf-00E7Xg; Mon, 16 May 2022 21:21:36 +0200 Date: Mon, 16 May 2022 21:21:31 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <20220516173537.GA2942634-robh@kernel.org> References: <20220514115946.8858-1-linux@fw-web.de> <20220514115946.8858-2-linux@fw-web.de> <1652570081.002742.3276245.nullmailer@robh.at.kernel.org> <20220516173537.GA2942634-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Re: [RFC v3 1/5] dt-bindings: phy: rockchip: add PCIe v3 phy Reply-to: frank-w@public-files.de To: Rob Herring CC: Frank Wunderlich , Michael Riesch , Vinod Koul , Johan Jonker , linux-rockchip@lists.infradead.org, linux-pci@vger.kernel.org, Kishon Vijay Abraham I , linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, Bjorn Helgaas , Philipp Zabel , Lorenzo Pieralisi , Peter Geis , Heiko Stuebner , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= From: Frank Wunderlich Message-ID: <9496CAFB-6CB6-4BDA-A539-3A6E1B562299@public-files.de> X-Provags-ID: V03:K1:f5Irn2u3e6Zhnd5do173aOUv5ETb+hLAEAT30DBf0+1ZrVkoATS Fhws/gr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s4+dspPeOBEHPa18BMnBHT/ DufwIomMAa2L65GCXfO3zLkPu6ZRWp5vdMNbMvxXO52yCnLqn6beF8z5fRLkoTYh7Wr7nZ/Rs CnOGakp5eqt3eMJXbdyPlIBwfjg+0j05Z/hEX55/wYUxOlety08eHvKqD58ZzN2cG77jclmci xQ19HjerZpf+P4LlW+Y0ZJ/wm0PfvAjH1E0Xix1ywyrrXTHJrBNH95hpbZWZyOqELguiFVRlc flu7VLme4boB+0= X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Am 16=2E Mai 2022 19:35:37 MESZ schrieb Rob Herring : >On Sun, May 15, 2022 at 01:49:47PM +0200, Frank Wunderlich wrote: >> Hi >>=20 >> > Gesendet: Sonntag, 15=2E Mai 2022 um 01:14 Uhr >> > Von: "Rob Herring" >>=20 >> > On Sat, 14 May 2022 13:59:42 +0200, Frank Wunderlich wrote: >Documentation/devicetree/bindings/phy/rockchip,pcie3-phy=2Eyaml >> > > >> > >> > My bot found errors running 'make DT_CHECKER_FLAGS=3D-m >dt_binding_check' >> > on your patch (DT_CHECKER_FLAGS is new in v5=2E13): >> > >> > yamllint warnings/errors: >> > >> > dtschema/dtc warnings/errors: >> > >/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/= rockchip,pcie3-phy=2Eyaml: >properties:clock-names: 'oneOf' conditional failed, one must be fixed: >> > [{'const': 'refclk_m'}, {'const': 'refclk_n'}, {'const': 'pclk'}] >is too long >> > [{'const': 'refclk_m'}, {'const': 'refclk_n'}, {'const': 'pclk'}] >is too short >> > False schema does not allow 3 >> > 1 was expected >> > 3 is greater than the maximum of 2 >> > hint: "minItems" is only needed if less than the "items" list >length >> > from schema $id: http://devicetree=2Eorg/meta-schemas/items=2Eyaml# >> > >/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/= rockchip,pcie3-phy=2Eyaml: >ignoring, error in schema: properties: clock-names >> > >Documentation/devicetree/bindings/phy/rockchip,pcie3-phy=2Eexample=2Edtb:= 0:0: >/example-0/phy@fe8c0000: failed to match any schema with compatible: >['rockchip,rk3568-pcie3-phy'] >>=20 >> seems this is fixed when i remove the "minItems: 3" from clock names=20 >> (which is already fixed length because of the list)=2E > >Yes=2E > >> needed to change type of lane-map to this: >>=20 >> $ref: /schemas/types=2Eyaml#/definitions/uint8-array > >Why? That's not a standard property though, so needs a 'rockchip'=20 >prefix=2E Though maybe a common property would be appropriate here=2E Originally it was a bool property named "rockchip,bifurcation" and we chan= ged it (after comments) to be a more generic property "lane-map" that can b= e re-used on other vendors/controllers/phys=2E Driver reads as u8 array and range is small enough for u8 even if used for= larger controllers (e=2Eg=2E PCIe x16)=2E >> then it looks clean for it=2E=2E=2E=2E >>=20 >> -m causes many errors unrelated to this schema-file even if i pass >> >DT_SCHEMA_FILES=3DDocumentation/devicetree/bindings/phy/rockchip,pcie3-ph= y=2Eyaml > >The fix is fixing the remaining 40 or so '-m' errors=2E So now clean for you(r bot), too? Did only get a bunch of other unrelated = messages=2E >Rob regards Frank