Skip to content

RFC Add new reg_update_bits() support

Baolin Wang lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest3 patches 9 repliesIn review
  2. v1 RFC3 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- Add new helper to registers a physical regmap bus instead of using the MMIO bus.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mfd: syscon: Support physical regmap busdrivers/mfd/syscon.c include/linux/mfd/syscon.h+21 -20 replies
2/3regmap: Add bus reg_update_bits() supportdrivers/base/regmap/regmap.c+1 -02 replies
3/3soc: sprd: Add Spreadtrum special bits updating supportdrivers/soc/Kconfig drivers/soc/Makefile drivers/soc/sprd/Kconfig +2 more+96 -06 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [RFC PATCH v2 0/3] Add new reg_update_bits() support

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

Any comments are welcome. Thanks.

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

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

 drivers/base/regmap/regmap.c   |  1 +
 drivers/mfd/syscon.c           | 16 ++++++-
 drivers/soc/Kconfig            |  1 +
 drivers/soc/Makefile           |  1 +
 drivers/soc/sprd/Kconfig       | 16 +++++++
 drivers/soc/sprd/Makefile      |  2 +
 drivers/soc/sprd/sprd_syscon.c | 76 ++++++++++++++++++++++++++++++++++
 include/linux/mfd/syscon.h     |  7 ++++
 8 files changed, 118 insertions(+), 2 deletions(-)
 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