Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4901160rwr; Mon, 8 May 2023 14:38:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ZGIQMy6BOSafPa5pX0ZBECxIk22bhW5FUOdhtg0yGXhyaDNdVFvIGN5oLPd+85fwIqaaR X-Received: by 2002:a05:6a00:9aa:b0:646:59e4:94eb with SMTP id u42-20020a056a0009aa00b0064659e494ebmr4975273pfg.15.1683581908621; Mon, 08 May 2023 14:38:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683581908; cv=none; d=google.com; s=arc-20160816; b=CD32pxUNk9ehvnI9rPWqaMF4Ye7qxZcj56hyMjxx+f8Jfo85mygxtInmUeiXFtlYuV sB5OHHHpLLsbKWcidDJjXxVU8X/FGPDS+8gisF3u2fpc6ziZZTt0Beap8QQRsgzA06Ir DWDRQGrm8nWysLnLol0YzfG8kJf27Q7AYgPBcpReb66Mod03swR2+Y5wWqAeyoelwzxd I4Kz/a+wD+2RkqrhuqssrvG4Z4+5RrQZUx08Gx/jqViOQpQ3zGIrr3BD9n9W/5R8Z8wx B6UzQiYDphKIPgyDEXUdnBzUjN/PZL52E1Ttqqigeyw2flhd/Cs//XqcVb7fmdtC+rJz dSeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=obCt2zk644qsnpT2tried9ObmeNAQUhPlz95tF8zx/4=; b=vfyeNP1EUUlOKfdwcoPv2xL9vEqrH7BhHsiDoCwlw/Veyw2g/WvoFieRIYLb/eqaCU H84wcrGungoOMAloAJoxuQF5620VArVUxcKIjvjBGCYRdYZbNqONrR+t85dtSEg8PNkV 9oEOfjodsDidX5DQSRVwOyz9UVPWsLctfOCm4Thh/YWbJrmGv68yJ10PQd/HwFs05CiJ nIyNGROX1BKNNZnu3unTRT2deITPIp8pe7XRz9OJ6ovGt76ffOIfkroUiq2vvaUMp6kv SK7FUsptHNe8zqtgWPp1EhDwLVQcaxydUnLEvqPfDKv4KNWKIAL1TP1yciSJe4vFtG2v AEhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IFxsfNq4; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020aa797a4000000b00643a730d50bsi682298pfq.389.2023.05.08.14.38.15; Mon, 08 May 2023 14:38:28 -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=@kernel.org header.s=k20201202 header.b=IFxsfNq4; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229492AbjEHVga (ORCPT + 99 others); Mon, 8 May 2023 17:36:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234162AbjEHVgV (ORCPT ); Mon, 8 May 2023 17:36:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE9C9903C; Mon, 8 May 2023 14:35:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CB44C642F7; Mon, 8 May 2023 21:35:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E543FC433EF; Mon, 8 May 2023 21:35:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683581739; bh=lePxUD2RwGwx/yLwKafG9xCR8tb9Igp6SNSrOmIyFFY=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=IFxsfNq46eOIc/XKbCOl1PWs29uP0l3dlW9g+C0zyqx8WFs65Icfu23RHbd52P+e+ sCLg0SNrbY178672jUJ7m0Xi+t6okG1fyNP3UeqYwSZ0tq0dF0LbS2knRoyMzDZfG9 2shZhHB2YYXpChiAdSNGwXhvypDBlxVjD6S0CwMXvBsDUSSZRfsAlDpwZWI+CIUWkW TK6p5NzVPsfXj/n37QwUQtP96PVPhF8ac6LCt3nipSoqPXxDJJNKlreDtlVJ3Erk6T 1ya1mae9daXDmKhdo3o0Les67CmRAILAAPgcSNCOQj/oFWGbzw4TgQOgs6RHnpyeS3 V4jvUPazBYeHQ== Date: Mon, 8 May 2023 16:35:37 -0500 From: Bjorn Helgaas To: Krzysztof Kozlowski Cc: Richard Zhu , Lucas Stach , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH fixes] dt-bindings: PCI: fsl,imx6q: fix assigned-clocks warning Message-ID: <20230508213537.GA1193015@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230508071837.68552-1-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Mon, May 08, 2023 at 09:18:37AM +0200, Krzysztof Kozlowski wrote: > assigned-clocks are a dependency of clocks, however the dtschema has > limitation and expects clocks to be present in the binding using > assigned-clocks, not in other referenced bindings. The clocks were > defined in common fsl,imx6q-pcie-common.yaml, which is referenced by fsl,imx6q-pcie-ep.yaml. The fsl,imx6q-pcie-ep.yaml used assigned-clocks thus leading to warnings: Weirdly long line here. I think it's good to preserve longs lines in warnings and error messages themselves, but in the normal text it looks like an oversight. > Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.example.dtb: pcie-ep@33800000: > Unevaluated properties are not allowed ('assigned-clock-parents', 'assigned-clock-rates', 'assigned-clocks' were unexpected) > From schema: Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml