Thread (37 messages) 37 messages, 9 authors, 2021-10-11

Re: [PATCH 3/7] soc: apple: Add driver for Apple PMGR power state controls

From: Hector Martin <hidden>
Date: 2021-10-05 16:15:33
Also in: linux-arm-kernel, linux-devicetree, linux-pm, linux-samsung-soc, lkml

Hi Linus,

On 06/10/2021 01.08, Linus Walleij wrote:
Hi Hector,

On Tue, Oct 5, 2021 at 6:00 PM Hector Martin [off-list ref] wrote:
quoted
  drivers/soc/apple/Kconfig               |  21 ++
  drivers/soc/apple/Makefile              |   2 +
  drivers/soc/apple/apple-pmgr-pwrstate.c | 281 ++++++++++++++++++++++++
This is traditionally where we put the ARM SoC drivers, but
Mac has traditionally used drivers/macintosh for their custom
board etc stuff. Or is that just for any off-chip stuff?

I suppose it doesn't matter much (unless there is code under
drivers/macintosh we want to reuse for M1), but it could be a bit
confusing?
Hmm, it seems that tree is mostly about the PowerPC era Macs; the only 
thing enabled for x86 there is MAC_EMUMOUSEBTN. There is also 
platform/x86/apple-gmux.c for an x86 Mac specific thing...

We already broke tradition with the "apple," DT compatible prefix (used 
to be AAPL for the PowerPC Macs), and these chips aren't even just used 
in Macs (e.g. the iPad, which in theory people would be able to run 
Linux on if someone figures out a jailbreak), so perhaps it's time for 
another break here?

-- 
Hector Martin (marcan@marcan.st)
Public Key: https://mrcn.st/pub
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help