[PATCH v2 0/4] Add regmap_field helpers for simple bit operations

Li Chen posted 4 patches 3 years, 11 months ago
There is a newer version of this series
drivers/base/regmap/regmap.c          | 22 ++++++++
drivers/pinctrl/bcm/pinctrl-bcm6358.c |  2 +-
drivers/pinctrl/pinctrl-st.c          | 23 ++++----
include/linux/regmap.h                | 37 +++++++++++++
sound/soc/sunxi/sun4i-codec.c         | 78 +++++++++++----------------
5 files changed, 99 insertions(+), 63 deletions(-)
[PATCH v2 0/4] Add regmap_field helpers for simple bit operations
Posted by Li Chen 3 years, 11 months ago
From: Li Chen <lchen@ambarella.com>

This series proposes to add simple bit operations for setting, clearing
and testing specific bits with regmap_field.

Li Chen (4):
  regmap: provide regmap_field helpers for simple bit operations
  ASoC: sunxi: Use {regmap/regmap_field}_{set/clear}_bits helpers
  pinctrl: bcm: Use regmap_field_{set/clear}_bits helpers
  pinctrl: st: Switch to use regmap_field_test_bits

Changelogs:
v2: fix regmap_field_test_bits compile error in drivers/pinctrl/pinctrl-st.c

 drivers/base/regmap/regmap.c          | 22 ++++++++
 drivers/pinctrl/bcm/pinctrl-bcm6358.c |  2 +-
 drivers/pinctrl/pinctrl-st.c          | 23 ++++----
 include/linux/regmap.h                | 37 +++++++++++++
 sound/soc/sunxi/sun4i-codec.c         | 78 +++++++++++----------------
 5 files changed, 99 insertions(+), 63 deletions(-)

-- 
2.36.1
Re: [PATCH v2 0/4] Add regmap_field helpers for simple bit operations
Posted by Mark Brown 3 years, 11 months ago
On Sun, May 22, 2022 at 07:22:37PM -0700, Li Chen wrote:
> From: Li Chen <lchen@ambarella.com>
> 
> This series proposes to add simple bit operations for setting, clearing
> and testing specific bits with regmap_field.

Please don't send new patches in reply to old patches or serieses, this
makes it harder for both people and tools to understand what is going
on - it can bury things in mailboxes and make it difficult to keep track
of what current patches are, both for the new patches and the old ones.
Re: [PATCH v2 0/4] Add regmap_field helpers for simple bit operations
Posted by Li Chen 3 years, 11 months ago
Hi Mark

 ---- On Mon, 23 May 2022 04:39:46 -0700 Mark Brown <broonie@kernel.org> wrote ----
 > On Sun, May 22, 2022 at 07:22:37PM -0700, Li Chen wrote:
 > > From: Li Chen <lchen@ambarella.com>
 > > 
 > > This series proposes to add simple bit operations for setting, clearing
 > > and testing specific bits with regmap_field.
 > 
 > Please don't send new patches in reply to old patches or serieses, this
 > makes it harder for both people and tools to understand what is going
 > on - it can bury things in mailboxes and make it difficult to keep track
 > of what current patches are, both for the new patches and the old ones.
 > 

Thanks for letting me know, I won't do this again.

Regards,
Li