Skip to content

Add reset control for mfd syscon devices

Jeremy Kerr linux-devicetree lkml 4 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesApplied
  2. v3 RFC2 patches 4 repliesSuperseded
  3. v2 RFC3 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC2 patches7 repliesSuperseded

Changes in v4 from the cover letter

- collapse unnecessary else block in syscon driver reset control

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: mfd/syscon: Add resets propertyDocumentation/devicetree/bindings/mfd/syscon.yaml+3 -01 reply
2/2mfd: syscon: allow reset control for syscon devicesdrivers/mfd/syscon.c+21 -62 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRob HerringArnd Bergmann
1/2A-b
2/2R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/2] Add reset control for mfd syscon devices

This RFC series adds a facility for syscon devices to control a reset line when probed; we have instances of simple register-only syscon resources that need deassertion of a reset line for the register set to be accessible.

Rather than requiring a specific driver to implement this, it'd be nice to use the generic syscon device and the generic resets linkage to do so.

Any comments/queries/etc are most welcome.

Cheers,

Jeremy

---
v2:
- use direct syscon registration interface, rather than the (unused) syscon platform device code
- consequently, add regmap infrastructure to attach a reset controller, in a similar way to attaching clocks
v3:
- drop regmap reset control and just do a direct deassert from the syscon driver
v4:
- collapse unnecessary else block in syscon driver reset control

---
Jeremy Kerr (2):
dt-bindings: mfd/syscon: Add resets property
mfd: syscon: allow reset control for syscon devices

 .../devicetree/bindings/mfd/syscon.yaml       |  3 +++
 drivers/mfd/syscon.c                          | 27 ++++++++++++++-----
 2 files changed, 24 insertions(+), 6 deletions(-)
Signature · 1 line
2.38.1