Skip to content

reset: introduce TC9564 reset support

Alex Elder linux-devicetree lkml sashiko-reviews 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: reset: introduce toshiba,tc9564-reset.yamlDocumentation/devicetree/bindings/reset/toshiba,tc9564-reset.yaml MAINTAINERS include/dt-bindings/reset/toshiba,tc9564.h+89 -012 replies
2/2reset: toshiba: introduce a TC9564 SoC reset driverMAINTAINERS drivers/reset/Kconfig drivers/reset/Makefile +1 more+206 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] reset: introduce TC9564 reset support

This series adds support for the reset controller present within the Toshiba TC9564 SoC. It is being considered the first version of the series despite being previously posted as part of a combined clock/reset driver:
https://lore.kernel.org/lkml/[email protected]/

This SoC attaches to a host system via PCIe. It includes a PCIe switch with three downstream ports. To one of these ports an embedded PCIe endpoint is attached, and it implements two PCI functions. BAR 4 for both PCI functions provides access to the registers that enable or disable a set of resets.

Both TC9564 PCI functions can provide PCI endpoint buses via devicetree. Each PCI endpoint bus provides access to one of the function's BARs. Subordinate devices (like the reset controller) can then be defined as nodes accessible on the endpoint bus.

Only one of the two PCI functions is permitted to define the reset device node.

Note:
Other TC9564 drivers have been posted together with DTS file updates for the Qualcomm RB3gen2. To allow this (and a few other) drivers to be considered in isolation, I'm omiting that here. (I can add it to future versions if requested.)

-Alex

Alex Elder (2):
dt-bindings: reset: introduce toshiba,tc9564-reset.yaml
reset: toshiba: introduce a TC9564 SoC reset driver

 .../bindings/reset/toshiba,tc9564-reset.yaml  |  56 +++++
 MAINTAINERS                                   |   8 +
 drivers/reset/Kconfig                         |  12 ++
 drivers/reset/Makefile                        |   1 +
 drivers/reset/reset-tc9564.c                  | 192 ++++++++++++++++++
 include/dt-bindings/reset/toshiba,tc9564.h    |  26 +++
 6 files changed, 295 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/toshiba,tc9564-reset.yaml
 create mode 100644 drivers/reset/reset-tc9564.c
 create mode 100644 include/dt-bindings/reset/toshiba,tc9564.h

base-commit: becb95e45ef0dda9ffb35156d909d3da7a2789c3

Signature · 1 line
2.53.0