[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1586422035.git.baolin.wang7@gmail.com>
Date: Thu, 9 Apr 2020 16:57:56 +0800
From: Baolin Wang <baolin.wang7@...il.com>
To: lee.jones@...aro.org, arnd@...db.de, broonie@...nel.org
Cc: orsonzhai@...il.com, zhang.lyra@...il.com, baolin.wang7@...il.com,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH 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 introduces a new reg_update_bits()
callback, as well as adding a helper in syscon driver to support
this feature.
Any comments are welcome. Thanks.
Baolin Wang (3):
mfd: syscon: Add reg_update_bits() callback support
regmap: Add reg_update_bits() support
soc: sprd: Add Spreadtrum special bits updating support
drivers/base/regmap/regmap-mmio.c | 29 +++++++++++++++++++++-
drivers/base/regmap/regmap.c | 1 +
drivers/mfd/syscon.c | 10 ++++++++
drivers/soc/Kconfig | 1 +
drivers/soc/Makefile | 1 +
drivers/soc/sprd/Kconfig | 16 ++++++++++++
drivers/soc/sprd/Makefile | 2 ++
drivers/soc/sprd/sprd_syscon.c | 51 +++++++++++++++++++++++++++++++++++++++
include/linux/mfd/syscon.h | 8 ++++++
include/linux/regmap.h | 4 +++
10 files changed, 122 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
--
1.9.1
Powered by blists - more mailing lists