Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp660489pxw; Fri, 8 Apr 2022 18:30:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvkLI9t15np3XGMbczv09b2p7GcVUswPCR+/lJH+IBKJNUhCHGJ745rpniynDgdqx4PX6E X-Received: by 2002:a17:907:6e02:b0:6e7:f79a:eb93 with SMTP id sd2-20020a1709076e0200b006e7f79aeb93mr20706121ejc.115.1649467808526; Fri, 08 Apr 2022 18:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649467808; cv=none; d=google.com; s=arc-20160816; b=yrpJbz6LtMQ31+d8GUr9ykwE/FMTxv5VblNkLJSINsZeNyaFXP1BCtow9dHJbKZM4M qFpzrSM4qRSaOylGQrGbooLieuDj9ccHlVzAmzxRAbJ6rGgqLU1dYatpUF4N2lsdVwLB 2MtN62r12VFj8IIjKXfZ+cRe8tQXjs7AdSKO7DBoByObwUZ0tUNwQhRv5Zut162iexzX TrwPc11206fdzCP5gBenZvgqEopci4cG8Q1rT3kfsNrYoD2Knd3WBcHAZBJosEdFk7Lh SpWREI3xGJTEQnNKU5eKKTb5rob6BOToFITp+T4mcBUnqw6xVQbOGQr7ZOgsjxgBVMKY OwZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3rpjg5Y91rJlgDeWKeNVL63VHsFaTGQWttlj6s5sV2o=; b=uCV5BLRIH6Prhc30dRfld5JR4HLsm00JcGlllGZnF4wo8YQqwS7mXrhEzFC4m9WiuE hgVj69KxCKHSoQ5Gkv4qF37IQp/Q557EIJTUfrKnEMoif4WhMMLJB75iEqAfHcPU0Kr5 zVsdGRq/sQEcxVccEhjq1X8B6Np3fSk8PJD7hyQKuZ0FYlazyFe3Fg8t0ht5cCnydWSx RibVtqrDaf07Vf9GpvZk2TFK4ajeRq5ou10aCDpJO3in6FJDbzq+af8pG/DeVoI0oFSL okHX5bzzwjv5NayMkXYClE6i/e3hbaqwPHr9Ct/LHBg2XlvoPI7kuwyv4PuPe8pGDvYt kolw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=ZsyVXJW+; 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 a6-20020a170906274600b006e002ecc818si1956495ejd.379.2022.04.08.18.29.43; Fri, 08 Apr 2022 18:30:08 -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=@nbd.name header.s=20160729 header.b=ZsyVXJW+; 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 S231310AbiDHJFf (ORCPT + 99 others); Fri, 8 Apr 2022 05:05:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbiDHJFd (ORCPT ); Fri, 8 Apr 2022 05:05:33 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5F91B31; Fri, 8 Apr 2022 02:03:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=3rpjg5Y91rJlgDeWKeNVL63VHsFaTGQWttlj6s5sV2o=; b=ZsyVXJW+qTz67jq5E82oaR2nXo br8DmLPxSWOXp1ShbvI27ilcs3GA+JvX9nwaCn8CJDYZPGQ89l6WuepFWpVhgbEXqEF4a/RAKA5iM AO7Q+q5Siwb2UJWR3JINtlxjWqZ0BcJEYhvOcTqD0XloVc/cZYtZyl2FYkb9+KBwAwhY=; Received: from p200300daa70ef200411eb61494300c34.dip0.t-ipconnect.de ([2003:da:a70e:f200:411e:b614:9430:c34] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nckWR-0004kO-B0; Fri, 08 Apr 2022 11:03:15 +0200 Message-ID: <96bdfd6b-4c22-9a32-48b4-1d2cc8a16119@nbd.name> Date: Fri, 8 Apr 2022 11:03:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 05/14] dt-bindings: arm: mediatek: document the pcie mirror node on MT7622 Content-Language: en-US To: Rob Herring Cc: netdev@vger.kernel.org, Krzysztof Kozlowski , Matthias Brugger , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Lorenzo Bianconi , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220405195755.10817-1-nbd@nbd.name> <20220405195755.10817-6-nbd@nbd.name> From: Felix Fietkau In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 07.04.22 19:19, Rob Herring wrote: > On Tue, Apr 05, 2022 at 09:57:46PM +0200, Felix Fietkau wrote: >> From: Lorenzo Bianconi >> >> This patch adds the pcie mirror document bindings for MT7622 SoC. >> The feature is used for intercepting PCIe MMIO access for the WED core >> Add related info in mediatek-net bindings. >> >> Signed-off-by: Lorenzo Bianconi >> Signed-off-by: Felix Fietkau >> --- >> .../mediatek/mediatek,mt7622-pcie-mirror.yaml | 42 +++++++++++++++++++ >> .../devicetree/bindings/net/mediatek-net.txt | 2 + >> 2 files changed, 44 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml >> >> diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml >> new file mode 100644 >> index 000000000000..9fbeb626ab23 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml >> @@ -0,0 +1,42 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml#" >> +$schema: "http://devicetree.org/meta-schemas/core.yaml#" >> + >> +title: MediaTek PCIE Mirror Controller for MT7622 >> + >> +maintainers: >> + - Lorenzo Bianconi >> + - Felix Fietkau >> + >> +description: >> + The mediatek PCIE mirror provides a configuration interface for PCIE >> + controller on MT7622 soc. >> + >> +properties: >> + compatible: >> + items: >> + - enum: >> + - mediatek,mt7622-pcie-mirror >> + - const: syscon > > This doesn't sound like a syscon to me. Are there multiple clients or > functions in this block? A 'syscon' property is not the only way to > create a regmap if that's what you need. It's used only by the WED code in the ethernet driver, but there are multiple WED instances and only a single pcie-mirror block containing configuration for them. - Felix