Skip to content

Extend various drivers to run on bi-endian BMIPS hosts

Kevin Cernekee linux-arm-kernel linux-devicetree linux-mips linux-pm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9power/reset: brcmstb: Make the driver buildable on MIPSdrivers/power/reset/Kconfig+4 -51 reply
2/9power/reset: brcmstb: Use the DT "compatible" string to indicate bit positionsdrivers/power/reset/brcmstb-reboot.c+28 -71 reply
3/9power/reset: brcmstb: Add support for old 65nm chipsDocumentation/devicetree/bindings/arm/brcm-brcmstb.txt drivers/power/reset/brcmstb-reboot.c+9 -11 reply
4/9bus: brcmstb_gisb: Make the driver buildable on MIPSdrivers/bus/Kconfig drivers/bus/brcmstb_gisb.c+5 -10 replies
5/9bus: brcmstb_gisb: Introduce wrapper functions for MMIO accessesdrivers/bus/brcmstb_gisb.c+17 -70 replies
6/9bus: brcmstb_gisb: Look up register offsets in a tabledrivers/bus/brcmstb_gisb.c+34 -80 replies
7/9bus: brcmstb_gisb: Add register offset tables for older chipsDocumentation/devicetree/bindings/bus/brcm,gisb-arb.txt drivers/bus/brcmstb_gisb.c+51 -70 replies
8/9bus: brcmstb_gisb: Honor the "big-endian" and "native-endian" DT propertiesdrivers/bus/brcmstb_gisb.c+11 -22 replies
9/9usb: {ohci, ehci}-platform: Use new OF big-endian helper functionDocumentation/devicetree/bindings/usb/usb-ehci.txt Documentation/devicetree/bindings/usb/usb-ohci.txt drivers/usb/host/ehci-platform.c +1 more+6 -22 replies
9/9usb: {ohci,ehci}-platform: Use new OF big-endian helper function+0 -01 reply

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFlorian FainelliAlan Stern
SeriesA-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9A-b
9/9A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] Extend various drivers to run on bi-endian BMIPS hosts

This patch series incorporates the following changes:

- Extend brcmstb reset driver to work on MIPS (currently ARM-only).

- Extend brcmstb GISB bus driver to work on MIPS (currently ARM-only).

- Extend brcmstb GISB bus driver to work on BE systems (currently LE-only).

- Extend both drivers to support the older register layouts used on many of the BMIPS platforms.

- Extend {ohci,ehci}-platform drivers to accept the new "native-endian" DT property, to accommodate BCM7xxx platforms that can be switched between LE/BE with a board jumper.

Dependencies:

power/reset: brcmstb: Register with kernel restart handler (Guenter Roeck)
of: Add helper function to check MMIO register endianness (Kevin Cernekee)

These are both tentatively accepted, but might not be present in the same tree yet. As such, we might want to "review now, merge later."

Kevin Cernekee (9):
power/reset: brcmstb: Make the driver buildable on MIPS power/reset: brcmstb: Use the DT "compatible" string to indicate bit
positions
power/reset: brcmstb: Add support for old 65nm chips
bus: brcmstb_gisb: Make the driver buildable on MIPS
bus: brcmstb_gisb: Introduce wrapper functions for MMIO accesses
bus: brcmstb_gisb: Look up register offsets in a table
bus: brcmstb_gisb: Add register offset tables for older chips
bus: brcmstb_gisb: Honor the "big-endian" and "native-endian" DT
properties
usb: {ohci,ehci}-platform: Use new OF big-endian helper function

 .../devicetree/bindings/arm/brcm-brcmstb.txt       |   4 +-
 .../devicetree/bindings/bus/brcm,gisb-arb.txt      |   6 +-
 Documentation/devicetree/bindings/usb/usb-ehci.txt |   2 +
 Documentation/devicetree/bindings/usb/usb-ohci.txt |   2 +
 drivers/bus/Kconfig                                |   2 +-
 drivers/bus/brcmstb_gisb.c                         | 127 ++++++++++++++++++---
 drivers/power/reset/Kconfig                        |   9 +-
 drivers/power/reset/brcmstb-reboot.c               |  41 +++++--
 drivers/usb/host/ehci-platform.c                   |   2 +-
 drivers/usb/host/ohci-platform.c                   |   2 +-
 10 files changed, 161 insertions(+), 36 deletions(-)
Signature · 1 line
2.1.0