Skip to content

mips: Add DT bindings for MIPS CDMM and MIPS GIC

Serge Semin linux-devicetree linux-mips lkml 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 5 repliesIn review
  2. v4 posting 2/26 patches 4 repliesSuperseded
  3. v3 posting 2/26 patches 3 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v2 posting 2/26 patches9 repliesSuperseded
v4 posting 1/213 patches11 repliesApplied
v3 posting 1/214 patches9 repliesApplied
v2 posting 1/220 patches67 repliesApplied
v122 patches9 repliesSuperseded

Changes in v5 from the cover letter

- Consider address and size cells being <1> by default for the DT examples.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: power: Convert mti,mips-cpc to DT schemaDocumentation/devicetree/bindings/power/mti,mips-cpc.txt Documentation/devicetree/bindings/power/mti,mips-cpc.yaml+35 -80 replies
2/6dt-bindings: interrupt-controller: Convert mti,gic to DT schemaDocumentation/devicetree/bindings/interrupt-controller/mips-gic.txt Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml+148 -670 replies
3/6dt-bindings: bus: Add MIPS CDMM controllerDocumentation/devicetree/bindings/bus/mti,mips-cdmm.yaml+35 -00 replies
4/6mips: cdmm: Add mti,mips-cdmm dtb node supportdrivers/bus/mips_cdmm.c+15 -00 replies
5/6bus: cdmm: Add MIPS R5 arch supportdrivers/bus/Kconfig+1 -12 replies
6/6MAINTAINERS: Add maintainers for MIPS core driversMAINTAINERS+11 -02 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchRob HerringMarc ZyngierThomas BogendoerferDaniel Lezcano
1/6R-b
2/6R-b
3/6R-b
4/6
5/6R-b
6/6A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/6] mips: Add DT bindings for MIPS CDMM and MIPS GIC

Daniel, Rafael, Thomas (Gleixner), could you specifically take a look at the last patch in this series? If you are ok with that, please explicitly ack. We need at least one of your blessing to merge the series in, since the code and DT-related patches here have been mostly reviewed. We've missed the last merge window. It would be pity to miss the next one...

Regarding this patchset origin. Recently I've submitted a series of patchset's which provided multiple fixes for the MIPS arch subsystem and the MIPS GIC and DW APB Timer drivers, which were required for the Baikal-T1 SoC correctly working with those drivers. Mostly those patchsets have been already merged into the corresponding subsystems, but several patches have been left floating since noone really responded for review except Rob provided his approval regarding DT bindings. Thus in this patchset I've collected all the leftovers so not to loose them in a pale of the maintainers email logs.

The patchset includes the following updates: MIPS CPC and GIC DT bindings legacy text-based file are converted to the DT schema (Rob has already reviewed them), add MIPS CDMM DT node support to place the CDMM block at the platform-specific MMIO range, make sure MIPS CDMM is available for MIPS_R5 CPUs.

Seeing the series concerns the MIPS-related drivers it's better to merge it in through the MIPS repository:
https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/

This patchset is rebased and tested on the mainline Linux kernel 5.7-rc4:
base-commit: 0e698dfa2822 ("Linux 5.7-rc4")
tag: v5.7-rc4

Suggestion.
Since Paul isn't looking after the MIPS arch code anymore, Ralf hasn't been seen maintaining MIPS for a long time, Thomas is only responsible for the next part of it:

	F:      Documentation/devicetree/bindings/mips/
	F:      Documentation/mips/
	F:      arch/mips/
	F:      drivers/platform/mips/

the MIPS-specific drivers like:
F: drivers/bus/mips_cdmm.c
F: drivers/irqchip/irq-mips-cpu.c
F: drivers/irqchip/irq-mips-gic.c
F: drivers/clocksource/mips-gic-timer.c
F: drivers/cpuidle/cpuidle-cps.c
seem to be left for the subsystems maintainers to support. So if you don't mind or unless there is a better alternative, I can help with looking after them to ease the maintainers review burden and since I'll be working on our MIPS-based SoC drivers integrating into the mainline kernel repo anyway. Thomas agreed to join in maintaining that drivers.

Previous patchsets:
mips: Prepare MIPS-arch code for Baikal-T1 SoC support:

clocksource: Fix MIPS GIC and DW APB Timer for Baikal-T1 SoC support:

Changelog prev:
- Add yaml-based bindings file for MIPS CDMM dt-node.
- Convert mti,mips-cpc to DT schema.
- Use a shorter summary describing the bindings modification patches.
- Rearrange the SoBs with adding Alexey' co-development tag.
- Lowercase the hex numbers in the dt-bindings.

Changelog v2:
- Resend.

Changelog v3:
- Keep F: MAINTAINERS section alphabetically ordered.
- Add Thomas as the co-maintainer of the MIPS CPU and GIC IRQchip, MIPS GIC timer and MIPS CPS CPUidle drivers.

Changelog v4:
- Resend.

Changelog v5:
- Consider address and size cells being <1> by default for the DT examples.

Cc Alexey Malahov <[email protected]>
Cc Rob Herring <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Jason Cooper <[email protected]>
Cc Marc Zyngier <[email protected]>
Cc James Hogan <[email protected]>

Serge Semin (6):
dt-bindings: power: Convert mti,mips-cpc to DT schema
dt-bindings: interrupt-controller: Convert mti,gic to DT schema
dt-bindings: bus: Add MIPS CDMM controller
mips: cdmm: Add mti,mips-cdmm dtb node support
bus: cdmm: Add MIPS R5 arch support
MAINTAINERS: Add maintainers for MIPS core drivers

 .../bindings/bus/mti,mips-cdmm.yaml           |  35 +++++
 .../interrupt-controller/mips-gic.txt         |  67 --------
 .../interrupt-controller/mti,gic.yaml         | 148 ++++++++++++++++++
 .../bindings/power/mti,mips-cpc.txt           |   8 -
 .../bindings/power/mti,mips-cpc.yaml          |  35 +++++
 MAINTAINERS                                   |  11 ++
 drivers/bus/Kconfig                           |   2 +-
 drivers/bus/mips_cdmm.c                       |  15 ++
 8 files changed, 245 insertions(+), 76 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml
 delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/mips-gic.txt
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mti,gic.yaml
 delete mode 100644 Documentation/devicetree/bindings/power/mti,mips-cpc.txt
 create mode 100644 Documentation/devicetree/bindings/power/mti,mips-cpc.yaml
Signature · 1 line
2.26.2