Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1038848pxb; Wed, 6 Apr 2022 07:17:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQikjrddOLnOu5MtSGIq/ADAUdlC0EoMVvuYJ4kEbRtt4Xtx+nTR4r66g4A4tardoZHKfo X-Received: by 2002:a17:902:f70c:b0:14e:f1a4:d894 with SMTP id h12-20020a170902f70c00b0014ef1a4d894mr9190327plo.65.1649254639787; Wed, 06 Apr 2022 07:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649254639; cv=none; d=google.com; s=arc-20160816; b=zzdMY9kgP9iaz8MkziyJOPPKoRXlqov/Iwl+UTmPH5+F52M0DUGc9jB5qm6B/t9qEB 3aGwq/tsf+/Z0AMMDq6CKV5cgvXvPz45eBHWMY7q78cfy9zJ+Hnk9FkGD+1ZYRzRhvy3 ruBik7QfmkoyGo2xILaUViuLOLrND5t8CCeTscQCFTPHQLpuIR6rqyZjbjj7Iv5KuQAQ b2tOuJ8rT5d5p8RoRvBZ7oOwMXj/h8TRMzyLHBFtrOSY1yHHuh2FnDbSL5AheQSUuwQn po1v7gCwJvnV4+deAqnzLeLqO2EIFpYlxYVh2gLNSu6pTk0ddoVJipWJHL3zq6Ra6U/A AIJA== 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=nwwNMDaP5Yh8K0WaZWOfIjXkdwXbq5VOVV+PO+4zCEI=; b=v1ZEn1YKMHaFispHyCJMhsYgotnh4FVIlluQDn1bqe8hVc53Ox3/v1bkq0v7XOommc ZUyqPDmW0j9J7LNdQoI9GB1cqNBrByncyPah83Fmljap0rzlVt9KoFnOAkaYZkoH4jwU +qea6F/k8nPjajUADJFjwaB3kAKQGAXcsBXF9XYYLLzQpr+3eZU7LoO4ePlNHy0j4uC3 wZmXBRS2nwnQD3esxlJ+YzsU86D+g6OlAXahtBdU7PtfvVXVUAmJE6qICLFszN/20/2x 0YI4SDBKo8FiUyQlra7J1tcZvHdDxbOkbc4qlkr5H0pN/ebKUXURPTaA7eoHPUczaSBS yGRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t7z1bs+k; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id lx9-20020a17090b4b0900b001bd14e030bcsi5978963pjb.148.2022.04.06.07.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 07:17:19 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t7z1bs+k; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B18355314A7; Wed, 6 Apr 2022 05:03:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238518AbiDFLec (ORCPT + 99 others); Wed, 6 Apr 2022 07:34:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231680AbiDFLcZ (ORCPT ); Wed, 6 Apr 2022 07:32:25 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7537E56FD2E for ; Wed, 6 Apr 2022 01:20:49 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id bg10so2677102ejb.4 for ; Wed, 06 Apr 2022 01:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=nwwNMDaP5Yh8K0WaZWOfIjXkdwXbq5VOVV+PO+4zCEI=; b=t7z1bs+kTqbj1INwRe1vMtQ6NKc9uAcZwKH60yfxmMmMEUv5b2KMB9WrLTjgP48JEr yJSUf9ilQz0NsSCbqfCtGk3S5Y6RMpHcFgypLxDLY4xXto8of3uXP8OhAa2JlUVZd+z+ STDLjB7eUkYmPVJ/dKPcvWdoR2MzbknsovOOYDkfvdgAXybQnXF7QXhp3uK8KBx6bBwN yW0SOxMHKO46Pqx08IvSKm5rFKwocFHce2EocdmglFWZsyYKaiCGogjwQ7jlTLu39I0y 0RSfqUSdfO6qX/snMr/HH0+KQ9C2V+oUnfDIFX94aNbg6t6wQ+loyiy7hOx/mqPT+n1d WwyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=nwwNMDaP5Yh8K0WaZWOfIjXkdwXbq5VOVV+PO+4zCEI=; b=aQbJXz/X1LcjSoljcqRtcJFYduVUFIqfb02h55OaNgrJDp+9YvkjzsSlAERDf0xSbE 9oArhNHYTv3J9ePIiWTYcW4QZ0LROGcyzXn6/fGEv7u5/gmOs+uc34iDJQDFDNsptd2B 8edHeHBj6L/MpbYtcXTlCOJdCnbPvgO+BE6QlKXwvKurL0HkWDNWOe+9YwWZOp/0SVVr tKv+6c4aT97NMmCTIZ2UBz/dsE+MGBfRWVBz/j5oN92TIrR34+Mm0r9tBmzcFGEG2axT ygE4+7nGQY8h7/hBCE9zHSR1QRbvA1zE+WluWQfZyZB/F+nT/Pm0X6MnRQJ0kPibjA2U jE/Q== X-Gm-Message-State: AOAM531lgY1vnBScwkhws6o/JKGP70WxNBzGjcnPGAIg3iFrfk0ANKIn AjHSsarsc+ExxFFxkdZ46TeuPQ== X-Received: by 2002:a17:906:7304:b0:6da:9243:865 with SMTP id di4-20020a170906730400b006da92430865mr7135579ejc.665.1649233248063; Wed, 06 Apr 2022 01:20:48 -0700 (PDT) Received: from [192.168.0.182] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id dm11-20020a170907948b00b006cf488e72e3sm6347202ejc.25.2022.04.06.01.20.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Apr 2022 01:20:47 -0700 (PDT) Message-ID: <4bafe244-6a3d-d0ec-59d3-3f3f00e71caf@linaro.org> Date: Wed, 6 Apr 2022 10:20:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; 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: Felix Fietkau , netdev@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Matthias Brugger , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Lorenzo Bianconi Cc: 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: Krzysztof Kozlowski In-Reply-To: <20220405195755.10817-6-nbd@nbd.name> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 05/04/2022 21:57, 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 +++++++++++++++++++ Eh, I wanted to ask to not put it inside arm/, but judging by your usage - you did not create drivers for both of these (WED and PCIe mirror). You only need them to expose address spaces via syscon. This actually looks hacky. Either WED and PCIe mirror are part of network driver, then add the address spaces via "reg". If they are not, but instead they are separate blocks, why you don't have drivers for them? Best regards, Krzysztof