mfd: syscon: introduce no-auto-mmio DT property
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: mfd: syscon: introduce no-auto-mmio property for sysconsDocumentation/ | +4 | 7 replies | |
| 2/2 | mfd: syscon: Don't auto create "no-auto-mmio" sysconsdrivers/ | +8 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Arnd Bergmann | Chen-Yu Tsai | Rob Herring (Arm) |
|---|---|---|---|
| Series | R-b | R-b | A-b |
| 1/2 | |||
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/2] mfd: syscon: introduce no-auto-mmio DT property
Most syscons are accessed via MMMIO and created automatically. But one example of a syscon that isn't is in drivers/soc/samsung/exynos-pmu.c where the syscon can only be accessed via the secure partition. We are looking at upstreaming a different driver where the syscon will be accessed via SCMI.
Normally, syscons are accessed by doing something like syscon_regmap_lookup_by_phandle_args() but that function will automatically create an MMIO syscon if one hasn't been registered. So the ordering becomes a problem. The exynos-pmu.c driver solves this but it's a bit awkward and it would be even trickier if there were several drivers accessing the same syscon.
Dan Carpenter (2):
dt-bindings: mfd: syscon: introduce no-auto-mmio property for syscons
mfd: syscon: Don't auto create "no-auto-mmio" syscons
Documentation/devicetree/bindings/mfd/syscon.yaml | 4 ++++ drivers/mfd/syscon.c | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-)
Signature · 1 line
2.51.0