linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@kernel.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH v3 10/39] media: platform: place Renesas drivers on a separate dir
Date: Mon, 14 Mar 2022 08:09:06 +0100	[thread overview]
Message-ID: <20220314080906.6d9381ce@coco.lan> (raw)
In-Reply-To: <Yi3k3wD5IBhT/VQR@pendragon.ideasonboard.com>

Em Sun, 13 Mar 2022 14:34:39 +0200
Laurent Pinchart <laurent.pinchart@ideasonboard.com> escreveu:

> Hi Mauro,
> 
> Thank you for the patch.
> 
> On Sun, Mar 13, 2022 at 08:21:19AM +0100, Mauro Carvalho Chehab wrote:
> > In order to cleanup the main platform media directory, move Renesas
> > driver to its own directory.
> > 

...

> > +config VIDEO_RENESAS_FCP
> > +	tristate "Renesas Frame Compression Processor"
> > +	depends on V4L_MEM2MEM_DRIVERS
> > +	depends on ARCH_RENESAS || COMPILE_TEST
> > +	depends on OF
> > +	help
> > +	  This is a driver for the Renesas Frame Compression Processor (FCP).
> > +	  The FCP is a companion module of video processing modules in the
> > +	  Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
> > +	  the codec, VSP and FDP modules.
> > +
> > +	  To compile this driver as a module, choose M here: the module
> > +	  will be called rcar-fcp.  
> 
> This should go before FDP1.

I'll do the reorder on the next version as proposed by you.

FYI, I opted to not sort the manufacturer's Kconfig files on this series
by purpose. After those patch series, the per-vendor Kconfig menus
have only a few drivers (up to ~10 config symbols). That makes it
a lot more manageable than what we had before. So, from my side, I don't
have any special requirements about Kconfig order.

On other words, the order inside each vendor-specific Kconfig
file should be a decision taken by the driver maintainers, which should
decide what fits better for them, considering that:

- the per-vendor driver order may not be in alphabetical order, as
  it may make sense to group drivers per type, platform and/or by
  its dependency chain;

- It is now easy to sort the per-vendor entries alphabetically,
  either per config title or per Kconfig symbol.

- Now that the main sort criteria is per-vendor, IMO it makes sense to
  have a per-vendor symbol space, e. g., instead of having:

	config VIDEO_RCAR_CSI2
	config VIDEO_RCAR_VIN
	config VIDEO_RCAR_ISP
	config VIDEO_RENESAS_CEU
	config VIDEO_SH_VOU
	config VIDEO_RENESAS_FCP
	config VIDEO_RENESAS_FDP1
	config VIDEO_RENESAS_JPU
	config VIDEO_RENESAS_VSP1
	config VIDEO_RCAR_DRIF

It could make sense to have all of them prepended with VIDEO_RENESAS:

	config VIDEO_RENESAS_CAR_CSI2
	config VIDEO_RENESAS_CAR_VIN
	config VIDEO_RENESAS_CAR_ISP
	config VIDEO_RENESAS_CEU
	config VIDEO_RENESAS_SH_VOU
	config VIDEO_RENESAS_FCP
	config VIDEO_RENESAS_FDP1
	config VIDEO_RENESAS_JPU
	config VIDEO_RENESAS_VSP1
	config VIDEO_RENESAS_CAR_DRIF

or some other variant of that, to produce smaller names, like using the
prefix adopted at the stock market (RNE, I guess): 

	config VIDEO_RNE_CAR_CSI2
	config VIDEO_RNE_CAR_VIN
	config VIDEO_RNE_CAR_ISP
	config VIDEO_RNE_CEU
	config VIDEO_RNE_SH_VOU
	config VIDEO_RNE_FCP
	config VIDEO_RNE_FDP1
	config VIDEO_RNE_JPU
	config VIDEO_RNE_VSP1
	config VIDEO_RNE_CAR_DRIF

With a change like that, a per Kconfig-symbol alphabetic order will change.

> 
> The FCP isn't a memory-to-memory device by the way, it's an ancillary
> device that handles compression of data transmitted on the bus between a
> DMA engine and memory. It's fine keeping it here, as it's related to the
> memory-to-memory devices.
> 
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Thanks,
Mauro

  parent reply	other threads:[~2022-03-14  7:09 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-13  7:21 [PATCH v3 00/39] Sort Makefiles and platform/Kconfig Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 01/39] media: xc2028: rename the driver from tuner-xc2028 Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 02/39] media: Makefiles: remove extra spaces Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 03/39] media: Makefiles: sort entries where it fits Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 04/39] media: platform: Makefile: reorganize its contents Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 05/39] media: platform: move platform menu dependencies to drivers Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 06/39] media: platform: place Aspeed driver on a separate dir Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 07/39] media: platform: place NXP drivers " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 08/39] media: platform: place Intel " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 09/39] media: platform: place Via " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 10/39] media: platform: place Renesas " Mauro Carvalho Chehab
     [not found]   ` <Yi3k3wD5IBhT/VQR@pendragon.ideasonboard.com>
2022-03-14  7:09     ` Mauro Carvalho Chehab [this message]
2022-03-13  7:21 ` [PATCH v3 11/39] media: platform: allegro-dvt: move config to its own file Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 12/39] media: platform: amphion: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 13/39] media: platform: coda: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 14/39] media: platform: exynos-gsc: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 15/39] media: platform: ge2d: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 16/39] media: platform: mtk-jpeg: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 17/39] media: platform: mtk-mdp: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 18/39] media: platform: mtk-vcodec: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 19/39] media: platform: mtk-vpu: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 20/39] media: platform: omap3isp: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 21/39] media: platform: camss: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 22/39] media: platform: venus: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 23/39] media: platform: rga: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 24/39] media: platform: s3c-camif: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 25/39] media: platform: s5p-g2d: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 26/39] media: platform: hva: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 27/39] media: platform: stm32: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 28/39] media: platform: sun8i-di: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 29/39] media: platform: sun8i-rotate: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 30/39] media: platform: vde: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 31/39] media: platform: ti-vpe: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 32/39] media: platform: rkisp1: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 33/39] media: platform: delta: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 34/39] media: platform: bdisp: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 35/39] media: platform: s5p-mfc: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 36/39] media: platform: s5p-jpeg: " Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 37/39] media: platform: Kconfig: sort entries Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 38/39] media: platform: move some manufacturer entries Mauro Carvalho Chehab
2022-03-13  7:21 ` [PATCH v3 39/39] media: platform: Kconfig: place platform drivers on a submenu Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220314080906.6d9381ce@coco.lan \
    --to=mchehab@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).