Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp7099428pxv; Fri, 30 Jul 2021 09:57:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw42gOF8UwYyn4K0IjXz4QY3453daU75KeaGYFtxsctprWCoM2Ih0aiXxChY5iMkOWq+x1K X-Received: by 2002:a17:906:2844:: with SMTP id s4mr3381682ejc.263.1627664235853; Fri, 30 Jul 2021 09:57:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627664235; cv=none; d=google.com; s=arc-20160816; b=cWzSjmtNvYOuIwfkmw638L6zPjriqNcPqoWkpep5OdyJ4SNnjVMTnbsOdI7dQwz+yJ 2FO+gX6d3B1i4hdSZa0MdPKgkVyFRGk0vO0IUExKBc9GqtjI/SQEjHJpr2XP5unjHFWe 8C7mjHPuzwQz/7pPmJH8563+8rXDj6TF/4O2HsIT0km0zxZo/BloL7ORyhcOZ2Q0UCfz B3F/CyzV1oaIYF+tXIUWMDgouIFlQvipf1Nd5fGSKPCwzvZ8H3hx+LylhGAuvdjaWxLW O1iXMCpWt6N6AdeK45M5iX6F0hd+2DLcToITx52T0y7RK0YGjpFuxwfCAg3fLtxTodR2 UcQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=ZSRGCjMSl/2xyxrTHt53mEG99X5mReiVmhYRk+XmRgk=; b=LwvxB9ZrDTR2vpOa+mxcz/12i9BsbXWcGxqcPNe3zLmfMQgeKmuRK1VljRCA7PBDvZ 3shKv3R7dgLcDHju4S6uqbet6B7B5J2pfsEvL24b+rVm1vAHpdX7outrLROtDh2nqg3q yNP+mDVvlwZpsyR2m8Fsu7CQb4dY72t3zTagBe4wZ0IVuIH1LvKdS33vo7qRb80iGVtw JsoNWNpT0nCFCVAdMp3H3AmnoqKn2KP4VJI+ynpzdKy63r2WQuw1kbYyozDdUQwbco19 pv088wS3EVmhI3e0R+t5c045aojvtEYCWjsxTGLSqCCarOaLmuvI9+VRJS2g0WrNzNbq 0MLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x19si2001203ejc.681.2021.07.30.09.56.51; Fri, 30 Jul 2021 09:57:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229970AbhG3QzZ (ORCPT + 99 others); Fri, 30 Jul 2021 12:55:25 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:56521 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229707AbhG3QzY (ORCPT ); Fri, 30 Jul 2021 12:55:24 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MxHLs-1n77cc1pTE-00xbBO; Fri, 30 Jul 2021 18:55:18 +0200 Received: by mail-wr1-f45.google.com with SMTP id h14so12087408wrx.10; Fri, 30 Jul 2021 09:55:18 -0700 (PDT) X-Gm-Message-State: AOAM531x36drL025206zfhSfsIdVNUVYtXIIdwh7tJXRkoxahAE6fFFe 5pch65HRs5BPODEUF4YRSt9avNT68PPACJ16s+4= X-Received: by 2002:adf:f446:: with SMTP id f6mr4206493wrp.361.1627664118110; Fri, 30 Jul 2021 09:55:18 -0700 (PDT) MIME-Version: 1.0 References: <20210730134552.853350-1-bert@biot.com> <20210730134552.853350-5-bert@biot.com> In-Reply-To: From: Arnd Bergmann Date: Fri, 30 Jul 2021 18:55:02 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/5] ARM: Add basic support for EcoNet EN7523 SoC To: John Crispin Cc: Arnd Bergmann , Bert Vermeulen , DTML , Linux Kernel Mailing List , Linux ARM , Russell King , Linus Walleij , Andrew Morton , Geert Uytterhoeven , Anshuman Khandual , Krzysztof Kozlowski , Ard Biesheuvel , YiFei Zhu , Mike Rapoport , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Nick Desaulniers , Kees Cook , Masahiro Yamada , Nathan Chancellor , Viresh Kumar , Felix Fietkau , Matthias Brugger Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:Djm3HiGtPborGwABFKLa69C29V921SpSOe07xLTEUvN1ltcib6i oU/7+2bli17JFsiITTU2UsrQHCJmRtJnoY+9zlZktzDif2QGD2dXiaFyoWQmdkMc4Yn9dvz qq63H6S93Jzyzu4jS+tuYMPvIOpvPsrkTlP1ul+Z4mbsqZFt0YYJs53i4gPmF95zUdLdOsO Oz61d1ljFEleqlOSPbCNg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:gKgZSZRph+M=:9190HjctsZ8ZsfU/3fz5Zy XcLcDmqmyjFh8xMVT/kyrd4nwiYHOx8vPve6q0MleNDzdMM3zW8jH6qQDS/Zhvk5/P90B717m 8kFR9YakEvKAdj3dgaYyC9mdwjVNYlfPa4fshumIOzV9Ng5huI/M+TEs7HOq5slDWgVfxdwK8 vXpsWTkOke/BxCuYubNJlk06DKhovUgZ0Oa27GP2Z8cbPTUd44le8YRnh8UiHJwKINUZYS/Dy 3qNeLeELScI8Mgxao9CWL3sQTTzwDxHrwcqvy/zWCCHEtu/GmzxGEZj2FLE17uD0s2TuPVkM/ M0Ammy4P3/4+zavBbnlh2+pJ6p+TUCWLq+AWUH7djVJJPFGzQVgnV3aumJB8M2vzmaSUgl3nQ WZAz9N6OEvs7Mx9rZ9M7awuPRSsyvLf4PzKKjalNIqjEV1OlsRFWRCLZSwgaH37uQnExogVfI +awAMCrZWXtldPs1yvMOXj5Vf+W+K42oLvAUibLTTxBqP5CDrau96Z/r0N2tDld244CP1NAq1 4Qnksqd3n9GwzDid+vUU1OhjFnyN4SG88yZ1kz4Q5dvC/hWbrmGKBJbm3j7EJ2Mdm89HUcGdP 7Y4X+TUEstGvKNz/xu1Qx16PS+72YrqzoWedbSEAAhL1hOB15Iy5tQxLCAqqSdU4CnldljMT1 Z8ezGMN7kEcA7PWFA1Z9Vha9m0KP2AF8t0Jlgy7pb55J7DoLVbHNuZA2CnaS1fyOBeGsdNH0A i5/ZyrWprd6QxAxQpvAGf6GKoySxNQiKN5VrJQ7VqCFvW9yA5w2pbmCGu00eBzPDxh4eaRSNR NVd9PswvNDIe8FKva1HPGIoociPuFQmH3wN47wvm6WSAT18B7Gl5bEahKAoRSIXceWA1Yb80k Ex++Yo6sRmjecHpjyFpxpBXefdBwXsVemgc7LICKM= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 30, 2021 at 5:16 PM John Crispin wrote: > On 30.07.21 16:48, Arnd Bergmann wrote: > > Given how closely related this probably is to MT7623/MT7622, should this > > perhaps just be part of arch/arm/mach-mediatek? According to > > https://wikidevi.wi-cat.ru/MediaTek#xPON, the older (mips based) MT752x > > chips are apparently just rebranded to EN752x after the business unit > > was spun off, but I guess they are still in the same family. > > Hi, > > ECNT (what was once known as trendchip) is now a subsidary of MTK (and > not a BU if I am understanding it correctly). > > the EN7523 is rather similar to the MT7622 for some parts, other parts > (spi, flash, wdt, gpio, .. drivers all needed to be rewritten and will > be part of the next series). > > the older MIPS silicon shares almost no IP with the current ARM silicon. Ah, so I guess the old Trendchip parts were separately developed separately from the Ralink parts before the original acquisition, and then Ralink/Mediatek combined the two product lines before spinning off the dsl products into a new subsidiary. > not really my call to decide which folder this should live in. it seemed > natural to just give it its own folder, as ECNT is not a BU of MTK. > > we can change that however if required. My preference would be to have a common directory for both, but I'm not going to require that. From the kernel perspective the main question is actually not who makes the parts but who is going to maintain the code. Matthias is doing a good job taking care of the Mediatek parts, and he's familiar with the arm-soc process. If there is enough overlap between the Mediatek and EcoNet devices that we would expect either conflicts between binding/driver patches, or that you would want each other to review the patches for related parts, then it would make most sense to have a common directory and maintainer entry for both, with all patches going through the same git tree. It would also be nice to have someone listed as second maintainer for mediatek, since Matthias is currently the only one listed there. (Doesn't have to be you, I don't mean to drag you into taking up more work if you don't want to). Please discuss this between the three of you (Bert, John and Matthias), and let me know what you think works best for all of you. Arnd