Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp890374pxp; Wed, 16 Mar 2022 20:19:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+uvKe0hlGvM+X6wBWoVztSpYvsVOP/EvLg2X8Q4q4pARUhP9SzfdbwMIoQRSM+gJNzZVI X-Received: by 2002:a65:6b8c:0:b0:380:4725:2e26 with SMTP id d12-20020a656b8c000000b0038047252e26mr2060554pgw.78.1647487191967; Wed, 16 Mar 2022 20:19:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647487191; cv=none; d=google.com; s=arc-20160816; b=M1CsRg6jdcliRXlAvWe76NSRclTr/zkleyGJIx2uJQkMzy2a40cbClCQUDxriipHoO YJEFoHMrrGGE0AnPwx9ydPDwjptTFujdQ1+us6MNNPZ2S2h6xdVYvTp5sP8uB4Kt+jRW 4NhYBy3cVgIeawiE975oa7C75Rl/Skl+8Y34998KcygCsQeYarE3BZFfYOrmvS3yQ5ke yiw9dJvShM3+1mDT73wt3RiwCzoPGmvrsOPQu1m4bUDpVEab9jeTpbXBRXdbn2j4yr6V cu4D7LOq70U0A8/ZOluRaFKNIPdo6BUFDTJvFZTNkKingHzDHAYlsMVFn80UrlCZCcRR 3J2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YEU85uvhSEo8py2FLW1DWPj6nxeE1l3j7kKY8vNnEKI=; b=oLN07YNY0RUwGfMHKIXohgzLDjB9e6kFK6v7UkBGo5lN1iUs1OZaHM+TGaZwVrjmu5 zzVlbu+8go0LTPWpOJPX1XGlx46X48yI1fGn32gujnAq2Si53QI7jQBcGfkCe9AftzB8 DYYNbLZCXFIXog4QlY0Tkz7dgH3gayDDc1HxE5YuKU6ja3qvt0IIHVDgtMetfP1RkmDR unKPGXAKNKt9CAO1TzcnSDg5/dqR19Sxp8/QWyersuBLKRyUJt/MCOpWKHkT0WnMucHj s6T6580Ah5pfgLBYTlkis6fsuRkE+t+aB/s3t/HoY/Z2TkeAIjJjAYLXySFF1D7kbzaw ysrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=k6xzUlo1; 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 Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bf8-20020a17090b0b0800b001beeced8bb0si1082080pjb.116.2022.03.16.20.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 20:19:51 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=k6xzUlo1; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 476A822B18; Wed, 16 Mar 2022 20:19:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345300AbiCOG4B (ORCPT + 99 others); Tue, 15 Mar 2022 02:56:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239876AbiCOGz7 (ORCPT ); Tue, 15 Mar 2022 02:55:59 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 659023EBAA; Mon, 14 Mar 2022 23:54:44 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DF2E22E0; Tue, 15 Mar 2022 07:54:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1647327282; bh=0t0XozP0brbzPT8rNKSKC6uluNF3U4uw5OCNPmKli3g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k6xzUlo1WwbpSNXkyl5FgDcCyzSCWNx10je1BagTxSi7PiXQGTsSLAdH7vy0VEWKE tyu6+D+q4R+SBr+cV1Fi7Mv3dPCc9Op1qRgQN/lxfvSwZVivPDwNp4KnXpAhXtdtqw dQny82l5U8TbVR+C7foHXUUBD49LdBzkjEM9iPG0= Date: Tue, 15 Mar 2022 08:54:25 +0200 From: Laurent Pinchart To: Mauro Carvalho Chehab Cc: Jernej =?utf-8?Q?=C5=A0krabec?= , Niklas =?utf-8?Q?S=C3=B6derlund?= , Cai Huoqing , Chen-Yu Tsai , Dinghao Liu , Dmitry Osipenko , Eugen Hristev , Ezequiel Garcia , Hans Verkuil , Jacopo Mondi , Jia-Ju Bai , Jonathan Cameron , Maxime Ripard , Mikhail Rudenko , Ming Qian , Ondrej Jirman , Robert Foss , Sakari Ailus , Tomi Valkeinen , Yong Deng , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH v2 47/67] media: platform: rename sunxi/ to allwinner/ Message-ID: References: <85266b480902079391d4206b8aa276ff131a730f.1647274407.git.mchehab@kernel.org> <2816975.e9J7NaK4W3@kista> <20220315064005.10ecdab2@coco.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220315064005.10ecdab2@coco.lan> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Mauro, On Tue, Mar 15, 2022 at 06:40:05AM +0100, Mauro Carvalho Chehab wrote: > Em Mon, 14 Mar 2022 18:22:20 +0100 Jernej Škrabec escreveu: > > > Dne ponedeljek, 14. marec 2022 ob 17:34:42 CET je Mauro Carvalho Chehab > > napisal(a): > > > As the end goal is to have platform drivers split by vendor, > > > rename sunxi/ to allwinner/. > > > > > > Signed-off-by: Mauro Carvalho Chehab > > > > I would rather not do that. Everything related to Allwinner is called sunxi, > > albeit there are a few outliers. This is similar to Amlogic/meson situation. > > The rationale of having one directory per manufacturer is that, if drivers > for newer platforms with different names from the same manufacturers are > added, those will still fit under allwinner/ and amlogic/. > > The Kconfig names for sunxi and meson didn't change, nor the driver's name. > Also, the directories under allwinner preserve suni name on them: > > drivers/media/platform/allwinner/ > ├── sun4i-csi > ├── sun6i-csi > ├── sun8i-di > └── sun8i-rotate > > and so the directory under amlogic/: > > drivers/media/platform/amlogic/ > └── meson-ge2d > > Now, if Allinner decides to release a new platforms named after another star, > let's say, "Vega" and "Rigel", it would be just a matter of adding > "vega/" and "rigel/" directories under allwinner. No need to touch > media/platform/Kconfig and media/platform/Makefile. Everything will happen > on much more smaller vendor-specific Kconfig/Makefile. But the day Allwinner changes its name to Noloser, we'll have a similar problem. Thnk about Freescale vs. NXP, or Altera bought by Intel. No naming scheme is totally future-proof. If the accepted standard through the kernel is to use sunxi to refer to Allwinner SoCs, I don't think it's a bit idea to go with that. > See for instance, TI. We had initially a single driver, and everywhere it > was called "omap", which was had gained different versions (omap2, omap3, > ...). Then, TI decided to use other names for newer IP (davinci, am437x), > and now the current development is at cal and vpe. > > If we had placed a ti/ directory by the time omap were added (and the > same for the other vendors), we would have avoided the need of this > reorg. -- Regards, Laurent Pinchart