memory: brcmstb_dpfe: support DPFE API v4
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 10 repliesIn review
- v14 patches 21 repliesSuperseded
Changes in v2 from the cover letter
- remove compatible string brcm,dpfe-cpu
- add compatible strings brcm,bcm7278-dpfe-cpu, brcm,bcm7211-dpfe-cpu
- add "description" section to the binding
- drop patch that contained API probing and detection code
- tweak and clarify a few code comments
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: memory: remove generic compatible string brcm,dpfe-cpuDocumentation/ | +1 | 2 replies | |
| 2/5 | dt-bindings: memory: add two chip-specific compatible stringDocumentation/ | +2 | 2 replies | |
| 3/5 | dt-bindings: memory: additional compatible strings for Broadcom DPFEDocumentation/ | +20 | 3 replies | |
| 4/5 | memory: brcmstb_dpfe: introduce version-specific compatible stringsdrivers/ | +14 | 3 replies | |
| 5/5 | memory: brcmstb_dpfe: support DPFE API v4drivers/ | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] memory: brcmstb_dpfe: support DPFE API v4
It has become necessary to distinguish between the various DPFE API versions by version number. Having just chip-specific compatible strings no longer meeting our needs. Furthermore, the generic compatible string "brcm,dpfe-cpu" is being removed as it doesn't serve any actual purpose. Finally, a new DPFE API version, v4, needs to be supported by the driver.
To select between the different API versions, a new compatible string format is being introduced: brcm,dpfe-cpu-v<N> where <N> represents the API version number.
This approach is needed, because the API version has changed in the past for some chip, which means it cannot be derived reliably just based on the chip name.
We rely on the boot firmware to populate Device Tree with the proper compatible string for the correct DPFE API version. The boot firmware already has this information and can easily pass it to the kernel in this manner.
Changes since v1:
- remove compatible string brcm,dpfe-cpu
- add compatible strings brcm,bcm7278-dpfe-cpu, brcm,bcm7211-dpfe-cpu
- add "description" section to the binding
- drop patch that contained API probing and detection code
- tweak and clarify a few code comments
Markus Mayer (5):
dt-bindings: memory: remove generic compatible string brcm,dpfe-cpu
dt-bindings: memory: add two chip-specific compatible string
dt-bindings: memory: additional compatible strings for Broadcom DPFE
memory: brcmstb_dpfe: introduce version-specific compatible strings
memory: brcmstb_dpfe: support DPFE API v4
.../memory-controllers/brcm,dpfe-cpu.yaml | 24 ++++++++++- drivers/memory/brcmstb_dpfe.c | 41 ++++++++++++++++++- 2 files changed, 62 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0