RFC: exynos multiplatform support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 23 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 23 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/23] RFC: exynos multiplatform support
Quoted 10 lines · Thierry Reding
Quoted 4 lines
Option 2 would probably come down to having a trivial MFD driver exposing a regmap. You can probably reuse
drivers/mfd/syscon.cfor this and make the node compatible with "syscon" to designate the clock registers as a system-wide resource, making the other device nodes register-less.I think option 2 is the standard method if one hardware block provides several logical devices. I find it to be a pretty nice solution to this problem. We also have precedent in the PWM subsystem. The TWL chips for instance use it to create a platform device which is later driven by a PWM driver.
One difference though is that the TWL chip is a heterogenous MFD that has a lot of different sub-devices, where in case of Exynos the timer device has a set of identical units, each of which can be used either as a PWM or as a clocksource or other timer.
Arnd