Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2732952rwi; Fri, 28 Oct 2022 10:30:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5+SC82WgcOQFCHOQe3foNjD2+en99fhsJLk3n1zJg7lUhoc6cPhMT3zjAACs96AZJHWgPp X-Received: by 2002:a17:907:b07:b0:7a8:beb3:aa2a with SMTP id h7-20020a1709070b0700b007a8beb3aa2amr380023ejl.459.1666978244049; Fri, 28 Oct 2022 10:30:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666978244; cv=none; d=google.com; s=arc-20160816; b=jsFRdgYbILp9vJlHZOjI9iaMsxj+VE0YBqBdPuMSfghJ/JEx+/b1s88+kkKhMjYgWK xdexieeVmv5ONkeqG/g/dYvxTenmdOHFIpPYxyf8nDX2a0iUPUU0sgrkQLf5BnPWtRIL owZTsMrSK5IoLgQd9OTdbnLm5TEwPTPI6xM0WFZ1+cJP4Iqx72wzGsW2hOa7ucOjMI7j WshxBochSgOhVeEgeQnleE+pDzimvisof3GpYGldt+0BF4aGUbu6jXgqqHdbEgftKEqv Ll3zGhnhyFm5SapvS6oYEp6jiayOfHtLe9lUC0wIgSPd/O7o5JEwauyQl6gS9fZLZkjo RR4w== 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=IvNePpe25ku4UesWYqS3YQEbu9VfdgAEtqYDLNKXD4M=; b=I/mm2/oya9LjAHGPw56jPlwv/Ij9NQ+B9hXQ6I61B6UAoXHpdfhgkge+CYuJNGJnD/ I5YI+nohm4RoJzJqsRhzOGczR+D5ZIAp7ifyp+qqSy2sfLTYPeb/ZOrW42qNmzqwYUUc LcujNXiiNqhfnYYmFttdWWUg65gwQN5eoTZkUWtQaiw66ICAIMYSkrslS1ST94BEGrsd 7FIDAYEuY78U3RL4Iw8CvCbpi4h2aWL4kZOtqm5LaYX6tvxmFW6mHHBSKpiKHVQVrvvg 3rchjAuSIjFv033lmJ3It/pvS5Glck/F8U3BjXeYbMH3yJBgXTlKzuHjEi+j2+MPJIlX fibQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@public-files.de header.s=s31663417 header.b=L7h7yaCH; 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 f10-20020a056402354a00b00461c8f80e30si6005609edd.392.2022.10.28.10.30.18; Fri, 28 Oct 2022 10:30:44 -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=L7h7yaCH; 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 S229944AbiJ1Qm3 (ORCPT + 99 others); Fri, 28 Oct 2022 12:42:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbiJ1Qm1 (ORCPT ); Fri, 28 Oct 2022 12:42:27 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDBFF1E3ECC; Fri, 28 Oct 2022 09:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=public-files.de; s=s31663417; t=1666975323; bh=ssFI465ybeaWGZ24izMnuugaOjPgpCJi0sJ7Awro/8A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=L7h7yaCH+ZX6KIzfN/QjlVrNiWft678n9rDJukWkPOGZs0hckUzBdN3RAG6kQHPOm Uyt2100T/cEoAIPmKt3TNoif1vS73t+j/o1D5hLCRtzG9w76qu7RjgsOe+Dpbm+qYn vKSlbxwOwOfkNK1VYRm1zr92Ej2Ggb4CY9YjXZwPhrsPf30qTijqvv2vjsEF4bsk0P kEkUZ6eOVbcckYUCCssvdpkAD2ga9FrB02dVTm1zyKx3u6ZmFnO9NDppgtj3oHgssX yI4RSVDCVOHs7gF2AM6r/y9g8TPNyEEEi0EieZmwLVaRuS+LmT/V6BvLzHFWZsgXwN pMgvV6dNL3Qwg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [217.61.151.20] ([217.61.151.20]) by web-mail.gmx.net (3c-app-gmx-bs17.server.lan [172.19.170.69]) (via HTTP); Fri, 28 Oct 2022 18:42:03 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Jianjun Wang Cc: Frank Wunderlich , linux-mediatek@lists.infradead.org, Ryder Lee , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring Subject: Aw: Re: [PATCH v2 1/2] dt-bindings: PCI: mediatek-gen3: add SoC based clock config Content-Type: text/plain; charset=UTF-8 Date: Fri, 28 Oct 2022 18:42:03 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <61c0b62af62ddd0e98378159db2b7d94022c9bf5.camel@mediatek.com> References: <20221025072837.16591-1-linux@fw-web.de> <20221025072837.16591-2-linux@fw-web.de> <61c0b62af62ddd0e98378159db2b7d94022c9bf5.camel@mediatek.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:s7AmXG5Xr8qwlj5dxfm5hJbBhoA3/AEO3/SxR4wXpwOjNCAQH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IJILRuyF0nvCP2biOWxPWQYONEGEf/uCyrLYWDC+e3CmOAUGxS9zTHm L5Mb6QqpSADy5V9JjQR6QehA== 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_H2,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 Hi > Gesendet: Freitag, 28. Oktober 2022 um 11:24 Uhr > Von: "Jianjun Wang" > An: "Frank Wunderlich" , linux-mediatek@lists.infradead= .org > Cc: "Frank Wunderlich" , "Ryder Lee" , "Bjorn Helgaas" , "Rob Herring" , "Krzysztof Kozlowski" = , "Matthias Brugger" , linux-pci@vger.kernel.org, = devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel= @lists.infradead.org, "Rob Herring" > Betreff: Re: [PATCH v2 1/2] dt-bindings: PCI: mediatek-gen3: add SoC bas= ed clock config > > Hi Frank, > > After apply this patch, we found some dtbs_check error with the > following patch which adds the PCIe node for MT8195: > > https://lore.kernel.org/linux-pci/20221020111925.30002-3-tinghan.shen@me= diatek.com/ > > arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dtb: pcie@112f0000 > : clock-names: 5: 'top_133m' was expected > From schema: Documentation/devicetree/bindings/pci/mediatek-pcie- > gen3.yaml > arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dtb: pcie@112f8000 > : clock-names: 5: 'top_133m' was expected > From schema: Documentation/devicetree/bindings/pci/mediatek-pcie- > gen3.yaml > > Did you get the same error when adding the PCIe node for MT7986? i'm sure i had tested the yaml and did not get any error, but on my retest= i get same error for mt7986 too... maybe the right way is to remove the contains in the mediatek,mt8192-pcie = if condition (to match only if this condition is no fallback), then it is clean for me. Can you test it with your patches? allOf: - $ref: /schemas/pci/pci-bus.yaml# - if: properties: compatible: #contains: const: mediatek,mt8192-pcie then: properties: clock-names: items: - const: pl_250m - const: tl_26m - const: tl_96m - const: tl_32k - const: peri_26m - const: top_133m regards Frank regards Frank