Messages in this thread | | | From | Frank Wunderlich <> | Subject | Aw: Re: [PATCH v2 1/2] dt-bindings: PCI: mediatek-gen3: add SoC based clock config | Date | Fri, 28 Oct 2022 18:42:03 +0200 |
| |
Hi > Gesendet: Freitag, 28. Oktober 2022 um 11:24 Uhr > Von: "Jianjun Wang" <jianjun.wang@mediatek.com> > An: "Frank Wunderlich" <linux@fw-web.de>, linux-mediatek@lists.infradead.org > Cc: "Frank Wunderlich" <frank-w@public-files.de>, "Ryder Lee" <ryder.lee@mediatek.com>, "Bjorn Helgaas" <bhelgaas@google.com>, "Rob Herring" <robh+dt@kernel.org>, "Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>, "Matthias Brugger" <matthias.bgg@gmail.com>, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Rob Herring" <robh@kernel.org> > Betreff: Re: [PATCH v2 1/2] dt-bindings: PCI: mediatek-gen3: add SoC based 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@mediatek.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
| |