Skip to contentSkip to conversation

sh: pfc: Variable bitfield width and unlock reg patches

PATCH New Magnus Damm 1 participant 1 message Dec 13, 2011 SuperH

lore
Share & tools
lore
#0 lore raw

cover 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(-)