Skip to content

Add new physical regmap bus support

Baolin Wang lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesIn review
  2. v31 patch 10 repliesSuperseded
  3. v21 patch 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches9 repliesSuperseded

Changes in v4 from the cover letter

- Remove vendor specific support from the syscon driver, and export a weak function to support physical regmap bus.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mfd: syscon: Support physical regmap busdrivers/mfd/syscon.c include/linux/mfd/syscon.h+19 -14 replies
2/2soc: sprd: Add Spreadtrum special bits updating supportdrivers/soc/Kconfig drivers/soc/Makefile drivers/soc/sprd/Kconfig +2 more+106 -00 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/2] Add new physical regmap bus support

The Spreadtrum platform uses a special set/clear method to update registers' bits, thus this patch set exports a weak function to allow to register a physical regmap bus to support this feature instead of using the MMIO bus, which is not a physical regmap bus.

Any comments are welcome. Thanks.

Changes from v3:
- Remove vendor specific support from the syscon driver, and export a weak function to support physical regmap bus.

Changes from v2:
- Fix building errors without enabling CONFIG_ARCH_SPRD.

Changes from v1:
- Add WARN_ONCE() for seting bits and clearing bits at the same time.
- Remove the Spreadtrum SoC syscon driver, instead moving the regmap_bus instance into syscon.c driver.

Changes from RFC v2:
- Drop regmap change, which was applied by Mark.
- Add more information about how to use set/clear.
- Add checking to ensure the platform is compatible with using a new physical regmap bus.

Changes from RFC v1:
- Add new helper to registers a physical regmap bus instead of using the MMIO bus.

Baolin Wang (2):
mfd: syscon: Support physical regmap bus
soc: sprd: Add Spreadtrum special bits updating support

 drivers/mfd/syscon.c           |  9 +++-
 drivers/soc/Kconfig            |  1 +
 drivers/soc/Makefile           |  1 +
 drivers/soc/sprd/Kconfig       | 16 +++++++
 drivers/soc/sprd/Makefile      |  2 +
 drivers/soc/sprd/sprd_syscon.c | 86 ++++++++++++++++++++++++++++++++++
 include/linux/mfd/syscon.h     | 11 +++++
 7 files changed, 125 insertions(+), 1 deletion(-)
 create mode 100644 drivers/soc/sprd/Kconfig
 create mode 100644 drivers/soc/sprd/Makefile
 create mode 100644 drivers/soc/sprd/sprd_syscon.c
Signature · 1 line
2.17.1