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 BA63EC433EF for ; Fri, 8 Apr 2022 09:04:41 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sGwL0utSlj6K6Nmc/kQKWzJVwm1lyrDHAfJ76jq/c8Q=; b=kU7L/JV9s1pWwP +c6jB86Il5KpoUH12IIsVvBz+16bQ0+Di3t/9B8vEBFSXTdC+rVIVlNO/MQqF6rVFCMpfa1NnvTOG mTwl0bFP0BfgVsO+gM5fpEAcD9/Q9S9Hqk+ONFPlMMrK5SZVOfKcijA1eP1pjX1yDTh8D7Zwxw3hI d+CpVqFPgp1D9fBzXE9TbtglKuYN5N+Zwd//xBb3BIlJeg5itphgxxLW31IaODZFNJeUltETxP+1E 2glzdY63CkV/ciKb6ZTVC9j2uPms7AnVU00E+q8+Bt7fV64niFBcm7+snwF4D4nixPvRHYimeFvTI 6MFkhEGWBhl3qLkYgfaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nckWb-00G2Js-Ln; Fri, 08 Apr 2022 09:03:25 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nckWY-00G2Iz-Sn; Fri, 08 Apr 2022 09:03:24 +0000 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220408_020323_140709_534BD808 X-CRM114-Status: GOOD ( 15.97 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel