From: Hugues FRUCHET - FOSS <hugues.fruchet@foss.st.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>,
Alain Volmat <alain.volmat@foss.st.com>
Cc: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
"Alexandre Torgue" <alexandre.torgue@foss.st.com>,
"Alexey Khoroshilov" <khoroshilov@ispras.ru>,
"Dillon Min" <dillon.minfei@gmail.com>,
"Dmitriy Ulitin" <ulitin@ispras.ru>,
"Dmitry Osipenko" <digetx@gmail.com>,
"Eugen Hristev" <eugen.hristev@microchip.com>,
"Hans Verkuil" <hverkuil-cisco@xs4all.nl>,
"Jacopo Mondi" <jacopo@jmondi.org>,
"Jernej Skrabec" <jernej.skrabec@gmail.com>,
"Lad Prabhakar" <prabhakar.mahadev-lad.rj@bp.renesas.com>,
"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
"Leon Romanovsky" <leon@kernel.org>,
"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
"Ming Qian" <ming.qian@nxp.com>,
"Sakari Ailus" <sakari.ailus@linux.intel.com>,
"Tomi Valkeinen" <tomi.valkeinen@ideasonboard.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com
Subject: Re: [PATCH 17/24] media: platform: rename stm32/ to sti/stm32/
Date: Mon, 14 Mar 2022 12:34:47 +0100 [thread overview]
Message-ID: <1122a956-0650-f948-512b-d3447e34df30@foss.st.com> (raw)
In-Reply-To: <20220314121454.7432e231@coco.lan>
Hi Mauro,
Ideally we would like to stick to sti/ and stm32/ at same level, as it
is done in various other locations:
./Documentation/arm/sti/
./Documentation/arm/stm32/
./arch/arm/mach-sti
./arch/arm/mach-stm32
./drivers/media/cec/platform/sti/
./drivers/media/cec/platform/stm32/
./drivers/gpu/drm/sti/
./drivers/gpu/drm/stm/
./sound/soc/sti/
./sound/soc/stm/
Is this possible to keep those media folders as is ?
Best regards,
Hugues.
On 3/14/22 12:14 PM, Mauro Carvalho Chehab wrote:
> Hi Alain,
>
> Em Mon, 14 Mar 2022 09:39:42 +0100
> Alain Volmat <alain.volmat@foss.st.com> escreveu:
>
>> Hi Mauro,
>>
>> I don't think stm32 should be put within the sti platform folder.
>> sti and stm32 are 2 different platforms from ST Microelectronics.
>> STi refers to the platform with SoCs such as STiH407/STiH410 and STiH418
>> while stm32 are all STM32 ones. Those two platforms aren't related.
>> What about having a folder stmicro or stmicroelectronics (too long
>> probably :D) with the 2 folders sti and stm32 into it ?
>
> Yeah, a folder like "st", "stm" (New York Stock Exchange uses this name),
> "stmicro", or even "stmicroelectronics" with either two folders on it
> or two separate submenus work from my side.
>
> I would prefer to have a short name there, like "st" or "stm", but it
> is up to you to choose whatever works best for ST Microelectronics.
>
> Just let me know what works best and I'll change it at the patch.
>
>>
>> Alain
>>
>> On Sun, Mar 13, 2022 at 11:51:58AM +0100, Mauro Carvalho Chehab wrote:
>>> As the end goal is to have platform drivers split by vendor,
>>> rename stm32/ to sti/stm32/.
>>>
>>> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
>>> ---
>>>
>>> To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
>>> See [PATCH 00/24] at: https://lore.kernel.org/all/cover.1647167750.git.mchehab@kernel.org/
>>>
>>> MAINTAINERS | 2 +-
>>> drivers/media/platform/Kconfig | 2 +-
>>> drivers/media/platform/Makefile | 2 +-
>>> drivers/media/platform/{ => sti}/stm32/Kconfig | 0
>>> drivers/media/platform/{ => sti}/stm32/Makefile | 0
>>> drivers/media/platform/{ => sti}/stm32/dma2d/dma2d-hw.c | 0
>>> drivers/media/platform/{ => sti}/stm32/dma2d/dma2d-regs.h | 0
>>> drivers/media/platform/{ => sti}/stm32/dma2d/dma2d.c | 0
>>> drivers/media/platform/{ => sti}/stm32/dma2d/dma2d.h | 0
>>> drivers/media/platform/{ => sti}/stm32/stm32-dcmi.c | 0
>>> 10 files changed, 3 insertions(+), 3 deletions(-)
>>> rename drivers/media/platform/{ => sti}/stm32/Kconfig (100%)
>>> rename drivers/media/platform/{ => sti}/stm32/Makefile (100%)
>>> rename drivers/media/platform/{ => sti}/stm32/dma2d/dma2d-hw.c (100%)
>>> rename drivers/media/platform/{ => sti}/stm32/dma2d/dma2d-regs.h (100%)
>>> rename drivers/media/platform/{ => sti}/stm32/dma2d/dma2d.c (100%)
>>> rename drivers/media/platform/{ => sti}/stm32/dma2d/dma2d.h (100%)
>>> rename drivers/media/platform/{ => sti}/stm32/stm32-dcmi.c (100%)
>>>
>>> diff --git a/MAINTAINERS b/MAINTAINERS
>>> index 7711a5ea125e..620705e0f043 100644
>>> --- a/MAINTAINERS
>>> +++ b/MAINTAINERS
>>> @@ -12046,7 +12046,7 @@ L: linux-media@vger.kernel.org
>>> S: Supported
>>> T: git git://linuxtv.org/media_tree.git
>>> F: Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml
>>> -F: drivers/media/platform/stm32/stm32-dcmi.c
>>> +F: drivers/media/platform/sti/stm32/stm32-dcmi.c
>>>
>>> MEDIA INPUT INFRASTRUCTURE (V4L/DVB)
>>> M: Mauro Carvalho Chehab <mchehab@kernel.org>
>>> diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
>>> index c3594807f8d7..cf373bfbca1b 100644
>>> --- a/drivers/media/platform/Kconfig
>>> +++ b/drivers/media/platform/Kconfig
>>> @@ -95,7 +95,7 @@ source "drivers/media/platform/samsung/s5p-g2d/Kconfig"
>>> source "drivers/media/platform/samsung/s5p-jpeg/Kconfig"
>>> source "drivers/media/platform/samsung/s5p-mfc/Kconfig"
>>> source "drivers/media/platform/sti/Kconfig"
>>> -source "drivers/media/platform/stm32/Kconfig"
>>> +source "drivers/media/platform/sti/stm32/Kconfig"
>>> source "drivers/media/platform/ti-vpe/Kconfig"
>>> source "drivers/media/platform/via/Kconfig"
>>> source "drivers/media/platform/xilinx/Kconfig"
>>> diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
>>> index 6a766acfbe37..e3dd2331003a 100644
>>> --- a/drivers/media/platform/Makefile
>>> +++ b/drivers/media/platform/Makefile
>>> @@ -40,7 +40,7 @@ obj-y += sti/bdisp/
>>> obj-y += sti/c8sectpfe/
>>> obj-y += sti/delta/
>>> obj-y += sti/hva/
>>> -obj-y += stm32/
>>> +obj-y += sti/stm32/
>>> obj-y += ti-vpe/
>>> obj-y += via/
>>> obj-y += xilinx/
>>> diff --git a/drivers/media/platform/stm32/Kconfig b/drivers/media/platform/sti/stm32/Kconfig
>>> similarity index 100%
>>> rename from drivers/media/platform/stm32/Kconfig
>>> rename to drivers/media/platform/sti/stm32/Kconfig
>>> diff --git a/drivers/media/platform/stm32/Makefile b/drivers/media/platform/sti/stm32/Makefile
>>> similarity index 100%
>>> rename from drivers/media/platform/stm32/Makefile
>>> rename to drivers/media/platform/sti/stm32/Makefile
>>> diff --git a/drivers/media/platform/stm32/dma2d/dma2d-hw.c b/drivers/media/platform/sti/stm32/dma2d/dma2d-hw.c
>>> similarity index 100%
>>> rename from drivers/media/platform/stm32/dma2d/dma2d-hw.c
>>> rename to drivers/media/platform/sti/stm32/dma2d/dma2d-hw.c
>>> diff --git a/drivers/media/platform/stm32/dma2d/dma2d-regs.h b/drivers/media/platform/sti/stm32/dma2d/dma2d-regs.h
>>> similarity index 100%
>>> rename from drivers/media/platform/stm32/dma2d/dma2d-regs.h
>>> rename to drivers/media/platform/sti/stm32/dma2d/dma2d-regs.h
>>> diff --git a/drivers/media/platform/stm32/dma2d/dma2d.c b/drivers/media/platform/sti/stm32/dma2d/dma2d.c
>>> similarity index 100%
>>> rename from drivers/media/platform/stm32/dma2d/dma2d.c
>>> rename to drivers/media/platform/sti/stm32/dma2d/dma2d.c
>>> diff --git a/drivers/media/platform/stm32/dma2d/dma2d.h b/drivers/media/platform/sti/stm32/dma2d/dma2d.h
>>> similarity index 100%
>>> rename from drivers/media/platform/stm32/dma2d/dma2d.h
>>> rename to drivers/media/platform/sti/stm32/dma2d/dma2d.h
>>> diff --git a/drivers/media/platform/stm32/stm32-dcmi.c b/drivers/media/platform/sti/stm32/stm32-dcmi.c
>>> similarity index 100%
>>> rename from drivers/media/platform/stm32/stm32-dcmi.c
>>> rename to drivers/media/platform/sti/stm32/stm32-dcmi.c
>>> --
>>> 2.35.1
>>>
>
>
>
> Thanks,
> Mauro
>
next prev parent reply other threads:[~2022-03-14 11:36 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-13 10:51 [PATCH 00/24] Organize media platform drivers per manufacturer Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 01/24] media: platform: rename coda/ to chips-media/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 02/24] media: platform: rename marvell-ccic/ to marvell/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 03/24] media: platform: rename meson/ge2d/ to amlogic/meson-ge2d/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 04/24] media: platform: rename mtk-jpeg/ to mediatek/mtk-jpeg/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 05/24] media: platform: rename mtk-mdp/ to mediatek/mtk-mdp/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 06/24] media: platform: rename mtk-vcodec/ to mediatek/mtk-vcodec/ Mauro Carvalho Chehab
2022-03-14 13:09 ` Nicolas Dufresne
2022-03-14 14:37 ` Mauro Carvalho Chehab
2022-03-14 15:02 ` AngeloGioacchino Del Regno
2022-03-14 15:42 ` Mauro Carvalho Chehab
2022-03-14 15:43 ` AngeloGioacchino Del Regno
2022-03-13 10:51 ` [PATCH 07/24] media: platform: rename mtk-vpu/ to mediatek/mtk-vpu/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 08/24] media: platform: rename sunxi/ to allwinner/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 09/24] media: platform: rename tegra/vde/ to nvidia/tegra-vde/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 10/24] media: platform: rename amphion/ to nxp/amphion/ Mauro Carvalho Chehab
2022-03-15 18:26 ` Nicolas Dufresne
2022-03-13 10:51 ` [PATCH 11/24] media: platform: rename exynos4-is/ to samsung/exynos4-is/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 12/24] media: platform: rename exynos-gsc/ to samsung/exynos-gsc/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 13/24] media: platform: rename s3c-camif/ to samsung/s3c-camif/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 14/24] media: platform: rename s5p-g2d/ to samsung/s5p-g2d/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 15/24] media: platform: rename s5p-jpeg/ to samsung/s5p-jpeg/ Mauro Carvalho Chehab
2022-03-14 8:54 ` Andrzej Pietrasiewicz
2022-03-13 10:51 ` [PATCH 16/24] media: platform: rename s5p-mfc/ to samsung/s5p-mfc/ Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 17/24] media: platform: rename stm32/ to sti/stm32/ Mauro Carvalho Chehab
2022-03-14 8:39 ` Alain Volmat
2022-03-14 11:14 ` Mauro Carvalho Chehab
2022-03-14 11:34 ` Hugues FRUCHET - FOSS [this message]
2022-03-14 13:10 ` Mauro Carvalho Chehab
2022-03-15 9:02 ` Hugues FRUCHET - FOSS
2022-03-16 13:28 ` Mauro Carvalho Chehab
2022-03-13 10:51 ` [PATCH 18/24] media: platform: rename am437x/ to ti/am437x/ Mauro Carvalho Chehab
2022-03-13 10:52 ` [PATCH 19/24] media: platform: rename davinci/ to ti/davinci/ Mauro Carvalho Chehab
2022-03-13 10:52 ` [PATCH 20/24] media: platform: rename omap3isp/ to ti/omap3isp/ Mauro Carvalho Chehab
2022-03-13 10:52 ` [PATCH 21/24] media: platform: rename omap/ to ti/omap/ Mauro Carvalho Chehab
2022-03-13 10:52 ` [PATCH 22/24] media: platform: rename ti-vpe/ to ti/vpe/ Mauro Carvalho Chehab
2022-03-13 10:52 ` [PATCH 23/24] media: platform: Create vendor/{Makefile,Kconfig} files Mauro Carvalho Chehab
2022-03-13 10:52 ` [PATCH 24/24] media: platform/*/Kconfig: make menus more uniform Mauro Carvalho Chehab
2022-03-13 11:00 ` [PATCH 00/24] Organize media platform drivers per manufacturer 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=1122a956-0650-f948-512b-d3447e34df30@foss.st.com \
--to=hugues.fruchet@foss.st.com \
--cc=alain.volmat@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=digetx@gmail.com \
--cc=dillon.minfei@gmail.com \
--cc=eugen.hristev@microchip.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=jacopo@jmondi.org \
--cc=jernej.skrabec@gmail.com \
--cc=khoroshilov@ispras.ru \
--cc=laurent.pinchart@ideasonboard.com \
--cc=leon@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mchehab@kernel.org \
--cc=mcoquelin.stm32@gmail.com \
--cc=ming.qian@nxp.com \
--cc=niklas.soderlund+renesas@ragnatech.se \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=sakari.ailus@linux.intel.com \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=ulitin@ispras.ru \
/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
all inboxes | Powered by JetHome®