From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05953ECAAA1 for ; Mon, 24 Oct 2022 19:24:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gOHp0vGwY4jBRgdX1fy+kPbw2C+AWRT8wouSZ+fv9dw=; b=ipf6QkgvOAXrV0 4Dc/wUKXdrQRsxpMig9/X22GTDMcnAI0ovEbO4e+kZ1bnp5lmbymlE4wEo26hJnJkf8+scgvbI1Wt eFsGqk6QjE4zFBrf4/suBNCO0DEVI8dN6tFjMddQ8x+tY3rtw3U/V7OHvPK2hKwFS5cSQlQFKr2nf HxkymzC2t0IP4HgJZkZz1oevSCYpx/+jNMUqKTjnnEd2MFmhVEkxm2VFyitywl27OwHdJMQJQvm8H YrPA4UHPrPmrD4F/tLWmck36Y7DrYirNq8013Rq9nrxinPkDE8oHx0QqjiowL9tmxw1Aucow12s0p bP0nozSyH4m0GjMfQgkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1on32g-002lpD-1s; Mon, 24 Oct 2022 19:23:22 +0000 Received: from mail-oa1-f43.google.com ([209.85.160.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1on32d-002lnc-2i; Mon, 24 Oct 2022 19:23:20 +0000 Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-13ba86b5ac0so4391439fac.1; Mon, 24 Oct 2022 12:23:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vqLHNCC4h3WefblPd4YUovHfNe5etB8EwtpDxyh2rNg=; b=xWrJ1jNe5Ub5uTwBdaPH/GL4qPNEIAAFSRzcWGF2iSxfNd4ZcrrNumr1Ty6vgCn8nX VU3CHJ9v2I3C9keaxZr1PD81iciVU5slAbMusUbTk5QZZpcwMCQe3KzeKxRNWBMK5NAv 2C1QJ6xQviwSG98qMwFdEK4WiiMDnChAiNDlkenbX+OM40QLDlFcAYqsJcwZjVHtKRef vL8uGP0CkHJeEoS2IkkESuJk1KI4zoUudOEa2RvEDqBn8JBf1QPuiz44JWkwqv5furB1 yoILd1FOy42enVxs529b08wZAu0q1fRL6tHBVSnc0RzQYFFnjYm67WSWorTDvdqQVosS S0pQ== X-Gm-Message-State: ACrzQf25dCgKiZLCEDTa5frI81A3dOHBcYaQLEj3vr+be5s4PGHDY/2C QV6KwE9ODMZE/EPj4GB86QSy/eSbwg== X-Google-Smtp-Source: AMsMyM5ai7TBx2hq9Yw2a73b9Dx0NsSpGKlCAqRK1rsVAwL1TyUeCKFTJoiykMmsw8LzRorV6iZ2tQ== X-Received: by 2002:a05:6870:2054:b0:132:d1fb:ddf0 with SMTP id l20-20020a056870205400b00132d1fbddf0mr39306295oad.283.1666639392419; Mon, 24 Oct 2022 12:23:12 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id u4-20020a4ac984000000b004768f725b7csm332279ooq.23.2022.10.24.12.23.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 12:23:11 -0700 (PDT) Received: (nullmailer pid 2071537 invoked by uid 1000); Mon, 24 Oct 2022 19:23:13 -0000 Date: Mon, 24 Oct 2022 14:23:13 -0500 From: Rob Herring To: Frank Wunderlich Cc: linux-mediatek@lists.infradead.org, Frank Wunderlich , Ryder Lee , Sam Shih , Steven Liu , Jianjun Wang , Bjorn Helgaas , Krzysztof Kozlowski , Matthias Brugger , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 3/3] dt-bindings: PCI: mediatek-gen3: add mt7986 clock config Message-ID: <20221024192313.GA2069519-robh@kernel.org> References: <20221023170234.83621-1-linux@fw-web.de> <20221023170234.83621-4-linux@fw-web.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221023170234.83621-4-linux@fw-web.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_122319_137146_57D16DB8 X-CRM114-Status: GOOD ( 14.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Oct 23, 2022 at 07:02:34PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > MT7986 needs 4 clocks for PCIe, define them in binding. Patch 2 is incomplete without this one. Therefore, patch 2 and 3 should be 1 patch. > > Signed-off-by: Frank Wunderlich > --- > .../bindings/pci/mediatek-pcie-gen3.yaml | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml > index 3662422b38ea..e6020e684c00 100644 > --- a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml > +++ b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml > @@ -79,9 +79,11 @@ properties: > - const: mac > > clocks: > + minItems: 4 > maxItems: 6 > > clock-names: > + minItems: 4 > maxItems: 6 > > assigned-clocks: > @@ -162,6 +164,20 @@ allOf: > - const: tl_32k > - const: peri_26m > - const: peri_mem > + - if: > + properties: > + compatible: > + contains: > + enum: > + - mediatek,mt7986-pcie > + then: > + properties: > + clock-names: > + items: > + - const: pl_250m > + - const: tl_26m > + - const: peri_26m > + - const: top_133m > > unevaluatedProperties: false > > -- > 2.34.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel