Re: [GIT PULL] ARM: SoC/genpd driver updates for v6.6
From: Arnd Bergmann
Date: Tue Aug 29 2023 - 20:48:56 EST
On Tue, Aug 29, 2023, at 20:31, Linus Torvalds wrote:
> On Tue, 29 Aug 2023 at 17:18, Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>>
>> Please don't use random letter combinations that have absolutely
>> no meaning to anybody else, and that aren't even explained.
>
> Side note: at least to me, 'gen' is short for 'generate'. Looking at
> existing kernel naming, that's how we've used it (lots of examples of
> that from different areas).
>
> Do we also have "generic"? Yes. And because 'gen' does not mean
> 'generic' to anybody, we've typically spelled it out - as in
> asm-generic, but also 'sound/soc/generic', or in fact a _lot_ of other
> examples.
How about moving it to drivers/power/domain/ instead? We already
have some only loosely connected subsystems under drivers/power
today (reset and supply, both maintained by Sebastian Reichel),
moving it there is probably less confusing.
It looks like there are only a couple of dev_pm_domain providers
that are not of the "genpd" variant, so I think drivers/power/domain
can just be the location for the generic drivers without making
that part of the name.
I don't think we can easily rename the interfaces that have been
in use for the past 12 years, but the directory (and MAINTAINERS
file references to it) could easily be changed with another
patch on top of Ulf's series, without interfering with my
pull requests.
Arnd