Skip to content

sh: pfc: Variable bitfield width and unlock reg patches

Magnus Damm linux-sh 1 version New

Get series with b4
b4 am 20111213160027.4021.88173.sendpatchset@w520

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5sh: pfc: Add gpio_read_bit() for data register accessdrivers/sh/pfc.c+14 -10 replies
2/5sh: pfc: Convert index to field and value pairdrivers/sh/pfc.c+18 -270 replies
3/5sh: pfc: Add config_reg_helper() functiondrivers/sh/pfc.c+32 -440 replies
4/5sh: pfc: Variable bitfield width config register supportdrivers/sh/pfc.c include/linux/sh_pfc.h+41 -120 replies
5/5sh: pfc: Unlock register supportdrivers/sh/pfc.c include/linux/sh_pfc.h+12 -120 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/05] sh: pfc: Variable bitfield width and unlock reg patches

sh: pfc: Variable bitfield width and unlock reg patches

[PATCH 01/05] sh: pfc: Add gpio_read_bit() for data register access [PATCH 02/05] sh: pfc: Convert index to field and value pair [PATCH 03/05] sh: pfc: Add config_reg_helper() function [PATCH 04/05] sh: pfc: Variable bitfield width config register support [PATCH 05/05] sh: pfc: Unlock register support

Update the common PFC code to support r8a7779 by adding:
- Variable bitfield width config register support (Patch 4)
- Unlock register support (Patch 5)

Patch 1-3 contain incremental changes needed for 4.

---

Depends on "[PATCH] sh: pfc: ioremap() support"

 drivers/sh/pfc.c       |  202 +++++++++++++++++++++++++-----------------------
 include/linux/sh_pfc.h |   11 ++
 2 files changed, 117 insertions(+), 96 deletions(-)